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

learn more… | top users | synonyms (1)

2
votes
2answers
7k views

ListData.svc returns Error 400: Bad Request in Visual Studio

I wanted to use the REST Service in an application. So when I add the service reference in Visual Studio I get this error There was an error downloading ...
0
votes
1answer
16 views

Visual Studio 2013 Error: workflow “could not generate view for item”

Yesterday I switched from VS12 to VS2013 Ultimate, opened my app in VS2013 and deployed it. Worked as expected. However I have one Workflow Issue, when I go to the XAML and drag an item from the ...
0
votes
1answer
39 views

InfoPath 2013 data connection error message

A developer has created an InfoPath form (Designer 2013), the form has some custom code behind the scenes, it also has 2 drop down option boxes that connect to a list on a SharePoint 2013 site. When ...
0
votes
1answer
692 views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
0
votes
1answer
537 views

SharePoint workflow canceled on start only when automatic

I'm having a strange issue with a Visual Studio Sequential workflow. We're uploading files to SharePoint Document Library via Client Object Model using File.SaveBinaryDirect. Error in log is as ...
0
votes
0answers
5 views

Creating a workflow with association columns using Visual Studio

I'm trying to create a workflow with association columns for SharePoint 2010. I cannot see a way to do this from within Visual Studio. I have tried creating a reusable workflow in SharePoint Designer ...
0
votes
0answers
15 views

Sandbox Solution: Why won't it update when published?

I have a weird problem in VS 2013 working with a SharePoint NCSS Sandbox Solution. Whenever I right-click and Publish the .wsp locally on the file system, it publishes an old version of the .wsp. By ...
0
votes
0answers
7 views

Sharepoint 2010 State MAchine Workflow Visual Studio 2013

When deploying my Workflow from visual studio, it must be assigning a new guid everytime. Would like this to stay the same so would not lose any of the previous Workflow history events
2
votes
1answer
639 views

How to create List Definition based on Wiki Page Library in Visual Studio 2010

While creating Wiki Page Library from the browser (Site Actions->More Options->Wiki Page Library) is easy, doing it form Visual Studio not so much. When I create new ListDefinition in VS2010 I use ...
0
votes
1answer
27 views

Extending the Content Search web part to display a “Show all” link

I want to use the Content Search web part to display a site's latest news articles. Also, I need a "Show all" link to the bottom of the web part - this link would take the user to a search results ...
1
vote
1answer
64 views

Changing client web part properties Title/Description with diffrent languages

We want to change our client web part Title and Description depending on Supported locales(languages). The Validation checklist for apps: ...
0
votes
1answer
75 views

Unable to Edit Web Part Properties in Web Part Zone in 2013

I have a custom page layout that I have designed using Visual Studio. Within it I have several web part zones and I have a zone where I would like users to be able to edit the properties of the web ...
0
votes
0answers
17 views

Updating SharePoint 2013 custom content type with Visual Studio

What is the best way to do this without ending up with orphaned content types and other problems? Specifically, removing and updating columns for a content type that's currently in use.
0
votes
1answer
14 views

SharePoint Features Properties

I have to set my feature properties from VS. When I double-click on the file FeatureName.Feature , I do not see the properties window but VS open the feature design manager. How can I change the ...
-1
votes
1answer
34 views

Caching problem with my Visual Web Part when adding it to my List's Create Form

