Visual Studio is an integrated development environment (IDE) from Microsoft.

learn more… | top users | synonyms (1)

0
votes
3answers
1k views

Error occurred in deployment step 'Recycle IIS Application Pool'

I am trying to build a WebPart project and I am trying to deploy the same into my SharePoint dev site which I created using the SharePoint Central Administration. But the issue which I am facing while ...
1
vote
2answers
49 views

SharePoint 2013 Contribute permissions

I have a contribute permission on SharePoint 2013 Site. Can I open that SharePoint site in visual studio and design it? Can we use current user filter webpart for contribute permission site. If yes,...
0
votes
0answers
63 views

How to use Site URL property available in Visual Studio during WSP deployment using PowerShell?

I have an application page based solution in Visual Studio 2013. The Web application has a site collection, under which we are doing the deployments during development from Visual studio by setting ...
0
votes
0answers
37 views

SP Thumbnail Gallery

I am new to SharePoint and I have no knowledge in creating SharePoint applications. We came across one requirement to create a thumbnail gallery in SharePoint Site. This thumbnail should be generated ...
-1
votes
1answer
85 views

Can anyone explain me this code in c# for SharePoint

I was wondering if anyone could explain me the following code what it does. SPWebApplication webApp = this.Parent as SPWebApplication; SPList taskList = webApp.Sites[0].RootWeb.Lists["MyList"]; ...
1
vote
1answer
129 views

Moving a sharepoint folder from one site to another site using C#

I am new to SharePoint. I have given the flow below. • I have a button in visual web part called Archive. • On Click of the button I like to move the folder inside the site(A) to another site(...
0
votes
2answers
291 views

Problem in Deploying a sharepoint-hosted application

I am using visual studio for creating my application, at first I had created 2 lists, the deployment is good and no issues but when I created more lists, I get this error during the deployment : @"...
0
votes
1answer
27 views

Access denied accessing web part

We have created a custom web part that sends e-mail. A page is created, the web part is added on the page, and the page is published by an administrator. The issue now is that all other users have ...
0
votes
4answers
251 views

How to calculate 12 months from a start date

I am building an application about workers vocation and I need some help on calculating. Here is what I need: I have a column named startdate, after 12 months I want the SharePoint or c# to know ...
0
votes
0answers
68 views

How to attach file in sharepoint list using sand box solution

I have tried so many ways and I searched so many articles, I didn't get any solution for attaching file in a SharePoint list using sand box solution. I got solution using farm solutions. How can we ...
1
vote
0answers
109 views

Deploying a list workflow without a list association (SharePoint 2013)

I am creating a workflow which I want users of certain sites in a site collection to be able to use. When they activate the feature, the workflow should be created and automatically get attached to ...
0
votes
0answers
17 views

Do custom InfoPath User Controls absolutely have to be registered with the COM interop?

Is it possible to design a custom User Control using C# in VSTA for InfoPath without registering it with the COM interop? It's not a control that I'm going to use on any other form, but I have a very ...
0
votes
1answer
235 views

Error when adding custom web part to a page

I have a web part I have developed in Visual Studio. It just goes out to a document library and gets all the items: SPListItemCollection collListItems = oDocumentLibrary.GetItems(); This works fine....
0
votes
1answer
46 views

Visual Studio Scripts folder not in Features

I have SharePoint hosted app in Visual Studio 2015 Professional and recently completed a git merge from other developer. After merge Scripts are no longer available online and the scripts folder is ...
1
vote
1answer
101 views

How to use Web.GetFileById

I've found the following link on msdn and I've been struggeling to get it running. I had to use Microsoft.SharePoint.Client.dll from 16 hive (I'm using SharePoint 2013 server) inside Visual Studio to ...
0
votes
0answers
61 views

Custom Status Value -SharePoint 2013 Workflow

i am new in this forum. i dont know if a selected the right category, but i making my quenstion anyway (please let me know) Context: Enviroment: SharePoint 2013 Foundation Tools: Sequential ...
0
votes
1answer
29 views

Fate of List Definitions in VS App for SharePoint Project

I cannot seem to find any information on the behaviour of lists added to a VS "App for SharePoint" project. The process of adding a custom list is quite similar to what you would do in SP Designer. ...
0
votes
0answers
58 views

Connect to test sharepoint 2010 environment using sharepoint 2015 community edition

I am trying to create a custom list to receive emails and process them using email events. For that I downloaded Visual studio 2015 community edition and the office tools. The SharePoint admin has set ...
1
vote
2answers
82 views

Access denied during TimerJob activation

I have a custom timer job that kicks off a workflow on a items in a Custom list. When trying to activate it I encounter this error: 09/08/2015 11:16:26.93 w3wp.exe (0x1B170) ...
0
votes
0answers
9 views

Modifiy workflow mails and predefine initialisation data

i got the requirement that I must create an approval process. So I decide to use the Standard approval workflow. I use a visual Studio Solution to create an Association to the list. So now i got the ...
0
votes
1answer
242 views

no style for SharePoint:DateTimeControl when add bootstrap CSS

when i try to set a bootstrap style for my sharepoint page by adding css file, all SharePoint:DateTimeControl in my page loose their style and become something like this :
1
vote
1answer
25 views

How to get a Full Trust Proxy to use the correct SharePoint DLL?

I've created a Full Trust Proxy to help out a sandbox feature that needs to deploy a lot of list view web parts on activation, because full trust has access to SPLimitedWebPartManager and sandbox code ...
0
votes
0answers
10 views

Where to find proper resource for developing SharePoint forms using Visual Studio

Since Microsoft is not continuing with InfoPath in their next Office, so I wanted to learn proper way of developing forms using Visual Studio. What else- Creating lists using Visual Studio so that ...
0
votes
0answers
21 views

Upgrade Sharepoint 2007 vs2008 projects to Sharepoint 2013 vs2012 projects

My Sharepoint 2007 farm was migrated to Sharepoint 2013, but i have multiple projects which were developed in Visual studio 2008 and i need to upgrade to Visual Studio 2012 (Sharepoint 2013). I try ...
1
vote
2answers
52 views

Sharepoint 2013 flowchart workflow custom code

I'am SharePoint 2013 beginner and i have a project where i need to create a workflow (With Visual Studio), so i started my workflow as flowchart workflow then at some point i needed to write custom ...
1
vote
1answer
43 views

Where to store often used class in Sharepoint 2010?

I have a helper class which is often used in number of webparts. The file contains useful methods. Everytime when I create a new webpart in Visual Studio, I need to import this file into the project. ...
0
votes
0answers
45 views

SP Client PoplePicker set Value from Listem Field

I have a Sharepoint ClientPeoplePicker and in my codebehind I want to set the user displayed in it. I get The user from a Sarepoint List Field of the Typ User and Group: SPFieldUserValue userField =...
4
votes
1answer
68 views

SharePoint 2013 Load Testing

All I am sure this topic has been discussed in a few occasions, but I am still unsure what route I should take. I need to prove that our sharepoint farm is performant enough for x users. I started ...
0
votes
0answers
45 views

Visual Studio 2013 doesn't allow me to change Target List assignments in workflow

My Visual Studio 2013 (v12.0.30501.00 Update 2) doesn't allow me to change target task list assignments. I can see my new task list among items to choose but after selecting it nothing changes. ...
0
votes
0answers
42 views

Send mail activity after Create task results “Error Occured” in Workflow

I came across very strange behavior of SharePoint workflow (Using Visual Studio). If I add Send Email Activity after Create Task activity, it gives me result- Error Occured . I thought, there will be ...
0
votes
0answers
66 views

Visual Studio Sequential Workflow : spexception was unhandled by user code

I have created simple sequential workflow in visual studio with one application page(which has 3 buttons like Approve,Reject & Close buttons) for editing the task. i deployed it to site collection ...
0
votes
1answer
77 views

Cannot validate SharePoint URL in Visual Studio

Using VS 2013 Update 4. Office tools Udpated. SharePoint 2013 installed locally. I can browse the site as expected. However, when I go to VS and try to create a solution I get this I also cannot ...
0
votes
2answers
122 views

Sandboxed Vs Farm solution to create site columns using visual studio

I find this article which describe how i need to create site columns programmatically using visual studio https://msdn.microsoft.com/en-us/library/ee231593.aspx. they mentioned that I should use the "...
0
votes
1answer
46 views

What determine if a farm solution need to be activated at each site collection or not

I am totally confused on how WSP files need to be deployed and activated inside SharePoint 2013.now I have the following three scenarios where i dealt with WSP files inside my SharePoint 2013 :- I ...
0
votes
0answers
519 views

Operation is not valid due to the current state of the object. The Solution installation failed

I have created a new sharepoint 2013 project to add custom site columns by following these steps https://msdn.microsoft.com/en-us/library/ee231593.aspx now i want to deploy the solution to another ...
0
votes
1answer
192 views

Creating site columns using Visual Studio

I am in a situation that i need to create 2 site columns named "Asset Type" of type "Drop-down List" that have the same name (Asset Type), but different choices. But using the CA UI i can not create ...
0
votes
1answer
53 views

Staging Environment & Migration to TFS

My team from Microsoft already has a SharePoint site up and running. My job is to take a portion of it and migrate it to TFS. My Manager told me that I have to find a staging environment for ...
0
votes
0answers
14 views

Need guidance for creating a web part

I wanted to create a SharePoint Visual Web Part using VS2013. Web Part will show some Google Charts. Data is fetched from a SharePoint List and manipulated using DataTable and Data will then bind to ...
1
vote
0answers
137 views

Sharepoint loading slow — blank visual web part — is this normal?

I'm trying to optimize an external/public Sharepoint 2013, on-prem site. Interestingly enough I've found that sandbox visual web parts drastically slow the page down. I know it's not the code in the ...
0
votes
1answer
56 views

how to use update() method instead of add() in SharePoint on Job Timer using visual studio c#

i have created a solution in SharePoint from visual studio C#. I want to create a Job Timer so i have created a c# class too. but now I'm adding a new row to task list but what i want really to do is ...
0
votes
1answer
94 views

Provision File in ' Features ' in 15 hive [closed]

I have a requirement in which I have to add NWF (Nintex workflow) file in the Features folder. Means on feature activation the file for the workflow should get provisioned in the physical folder, say, ...
1
vote
1answer
187 views

SharePoint Provider Hosted Apps - Hosting the .net Code

Architecture type question... We are using Office 365 and building numerous event receivers, provider hosted apps etc Currently, each provider hosted app we build has an associated web site where ...
0
votes
1answer
22 views

What's a good tutorial on reading SharePoint 2013 lists from Visual Basic?

I'm a noob starting out with SP development. I'm looking for a tutorial to help me access SharePoint lists from a VB project I'm writing.
0
votes
1answer
20 views

Improper feature Id attribute error

Hi I am getting Improper feature Id attribute error. I try to deploy a feature to a site using visual studio 2013. google cant help me so i ask here. this is my feature.xml: <?xml version="1.0" ...
3
votes
1answer
430 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: ...
0
votes
1answer
96 views

Retrieve column's source in content type programatically

The source of a column in a content type can be retrieved in the User Interface as follows: Go to List Settings Click on Advanced Settings, set Allow Management of Content Types to Yes and click OK ...
0
votes
1answer
45 views

Re-Deploying SharePoint List removes all the submitted ListItems

I created a SharePoint List using Visual Studio 2013 and deployed it. Later I had need to add few more columns in the List. So after adding more columns when I deployed it again then what I realized ...
0
votes
1answer
42 views

Sharepoint list item permissions for manager of creator

Im creating a SharePoint application where a user puts their tickets. The ticket will be restricted by permissions to only be accessible by the creator, assignee and group of users which are ...
0
votes
2answers
16 views

Where is the solution's webPart I have published on my sharepoint site?

I work on SharePoint 2013 and with Visual Studio 2013, I have published a SharePoint solution on my SharePoint Site. But in this solution I have created a Web Part in C# and I haven't found this in my ...
1
vote
0answers
292 views

Local App Deployment fails because of an invalid Service Identity

After debugging an provider-hosted App of mine on Office 365, I am now trying to debug it on a local SharePoint Farm. I created a new development site collection just for that and configured ...