Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, October 24, 2017 7:27 PM
I downloaded the Classic ASP to ASP.Net Migration Assistant from the Microsoft website. According to the instructions you can bring up the conversion tool in Visual Studio. I have Visual Studio 2010 Express and I don’t see it.
The instructions also state
Console |
||||
ASP to ASP.NET Migration Assistant Command-Line Syntax: the AspUpgrade.exe command-line tool can be used to upgrade ASP files to ASP.NET.
Options:
|
I went into my command console and entered after c:\windows\system32:
aspupgrade.exe c:\inetpub\wwwroot\Btest\pages_pe.asp
And got the following error message:
‘aspupgrade.exe’ is not recognized as an internal or external command, operable program or batch file.
Even if the Microsoft tool isn’t good, I’d still like to see the output. How can I get the console to work?
Thanks,
Robin
All replies (2)
Thursday, October 26, 2017 12:26 PM
That tool is useless. It only worked for ASP.NET 1.1, which was replaced 12 years ago by ASP.NET 2.0. Also, Visual Studio Express editions did not support extensions or add-ons.
If you can get hold of a copy of Visual Studio 2003 (also deprecated), you might get the tool to work. Then you will have the problem of trying to upgrade the output to work with recent versions of the .NET framework.
The best advice is to leave tools like that alone and learn how to write a .NET version of your classic ASP application. You could start with the Web Pages framework: https://www.mikesdotnetting.com/article/225/migrating-classic-asp-to-asp-net-razor-web-pages-part-one-razor-syntax-and-visual-basic although I advise learning C# rather than VB. You will also need a newer version of Visual Studio. You can get VS 2017 Community Edition free: https://www.visualstudio.com/downloads/
Saturday, October 28, 2017 9:24 AM
Mike,
Thanks for the response. I wasn't planning on actually using it. I simply wanted to see what Microsoft came up with.
Thanks again,
Robin