I have the following web part inside my visual studio :- [ToolboxItemAttribute(false)] public partial class VisualWebPart1 : WebPart { // Uncomment the following SecurityPermission ...
0
votes
4answers
7k views

Failed to load receiver assembly when activate feature

I have a problem when activating a Site scoped feature. Every time I try to activate the solution with STSADM or Powershell I get this error: C:\Program Files\Common Files\Microsoft Shared\Web Server ...
0
votes
1answer
384 views

Problem with join two lists by linq

I wanna join two list and fill drop down list by specific column but i have error in join query note:c.user_id is lookup field my code lst.DataSource = (from c in dc.Complainant ...
0
votes
1answer
14 views

How to handle this assignment

I have a blueprint that i am supposed to create on sharepoint. I do not have much experience with sharepoint yet so i am not sure if i have decided on the right track. I think not so maybe you guys ...
0
votes
1answer
57 views

Option to upload and download file to SharePoint Document library

I want to give option to user on .aspx page to upload and download file to SharePoint Document library. I created an ASPX form page. There is an option to upload / download the document for storage. ...
0
votes
1answer
313 views

copy an event receiver to a different server

My work is requiring me to create an event receiver for an itemAdding event for an existing list on a Sharepoint Server. My problem is that while I have access to a Sharepoint Server, I do not have ...
0
votes
1answer
42 views

SharePoint Web Part Development - Server Side vs Client Side

I am developing a web part in SharePoint 2010. I consulted with someone well versed in SharePoint development who told me that, beginning with SP2010, server-side code is discouraged. The problem is ...
0
votes
0answers
15 views

Visual Studio 2012 cache Unit Test results of SharePoint solutions

It's my first time with Unit Tests in SharePoint and I've noticed some strange behaviour. I have a solution with 2 projects: Project ProjectTest My test method: [TestMethod] public void ...
0
votes
1answer
13 views

Entries in the web config are constantly added

I have an issues with the web config entries for safe controls, for some controls i have added a safe control to the file. I've done this in visual studio 'Safe control entries'. But any time i deploy ...
1
vote
0answers
19 views

Error on publishing workflow with custom activity

I have created a custom action using visual studio for SharePoint 2013. I have done this multiple times following instructions from various blogs and every time I get the below mentioned error. (0, ...
0
votes
0answers
20 views

create workflow for approval by infopath forms using multiple views scenario!

What is the objective Please help me! i want to create a workflow for share point 2010 in visual studio 2010 which will be using share point form library. for adding data to the share point form ...
0
votes
2answers
48 views

How do I enable Intellisense sp.js in VS 2012. TILT

No matter what I try, I keep on getting the yellow triangles with the message "Intellisense was unable to colmplete an accurate...". For example when I type "SP." then among others ClientConetext does ...
0
votes
1answer
20 views

How to get document title in a workflow (2013) developped with Visual Studio 2012

I have got a 2013 workflow (developped with Visual Studio 2012) on a document library. It starts when a new document is created. How can I get the document title to use it in my workflow? Thanks ...
0
votes
0answers
11 views

Find, replace and save in advance Rich text editor

I need to build/develop a processor with Visual Studio 2010 that finds some letter/character, changed it as desired ('>' into 'ê', '^' into 'â' etc) and save in Time New Roman font with a single ...
2
votes
0answers
132 views

How to read value from custom user field in Workflow 2013

I have a custom user field (it's used in custom task content type): <Field ID="{d3773326-a0a8-45e2-9c60-82fc7f7ba01c}" Name="IM_Task_ResponsiblePerson" DisplayName="Responsible person" Type="User" ...
0
votes
0answers
22 views

VS SP project cannot connect to SP Site

I am building the same SP project in VS 2010 on two different accounts on the same server. On the admin account (with the final version), I needed to change the Site URL and found that it cannot ...
1
vote
3answers
99 views

How can I create a custom task form in Sharepoint 2010?

Is there an easy way to create a custom task form with asp.net/Visual Studio for Sharepoint 2010? I worked with WSS3 before, where you can easily add the form URL to the workflow.xml file but in ...
0
votes
2answers
41 views

I need help in adding a web control to a page layout

I am trying to follow the steps described inside the following link , which mainly require adding a web control and then reference it from a page layout:- ...
0
votes
1answer
206 views

SharePoint Workflow Error -The given key was not present in the dictionary

I have created a SharePoint 2013 Workflow in Visual Studio 2012. This workflow is activated when a list item is modified. Once the list item modified, the workflow shows as the started. But on ...
1
vote
0answers
11 views

wcf.cs file generated by tool

I am porting a SharePoint project from one SP 2007 server to one SP 2010 server. Among the files that make up the project, I found a file called wcf.Project.cs. It's tens-of-thousands of lines long ...
1
vote
1answer
66 views

How can I copy lookup field value to another site list in lookup filed?

How can I copy lookup field value to another site list in lookup filed? Situation, I’ve a main site list , list1 and there have lookup field from list11, I've build sub site and copy my list1 from ...
1
vote
1answer
36 views

C# - How to 'role back' update in ItemUpdated event receiver in SharePoint 2013?

I have some code in an event receiver in ItemUpdated that checks for duplicates when an item is updated. I would like to if the item already exists after the changes, the updates are not applied. How ...
0
votes
0answers
35 views

Getting error when trying to open a spsite in Application page

I am Trying to open an spsite in Application page like Sp context.current.web but here spcontext is null so i tried like giving whole URL path via a string .Here error coming as 404 file not found ...
0
votes
1answer
13 views

How can I prevent retracting of my listinstance each new deployment from Visual Studio?

I am using sp2013 and vs2013. I have a solution with some list instances and contenttypes. Every time I do a deployment from Visual Studio the existing listinstance will be retracted and I lost my ...
0
votes
0answers
26 views

Add all DLLs to GAC?

My SharePoint 2010 solution has two projects, one responsible for the back end (WCF web service) and one for the front end (webparts). I added the DLL from the back end to GAC via Visual Studio ...
0
votes
1answer
34 views

Error in deployment step 'Activate Features'

Every time I try to deploy my project (containing only one Event Receiver), I get the following error: Error occurred in deployment step 'Activate Features': Operation is not valid due to the ...
0
votes
0answers
4 views

How can I change de build target in VSTA (ex: from anyCPU to x64)

Developing code in Infopath, when I try to call this : SPSecurity.RunWithElevatedPrivileges(delegate() { I get this error message (sorry, some parts are in french but codes are the same) : ...
0
votes
0answers
17 views

Get ListId before list is deployed from Visual Studio

I am creating my add/display/edit forms as well as list views in Visual Studio as opposed to doing it in SP Designer because I wish to be able to deploy the whole project at once. Currently, my method ...
0
votes
1answer
45 views

Add custom folder programatically to Document Library

I have a custom Document Library that has a custom content type which is an extension of a Folder (just adding some more fields). I'm trying to, in code, add a new item of this content type to the ...
0
votes
1answer
299 views

Method not allowed (405) when deploying sharepoint 2007 (wss 3.0) solution from visual studio 2008

I am trying to set up a Windows 7/ Sharepoint 2007 (WSS) / Visual Studio 2008 box. Sharepoint is installed and running fine. I open VS2008 and create a Sharepoint Blank Site. I then try to deploy ...
1
vote
3answers
1k views

Added a new PageLayout to my feature but it's not showing in SharePoint?

I had an existing feature that deployed a Page Layout. I ended up adding another Page Layout to the feature and I updated my Elements.xml file to include the reference to the new file: <File ...
0
votes
1answer
52 views

How to reproduce “collect feedback workflow 2010” using Sharepoint 2013 Workflow

We are using SharePoint 2013 Server, it is a greenfield project. So in this case, the intention is to use new Workflow Manager to develop workflow, which is said better performance and robust. (All ...
1
vote
0answers
15 views

ASP.Net Web Form Emailer to Sharepoint 2013

I'm new to both ASP.Net and SharePoint development and have been tasked to convert an existing web form to a SharePoint 2013 solution. The web form is pretty straight forward; users enter line items ...
0
votes
1answer
15 views

Wrong web part when trying to insert custom Content by Seach web part CSWP - visual studio

I'm trying to provisioning a content search web part. I've made a site feature and a standard web part (xml and webpart file). When I activate the feature I get the web part but it's not a Content ...
0
votes
1answer
122 views

Client Context executeQuery() works in console app but returns null object when executed from CRM Server

I have the function GetDocumentLibrary which must return a libray from sharepoint site. When I execute it from a Visual Studio Console Application it works and return the library with all ...
3
votes
2answers
5k views

“Invalid License Data. Reinstall is required” error when installing SharePoint 2013 after Sql Server 2012 on the same machine

I've already installed SQL Server 2012 on my machine. Then I tried to run the SharePoint 2013 Foundation installer but I received the following error before I even reached the splash screen menu: ...