An assembly reference often refers to using an assembly dll in a SharePoint custom project. The Microsoft.SharePoint.dll needs to be referenced to use SharePoint classes and methods in a SharePoint custom code development project.

learn more… | top users | synonyms

0
votes
0answers
11 views

Web Part registration update on web part upgrades in farm

Before I rebuild Rome, I thought I would ask the community for a solution to what should be a common issue. In SharePoint, we deploy web parts, and activate them at the site collection. Then they ...
2
votes
2answers
2k views

Where do I find reference dll for System.Web.UI.DataVisualization.Charting?

We are upgrading a VS solution from SP2010 to SP2013. We are using VS2010 and Windows Server 2012 OS. Can you tell me where is the DLL for System.Web.UI.DataVisualization.Charting; located? The error ...
2
votes
2answers
96 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
48 views

How do I add references to C#?

I need to upload programmatically files to sharepoint. I read many artiles how to do this . However, apparently my computer does not have most of the references preinstalled. For example I was not ...
1
vote
2answers
439 views

running SharePoint utility on non-SharePoint server

I wrote a utility in C# to copy files from a network directory to a SharePoint document library. When the sys admin tries to run the .exe from a non-SharePoint server, he gets the following error: ...
0
votes
1answer
93 views

Variations and custom field

I have a multilingual SharePoint site which uses variations. However on deployment the content isn't being deployed to the other variation sites. When the "Variations Propagate Sites and Lists Timer ...
0
votes
1answer
79 views

OWSTimer caching assembly? SP 2010 dll issues

I have a phantom / cached .dll that I cannot get rid of in my SP Farm. I'm making updates to Example.dll, which contains an Email Event Receiver that I made changes to. Redeploying to the GAC and ...
1
vote
1answer
79 views

Custom library referenced in sharepoint project is not being put into GAC

I have a SharePoint 2010 project in a solution, and I have a library project in the solution. In the SharePoint project I've referenced to that project. Now when I deploy the SharePoint project, my ...
1
vote
3answers
70 views

Retrieve Strong Named Assembly for a SafeControl entry

I'm trying to add a SafeControl entry for a custom web part and know how to do it but just don't know what I'm supposed to put for the Assembly Name. It looks like it should use the template "(name ...
2
votes
1answer
77 views

Deleted Feature Receiver is Still Running

Here is a complicated one I have been banging my head against for months. I have a SharePoint 2010 site feature with a custom navigation provider. I have created a feature receiver that will add the ...
1
vote
1answer
40 views

Use WCF without adding its reference

I'm working with SharePoint 2010 and using a WCF service in my project. Due to some reasons some class names in my WCF were changed, that caused me to remove and add the service reference and ...
0
votes
0answers
82 views

SharePoint Deployment with thid part assembly that requires a .dat file

I develop an SharePoint 2010 application with VS 2012. This application contains a third party dll that is embeeded in the package manifest and deployed to gac. However, everytime I deploy the ...
0
votes
2answers
105 views

Assembly load errors after adding web application resources to solution with farm features

