Article ID: 815172 - Last Review: December 3, 2007 - Revision: 2.6 HOW TO: Migrate an ASP Web Application to ASP.NET While Retaining Existing File Name ExtensionsOn This PageSUMMARYThis step-by-step article describes how to migrate an ASP
Web application to ASP.NET while retaining existing file names. By default, script mappings are added when you install the .NET Framework on a computer that is running Windows 2000 or Windows Server 2003 if the computer has Internet Information Services (IIS) installed. These script mappings cause pages that have the .aspx file name extension to be run by ASP.NET. This process allows ASP 3.0 applications to coexist with ASP.NET applications because ASP 3.0 is used to process files that have the .asp file name extension. However, when you upgrade an application from ASP 3.0 to ASP.NET, and the files use the .aspx file name extension after you upgrade, URLs for the ASP 3.0 application are no longer valid. Any favorites, bookmarks, search engine results, or links from other sites that link directly to a page that had an .asp file name extension are no longer valid. To provide continuity of URLs, you can change application mappings so that any specific file name extension is run as an ASP.NET application, including file name extensions that are associated with ASP 3.0 applications. You must also configure ASP.NET to process files that have nonstandard extensions. This step-by-step article describes the two major tasks of that configuration process. back to the top Edit Script Mappings in Internet Services ManagerIIS determines how to handle requests based on the script mapping for the file name extension of the request. You can change these script mappings by using Internet Services Manager. To configure ASP.NET to handle files that have an .asp file name extension, follow these steps:
back to the top Edit the .Config FileWhen you change the application mappings in IIS, IIS sends the request to ASP.NET. You must configure ASP.NET to correctly process files that have the file name extension that you have mapped to it. To add application mappings to ASP.NET, follow these steps:
REFERENCESFor more information, visit the following Microsoft Web
site: http://msdn2.microsoft.com/en-us/library/aa719558(VS.71).aspx
(http://msdn2.microsoft.com/en-us/library/aa719558(VS.71).aspx)
back to the
topAPPLIES TO
| Article Translations
|
Back to the top
