470,594 Members | 1,498 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.

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

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.
Dec 11 '07 #1
5 1115
"mark4asp" <ma******@gmail.comwrote in message
news:00**********************@news.astraweb.com...
>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...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Dec 11 '07 #2
mark4asp wrote:
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.
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,

--
Sean
Dec 11 '07 #3
Mark Rae [MVP] wrote:
"mark4asp" <ma******@gmail.comwrote in message
news:00**********************@news.astraweb.com...
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...
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.AppSet tings' is
obsolete: 'This method is obsolete, it has been replaced by
System.Configuration!System.Configuration.Configur ationManager.AppSettin
gs' D:\websites\AspNetJobs2\site\usercontrols\NewListi ngs.ascx 29

Error 18 'System.Web.HttpRequest.QueryString' is a 'property' but is
used like a 'method'
D:\websites\AspNetJobs2\site\password\ViewApplicat ion.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.
Dec 11 '07 #4
"mark4asp" <ma******@gmail.comwrote in message
news:00**********************@news.astraweb.com...
>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...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Dec 11 '07 #5
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
Dec 12 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Richard Hollenbeck | last post: by
6 posts views Thread by ivanL | last post: by
2 posts views Thread by crferguson | last post: by
4 posts views Thread by John Straumann | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.