The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
40 views

run exe as process from sharepoint webpart

Im trying to run an exe file to create a contentdatabase and then create a sitecollection in this database, running this process is working well outside the sharepoint, but when im trying to run it ...
1
vote
1answer
89 views

An unhandled exception of type 'System.Net.WebException' occurred in Microsoft.SharePoint.Client.dll

I try to access SharePoint list from a console app in .NET. My environment doesn't have SharePoint installed one and I write code in VS 2013. I want to access SharePoint 2013 list data. When I run my ...
0
votes
0answers
34 views

Cannot connect to my SPSite

I'm facing a strange issue. I have a console application project and added assembly Microsoft.SharePoint from C:\Program Files\Common Files\Microsoft Shared\Web Server ...
0
votes
1answer
43 views

SPWeb not showing site that exists

I have migrated a site from 2007 to 2010. I then moved the site collection to a place within a subsite using site content and structure. Everything works fine and I can see everything correctly. ...
1
vote
0answers
43 views

code for redirecting to a page from a link in excel

I have an application where all my list data is getting exproted to excel. In excel there is a link in a column. On clicking that link it should redirect to a page form excel. Require c# code for that ...
1
vote
1answer
88 views

How to retreive data from web analytics using console application?

I have a sharepoint site where where i have web analytics service started. I will get a rrport denoting the no of visits by the user and also below i have last modified date and no of visits by all ...
0
votes
2answers
44 views

How to find how many site colections are active in a web application using console application

I need to retreive how many sites are active in a web application using either powershell code or console application. Require the code ( also need how many users have accessed the active site ...
0
votes
1answer
52 views

How to retreive last 10 users who have logged in a site using Power shell script?

I need to retreive last 10 users who have logged in a site.(I need to chek in each site under a webapp who are the last 10 users to log in). and export it to a csv file.Require code in powershell.
0
votes
3answers
92 views

How to export list items in same order in a list to excel 2010 (console application)?

I require to export list items from a SharePoint list to Excel. The order of items in the Excel sheet should be the same as in the list. Can somebody suggest console application code for this?
1
vote
1answer
1k views

Access the SharePoint online webservice from a console application

I tried to access a SharePoint Online web service i.e (/_vti_bin/Lists.asmx). I used the code sample provided in the following article : ...
0
votes
3answers
112 views

SPFolderCollection valid index arguments

SharePoint 2010, c# server object model, VS2012 Long story short, I'm trying to fetch a folder of a document library, create a new folder in it from an array of names, then fetch the new folder via ...
0
votes
1answer
85 views

Developing console applications for previous assemblies (Sharepoint 2010)

I Made a console application that changes items in a list that has a Taxonomy field. The app works well on the Developement machine, but for some reason, when move it to production, we get this error: ...
2
votes
1answer
229 views

Unable to seperate normal and hidden folder such as “Forms” [SPFolder Object Model ]

While performing certain task in a console application, i am unable to separate normal folder and hidden ones such as "Forms","FormServerTemplates" etc. I am using SPFolder in the obejct model. I have ...
0
votes
1answer
270 views

Getting Library contents along with Folder structure [Console application using Object Model]

I am developing a console application which will get all the files in a document library and copy it to a particular location on system. I was successful in retrieving all the files within the ...
0
votes
1answer
193 views

How authentication is done when using a CAML query for SharePoint List in a console application

I am try to develop a console application in Visual Studio which uses CAML query to get data from SharePoint List. The question is, how does the console application authenticates from the SharePoint ...
2
votes
3answers
644 views

Programmatically determine SharePoint Version

I am writing a console application for SharePoint. Mostly, I will be using it for both MOSS and SharePoint 2010. I have two separate functions - one for MOSS and other for SharePoint 2010. In my Main ...
2
votes
2answers
2k views

Programmatically generate MySites for all users

I have a console application with the following piece of code: SPServiceContext serviceContext = SPServiceContext.GetContext(portalSite); UserProfileManager profileManager = new ...
2
votes
1answer
2k views

Creating site column with a specific GUID

I am trying to create a site column using via a console app. I would ultimately like to be able to migrate the site column and upgrade the same column via this app. To that end, I would need some ...
4
votes
5answers
17k views

HTTP 401, Unauthorized using the Managed Client Object Model

I have a Windows 7 system built (per MS' instructions) with SharePoint 2010 Server. I'm writing a simple console application on it that attempts to use SharePoint's Managed Client Object Model to ...
2
votes
2answers
540 views

MOSS2007 PowerShell vs Console Application

I'm looking for a few examples of when you would be better off writing a PowerShell script vs writing a Console Application to perform some operations against the Object Model in a MOSS2007 or WSS 3.0 ...