Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Parser Error - Could not load type....

$
0
0

I have a SharePoint solution with 10 application pages. The application is deployed as a WSP file and is working fine on our production server.

However, when I deploy the code to our test server or to my dev server, i get:

Parser Error

Description: An error occurred during the parsing of a resource required to service this request......

Parser Error Message: Could not load type: 'CTLC.Layouts.CTLC.CTLCAssign'.

The source line is: <%@ Page Language="C#" AutoEventWireUp="True" CodeBehind="CTLCAssign.aspx.cs" Inherits="CTLC.Layouts.CTLC.CTLCAssign" DynamicMasterPageFile="~masterurl/default.master" %>

The page already had the <%@ Assembly Name="$SahrePoint.Project.AssemblyFullName$ %> directive.

So, I tested another page in the application and it loads perfectly!

With the exception of the <%@ page directive, the directive lines in the two files are IDENTICAL! 

I even copied the lines into two separate text files and ran FC on them in binary mode. No differences.

The page that is failing is inheriting from a custom page but I have another application on the test server with the same page inheritance and it loads fine.

Please help me troubleshoot this.

Thanks,


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>