Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VS2010 build/publich/deploy a simple change

Status
Not open for further replies.

XgrinderX

Programmer
Mar 27, 2001
225
US
Hello!

I am pretty new to asp.NET and I have built a simple web site and deployed it successfully. Now I need to change a phone number on the home page. I changed it and published it to our development server precompiled. It works fine on the dev server. Now I want to copy it to our test server. I tried copying just the default.aspx file up but that throws an error: Could not load the assembly 'App_Web_vnicb3t2'. Make sure that it is compiled before accessing the page.

Basically it seems I have to copy the entire site from development to staging to make this change on one single page. What am I doing wrong? Is there a way to compile/publish the site such that I can make simple changes to one page and only have to copy that one page out to staging and production?
 
If you are precompiling the site then deploying, you will have to do that each time. This is only necessary if you are not hosting the site yourself. If you are hosting the site yourself, then don't precompile, just copy the files out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top