Upgrade/migration issues from VS2003+.NET 1.1 to VS2005+.NET 2.0

Hi,

 Visual Studio is great when everything works well and you don't know what is happening under the hood. However when things don't work it is really frustrating since you just don't know what is going on.

 I have a project (a web site) that was originally developed for VS2003 and ASP.NET 1.1. When I loaded this project on VS2005 (and ASP.NET 2.0), VS told me that it will migrate it to the new environment: it did a number of things, generated a migration report and created/moved files under App_code and such directories. I tried this process a number of times because of really confusing behavior on the part of VS2005. The migrated project worked sometimes but many times it didn't work. The most frustrating part is the behavior and outcome of VS2005 is not predictable and repeatable. The various problems I have found are:

- after going thru migration, and then closing the project/solution (saving all the files), and then reloading the solution, VS2005 again tells me that it needs to migrate the project because it was developed under an older version of VS. What gives?

- The .csproj file disappears after I go thru the conversion process. Is that expected? How does VS know about the project when I load it the next time?

- What's the deal with creating the App_code directory and moving files around?

- At times when the conversion was successful, and I tried to build the project I get errors saying ErrorLable not found etc. These were while compiling .cs files and the ErrorLabel was defined in an aspx file.

- Normally I see the foo.aspx.resx file as a child of foo.aspx file in the solution/project browser. However in this broken case it appears as a sibling and that could be related to the problem?

- After my migration and build worked a couple of times, I was happy and I checked in all my files. However after that I made some more changes and everything was broken. I went back to the snapshot that was supposed to be working, but I was still not able to get it to work again.

- Last but not the least, why is the behavior so unpredictable and apparently so random?

 May be I am doing something wrong, but is there a way to find out what it is and what is the best way for me to migrate my project? The most frustrating part is that it worked once, so I know there is a way to get it to work. I just don't know what it is and how to make it stick. Any help is appreciated.

 San

0
spujare
8/18/2007 1:17:01 AM
asp.net.visual-studio-2005 7760 articles. 0 followers. Follow

2 Replies
1170 Views

Similar Articles

[PageSpeed] 57

 >- What's the deal with creating the App_code directory and moving files around?

Would the code that got moved to the App_code directory have been better within a class library?

Have you applied SP1 to VS2005? If so, you can can use a Web Application project -- see http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx 


Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
0
TATWORTH
8/18/2007 9:38:09 AM

MS has been working on these problems ever since releasing vs2005. You should have VS2005 SP1 installed, and use WAP(Web App Projects). Using the project conversion will increase your chances of being successful. After conversion, you have to convert the "conversion" to a web configuration. You are not out of the woods, because there continue to be problems with the conversion process. I am still trying to resolve a major problem with this beast, regarding one of my apps. Others apparently work. Good luck!!


Thanks,
Sdav
0
StanDav
8/27/2007 4:51:29 PM
Reply:

Similar Artilces:

Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0 #2
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! There are too many differences for one email - - from 1.0 to 1.1 (not a whole lot of real change, other than fixes, at least compared to 1.1 to 2.0) With 2.0, there were many new declarative controls, with many new ideas added in With 3.0, it's a superset of 2.0 - instead of replacing the installation completely, it just 'added on' new functionality - I would...

Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! Have a look into this links http://en.wikipedia.org/wiki/.NET_Framework http://blogs.msdn.com/mohammadakif/archive/2006/12/03/net-3-0-different-versions-of-the-net-framework.aspx http://www.codeproject.com/aspnet/ComparisonASP1xASP20.aspAshok Rajawww.iGold.inDon't forget to click "Mark as Answer" on the post that helped you. This credits that m...

Why Visual Studio 2005 ask me to convert a solution already got converted Somebody did the conversion of a solution from .net 1.1 to .net 2.0 by using the automatic conversion wizard of Visual Stu
Why Visual Studio 2005 ask me to convert a solution already got converted Somebody did the conversion of a solution from .net 1.1 to .net 2.0 by using the automatic conversion wizard of Visual Studio 2005. Then, he changed to another company. Now, I take over his job. Unfortunately, when I attempted to open that solution, Visual Studio 2005 prompted me the conversion wizard again to forced me to perform a conversion on the solution. Does someone know why?--Harish Patel www.MicrosoftSQLandASP.netpatelharish@gmail.com Hi, How many projects are in the solution, does it have UNLOADE...

Migration from .NET 1.1 to .NET 2.0
Hi All, Well i hoped that the migrating went smoother then is does so far. I had a few problem which i could fix with blogs from other developers, but i didn't find a good solution for this problem. Somehow i get the following error: "Make sure that the class defined in this code file matches the 'Inherits' attribute, and that it extends the correct base class" Well i worked very good before the migration. Some advise would be very welcome! Regards,Dennis van de Laarhttp://dennisv.net/Don't forget to mark the most helpful reply/replies as Answer. Maybe this post will hel...

Upgrading from .NET 1.1 to .NET 2.0
Hi,We write ASP.NET applications for a large UK organisation for which we have two servers - a dev server and a live intranet server.  I would like to convince management to upgrade the .NET framework from 1.1 to 2.0 (and incidently VS2003 to VS2005).If we install the new version of the dotnet framework, will there be any issues with our existing 1.1 applications?  If so, what will the issues likely to be?Your help is greatly appreciated.Ryan Penfold, Truro, UK. Two versions can coexist, so you shouldn't have any issues. So far we have not had any real issues with asp.net 1.1 a...

Migrate DataGrid .NEt 1.1 to .NEt 2.0
Hi I has just convert my ASP.NET web application from .NET 1.1 to .NEt 2.0 so far there is no problem but my datagrid seems to be acting really weird my datagrid has 3 columns and have paging enabled. When there is one/two row of data. The paging(which shows us the number of page) seems to have a column span of 1)  If i click on the second row of data.... the paging will have the column span of 3 This does not happen if there is more than 2 data   please go to the link for better clarification http://yingleekit.multiply.com/photos/album/1/work#1 http://ying...

Where is the ADO.NET Sybase driver for .NET 1.1 and .Net 2.0?
Hi All Does anyone know where I can get the Sybase drivers for ADO.NET for both versions, 1.1 and 2.0/3.0? Cheers Chris Burrell Hi Chris, There is no release of ASE ADO.NET Provider 2.0 (I assume you refer to ASE provider, not ASA - if ASA please port to sybase.public.sqlanywhere.general). For the 1.1 Provider: It is available in the ASE SDK for windows or the PC Client CDRom included with ASE product. On the SDK its available as 12.5.1 and 15.0 On ASE PC Client I think 12.5.1 is part of ASE 12.5.X and 15.0 is part of ASE 15.X 2.0 provider should release som...

Migrating .NET 1.1 to .NET 2.0/3.5
We have many of our application running in .NET 1.1, and plannig to migrate all one-by-one, i know there will be a big challenge for this activity, What we are planning is not to migrate all in one shot, After migrating one application we will give for some selective users testing once we feel it is OK, do the next. What is best way of doing this thing? Any links, thrid party tools, since opening this in VWD 2005, it is converting the application but many errors are popuping up. Any reference would be highly appreciated, thanks in advance. Hi, Please follow the steps mentioned in this l...

Problem with Project Migrating from .net 1.1 to .net 2.0
Hi i am working in .net 1.1 and i am working on a web service. it 's working fine in .net 1.1 with vs2003 but when i migrated my WS from .net 1.1 to .net 2.0 i am getting System.FormatException while converting datetime from string using DateTime.Parse method. it was not happening earlier when i was using .net 1.1. My WS converted from vs2003 to vs2005 using a wizard and it doesn's shows a single error.   i did lots of googling on this issue but didnot gets any help , so any reply in the matter will be highly appericiable.  thanks vishal sharma vishalsharma808...

how to upgrade .net framework1.0 to .net framework 1.1 or 2
how to upgrade .net framework1.0 to .net framework 1.1 or 2? I have already installed the new versions of the framework, but still y .net 2002 is using 1.0 framework. Is there a way out i can upgrade it? Its an urgency! Thanks, shakun  If you're using VS 2002, then you SHOULD be using .net framework 1.0.  .Net 2.0 applies to VS 2005 and I believe 1.1 applies to VS 2003 (maybe 2002 as well, but not sure). Correct. VS 2002 only capable of using 1.0, VS 2003 uses 1.1 and VS 2005 uses 2.0. You can install 2003 and 2005 on the same machine, but neither can coexist with...

