Question about migrating Classic ASP to ASP.Net

Last post 10-16-2007 4:16 AM by mateenmohd. 3 replies.

Sort Posts:

  • Question about migrating Classic ASP to ASP.Net

    07-12-2007, 3:13 AM

    I know how to write both Classic ASP and ASP.Net. Is there some kind of program that can convert a Classic ASP  page to an ASP.Net Page? If so, please tell me what programs I can use?

     

  • Re: Question about migrating Classic ASP to ASP.Net

    07-12-2007, 3:20 AM
    Answer
    • Loading...
    • XIII
    • Joined on 06-30-2002, 11:59 PM
    • Essen, Belgium
    • Posts 9,823
    • Moderator
      TrustedFriends-MVPs

    Hi,

    there's a migration tool available: http://www.asp.net/migrationassistants/GettingStarted_ASPtoASPNET.htm. I haven't used it since I never had to deal with upgrading myself but it could help you in your effort.

    Grz, Kris.

    Read my blog | Members are volunteers so please keep out the (it's urgent | asap | reply me directly) stuff. Nobody's interested in that.
  • Re: Question about migrating Classic ASP to ASP.Net

    07-12-2007, 2:34 PM
    Answer

    The ASP to ASP.NET v1.x Migration Assistant http://www.asp.net/migrationassistants/asp2aspnet.aspx was not updated for .NET 2.0, and does not integrate into Visual Studio 2005 as it does with Visual Studio 2003.

    The workaround is to

    1. Download the ASP to ASP.NET v1.x Migration Assistant which (default) downloads to c:\Program Files\ASP to ASP.NET Migration Assistant. Then from the command line enter: [assumes directory where .asp pages are located is 'messaging'.
    2. c:\Program Files\ASP to ASP.NET Migration Assistant>ASPUpgrade "C:/program files/messaging/website" /out d:/inetpub/wwwroot/Messaging

                            The syntax for this command is:   ASPUpgrade[.exe] <DirectoryName> [/Out] [/NoLog] | /LogFile] [/Verbose] [/ProjectName]

        3.   Open up Messaging as your website project within VS2005.

     

    Then check out the _ConversionReport.htm in the same target wwwroot Messaging directory.

     

    Enterprise Architecture, Programmer
  • Re: Question about migrating Classic ASP to ASP.Net

    10-16-2007, 4:16 AM
    • Loading...
    • mateenmohd
    • Joined on 05-01-2003, 3:28 AM
    • Posts 58

    Thanks for your response. I following the procedure/steps as above

    in command line I enter

    c:\Program Files\ASP to ASP.NET Migration Assistant>ASPUpgrade "C:/program files/messaging/website" /out d:/inetpub/wwwroot/Messaging
     
    But it give following message
     
    " The upgrade tool cannot find the source path specified "
     
    I also try this
     
    c:\Program Files\ASP to ASP.NET Migration Assistant>ASPUpgrade "C:/program files/messaging/website" /out c:/inetpub/wwwroot/Messaging
     
    but same message,
    I already install the downloaded migation asssitatn from above address.
     
    can you help us to find upgrade tool / how to register migation assistant to visual studio 2005 ?
     
    Thanks and regards
     
    Mateen
     
     
     
Page 1 of 1 (4 items)
Microsoft Communities
Page view counter