<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Binary Expressions &#187; C#</title>
	<atom:link href="http://www.adamsdesk.com/be/category/development/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adamsdesk.com/be</link>
	<description>The life experiences of Adam Douglas. Technical help too!</description>
	<lastBuildDate>Tue, 27 Jul 2010 19:45:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>C#.Net &#8211; Parse Error Could Not Load Type</title>
		<link>http://www.adamsdesk.com/be/archives/2008/11/05/cnet-parse-error-could-not-load-type/</link>
		<comments>http://www.adamsdesk.com/be/archives/2008/11/05/cnet-parse-error-could-not-load-type/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 20:09:48 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[C sharp]]></category>
		<category><![CDATA[csharp]]></category>
		<category><![CDATA[dot net]]></category>
		<category><![CDATA[dotnet]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[inherits]]></category>
		<category><![CDATA[parse]]></category>

		<guid isPermaLink="false">http://www.adamsdesk.com/be/archives/2008/11/05/cnet-parse-error-could-not-load-type/</guid>
		<description><![CDATA[Background Knowledge

My web application ran fine locally but then experienced the &#8220;Prase Error Could Not Load Type&#8221; error message when I copied the files to the web server. In my case I was producing a web application using Visual Studio 2005 and coding in C#.NET.
Example of Error Message

Server Error in &#8216;/CustomErrorPages&#8217; Application.

Parser Error
Description: An error [...]]]></description>
			<content:encoded><![CDATA[<h4>Background Knowledge</h4>
<hr />
<p>My web application ran fine locally but then experienced the &#8220;Prase Error Could Not Load Type&#8221; error message when I copied the files to the web server. In my case I was producing a web application using Visual Studio 2005 and coding in C#.NET.</p>
<h4>Example of Error Message</h4>
<hr />
<p><span style="color:red">Server Error in &#8216;/CustomErrorPages&#8217; Application.</span></p>
<hr />
<p>Parser Error</p>
<p><strong>Description:</strong> 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.</p>
<p><strong>Parser Error Message:</strong> Could not load type &#8216;CustomErrorPages.WebForm1&#8242;.</p>
<p><strong>Source Error:</strong></p>
<p style="text-align: left;"><span style="color: red;">Line 1:  < %@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="CustomErrorPages.WebForm1" %></span><br />
Line 2:<br />
Line 3:  < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></p>
<p><strong>Source File:</strong> /CustomErrorPages/WebForm1.aspx <strong>Line:</strong> 1 </p>
<h4>Solutions</h4>
<hr />
<ul>
<li>Make sure you compiled your project.</li>
<li>Make sure your bin folder is in the correct location with the DLL, in this example case &#8220;/bin/WebForm1.dll&#8221;.</li>
<li>Make sure that you created a virtual directory or application root for your project.</li>
<li>Make sure you have the correct .NET Framework set in IIS that is required for the application.</li>
<li>Make sure you copied all the required application files.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.adamsdesk.com/be/archives/2008/11/05/cnet-parse-error-could-not-load-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
