Questions tagged [gac]

Question Related to Global Assembly Cache

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

SharePoint Server 2019 Health Error: [MissingWebPart] class [Microsoft.Office.Excel.WebUI.ExcelWebRenderer]

This SP 2019 farm is connected with OOS and I can view online Excel files stored in SharePoint, but I get the Health Error: [MissingWebPart] WebPart class [e6002ce8-69ee-168a-8f7c-a1d98d51da29] (...
MLC's user avatar
  • 295
1 vote
1 answer
965 views

SharePoint - 80 : Error: The web.config is invalid on this IIS Web Site:

I tried to deploy a .wsp solution to my SP farm. But I met the following error: Last Operation Result: Some of the files failed to copy during deployment of the solution. Last Operation ...
gymcode's user avatar
  • 51
0 votes
1 answer
237 views

Feature Event Receiver - older version of event receiver firing

Sharepoint 2013 Steps to recreate issue: 1.) Following the steps from this blog... https://sharepointgotchas.wordpress.com/tag/httpmodule/ I started with an Empty SP solution. I created an HTTP ...
user3760332's user avatar
0 votes
1 answer
289 views

SharePoint 2010 : Custom Web part Assembly file missing

SharePoint 2010 : Windows Server 2008 and We have few custom solutions deployed. Recently added a new WFE and re-deployed all solutions in the Farm. but in new WFE, few assemblies are missing and ...
Anand Rajendran's user avatar
1 vote
0 answers
28 views

Sharepoint on-prem server-side solution missing third-party assemblies

I am having a strange problem with a solution deployed to a SP 2013 on-premises server. The solution is using some third-party ASP.NET controls which were previously deployed in the GAC. For some ...
djvuk's user avatar
  • 111
1 vote
0 answers
61 views

A Web Part on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe

A slight variation on an old chestnut of a problem. I have a SP2007 farm which we are upgrading to SP2010. We are carrying out UAT on our dev platform before conducting the full live environment ...
JonS's user avatar
  • 764
0 votes
1 answer
372 views

Update-spsolution keep old version

In Sharepoint Foundation 2013 i have developped an spsolution scoped web with an eventreceiver. It's attached to a specific list in featureactivated. When i do update-spsolution -identity xxx.wsp -...
user1898765's user avatar
2 votes
2 answers
7k views

Web Part Error: Could not be found or it is not registered as safe

Looking around I know this is a common error but I can't find for help for the specific issue I am having. I am getting the error but in the message it is displaying the web part with it's ...
user2542930's user avatar
1 vote
1 answer
2k views

Difference between GAC Deployment and BIN deployment ? Also What is CAS Policy - How do we give Full Trust in CAS policy?

None of the answers I found on the web was satisfying.
Sitanshu Tiwary's user avatar
1 vote
3 answers
1k views

Cannot add webpart to page - DLL not registered in Assembly

Background: I have developed a Farm solution webpart for SharePoint 2013 Enterprise more than a year ago. This project uses two DLL which are: sample_1.dll sample_2.dll The whole solution consist: ...
Mauricio Arias Olave's user avatar
0 votes
1 answer
93 views

Deploying Dll to sharepoint sharepoint site throwing exception

I was created a Two Project in one solution One for feature activation and anthor one is for TimerJob. Manually i deployed the solution or If i take a wsp and put it in patch this two solution was ...
Elina's user avatar
  • 331
0 votes
1 answer
809 views

The type 'Microsoft.SharePoint.WebPartPages.WebPartPage' exists in both

I have a problem here: An error occurred during the compilation of the requested file, or one of its dependencies. The type 'Microsoft.SharePoint.WebPartPages.WebPartPage' exists in both 'c:\Windows\...
Sergey Zykov's user avatar
1 vote
1 answer
194 views

What is version 16 in the GAC?

I have installed SharePoint 2013, which should correspond, if I'm not mistaken, to the build 15. In the GAC, some SharePoint libraries such as Microsoft.SharePoint.dll are version 15, but some others,...
Arseni Mourzenko's user avatar
2 votes
1 answer
3k views

Difference between Assembly Deployment Target set to "GlobalAssemblyCache" or "WebApplication"

When I view the properties for my SharePoint 2010 project I can see an option of Assembly Deployment Target which can be set to either GlobalAssemblyCache or WebApplication. From this question I was ...
Naveen's user avatar
  • 1,902
0 votes
1 answer
27 views

How can I grab only SharePoint Assemblies from GAC?

How can I grab all SharePoint .wsp related assemblies from GAC in windows server 2008 r2?
SPBeginer's user avatar
  • 2,547
0 votes
1 answer
593 views

Recaptcha.dll not found after webpart deployment

I'm developing a webpart that contains a form for register data and send it to a list. I know a little about Sharepoint webpart development but again, implementation of external resources in ...
Mauricio Arias Olave's user avatar
0 votes
0 answers
181 views

Add all DLLs to GAC?

