Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 10, 2006 03:28 PM by HubSharp
Mar 09, 2006 11:42 PM|LINK
I am trying to upgrade my 2003 web app to 2005 and I am going no where fast.
Aside from going through the code to add a bazillion "imports" statements ("imports System"). I am running into some strange problems. I will only list 2 of them here...
1) There were some strongly typed datasets in my application. These now can't seem to be referenced by anything in the code. I even tried adding my own dataset to App_Code and I can't open any of my vb files and say dim ds as MyNewDataset. This goes for
all datasets in my web app.
2) I had some web references in my project which are now throwing errors in the internal generated code. e.g. "Error 241 'Task' is ambiguous in the namespace 'RSService'." There is only 1 place in my code that I have "Class Task". So if I change the definition
to Class TaskChanged all the places that reference "Task" seem to work. ?? I look in the classview for a this mystery Task class and it shows it as being in App_WebReferencees.oe4jaaxj.RSService.Task .
This is really frustrating.
Other than just running the upgrade wizard, is there anything I can do to get this working? Any steps I can take to avoid these time consuming problems?
Mar 10, 2006 03:28 PM|LINK
I can't say much for the webservices, but I would try running the MSDataSetGenerator custom tool on any .xsd files you have. That may fix your dataset issues. I say may because it seems that the format of the xsd files has changed from 1.1 to 2.0.
I'm curious though, why didn't you run the upgrade wizard on your project? Using that should fix most of these problems for you.