Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Jun 21, 2010 10:38 AM|LINK
Hey everyone..I'm facing one problem..Hope i can find answers here.
I have one ASP>NET 1.1 project,Now according to requirements i need to migrate it to ASP.NET 2.0 Project.
I've checked many online blogs and guidelines about migration by microsoft.During my research I've found 2 ways of migrating a Webproject from 1.1 to 2.0
One is you open new the project by file-->open new file and select VBPROJ file,then conversion wizard starts and you'r able to convert the project.
Other way is you select File-->Open web site and then through conversion wizard,Convert the application.
There's a difference in the both methods.
In method 1 you dont see any change in the directory structre of the application and application is converted in to 2.0,After solving some reference and variable scoping errors,Application runs smoothly.Still I've nt tested whole application whether its
converted properly or not.
In method 2,you see a change in the directory structure of the application and new folders App_Code is created and selected webforms and class files are moved in the App_code folder,One folder named "Migrated" is created and very few files are created in
that folder and "Stub_" is prefixed to the file names which are moved in the migrated folder.for example Password.aspx.vb converted to stub_password.aspx.vb.Only code behind files are moved to the migrated folder. and following comment is added to the newly
created (stub prefixed ) file
' This file was generated as part of an ASP.NET 2.0 Web project conversion.
' This code file 'App_Code\Migrated\XX\XX\Stub_Password_aspx_vb.vb' was created and contains an abstract class
' used as a base class for the class 'Migrated_Password' in file XX\XX\Password.aspx.vb'.
' This allows the the base class to be referenced by all code files in your project.
Now i'm confused that which method should i use??If i use the 2nd method than,there is a defination of User control in the stub_ prefixed files.
(for ex. Public
As ctrError )
My code is not getting compiled and sayas "<class of the user control> not declared.How to remove this error??
Any help is appricieated..