My SharePoint 2010 solution has two projects, one responsible for the back end (WCF web service) and one for the front end (webparts). I added the DLL from the back end to GAC via Visual Studio ...
Chris's user avatar
  • 127
1 vote
1 answer
403 views

CAS Policies for GAC Deployment

I have a .Net web application(3.5 Framework) which i converted it to WSP package and deployed the front-end aspx pages to _Layout of SharePoint webapplication and the third party Dll's(Like System....
user545359's user avatar
0 votes
1 answer
69 views

Based on what do we make a decision to choose GAC or Web App(bin) deployment of project?

In VS there are is project property which allows you to choose: GAC or Web APP(bin). Based on what do we make a decision to choose one of option? Is this property valid only while deploying via VS? ...
variable's user avatar
  • 4,453
0 votes
1 answer
74 views

GacDeployment does not show any results

following scenario. I have a structure that looks as follows: WebApplication (App) --> SiteCollection (SiteCol) --> Site (Site) --> WebSite (Web) --> List I developed an eventreceiver which should ...
チーズパン's user avatar
1 vote
1 answer
283 views

Muilti deploy DLLs from external Projects into single WSP

I'm trying to build a single .WSP that should contains multiple DLLs from External projects. I've been following that this tutorial: Link I've followed all steps but on deploy , DLLS doesn't appear ...
hello B's user avatar
  • 681
1 vote
1 answer
819 views

Deploy a package(wsp file) with dependent assemblies to GAC but dont remove them on Retracting, how?

When developing a SharePoint solution(a webpart for instance) sometimes we need to add some required assemblies(a telerik assembly for instance) to GAC. So for that we will add this assemblies via ...
Jalali Shakib's user avatar
3 votes
1 answer
3k views

SharePoint deployment - Deployed to: GAC (WebURL/Global) / BIN

I know that when we deploy farm solutions then they are available under Central Admin --> System Settings --> Manage farm solutions. In this list of solutions, there are 3 columns. Name, Status and ...
variable's user avatar
  • 4,453
2 votes
2 answers
2k views

New DLLs with another key

Please, help me to understand one thing in Sharepoint, as I'm very new in it... I have an SP site with many related lists. There are different custom forms (NewForm, for example) that have code ...
Alex's user avatar
  • 55
0 votes
1 answer
1k views

How to install SharePoint WebPart WSP file with DLLs outside WSP?

We develop WSP solutions and embed the DLLs within the WSP and give to our customers along with power-shell script to deploy the solution on their farm. Today, we have purchased a WebPart from an ...
variable's user avatar
  • 4,453
0 votes
1 answer
356 views

Best practice to generate wsp with code access policy

I am using sharepoint 2007 and visual studio 2008. I have changed some custom code in an existing solution. Now I finished the development and try to generate the wsp file. There is only 1 problem. I ...
Ola's user avatar
  • 4,405
1 vote
2 answers
1k views

Cannot add or use assembly in GAC?

I cannot add an Additional Assembly (DLL) via my Event Receiver Package settings. When I attempt to deploy, I get the following error: 3> Deploying solution 'EventReceiver.wsp'... 3>Error ...
PeterX's user avatar
  • 1,020
2 votes
1 answer
3k views

"Could not load type" from custom SharePoint 2010 WSP deployed to SharePoint 2013

I have a custom WSP with (among other things) a user control and a DLL for GAC deployment. It's been built for SharePoint 2010 and .NET 3.5 and is fully working on my SharePoint 2010 Farm. I also ...
anderaus's user avatar
  • 507
1 vote
1 answer
446 views

Deploying a VS SharePoint solution to the "Web Application"

When deploying a VS SharePoint solution to the "Web Application", where does the actual assembly go? I mistakenly switched the Assembly Deployment Target of several of my projects to "Web Application"...
MgSam's user avatar
  • 822
2 votes
1 answer
302 views

How does SharePoint 2010 manage versioned dlls in the GAC when referenced by multiple features?

We have multiple SharePoint projects and features that reference common library code. The library is versioned using the 4 part identifier (x.x.x.x). Each feature may reference a particular version ...
etc's user avatar
  • 172
0 votes
1 answer
303 views

How to increase the reliability of deployment?

Deploying solutions, both from within Visual Studio and a Powershell script seems really unreliable. For example, I have one package trying to deploy about 3 .dlls and on average it's taking 3 ...
MattDuFeu's user avatar
  • 514
0 votes
2 answers
1k views

Failed to load receiver assembly, missing service recycle?

I'm activating a feature using PowerShell and every "once in a while" it fails with the error "Failed to load receiver assembly". It seems to be complaining because some service or application is ...
Thomas's user avatar
  • 980
1 vote
2 answers
349 views

How to pull SharePoint 2010 Reference assemblies for dedicated build server

I am trying to build my SP2010 projects on a clean build server. All of my project's are building fine with one exception. One Visual Web Part project fails with the following error on the build ...
MickeySixx's user avatar
2 votes
3 answers
3k views

SharePoint 2010: System DLL (System.Collections.Generic) is not in the GAC - how do I add it?

