G
Guest
I am developing an ASP.NET application on Visual Studio .NET 2003 (VB.NET
code). There are numerous forms, and a few user controls. Each form does
not have any more than 40 controls on it. It had been running fine in Debug
and Release modes (uploading to a test server every week) until this week
when...
....I was adding a new user control which is very simple, it uses a DataList
to show a list of items for a menu. There are a few public properties which
I set on each user control when placed on a webform. I managed to get this
up and running, and each page works beautifully.
I checked everything in to SourceSafe and was about to exit VS.NET when I
received the error "Common Language Runtime detected an invalid program".
After reading a bit on the Internet, I can say that I don't believe I have
too many controls on any one form. I attempted to run the application in
Release mode (remember, Debug worked just fine). When in Release mode, I get
"There were build errors. Continue?", and I select "No". The Tasks pane pops
up, but it is empty. I check the Output pane, and it says: "Error: Common
Language Runtime detected an invalid program." If I were to tell it "Yes"
when I get the build errors message, the application runs normally.
What can I do? I cannot find any errors in my new code.
Thanks in advance,
Andrew Puente
code). There are numerous forms, and a few user controls. Each form does
not have any more than 40 controls on it. It had been running fine in Debug
and Release modes (uploading to a test server every week) until this week
when...
....I was adding a new user control which is very simple, it uses a DataList
to show a list of items for a menu. There are a few public properties which
I set on each user control when placed on a webform. I managed to get this
up and running, and each page works beautifully.
I checked everything in to SourceSafe and was about to exit VS.NET when I
received the error "Common Language Runtime detected an invalid program".
After reading a bit on the Internet, I can say that I don't believe I have
too many controls on any one form. I attempted to run the application in
Release mode (remember, Debug worked just fine). When in Release mode, I get
"There were build errors. Continue?", and I select "No". The Tasks pane pops
up, but it is empty. I check the Output pane, and it says: "Error: Common
Language Runtime detected an invalid program." If I were to tell it "Yes"
when I get the build errors message, the application runs normally.
What can I do? I cannot find any errors in my new code.
Thanks in advance,
Andrew Puente