JRusty15
01-26-2010, 07:56 PM
I'm having trouble getting my asp.net 3.5 application working on the server. I created a SQL 2008 database to manage membership and roles, and my app can connect to it fine. I can run the code fine on my local machine, but when I upload it (via the Publish feature in VS2008), I get errors. I set up the directories to be applications on the server.
I have a login.aspx in the root folder and upon successful login it takes you to default.aspx in a MemberPages folder that is protected using the asp.net membership and roles mechanism. On my local machine it works fine, but on the server I get the following error:
Server Error in '/RDMTime/MemberPages' 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 'ASPSerialize.Default'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ASPSerialize.Default" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /RDMTime/MemberPages/Default.aspx Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
Default is the namespace in the C# code file. Can anyone help me out? Thank you,
~Jeff
I have a login.aspx in the root folder and upon successful login it takes you to default.aspx in a MemberPages folder that is protected using the asp.net membership and roles mechanism. On my local machine it works fine, but on the server I get the following error:
Server Error in '/RDMTime/MemberPages' 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 'ASPSerialize.Default'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ASPSerialize.Default" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /RDMTime/MemberPages/Default.aspx Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
Default is the namespace in the C# code file. Can anyone help me out? Thank you,
~Jeff