Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
It is rare but sometimes ASP.NET 2.0 will act up when compiling web sites after a lot of files have changed all at once. It only happens on some sites and again, rarely. If you're experiencing this type of problem here is a good article and fix: http://weblogs.asp.net/scottgu/...-compilation-issues.aspx
|
|
|
|
Rank: Member
Joined: 3/15/2007(UTC) Posts: 126
|
If you have access to the server running the website you can also open a browser (or change your debug options in the web.config file), throw the error and towards the bottom of the page you will see the location of the ASP.Net temp files/folder in question. This will alleviate the guess work of which temp folder you have to delete in the Windows directory to restore your site. |
|
|
|
|
Rank: Member
Joined: 4/22/2004(UTC) Posts: 280
|
We fixed this problem by setting the batch attribute in web.config to "false", as suggested in the article posted by Marcus. Is it OK to leave this attribute like this?
Thanks, Linette
|
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
This may be a stupid question -- but I was wondering HOW you compile the site? I made some editing changes to a code-behind page (.vb) and obviously that needed to be compiled. What I did was to "kick" the web.config by adding a space and saving the file. I'm used to (in my old cart) having to run a routine (load a page) that actually compiles the site. |
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
The site should compile automatically whenever something changes in the codebehind. If you change source code to the DLLs (like bvsoftware.bvc5.core.dll) then you need to use Visual Studio (or command line tools) to recompile that DLL.
In most cases you're just editing the codebehind and don't need to do anything. There is a bug in ASP.NET 2.0.xx that can happen if you update a bunch of files on a live store. The article posted above is a workaround for that issue.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.