W
werdna.sivad
I built an ASP site using the new Visual Studio 2005. The site uses a
simple master page. On my local machine everything runs just fine.
When I publish the site and FTP it to the server, it doesn't run. I
get the following error message.
Server Error in '/test2' 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 'MasterPage'.
Source Error:
Line 1: <%@ master language="C#" autoeventwireup="true"
inherits="MasterPage" %>
Line 2:
Line 3: <html>
Source File: /test2/MasterPage.master Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.42
Anybody know what's going on? I am getting pretty frustrated. I have
no idea what is wrong, and nobody on the web seems to know either. And
yes, .net 2.0 is installed, as indicated in the error message.
simple master page. On my local machine everything runs just fine.
When I publish the site and FTP it to the server, it doesn't run. I
get the following error message.
Server Error in '/test2' 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 'MasterPage'.
Source Error:
Line 1: <%@ master language="C#" autoeventwireup="true"
inherits="MasterPage" %>
Line 2:
Line 3: <html>
Source File: /test2/MasterPage.master Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.42
Anybody know what's going on? I am getting pretty frustrated. I have
no idea what is wrong, and nobody on the web seems to know either. And
yes, .net 2.0 is installed, as indicated in the error message.