Right now I'm working on an ASP website. To begin the move to ASP.NET I put my first .aspx testpage (along with it's CS file) onto the web folder. However, I get an error on line 1. The really odd thing is that the error message displays .NET version 1.1. I checked to see what is installed in the web server (Server 2003), and it does have V. 2.0, and of course IIS6.0. The page was written for .NET 2.0. Do I need to drop the Web.config or machine.config into the folder also? Here is the browser's error message in full:
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required
to service this request. Please review the following specific parse
error details and modify your source file appropriately.
Parser Error Message: Could not load type 'TestPage'.
Source Error:
Line 1: <%@ Pag ...
Go to the complete details ...