We have a very large, decision VB.NET in Visual Studio 2010that contains the Web site ASP.NET. The web was originally created as a website, and I need to convert it to a web application. I tried to convert it to Visual Studio 2010 using these sites as recommendations:
How to convert an ASP.NET website to an ASP.NET web application
and at Microsoft:
http://msdn.microsoft.com/en-us/library/aa983476.ASPX
Along with the website, the solution consists of three class library projects that handle things such as business logic, calls, and database models that define data structures as collections of data when data is returned from the database.
The solution also includes Microsoft Enterprise Library 3.1 and the Web Deploy project, which allows me to compile the website into my assembly. The App_Code folder also has about a dozen classes. Well, the main thing is the module, not the class.
As soon as I turned the website into an application, I was able to get a compilation solution without compilation errors. Of course, by default, the App_code folder was changed to Old_App_Code. However, when I launch the application, it does not load properly.
There are many calls throughout the site to methods in the module from APSX pages. The application is not working at this time. I see this error in the event log:
Error BC30451: 'TrimTrailingZeros' is not declared. It may be inaccessible due to its protection level.
TrimTrailingZeros is a public method in an open module. If I convert a module to a class, I get hundreds of errors (more errors can be processed than a list of errors).
, . , .
, , ?
, .
-