I have a fairly large website written in both classic ASP and ASP.Net with VB.Net being the main language. We use Visual Studio 2010 for the IDE.
Usually, the website compiles without much trouble, but every once it a while VS2010 decides on its own that there is a circular file reference (where there wasn't one the last time it compiled!) and refuses to compile the site.
SOMETIMES we can clear this up by telling VS2010 to REBUILD the whole website.
SOMETIMES we can clear this up by deleting all of the IIS temporary files.
However, right now I can't get VS2010 to compile the site no matter what I do. I've re-booted my machine several times (to great consternation, the number of circular file references seems to change with every reboot!).
Of course, this never happens on the simple one or two page demo websites..
Anyone have any ideas of what I can try. I'm pretty sure there is no circular file reference (in the current case, it's just an ascx page that includes another ascx page on it). I wish VS2010 would tell me the FREAKIN' PATH that it THINKS has the circular
file reference!!!!
TWO MORE RECOMPILES and the STUPID Circular File Reference errors WENT AWAY! No, I did not change ANY CODE or anything else. Just hit the BUILD SOLUTION menu item two or three more times!
ojm37
Contributor
2248 Points
832 Posts
Circular file references are not allowed!
Feb 07, 2012 06:21 PM|LINK
This one is really starting to BUG ME!
I have a fairly large website written in both classic ASP and ASP.Net with VB.Net being the main language. We use Visual Studio 2010 for the IDE.
Usually, the website compiles without much trouble, but every once it a while VS2010 decides on its own that there is a circular file reference (where there wasn't one the last time it compiled!) and refuses to compile the site.
SOMETIMES we can clear this up by telling VS2010 to REBUILD the whole website.
SOMETIMES we can clear this up by deleting all of the IIS temporary files.
However, right now I can't get VS2010 to compile the site no matter what I do. I've re-booted my machine several times (to great consternation, the number of circular file references seems to change with every reboot!).
Of course, this never happens on the simple one or two page demo websites..
Anyone have any ideas of what I can try. I'm pretty sure there is no circular file reference (in the current case, it's just an ascx page that includes another ascx page on it). I wish VS2010 would tell me the FREAKIN' PATH that it THINKS has the circular file reference!!!!
SHEESH.
TIA,
ojm37
Contributor
2248 Points
832 Posts
Re: Circular file references are not allowed!
Feb 07, 2012 06:27 PM|LINK
AAAAAAAARRRRRRGGGGHHH!
TWO MORE RECOMPILES and the STUPID Circular File Reference errors WENT AWAY! No, I did not change ANY CODE or anything else. Just hit the BUILD SOLUTION menu item two or three more times!
WHAT THE FREAK?!?!?!?!
Very frustrating.
ojm37
Contributor
2248 Points
832 Posts
Re: Circular file references are not allowed!
Feb 17, 2012 12:42 PM|LINK
Hmmm. Found a reference to Batch = "False". Seems to have cleared up the "Circular File reference" compile error. Not sure why. What a pain.