|
| |
|
|
maverickinparadise
Posts: 9 Joined: 6/24/2007 Status: offline
|
Server Reporting an Error when I publish my ASP site - 6/24/2007 20:27:55
Hi there - I used frontpage for ages and just upgraded to expression web. Was wondering if anyone had ever encountered this problem: I just created my first ASPX site. I published it to my hosting providers' asp ready server (godaddy). But the site will not come up. Instead when I type in the URL, I'm getting this error in my web browser (IE and firefox report same error) - the full message is pasted below, but the error is indicated as being in "LINE 2" of the code which is the "<%@ Master language="C#" %>:" statement. Can anybody help me sort this one out? ERROR MESSAGE: 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: The directive 'Master' is unknown. Source Error: Line 1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Line 2: <%@ Master language="C#" %> Line 3: <html xmlns="http://www.w3.org/1999/xhtml"> Line 4: Source File: d:\hosting\dgmtoronto\default.aspx Line: 2 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
|
|
|
|
ou812
Posts: 1601 Joined: 1/5/2002 From: San Diego Status: offline
|
RE: Server Reporting an Error when I publish my ASP site - 6/24/2007 21:31:01
I believe Master Pages were introduced in ASP.NET 2.0, and it looks like your host is providing you with ASP.NET 1.1 I'm not 100% sure, but that might be the first thing I would look into. As a thought too, I'm wondering if you just remove the word "master" from that line, how it would react??? <edit> I'm new to the .NET also, so just throwing out thoughts</edit>
_____________________________
-brian EnterpriseDB: Enterprise-class relational database management system PostgreSQL: The world's most advanced open source database
|
|
|
|
maverickinparadise
Posts: 9 Joined: 6/24/2007 Status: offline
|
RE: Server Reporting an Error when I publish my ASP site - 6/24/2007 21:37:39
The for the reply and good insights re: the different version #'s - I will check with the hosting provider. I did several different things on the line 2, including removing the 'master' reference altogether - this resulted in yet another error message. I think there may be some issue in the default page code.
< Message edited by maverickinparadise -- 6/25/2007 0:31:59 >
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|