I have a SharePoint project (named MyProject for this example) with an Application Page that references the namespace System.Collections.Generic. When I try to deploy the project, I get this error ...
Jeremy's user avatar
  • 313
0 votes
2 answers
4k views

Overwrite a dll in the GAC to avoid installing the whole feature

Is it possible to overwrite 1 dll in the GAC of a live server of my customer? Otherwise I need to install the whole feature. In this feature are very much webparts and other stuff.
Ola's user avatar
  • 4,405
0 votes
1 answer
351 views

Register dotless css Sharepoint 2010

I am trying to get http://www.dotlesscss.org/ installed on sharepoint 2010 server for use for the whole site instead of just an application. I have installed the dll into the GAC and the bin of the ...
Ben's user avatar
  • 111
1 vote
3 answers
12k views

How to register .Dll to GAC ?

I have only .dll file. I have assigned strong name to dll using ilasm command. I want to register it in GAC but i am getting following error: Dll Name :DDayICal.dll C:\Program Files (x86)\Microsoft ...
Viraj Gorajia's user avatar
0 votes
1 answer
187 views

WSP Builder copies dlls to solution regardless of "Copy Local" property set to False or not

I have a Custom timer job that references few custom dlls, now if I set copy local property of these dlls to false, it stills adds them and when I deploy solution it forces them into Gac. Is there ...
Muhammad Raja's user avatar
0 votes
1 answer
839 views

how to force a Timer Job solution to reference dll from gac

I developed a timer job feature using wsp-builder now when I take wsp file and deploy it to our development server it references an old version of dll from GAC even tho I updated gac with latest ...
Muhammad Raja's user avatar
1 vote
1 answer
118 views

my application not referencing latest dll from gac [closed]

I updated latest dll to my gac but still getting error in my application that this method doesn't exists, for some reason I have to get it from Gac and dunno why its not updating it even I did IIS ...
Learner's user avatar
  • 474
0 votes
1 answer
112 views

Problem while building wsp of a solution containing mutiple projects

I have a SharePoint solution having many projects in it, dlls generated by each project is placed in GAC, now whenever I build the solution and generate the wsp, i can see an old version of a ...
Diptarag's user avatar
  • 1,697
0 votes
2 answers
260 views

Will be next SharePoint 13/15 have new deploy features?

Over the past couple of years I've been making solutions for SharePoint Server and always most important problem was the availability of the web-site. Deployment not-sandboxed solution is pain at ...
unknownexception's user avatar
0 votes
3 answers
2k views

Cant load AjaxControlToolkit despite being deployed to GAC

I want to use AjaxControlToolkit on my application pages. I created new project where I added AjaxControlToolkit as safe control. When I deploy this project (package), I can see AjaxControlToolkit in ...
jjczopek's user avatar
  • 1,537
1 vote
2 answers
4k views

Cannot add the specified assembly to the global assembly cache: log4net.dll.

I have a project that reference log4net. In the package I have specified that the assembly should be deployed to the GAC. When I try to deploy the application from VS2010 I get the following error: ...
Pantani's user avatar
  • 520
1 vote
1 answer
116 views

What are the technical reasons to go for BIN deployment in SharePoint 2010?

In my current project, the team uses BIN deployment instead of the standard GAC deployment. The application is just a custom application using NHibernate as the ORM framework. I know thats not a good ...
Kumanan's user avatar
  • 11
0 votes
3 answers
782 views

Visual Studio assembly references form common assemblies and SharePoint

I have some logging and other common libraries that i want to use in my SharePoint solutions. These common dlls will be deployed to the GAC, i was thinking of creating a .wsp for them just on there ...
toby's user avatar
  • 467
2 votes
1 answer
1k views

Assembly binding failure for all old Microsoft.SharePoint (version 12.0.0.0) dlls

My SharePoint 2010 dev box seems to have gone crazy today. I started to get an error when using U2U's CAML builder and trying to connect to a site using the Object Model. The error message is as ...
Alex Clark's user avatar
4 votes
1 answer
2k views

Why would "Assembly Deployment Target" be disabled, in a non-sandboxed solution?

I have a visual studio project where I am trying to GAC the dll that is created. My problem is that when I click on the project and look at the "Assembly Deployment Target" property it is disabled (...
Abe Miessler's user avatar
  • 6,755
4 votes
3 answers
5k views

The type or namespace name 'X' could not be found (are you missing a using directive or an assembly reference?)

I have a weird problem I just can't place. I have a SP 2010 project which contains two sub-projects of type class library (FirstLib and SecondLib). The project build fine, no errors whatsoever, ...
JohnDoDo's user avatar
  • 1,169
4 votes
1 answer
11k views

How to full uninstall SharePoint 2010

I wanted a clean install of SharePoint 2010 so I recently uninstalled it as well as deleted all the content databases from Central Admin and SQL Management server. I then re-installed SharePoint 2010 ...
Meyer Denney's user avatar
  • 2,864