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

learn more… | top users | synonyms (1)

2
votes
2answers
8k 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
60 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
0answers
12 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
27 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
16 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
0
votes
1answer
103 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
116 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
159 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
34 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
15 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
49 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
8k 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
16 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
97 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
327 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
139 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
23 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
15 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
39 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
39 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
129 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
36 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
18 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
153 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
110 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
61 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:- ...
1
vote
0answers
12 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
147 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
84 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
38 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
16 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
37 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
99 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
8 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
26 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
98 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
309 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
91 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
17 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
24 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
331 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
7k 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: ...
1
vote
0answers
30 views

Cloud Business App for Office 365

I try to create Business App for SP Online. If I create relationship to other list in the same site, everything is OK. I can use lookup field. But if I try to use relationship (data) from different ...
0
votes
0answers
15 views

Deleted List instance in Visual Studio for a list definition, how to get it back?

I have deleted list instance that Visual Studio created for me, how can I recreate it in Visual Studio using list definition?
0
votes
1answer
28 views

Custom WebParts shows only the WebPart-Title

I've got a huge problem. I developed three custom webparts and deployed them to our testserver and that works just fine. So I decided to deploy them to the production server as well but when I add ...
0
votes
1answer
516 views

Help with Blog EventReceiver, not firing

Ok so I have a blog site and I need to change the name of the author of each post to 'Anonymous' after he saves the post. I created an EventReceiver project in Visual Studio and gave the URL ...
3
votes
1answer
2k views

ListView Web part - customization

I created and deployed link list (default template (103)) from code and after that I added ListViewWebPart also from code which looks on default view of my link list. And that works. Problem: How can ...
0
votes
1answer
38 views

scope of content types

I was reading on content types and I see that share point allows allows to create them at site collection and list level scope. My question is that in visual studio where can we specify whether this ...