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

2
votes
1answer
63 views

WebPart do not load a reference dll (RazorEngine.dll)

I have created a sp 2013 webpart. Inside this webpart I am using the RazorEngine.dll. It is included by NuGet and the solution builds. when I deploy and add the webpart to the page I got this error: ...
1
vote
2answers
25 views

Use an ObjectDataSource in a SharePoint 2013 project

I'm trying to use an ObjectDataSource in a SharePoint 2013 custom solution but I've the following errors... Just start with the initial version of the ObjectDataSource: <asp:ObjectDataSource ...
0
votes
0answers
13 views

Open InfoPath 2007 C# Form without .NET 1.1

I have a Form Library in SharePoint 2007 where users can add new documents by filling out an InfoPath 2007 form. Up to now these Forms have been customized with JScript but now i want to migrate to C# ...
0
votes
1answer
37 views

Error : Type is not registered as safe

I am creating a code behind file for the site page of sharepoint. The following page directive was used <%@ Assembly Name="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, ...
0
votes
1answer
34 views

code behind file for aspx in sharepoint

I am trying to add code behind file for .aspx file of sharepoint site pages. I followed the instructions given on this link Here But I am getting this error Could not load the assembly ...
0
votes
0answers
16 views

Sharepoint 2010 workflow in VS - Namespace error

I'm trying to build a reusable workflow solution that I have imported into VS 2010 to add some code-behind. However, when I try and build the freshly imported workflow, I get the following error (27 ...
0
votes
0answers
49 views

How to add asp assembly references in master page associated with html file?

I have created through Design Manager using html file. .html file is associated with .master file. Whatever changes I do in html are getting reflected in .master file. I want to make following ...
0
votes
1answer
29 views

Deploy assemblies into GAC using SharePoint package

If I have3rd party assemblies in the bin directory of the project and want to deploy them to GAC using SharePoint WSP, how to do it?
0
votes
1answer
153 views

Error occurred in deployment step 'Activate Features':

I am trying to deploy a Sharepoint solution on my local machine.But it is giving me the following error Error occurred in deployment step 'Activate Features': Failed to load receiver assembly ...
0
votes
1answer
26 views

Problem in loading assemblies files for a third party tool when accessing the central administration site

I have installed a clipboard manager third party tool named "KWizCom". then i removed the web application which have this tool. but now the Central administration site become inaccessible. so to know ...
0
votes
1answer
133 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
1answer
25 views

Assembly Issues with Workflow

I updated a custom workflow (pure c# code) in SharePoint. Everything looked fine at first, but now I found the following errors in the ULS-Log: Load Workflow Assembly: ...
0
votes
0answers
96 views

Migrated Content from 2010 from 2013, reporting services

I just migrated a site collection with reporting services feature deactivated from SharePoint 2010 to SharePoint 2013 where in my 2010 environment, reporting services 2008 were present. In our new ...
4
votes
2answers
8k 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
259 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
119 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
2k 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
176 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
145 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
220 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
107 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
110 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
48 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
1answer
133 views

SharePoint Deployment with third party assembly that requires a .dat file

I develop an SharePoint 2010 application with VS 2012. This application contains a third party dll that is embedded in the package manifest and deployed to gac. However, every time I deploy the ...
0
votes
2answers
140 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
98 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
526 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
838 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
108 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
167 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
225 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
311 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
286 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
208 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
3k 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
474 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
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
1k 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
2k 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
598 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.
3
votes
2answers
700 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
167 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
796 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
306 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
411 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
263 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
261 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 ...