.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

best practice in creating a development machine

Posted By:      Posted Date: October 09, 2010    Points: 0   Category :SharePoint

hi, I have been working on sharepoint for sometime now..I have mastered the sharepoint designer workflow. however, it is kinda limited...and I am thinking of exploring the backend development of MOSS, I have been posting some enquiries on this forum, and came to know about visual studio workflow and event features.

The thing is, I only have two servers in my organisation, MOSS runs on one server and SQL server runs on another. Visual studio isn't installed on the MOSS server, and there is no development taking place in MOSS server right now.

Q1 - I have got another development machine, installed with windows server 2008 and MOSS and Visual Studio, but I have named the machine differently as all the machines in my organization are connected to a domain. I think I also made a mistake by creating a different site collection instead of using a similar name as the current server. Can I know what are the best practices used when it comes to planning a development machine?

Q2 - I have created a simple event feature testing thingy on the development machine and it works, how do I export it over to MOSS server, cause..I have mentioned the site url in the C# code, but the exact url in  the server is different.  Is there some kinda guide that I can refer to..should I install visual studio on the server itself ( wierd )

need some advice


View Complete Post

More Related Resource Links

Usability in Practice: Agile Ux Development


This month the authors show you how to treat the user experience as an essential dimension of the development process while retaining the advantages of Agile.

Dr. Charles B. Kreitzberg and Ambrose Little

MSDN Magazine June 2009

Usability in Practice: Useful, Usable and Desirable: Usability as a Core Development Competence


In this month's installment, learn how to achieve the most important outcome of all UI design: ensuring that your software is useful, useable, and desirable.

Dr. Charles B. Kreitzberg and Ambrose Little

MSDN Magazine May 2009

Creating Web Forms Best Practice?

Hey all, Quick question. What is the best approach for developing web based forms in SharePoint. I have a lot of requests to take paper forms and put them online. Infopath is not really an option currently for reason I rather not get into ;-) My thoughts are you can either create a submission form by creating a custom web part and just get rid of the title bar, and things like that so it looks like a plain old form. OR Create an aspx page with an associated assembly for the submission logic and then put that assembly in the bin/gac and put the page layout into a site collection Am I way off base here?

Auth. across subdomains prevents Auth. on development machine

