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 'PassingData.Default'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="PassingData.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: /PassingData/Default.aspx Line: 1
PassingData is the namespace and Default is the class default.aspx.cs is the code behind file
first of all, I want to know whether you experience this issue on your local system OR you just experience this issue when publishing your site to the server.
If you experience this issue only when you publish your site to a server (host), then the issue is caused by the fact that you did not properly compile and publish your project. You need to use your Visual Studio tool, select "Publish Site" and you need to
make sure all the files (dlls) are published successfully.
Please mark this response as an "answer" if it helps you. Thanks heaps!
maverickprot...
Member
64 Points
86 Posts
could not load type
May 29, 2012 04:03 PM|LINK
Hello,
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 'PassingData.Default'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="PassingData.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: /PassingData/Default.aspx Line: 1
PassingData is the namespace and Default is the class default.aspx.cs is the code behind file
Regards,
urenjoy
Star
12013 Points
1800 Posts
Re: could not load type
May 29, 2012 04:08 PM|LINK
Check following:
http://forums.asp.net/t/906959.aspx/2/10
maverickprot...
Member
64 Points
86 Posts
Re: could not load type
May 29, 2012 05:29 PM|LINK
cool
necro_mancer
Star
7981 Points
1566 Posts
Re: could not load type
May 30, 2012 02:40 AM|LINK
hi maverick,
first of all, I want to know whether you experience this issue on your local system OR you just experience this issue when publishing your site to the server.
If you experience this issue only when you publish your site to a server (host), then the issue is caused by the fact that you did not properly compile and publish your project. You need to use your Visual Studio tool, select "Publish Site" and you need to make sure all the files (dlls) are published successfully.
Please mark this response as an "answer" if it helps you. Thanks heaps!
Professional SQL 2008 R2 Service
maverickprot...
Member
64 Points
86 Posts
Re: could not load type
May 30, 2012 01:43 PM|LINK
changed codebehind codefile works now