0

I created a user control for sharepoint 2007 site on my test server it was working properly. and today I deployed it on production It is giving parser error:

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 'EditSkillNew.EditSkill'.

Source Error:

Line 1: <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EditSkill.ascx.cs" Inherits="EditSkillNew.EditSkill" %>

Line 2:

Line 3: .style1

Source File: /_controltemplates/MySkill/EditSkill.ascx Line: 1


Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832 Please help me

0

1 Answer 1

0

We might need some more information to solve this, but there are a few things you could check.

  • Is there anything in the Event Log that might help?
  • Is the assembly containing your control signed? If so, your Inherits attribute would need to look something like Inherits="EditSkillNew.EditSkill, EditSkill, Version=a.b.c.d, Culture=someculture, PublicKeyToken=xyzabc"
  • Are there any configuration differences between your test and production environments?
  • Are you deploying to the GAC?
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.