We have a solution that was recently changed from being globally deployed to deployed by web application in order to move binding redirects into the solution manifest (instead of using ...
0
votes
1answer
74 views

Infopath assembly error on publishing a simple workflow by sharepoint designer to sharepoint list

I have Sharepoint 2010 Server on windows 7 installed, and i created a simple List Workflow without any infopath form with Sharepoint Designer 2010, and i have Infopath 2010 Designer and Filler and ...
1
vote
1answer
321 views

Can I use a .net 4.0 dll assembly reference in a .net 3.5 sharepoint web part?

I am using some dll's from the crm 2011 sdk in a .NET 3.5 web part.The target is for SharePoint 2010 online. When I try to build it gives me the following error: The primary reference ...
0
votes
2answers
498 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 ...
0
votes
2answers
32 views

The assembly is created after its built or deployment?

I was wondering when do the runtime create the assembly of my sharepoint project, is it after building it or after it deployment ??
0
votes
1answer
79 views

Setting binding redirects for owstimer on multiple WFE

We have code similar to what is described in this blog post to set binding redirects in owstimer.exe.config using the FeatureInstalled event; the post specifically states that this event should run on ...
1
vote
2answers
96 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
2answers
120 views

Strange issue with feature activation

I'm having a problem while activating a feature. I have a custom dll that I referenced in this new project, and I'm trying to execute some code on the feature activation. The problem is that I get the ...
0
votes
1answer
196 views

How to reference/write the file path in Elements.xml for UserControl in Sandbox Solution?

I have 1 solution (which is deploying as SandBox Solution). I have added JavaScript files, Images, Application Page & UserControl in one Module under project folder. I have one Element.xml file ...
0
votes
2answers
203 views

Add call to static method in master page

I have an branding solution with custom master page. I have also utilities assembly, which is deployed into GAC. I have a button in my master page and I'd like to bind it's navigate URL to result of ...
2
votes
1answer
147 views

Using C++ dlls in event receiver

I am trying to use a legacy C++ dll that has around 5 C/C++ dependencies in SharePoint. I created a wrapper for the dll and it works fine in a test desktop program. I added the wrapper and all C++ ...
1
vote
1answer
1k views

Load resource strings (in .resx file) from other assembly

We are seeking to gradually move custom artifacts to new solutions (wsp's) and I'm stuggling with loading resource strings from xml/code in original package (XXX.Package.wsp).Resource files are now ...
0
votes
2answers
280 views

Changing a web part assembly name

I have recently decided that the assembly name for my solution needs to be changed. The issue is that this solution has tons of web parts active in all different site collections and none will work if ...
2
votes
3answers
1k 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
584 views

Failed to load receiver assembly

I'm working with 3 WFE, I'm, trying to deploy a solution with 2 master pages, also with a feature that will help us to change the master when we active it or deactivate it. The solutions has been ...
2
votes
1answer
1k views

This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded

I created a project on Sharepoint 2010. I need a Third Part dll reference in order to solve a problem. After downloading the dll, putting it in the project, add the reference to this library and ...
3
votes
2answers
429 views

How could I put a references of Ajax Control Toolkit in a GAC

How Could i put a references to the Gac. I want to putting a dll file to the AjaxControl Toolkit.
2
votes
1answer
430 views

How to add and use external assemblies in solutions?

I need to use DocumentFormat.OpenXml.dll in my code. In the solution package, I included this external dll in the Additional Assemblies. It looks like this: I also need to reference it, so that I ...
0
votes
1answer
95 views

Adding EventReceiver to Dynamic List

I am trying to add a Event Receiver to a list that is dynamically created (by code). So i cannot add a event receiver on the list directly. I found a way to attach a Event Receiver to the list by ...
0
votes
1answer
622 views

How do I add a user control from a separate assembly onto a Sharepoint application page?

Note: This question was originally posted in Stackoverflow and I was recommended to ask it here instead. There is probably a very simple solution to this problem but since I do not know Sharepoint at ...
1
vote
1answer
248 views

Adding and referencing an additional assembly in sandboxed solution

I'm writing a feature to my sandboxed web part with an event receiver that would parse a html website and add the results to a sharepoint list. The thing is I'll need to use the HTML Agility Pack and ...
1
vote
1answer
309 views

Using Web services - could not load type

I have written a bridge between my application and the Sharepoint webservices, to return the data to my project in a useful format. However When any line tries to create a new instance of this ...
2
votes
1answer
221 views

HTTP Handler not working for MS office extensions

I am trying to map a custom HTTP handler for *.pptx files and for some reason this is not working. My HTTP handler does nothing else other than sending an email when a powerpoint file is accessed. I ...
1
vote
2answers
1k views

SharePoint 2010: Saving file to local folder: Access Denied

in SharePoint 2010, I created a DLL that I deploy to the GAC. From this assembly, I try to save a file then access the file I just saved in a temporary location, such as C:\temp. Everytime I try to do ...
2
votes
1answer
2k views

SharePoint 2010 still looking for old version of solution assembly

We have a SharePoint 2010 solution developed in Visual Studio, which when deployed adds an assembly to the GAC (let's say MySolution.dll, version = 1.0.0.0). We make some changes and redeploy the ...
0
votes
3answers
198 views

Run an aspx page and have dlls in layouts folder instead of GAC - sharepoint

I have created an asp.net project . i want to run that project in SharePoint (2007) site. unfortunately i have no rights to deploy WSP files in sharepoint server. it is a share hosting. i can access ...
1
vote
3answers
3k views

How to Add Reference for Microsoft.Sharepoint to a Web-Application

Salve! Having created a web-application under the Sharepoint (2010) Site's directory in iis7, I now need to use the assemble microsoft.sharepoint in my web-application. How can I reference that? I ...
2
votes
2answers
2k views

Is it possible to use a DLL in a webpart that does not have a strong name?

My Sharepoint project has a webpart, which references dlls without strong names, which in turn further reference other dlls without strong names. Is it possible to add these dlls to sharepoint ...
1
vote
3answers
547 views

Why does this third-party library throw a FileNotFoundException?

I'm in the process of building a custom web part in Visual Studio 2010 designed simply to report the user ID of anyone who is logged in to one of six computers on my office's network. I have found a ...
0
votes
3answers
480 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
631 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 ...
3
votes
3answers
2k 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, ...
2
votes
1answer
1k views

SharePoint 2010 - Add WebPart reference to PowerShell script

I want to add a new developed WebPart to a SharePoint site with PowerShell. How it is possible to add the WebPart reference from my WebPart to the PowerShell script? $web = Get-SPWeb $urlWeb ...
1
vote
4answers
2k views

Problem with HTTP handler in Sharepoint 2010

I'm developing a visual web part for Sharepoint 2010. This webpart needs to get some data via AJAX. So I went for the HTTP handler + jQuery solution posted here. But I'm getting a problem when trying ...
2
votes
1answer
284 views

Assembly has no strong name though i added dll in advanced Package mode

I want to user Twitterizer for posting Status Updates through a WPF-Form. Since i need the Twitterizer2.dll to do this i first included it and then added it to the package using the advanced package ...
2
votes
1answer
705 views

Deploying DevExpress (third party) controls on SharePoint

I don't know whether anyone is familiar with DevExpress controls, but I am trying to implement their ASPxScheduler within SharePoint. What I have done so far is: Register the required assemblies in ...
1
vote
2answers
1k views

SharePoint 2010 Foundation Microsoft.SharePoint.Taxonomy.dll

Is Microsoft.SharePoint.Taxonomy.dll available with SharePoint 2010 Foundation?
1
vote
0answers
347 views

Exception loading SharePoint dependent assembly using reflection [closed]

I've created a custom Central Admin .aspx page that inherits from the OperationsPage base class, which is defined in Microsoft.SharePoint.ApplicationPages.Administration.dll. Naturally, I added a ...