Is there any solution to the following scenario (which I'm in right now)...? I have 2 related websites under 2 related but distinct subdomains, 1 web server, 1 membership database Prior to configuring  these for cross-domain login, I could test the website in my development server that comes with VS2008. Then i make the following changes in the web configs of each site: identical authentications->forms element, both referencing the same domain identical machinekey elements identical membership, profile, and role providers with applicationName="/" And now, I just can't login. I can reset the password, access the db, etc, but i think because the development machine isn't in the subdomain or something, it won't let me test the rest of the authenticated-users-only pages. It's a very simple test I'm trying to do. There's very few pages, and a barebones webconfig in each, except for the elements inserted above. How can I get this to work so that I can test/debug from my development machine and still login and do everything I need to?  Thanks!

Deploying taxonomy term store and managed meta column from development machine to production machine

Hi, In my development environment, I created a taxonomy term store by importing a CSV file. I also created a site column of type "managed meta data" based on that term store. Now, I want to migrate to production environment. What is the best way to do this? When I generate the schema of my site column, it looks like this: <Field Type="TaxonomyFieldTypeMulti"    DisplayName="Article Type"    List="{d8b20e4f-ce12-4def-b59d-d44da2c13234}"    WebId="eef74e7c-a852-4c89-b811-e31b86853641"    ShowField="Path1033"    Required="FALSE"    EnforceUniqueValues="FALSE"    Group="Custom Columns"    ID="{47f78411-65fa-43c9-8cb8-68955aea1256}"    SourceID="{eef74e7c-a852-4c89-b811-e31b86853641}"    StaticName="Article_x0020_Type"    Name="Article_x0020_Type"    Version="4"    Mult="TRUE"    Sortable="FALSE"> <Default></Default> <Customization> <ArrayOfProperty> <Property> <Name>SspId</Name> <Value xmlns:q1="http://www.w3.org/2001/XMLSchema" p4:type="q1:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">99d

Best practice for development using vs2010 with SVN and FTP



I'm working on a project using VS2010 with AnkhSVN and Filezilla for upload. I'm new into team development but my major issue is:

After committing to SVN, I additionally need to remember and manually upload every single changed file using ftp client.

Any best practice on straightforward publishing e.g. 'commit and upload simultaneous' is deeply appreciated.

Creating DSN for local machine in SQL Server Express 2005


Good evening,

This is my first time with SQL Server, so please forgive me if this is a ridiculous question:

I'm trying to create a DSN so I can connect up to SQL Server Express 2005 on my laptop/local machine. I'm attempting to connect via Windows NT authentication. I've tried 'Named Pipes' and TCP/IP settings but am not able to connect. I keep getting an error that states:

SQLState: '01000'

SQL Server Error: 2

Connection failed

SQLState: '08001'

SQL Server Error: 17

SQL Server does not exist or access denied

Is the server created by just installing SQL Server 2005, or is there something additional I need to do? Any help would be much appreciated.




vastly different performance of update query on development machine and on server



Using VisualWebDeveloper 2010 on the development machine. All nice and fast.

Using VisualWebDeveloper 2008 on the server. Server runs on Windows Server 2008 and has IIS 7.

It looks like that when 'table', a datatabe filled up in C# code behind, is getting longer (say 100 rows), then the server (whether running the website on IIS or on the local host of VIsualWebDeveloper2008!!!) is really slowing down. Checked it in debug mode and traced it down to


This line takes 5 seconds to execute, with 100 rows. On the development machine, it takes almost no time.

How can that be?

Are there any know issues? Could it be that there is incompatibility between different version of SQL server or something like that? The update works, it is just awefully slow, but only on the server.

What's going on? And how to solve it?

Thank you.

Best regards,


Synchronizing schema from local development machine to remote web server


As a single developer in a small business I'm developing a data-driven website on my local machine using VS2008 Professional (I also have 2010 Professional)

It is then synchronised with a dedicated server using Expression Web (ditto design)

I'm using SqlExpress both machines and as features are added, I want to synchronize the dedicated server schema from the local schema

VS2010 has such a feature, but it's a ____ of a price to pay for one feature - basically adding fields as I add functionality.

I'm surprised SqlServer doesn't have such a feature built in - am I missing something?

(I've trialled RedGate SqlCompare, but it can't access the remote db, and I'm reluctant to enable SqlServer Remote Connections on a machine I don't own).


Can I use Netbook as my development machine?


    Daily I spend lot of time in travelling.  I am planning to buy a netbook so that I can use it while travelling to my office.  My question is if I install visual studio 2008/10 on my netbook will work properly?  Will netbook be able to execute visual studio and other tools efficiently?
    In short, can I use netbook as my development machine?  Because what I have heard is netbook is nothing but mini laptops and it is mostly used for internet browsing.  But can these mini laptops behave like a development machine?
Hemant Shelar

Having Problems creating a development copy of a fairly complex live site, sharepoint 2007


Hi All,

I have inherited a sharepoint distribution from a previous set of contractors, which I am now trying to set up for a developer hired to fix a few bugs in custom code.
This sharepoint installation consists of a farm that includes the following: - Not Configured - Windows Sharepoint Services Incoming E-Mail, Windows Sharepoint  Services Web Application - Central Administration / Excel Calculation Services / Office Sharepoint Server Search / WSS Incoming email / WSS Web App - Office Sharepoint Server Search / WSS Incoming email / WSS web app

SQLCluster - WSS Database

I have a development machine with a single install of sharepoint / mssql 2005 that I would like to set up as a test server for code/database changes

I set out thus to export (stsadm -o export etc.) a copy of the live site, and import it into my test server. This gave me a lot of errors regarding features, which I looked up to be custom solutions that were not installed, so I installed those, and attempted the import again, this time another error regarding features missing. I checked the features/template directory and noticed on live there are a few features that are not listed in the solutions panel, these look to be mostly custom webparts

Creating Custom Extensions for SharePoint 2010 Development Tools in Visual Studio 2010 (Visual How T

Watch the video and explore the code as you learn to create custom extensions using the SharePoint 2010 development tools in Visual Studio 2010.

Video: Creating Custom Extensions for SharePoint 2010 Development Tools in Visual Studio 2010

Watch this visual how-to video and learn to create custom extensions using the SharePoint 2010 development tools in Visual Studio 2010.

What is the best method/practice for creating a site or functionality within SP 2010 that will allow


As it stands in Visual Studio 2010 I created a new Site Definition and then created 3 new application pages (aspx with cs code behinds; i will call them a/b/c.aspx) and they were added to the 'Layouts' folder in the project.  I also added a data connection Dataset.xsd with all of my stored procedure connections. Looking at my project,  I have 3 aspx pages with cs files in the LAYOUTS folder and one single default.aspx page in the Site Definition 'object'.

If I run the project my browser opens up and navigates to the url "_layouts/[project name]/a.aspx. I can navigate to pages b.aspx and c.aspx and perform my database interactions.  The problem occurs when I then have to deploy the solution/package to the server via a wsp file.  If I deploy the project and then go to create a new site and select my newly created Site definition, SP 2010 will only display the content of the default.aspx page that was located in the site definition 'object' of my project.  All 3 of my custom application pages a/b/c.aspx are no where to be found.

My question is, how to I deploy these 3 application pages?


Any help is greatly appreciated!!!


- gabor

Creating SharePoint 2010 State Machine Workflows in Visual Studio 2010 (Visual How To)

Learn how to use the State Machine Workflow template in Visual Studio 2010 to build a SharePoint 2010 state machine workflow in this visual how-to video, overview, and code sample.

Video: Creating SharePoint 2010 State Machine Workflows in Visual Studio 2010

Watch the visual how-to video as you learn to create state machine workflows for SharePoint 2010 in Visual Studio 2010.

Sample: Creating SharePoint 2010 State Machine Workflows in Visual Studio 2010

Explore the code in this visual how-to article as you learn to create state machine workflows for SharePoint 2010 in Visual Studio 2010.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend