ASP.NET 1.1 to 2.0 Conversion?

Last post 10-24-2006 1:13 PM by vivek_iit. 11 replies.

Sort Posts:

  • ASP.NET 1.1 to 2.0 Conversion?

    10-04-2006, 1:08 PM
    • Member
      80 point Member
    • sfbarron
    • Member since 10-04-2006, 5:03 PM
    • South Jersey
    • Posts 16

    Hey guys, I know alot of basic .NET concepts but I'm still fairly new.  I'm working with an ASP.NET 1.1 web application and tried converting it to ASP.NET 2.0 using Visual Web Developer Express 2005.  I got a few errors and it said I would have to manually fix them but it didn't really specify where the errors were exactly.  I know they use different versions of VB, which is the language this application uses, so I don't see how I could possibly convert this seemlessly?  Am I better off just keeping it in ASP.NET 1.1?

    Thanks in advance...

  • Re: ASP.NET 1.1 to 2.0 Conversion?

    10-04-2006, 2:01 PM
    • All-Star
      17,710 point All-Star
    • vivek_iit
    • Member since 06-18-2006, 2:13 PM
    • New Delhi
    • Posts 3,171
    • TrustedFriends-MVPs

    Hi,

    If the errors are minor, then I would suggest you can convert the app and use the new features in 2.0. But if its taking too much of your time and there seems no business sense in converting the app, then leave it in 1.1. I would also suggest you to go through the new features in 2.0 framework so that you are at a better position to fix any conversion errors. See MSDN or google around.

    HTH,

    Vivek

  • Re: ASP.NET 1.1 to 2.0 Conversion?

    10-04-2006, 2:19 PM
    • Member
      80 point Member
    • sfbarron
    • Member since 10-04-2006, 5:03 PM
    • South Jersey
    • Posts 16

    I don't "think" the errors are that major, but like I said I'm not .NET...  Here is the Conversion Report.  What do you think?

     

    Conversion Report - TST

    Time of Conversion: Wednesday, October 04, 2006 10:45:59 AM

    Project: TST2.vbproj

    Filename

    Status

    Errors

    Warnings

    TST2.vbproj:(Error List)

     

    2

    0

    Conversion Issues - TST2.vbproj:(Error List):

    ERROR: Unable to convert project reference TSTLIB.

     

     

     

     

     

     

    ERROR: Unable to convert project reference LMReportLib.

     

     

     

     

     

     

    TST2.vbproj:(Warning List)

     

    0

    1

     

     

     

    Conversion Issues - TST2.vbproj:(Warning List):

    Warning: This web project was converted as a file-based web application. If your site contained any IIS meta-information, e.g. sub-folders marked as virtual directories, it is recommended that you close this web site and re-open it using the Open Web Site command and selecting the Local IIS tab.

     

     

     

     

     

     

    TST2.vbproj

    Converted

    0

    0

     

     

     

    Conversion Issues - TST2.vbproj:

    Converted. There may be some unresolved conversion issues you will need to manually fix. For more information, please refer to http://go.microsoft.com/fwlink/?LinkId=46995 or search for the help topic "Converting from Visual Studio .NET 2002 or 2003".

     

     

     

     

     

     

    3 files

    Converted: 1
    Not converted 2

    2

    1

     

     

     

     

    Conversion Settings

    Solution File: C:\Documents and Settings\sfbarron\My Documents\Visual Studio 2005\Projects\TST\TST.sln

  • Re: ASP.NET 1.1 to 2.0 Conversion?

    10-04-2006, 3:02 PM
    • All-Star
      17,710 point All-Star
    • vivek_iit
    • Member since 06-18-2006, 2:13 PM
    • New Delhi
    • Posts 3,171
    • TrustedFriends-MVPs

    >ERROR: Unable to convert project reference TSTLIB.
    >ERROR: Unable to convert project reference LMReportLib.

    If you can fixe these errors in the referenced projects, then its fine. It really depends on the errors inside these projects.

    Vivek

  • Re: ASP.NET 1.1 to 2.0 Conversion?

    10-05-2006, 12:00 PM
    • Member
      80 point Member
    • sfbarron
    • Member since 10-04-2006, 5:03 PM
    • South Jersey
    • Posts 16

    There are a ton of errors in the project.  I'm thinking I should just leave it in 1.1 since I'm not too familar with 1.1 in order to modify it to comply with 2.0...  My next problem is that I assumed it was ASP.NET because of the ASPX file.  The I noticed there were ASPX.VB files and from what I understand ASP.NET 1.1 could not allow you to have "code-behind" pages (those .VB) files so I assumed it was just plain VB.NET.  I have ASPX, ASPX.VB, ASPX.RESX, ASCX, ASCX.VB and ASCX.RESX files.  Judging from that, could anyone tell me exactly what kind of .NET platform this was built on?  It won't open in VS 2005 (the Conversion Wizard appears) so I'm assuming it's older.  Sorry, I am not familar with the older .NET frameworks whatsoever, I started with 2.0. 

    Thanks in advance...

  • Re: ASP.NET 1.1 to 2.0 Conversion?

    10-05-2006, 12:26 PM
    • All-Star
      17,710 point All-Star
    • vivek_iit
    • Member since 06-18-2006, 2:13 PM
    • New Delhi
    • Posts 3,171
    • TrustedFriends-MVPs

    Hi,

    Each file in ASP.NET 1.1 has a designer part as well as code behind part. The designer part is in ASPX and ASPX.RESX files. Whereas code behind is in .VB files. Its VB.NET 1.1 only. Compilation model in 2.0 is different thanks to partial classes. See MSDN for more info.

    Hope this helps,

    Vivek

  • Re: ASP.NET 1.1 to 2.0 Conversion?

    10-05-2006, 12:52 PM
    • Member
      80 point Member
    • sfbarron
    • Member since 10-04-2006, 5:03 PM
    • South Jersey
    • Posts 16
    Let me get this straight, ASP.NET 1.1 does allow you to have code-behind/.vb files?  I thought the abilty to have code-behind/.vb files was one of the major differences between 1.1 and 2.0 (besides the ton of extra classes)...
  • Re: ASP.NET 1.1 to 2.0 Conversion?

    10-05-2006, 1:42 PM
    • All-Star
      17,710 point All-Star
    • vivek_iit
    • Member since 06-18-2006, 2:13 PM
    • New Delhi
    • Posts 3,171
    • TrustedFriends-MVPs

    Ofcourse yes. ASP.NET had code behind support since its first release. Also, there are other major difference between 1.1 and 2.0, compilation model, partial classes, asynchronous pages to name a few.

    Google around for tutorials on the same. If you have time, do go through a nice book too. It helps :-)

    Vivek

  • Re: ASP.NET 1.1 to 2.0 Conversion?

    10-05-2006, 1:53 PM
    • Member
      80 point Member
    • sfbarron
    • Member since 10-04-2006, 5:03 PM
    • South Jersey
    • Posts 16
    Thanks for your help.  Since I started with 2.0, trying to understand 1.1 has been a little confusing.  A professor actually told me that previous versions of ASP.NET would not allow code-behind pages, although the older VB.NET did.  So I must have misunderstood his context.  I guess I will have to search around for some 1.1 tutorials and books.
  • Re: ASP.NET 1.1 to 2.0 Conversion?

    10-23-2006, 3:24 PM
    • Member
      75 point Member
    • panania
    • Member since 10-18-2006, 7:56 PM
    • Posts 16
    Just as a side question, did you update your 2.0 IDE (whatever you're using, VS 2005, etc.) to include the web application patch?
  • Re: ASP.NET 1.1 to 2.0 Conversion?

    10-24-2006, 11:32 AM
    • Member
      80 point Member
    • sfbarron
    • Member since 10-04-2006, 5:03 PM
    • South Jersey
    • Posts 16
    I'm using Visual Web Developer 2005 Express.  It attempted the conversion and gave me over a hundred build errors.  Where would I get this "web application patch"?  Did you try running this patch and have good luck?
  • Re: ASP.NET 1.1 to 2.0 Conversion?

    10-24-2006, 1:13 PM
    • All-Star
      17,710 point All-Star
    • vivek_iit
    • Member since 06-18-2006, 2:13 PM
    • New Delhi
    • Posts 3,171
    • TrustedFriends-MVPs

    sfbarron:
    I'm using Visual Web Developer 2005 Express.  It attempted the conversion and gave me over a hundred build errors.  Where would I get this "web application patch"?  Did you try running this patch and have good luck?

    Check this link:

    http://www.microsoft.com/downloads/details.aspx?familyid=8B05EE00-9554-4733-8725-3CA89DD9BFCA&displaylang=en

    Note that currently VWD does not support WAP model, but the next release, code named Orcas, will support it.

    HTH,

    Vivek

Page 1 of 1 (12 items)