[2005] Compilation error in website
Greetings,
I have a website that I built in VB.NET 2005 that is currently in use on our intranet. This website has several WUC's that I built. All of this is functioning correctly. I opened the web project in VS to make a slight modification and when I opened the project, none of my WUC's are registering with the ASP that they are on ( I have not been able to make a change yet. THis is the code that is locked in VSS.). I am getting the following error to which I have found no real solution.
"Element 'wucRecordCounts' is not a known element. This can occur if there is a compilation error in the Web site."
I have checked my TrustLevel = FULL in my web.config which was suggested by some. At this point I am at a loss as to why this suddenly happened.
The only thing that I know that I have done, since I last opened this project, is install DirectX SDK for another project in VB.NET 2008 but I do not know why that would affect this, if it is.
Thanks,
Jason
Re: [2005] Compilation error in website
I have figured out the issue. I created a test web app and loaded one of my WUC's onto the default page. Ran Debug. Built fine and opened fine. Started looking at the web.config file.
I commented the existing web.config and pasted in the one from the test app. Everthing built OK. I started adding in parts of the orginal web.config until things did not work. As it turns out, there was a problem with references to DynamicDataControls. I think possibly something that I installed over the past couple of days (VB2008 SP1, .NET FRamework 3.5 SP1, Windows Image Aquisition SDK, DirectX download) may have corrupted the DynamicDataControls.dll.
Everything is good now and I hope this helps someone.
Regards,
Jason :D
Re: [2005] Compilation error in website
Good to know, thanks.
Another thing I'd look at is the designer classes to ensure that the web user control has been declared in the codebehind.