Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

Can I convert an asp.net 1.1 website to an 2.0 site?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mark4asp - 11 Dec 2007 13:41 GMT
I have a website written in asp.net 1.1

Is it possible to convert it to asp.net 2.0

There is no solution or project file.

I'm using VS2005.
Mark Rae [MVP] - 11 Dec 2007 13:51 GMT
>I have a website written in asp.net 1.1
>
> Is it possible to convert it to asp.net 2.0
>
> There is no solution or project file.

Open it in VS.NET 2005 - the Converersion Wizard will kick in...

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net

mark4asp - 11 Dec 2007 18:27 GMT
> > I have a website written in asp.net 1.1
> >
[quoted text clipped - 3 lines]
>
> Open it in VS.NET 2005 - the Converersion Wizard will kick in...

I did open it with VS2005. I didn't notice the conversion wizard do
anything.

    File, Open, Web Site...
or
    File, Add, Existing Web Site...

Afterwards I get warnings like this:

Warning    2    'System.Configuration.ConfigurationSettings.AppSettings' is
obsolete: 'This method is obsolete, it has been replaced by
System.Configuration!System.Configuration.ConfigurationManager.AppSettin
gs'    D:\websites\AspNetJobs2\site\usercontrols\NewListings.ascx    29

Error    18    'System.Web.HttpRequest.QueryString' is a 'property' but is
used like a 'method'
D:\websites\AspNetJobs2\site\password\ViewApplication.aspx    16

[for the code:   intApplicationID = Request.QueryString( "id" );]

Perhaps the problem with this code is that it's just shot full of
errors and maybe it never worked in the first place?  Maybe I just
downloaded bad code!, or an untested beta.
Mark Rae [MVP] - 11 Dec 2007 18:33 GMT
>> Open it in VS.NET 2005 - the Converersion Wizard will kick in...
>
> I did open it with VS2005. I didn't notice the conversion wizard do
> anything.

Hmm - are you sure it hadn't already been converted...? Can you still open
it in VS.NET 2003...?

> Afterwards I get warnings like this:

That's right - the Conversion Wizard won't fix your code for you...

> Perhaps the problem with this code is that it's just shot full of
> errors and maybe it never worked in the first place?  Maybe I just
> downloaded bad code!, or an untested beta.

Possibly...

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net

Fao, Sean - 11 Dec 2007 14:58 GMT
> I have a website written in asp.net 1.1
>
[quoted text clipped - 3 lines]
>
> I'm using VS2005.

The short answer is, yes, you can certainly convert a 2003 website to
2005.  That said, I have not had much luck with the conversion wizard.
It's definitely a nice start, but it was always a lot of work to get
everything up and running again.  It makes it a lot easier of the
original developers followed strict best practices when developing the site.

Hope that helps,

Signature

Sean

BigJohn - 12 Dec 2007 18:38 GMT
Have done this, multiple times.

1 - create a project file using VS 2003 (open a new project, Add Existing
Item)
2 - get the VS 2003 project functioning.
3 - Open the VS 2003 project with VS 2005 and the wizard will kick in.
4 - About 80% of the needed changes will be taken care of, the rest is on
your own.

Good luck

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.