Using Visual Studio.NET 2005 with .NET Framework 1.1
I'm wondering how easy it is to use Visual Studio.NET 2005 to develop with the .NET Framework 1.1. The 2005 IDE is superior to the VS 2003 IDE (especially in terms of HTML editing), and I would like to switch over in the future. However, my project is not quite ready to be converted to .NET 2.0. Can anyone direct me to an article on this or have any advice? Thanks, Allen K. There are 10 types of people in this world: those that understand binary and those that don't. Did you get an answer to this one? I would like to know the same..Thanks! The VS 2005 IDE was created to...

best practices to migrate from .net 1.0 to .net 1.1
hi, i have windows xp pro running iis 5.1. i have an intranet site running under iis. i made this site using VS.NET 2002 under .NET framework 1.0.3705. Now i want to upgrade me .NET frame work to version 1.1. , but i still want to use VS.NET 2002 for programming and maintaining the site. How do i do this without the upgrade affecting my already deployed website. A step by step procedure to migrate from version 1.0.3705 to version 1.1 would be quite helpful. Thanks in advance, Raja. Well, at least take a look at this doc about running v1.0 and 1.1 side-by-side h...

best method to migrate from .net 1.0 to .net 1.1
hi, i have windows xp pro running iis 5.1. i have an intranet site running under iis. i made this site using VS.NET 2002 under .NET framework 1.0.3705. Now i want to upgrade me .NET frame work to version 1.1. , but i still want to use VS.NET 2002 for programming and maintaining the site. How do i do this without the upgrade affecting my already deployed website. A step by step procedure to migrate from version 1.0.3705 to version 1.1 would be quite helpful. Thanks in advance, Raja. Hi, There is an article on this, right on this site. Check this Hope it hel...

.net 2.0 to .net 1.1
Hello , This is shrirang. Currently i am working .net2.0 web application. but the same application is runing on production in .net 1.1 freamwork . we are not using any new feature of 2.0 in our application . can i run build of 2.0 on 1.1 freamwork . if yes can you  please tell me necessary steps to achive it .     Thanks in advance for your kind help     Regards Shrirang i think it is not possible to run the 2.0 application in 1.1 , so try to change to the frame work in the production server . ThanksRaja Ragothaman Hi Shrirang, Please contact web adm...

Web resources about - Upgrade/migration issues from VS2003+.NET 1.1 to VS2005+.NET 2.0 - asp.net.visual-studio-2005

Migration - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

EU-Turkey summit to center on stemming migration flow
EU-Turkey summit to center on stemming migration flow

Security is a major concern for cloud migrations
... Moreover, 40 percent worry about the loss of physical control over data in the cloud. In particular, 69 percent of companies fear migration ...

IMPORTING ISIS: Paris Terror Attacks Prove the Mass "Refugee" Migration is a Trojan Horse
... to acting, and how do we stop them from acting,” he said. As Islamic expert Robert Spencer writes in Front Page Magazine, this mass migration ...

THE US EMV MIGRATION REPORT: What new chip cards mean for consumers, issuers, and merchants
... includes cards that store user information on a chip rather than a magnetic stripe — to make card-present payments more secure. The migration, ...

U.S.-Mexican migration study counters 2016 campaign narrative
Finding by Pew Research Center represents turning point in one of the largest mass migrations in U.S.

This mass migration to US is over
Over the past 10 years, migration from has slowed considerably, partly because of America's sluggish economy.

Migration to Windows 10 to be fastest yet, says Gartner
Windows 10 is poised to become the most widely installed version of Windows ever, following on the path of Windows XP and Windows 7 before it, ...

Google, CloudEndure Offer Free Data Migration to Cloud Platform
Google and Cloud Endure are offering free data migration services to any business interested in transferring data from five or more servers to ...

Africa-Europe: The politics of migration
While Western eyes have recently focused on the east and arrivals from Syria and Afghanistan, people from a dozen or so African countries continue ...

Resources last updated: 12/7/2015 6:52:02 AM