Deploying ASP.NET application

Discussion in 'ASP.NET / ASP.NET Core' started by JRusty15, Jan 26, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. 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
     
  2. Ramses

    Ramses Guest

    The error "Could not load type" usually refers to a missing file/DLL that was not uploaded or isn't found. did you make sure you uploaded this missing DLL?
     
  3. Well I used the "Publish" functionality in VS2008 which just uploads "what is needed" to run the site. I think the DLL is created in the Bin folder, is this correct? If so I can check to see if it's there.
     
  4. I uploaded the DLL that was in the BIN folder to the server. I get the same error.

    I also noticed that my access rules don't seem to stick. I'll change them one day, save it, and then the next day I go to edit/view them and they are all gone.

    I really need some help, and it would be nice if some of the guys that work for DASP.net would help. They refuse to give me any advice via email and there is nobody to call.
     
  5. Nevermind, I figured it out.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page