Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gac]

Question Related to Global Assembly Cache

0
votes
0answers
8 views

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

I am trying to deploy a SharePoint solution using Visual Studio. This solution references a AjaxControlToolkit.dll and upon deploying, I get following error: Cannot add the specified assembly to ...
0
votes
1answer
36 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 ...
0
votes
1answer
44 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 ...
0
votes
1answer
102 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 ...
1
vote
0answers
21 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 ...
1
vote
0answers
33 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 ...
0
votes
1answer
175 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 -...
2
votes
2answers
2k 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 ...
1
vote
1answer
732 views
1
vote
3answers
687 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: ...
0
votes
1answer
71 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 ...
0
votes
1answer
509 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\...
1
vote
1answer
159 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,...
2
votes
1answer
2k 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 ...
0
votes
1answer
25 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?
0
votes
1answer
479 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 ...
0
votes
0answers
146 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 ...
1
vote
1answer
294 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....
0
votes
1answer
41 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? ...
0
votes
1answer
63 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 ...
1
vote
1answer
272 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 ...
1
vote
1answer
701 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 ...
3
votes
1answer
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 ...
2
votes
2answers
1k 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 ...
0
votes
1answer
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 ...
0
votes
1answer
303 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 ...
1
vote
2answers
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 ...
2
votes
1answer
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 ...
1
vote
1answer
417 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"...
2
votes
1answer
293 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 ...
0
votes
1answer
285 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 ...
0
votes
2answers
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 ...
1
vote
2answers
329 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 ...
2
votes
3answers
2k 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 ...
0
votes
2answers
3k 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.
0
votes
1answer
350 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 ...
1
vote
3answers
9k 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 ...
0
votes
1answer
181 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 ...
0
votes
1answer
731 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 ...
1
vote
1answer
112 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 ...
0
votes
1answer
108 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 ...
0
votes
2answers
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 ...
0
votes
3answers
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 ...
1
vote
2answers
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: ...
1
vote
1answer
98 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 ...
0
votes
3answers
761 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 ...
2
votes
1answer
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 ...
4
votes
1answer
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 (...
4
votes
3answers
3k 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, ...
4
votes
1answer
10k 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 ...