Questions tagged [sharepoint-2010]

For SharePoint-specific questions, please see the SharePoint Stack Exchange site at https://sharepoint.stackexchange.com/

SharePoint 2010 is a Server Product from Microsoft. It is a Application Development Framework that helps you to create Web Applications in no time. It is used for collaboration, web publishing and file sharing as well as providing a rich set of functionality (content management, search, wiki, blogs, etc.). Sharepoint 2010 can also present information from Enterprise Information Systems (EIS) and handle complex workflows.

8481 questions
38
votes
4 answers

Unable to delete SharePoint 2010 ContentType "Contenty type in use."

I have tried all the recommendations on the web, to no avail. I wrote a console application per these instructions: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spcontenttypecollection.delete.aspx The "Usages.Count" is = 0. Yet, when…
Shayne
  • 1,083
  • 3
  • 18
  • 30
31
votes
5 answers

MailMessage.To.Add() throwing exception : "An invalid character was found in the mail header: ','."

I am getting this error when I am using it in sharepoint project, while in console app its working fine I am using MailMessage class to send email using SMTP . But when I trying to add user to 'To' property I am getting {"An invalid character was…
nbi
  • 1,276
  • 4
  • 16
  • 26
29
votes
3 answers

Error :The remote server returned an error: (401) Unauthorized

I want get picture of internet and insert into word . I use this code . MainDocumentPart mainPart = wordprocessingDocument.MainDocumentPart; System.Net.WebRequest request = …
ar.gorgin
  • 4,765
  • 12
  • 61
  • 100
27
votes
12 answers

Solving SharePoint Server 2010 - 503. The service is unavailable, After installation

Installed: SharePoint Server 2010 for Internet Enterprise Beta (x64) On: Windows Server 2008 Standard (x64) on 64 bit hardware Attempts to access the Central Administration console led to IIS returning 503. The service is unavailable And this error…
RobD
  • 1,695
  • 2
  • 24
  • 49
24
votes
1 answer

How to use credentials to connect to a SharePoint list using the Client Side Object Model?

I need to write an application to update a list on a SharePoint 2010 site. I found the "SPSite" which I can create with the URL, but I can't figure out how to specify with which user I want to connect. The user isn't the current windows user, and…
J4N
  • 19,480
  • 39
  • 187
  • 340
24
votes
9 answers

Change SharePoint Library URL

How do you change the URI of a SharePoint library? Based on Google searching, most people say that changing the name of a library in Designer (via right click->rename) will result in the URI change, but it is only changing the name for me. I am…
22
votes
21 answers

FileNotFoundException with the SPSite constructor

I try to instantiate an instance of SPSite on the farm server in a custom process (MyApp.exe) and I give it as parameter the whole URI (http://mysite:80/). I also made sure that the account running MyApp.exe is Site Collection…
Maxime Rouiller
  • 13,614
  • 9
  • 57
  • 107
20
votes
4 answers

SharePoint 2010 is forcing me to save PDF when opening from doc library

I have a document library with a PDF file. Whenever I click on the PDF file, I am prompted to save the file. I do not get the option of opening the file, I am forced to save it. What I want is for the PDF file to open, either in the browser or in…
Tobias Funke
  • 499
  • 3
  • 6
  • 12
18
votes
9 answers

Could not load file or assembly '' or one of its dependencies

Any help please? I have only one library and it is driving me crazy. this is the error that I receive. I am not using any other dependancies. Could not load file or assembly 'FOD.Intranet.Lib, Version=1.0.0.0, Culture=neutral,…
Imir Hoxha
  • 1,674
  • 6
  • 31
  • 56
18
votes
2 answers

Sharepoint Out of the box Approval Workflow Approve/Reject comments issue when programmatically altering it

I have a re-usable out of the box sharepoint approval workflow 2010, and I am programmatically approve/reject workflow using the below code snippet inside infopath formcode (2010). Hashtable ht = new Hashtable(); ht[SPBuiltInFieldId.Completed] =…
SharePointError
  • 183
  • 1
  • 7
18
votes
1 answer

Deploying custom dll's in SharePoint 2010

I'm new to SharePoint and trying to get my head around this. I have a simple Web Part project. I also have a custom Data layer project that uses the Microsoft Enterprise Library for data access. In the Web Part project, I am adding a reference to…
Mike
  • 2,912
  • 4
  • 31
  • 52
18
votes
14 answers

SharePoint error: Web application at xxxx could not be found

When I try to execute this code: SPSite siteCollection = new SPSite(@"http://sp-devxxx:10000/"); It throws the following error: The Web application at http://sp-devxxx:10000 could not be found. Verify that you have typed the URL correctly.…
Abe Miessler
  • 82,532
  • 99
  • 305
  • 486
17
votes
4 answers

What does this Javascript code do?

I've been looking at Sharepoint script files and I've come across this bit that I don't get: function ULSTYE() { var o = new Object; o.ULSTeamName = "Microsoft SharePoint Foundation"; o.ULSFileName = "SP.UI.Dialog.debug.js"; return…
Robert Koritnik
  • 103,639
  • 52
  • 277
  • 404
17
votes
2 answers

What is a Farm in SharePoint?

I am searching a lot for a definition about Farms, but I can't find one which fits my need. Does anyone know a simple and easy way to explain it? What is a Farm in SharePoint? How does it work?
Otacon
  • 332
  • 2
  • 4
  • 9
16
votes
2 answers

Conditionally specifying switch parameters in PowerShell

I'm writing a PowerShell script that uses the SharePoint 2010 New-SPWeb cmdlet to create sites defined by an Xml file: Corporate Corporate
George Durzi
  • 1,632
  • 1
  • 19
  • 31
1
2 3
99 100