Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6867001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:15:14+00:00 2026-05-27T03:15:14+00:00

We have a Sharepoint 2010 solution that we are trying to the deploy to

  • 0

We have a Sharepoint 2010 solution that we are trying to the deploy to the production environment.

We have developed this solution using Visual Studio 2010 and we have created several projects which result in a number of dlls.

We are getting the following error when accessing one of the web parts.

An error occurred during the compilation of the requested file, or one
of its dependencies. The type ‘xxxx’ is defined in an assembly that is
not referenced. You must add a reference to assembly ‘xxx,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxxx’.

For installing the dlls – I have dragged and dropped them into the GAC.
Is this a good approach? Could it be the cause of the problem? perhaps there is a better way of installing into the GAC? Or perhaps they need to be installed in a particular order?? The one without dependencies first?

This is the full error from the log file:

System.Web.HttpCompileException: c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\6f2f2743\7b5d4663\App_Web_rxpractioncommonwpusercontrol.ascx.12f7e65c.q7c1p6i0.0.cs(134): error CS0012: The type ‘xxxx’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘xxxx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=fe560f99f37381ef’. at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildI… a47a805d-765d-429e-b080-fe031b3e4fac

Thanks,

Joseph

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:15:14+00:00Added an answer on May 27, 2026 at 3:15 am

    Since you mention that you already tried deploying the assemblies from WSP, I thought I would list another possibility as a new answer. You are going to need to be specific about which assembly is missing first of all, and then validate that this assembly is present in the GAC of all your front ends. You need to rule out any possibility that the reference assembly actually is missing. Use the fusion log viewer as was mentioned in another answer.

    Next, how was your web part developed and are you sure its the web part throwing that error? Specifically, are you using any .ascx markup in your web part to reference controls out of this ‘missing’ assembly? If so, you may need to be sure to add a <%@ Assembly Name="" %> directive to your markup so that the asp.net compiler knows to reference it during compilation. You may potentially need to add SafeControl entries also.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Visual Studio 2010 SharePoint 2010 project that was created with a
I have a solution in Visual Studio 2010 that is made up of 3
I want to develop and deploy sandboxed Visual Studio 2010 sharepoint solutions. I've developed
My problem is this one, I am using Sharepoint 2010, I have a form
I understand that you can't develop in Visual Studio 2010 for a remote Sharepoint
I have a customed approval workflow created in visual studio 2010, after executing the
I am starting work on a SharePoint 2010 Project and using the Visual Studio
I have tried creating several web parts using Visual Studio 2010 using available guides
I'm having trouble creating a sharepoint project with .net 4.0. Using Visual Studio 2010,
I have created a list in SharePoint 2010, initially had the columns Title, Mobile

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.