locked
Could not load type 'Namespace.class' after publish. RRS feed

  • Question

  • User102459681 posted

    Hi Folks,

    I have a website project using Web Developer Express 2010.

    I am able to run my aspx pages locally without problems, however after I publish the site and upload to webhost I am getting error bellow.

    Why is this running fine on my localhost, but not once deployed?

    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 'mynamspace.myclass'.  <- (Example Class & Namspace names)

    Source Error:

    Line 1: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="myclass.aspx.vb" Inherits="mynamspace.myclass" %> Line 2:  
    Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    Tuesday, April 9, 2013 3:58 PM

Answers

  • User-166373564 posted

    Hi,

    I just noticed that you have post the same thread in asp.net Getting Started forum(http://forums.asp.net/t/1896999.aspx), if anyone is interested in this issue, you could join the discussion in Get Started forum.

    With regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, April 15, 2013 9:24 PM

All replies

  • User-166373564 posted

    Hi,

    Perhaps there is something wrong during your deployment, if you want to deploy application on local machine, you can easily store it on a local drive.

    But if you want to deploy it on a remote server, you should have a web site, you would need a FTP/FrontPage account, IP address of web server/FTP server etc.

    How To Deploy a Web App in IIS

    Deploy web application on remote server,

    Adding FTP publishing to a web site in IIS

    hope it helps you,

    With regards

    Monday, April 15, 2013 6:03 AM
  • User-166373564 posted

    Hi,

    I just noticed that you have post the same thread in asp.net Getting Started forum(http://forums.asp.net/t/1896999.aspx), if anyone is interested in this issue, you could join the discussion in Get Started forum.

    With regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, April 15, 2013 9:24 PM