The deal is that it is doing the same thing with all the files. It just quits generating errors when it reaches the limit of errors. These are errors that were not errors before. In generl, what it looks like is happening is that all the objects, textboxes, labels, dropdownlists, etc., that are referenced in the designer file, rather than in the codebehind file, as is in the vs2005 version, are not being referenced for some reason. The codebehind (codefile) is not "recognizing" it's own designer file -- and I didn't change anything to make it do that.
But it is not only that. Anything that is referenced in other files gets an error as object not defined -- class objects, public variables etc.
On 10/19/07, John Warner < john jwarner.com">john jwarner.com> wrote:
I would look very closely at this aspx.vb file and see what objects it is calling. This seems to be what triggers your 'run39; of errors. After that as someone else has suggested copy and paste the code from this project into new files in a new project (don't copy your folders, open in IDE, ctrl A ctrl C new file ctrl v etc) Also have you a friend with VS? If so you might copy to a CD/DVD whatever and see if he can open this.
John Warner
I have one called SE_summary.aspx. It is just page that had 2 textboxes (begin and end dates) and a button that runs a summary report for service entries for a given date range.
By the way, I ran the VS2005 installation and did a repair. After rebooting I tried the web app again and it again tries to do a conversion which fails. If I cancel it, the project doesn't load.
Back to square one...
On 10/19/07, John Warner <jwarner.com" target="_blank">john jwarner.com
> wrote:
What is summary.aspx in your app?
John Warner
Unfortunately, this would come out of my pocket since I'm a private contractor. I deleted out the project and solution files, tried to run it and then put them back. Then I went in and opened the project from within VS, instead of clicking on the solution file. This time the project opens up without trying to convert it to VS2005 (which it already is and a new conversion is always unsuccessful)
However, when I try to run it I get all of these really weird errors in the Error List. Here's a few to give you an idea:
Error 1 Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). C:ddserviceentryreportsSE_summary.aspx.vb 1
Err or 2 'Context' is not a member of 'ddserviceentry.SE_summary39;. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 111
Error  ;3 9;Context39; is not a member of 'ddserviceentry.SE_summary39;. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 117
Error  ;4 9;SE_summary' is ambiguous in the namespace 'ddserviceentry39;. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 127
Error  ;5 Class 'reports_se_summary_aspx'; must implement 'ReadOnly Property IsReusable() As Boolean9; for interface 'System.Web.IHttpHandler';. Implementing property must have matching 'ReadOnly' or 'WriteOnly' specifiers. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 128
Erro r 6 Class 'reports_se_summary_aspx'; must implement 'Sub ProcessRequest(context As HttpContext)' for interface 'System.Web.IHttpHandler';. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 128
Erro r 7 'ReadStringResource' is not a member of 'ASP.reports_se_summary_aspx'. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 145
Error  ;8 9;GetWrappedFileDependencies' is not a member of 'ASP.reports_se_summary_aspx'. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 149
Error  ;9 9;Server9; is not a member of 'ASP.reports_se_summary_aspx'. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 152
Error  ;10 property 'SupportAutoEvents' cannot be declared 'Overrides' because it does not override a property in a base class. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 155
Erro r 11 'btnLogout'; is not a member of 'ASP.reports_se_summary_aspx'. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 168
Error  ;12 39;lblMessage' is not a member of 'ASP.reports_se_summary_aspx'. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 219
Error  ;13 Value of type 'ASP.reports_se_summary_aspx' cannot be converted to 'System.Web.UI.Page'. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 220
Error  ;14 39;lblStoreNo' is not a member of 'ASP.reports_se_summary_aspx'. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 241
Error  ;15 Value of type 'ASP.reports_se_summary_aspx' cannot be converted to 'System.Web.UI.Page'. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 242
Error  ;16 39;Label139; is not a member of 'ASP.reports_se_summary_aspx'. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 258
Error  ;17 Value of type 'ASP.reports_se_summary_aspx' cannot be converted to 'System.Web.UI.Page'. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesddserviceentry9e33827853fbb2a5App_Web_olhkxqm4.30.vb 259
It goes until it reaches the max no of errors and stops.
On 10/19/07, John Warner <jwarner.com" target="_blank">john jwarner.com> wrote:
Then I'm just baffled if deleting the .sou does not work and you can load 'new39; projects. I'm out of suggestions, this may require getting out the company credit card and pay MS for some help.
John Warner
I have a new project that I just created last week in 2.0. I'm having no problems at all with opening it. I did have one time and I about freaked out. But I closed it out and opened it back up and everything was fine. (wheu!)
On 10/18/07, John Warner <jwarner.com" target="_blank">john jwarner.com> wrote:
Ok, forget old projects for a minute and just create a new one in 2.0. You know a basic sort of typical of what you've been doing site, one or two pages with a control of two on each a little code behind. Save it and leave it. Tomorrow let us know if you can re-open it and if it still works. I'm beginning to think something is corrupt with your install of VS 2.
John Warner
I double-click on the project file and the project doesn't load.
--- List Settings ---
http://aspadvice.com/lists/
|