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

learn more… | top users | synonyms

1
vote
1answer
3k views

Error while deploying SP2013 Workflow from VS2012: NullReferenceException

I developed two features, one should deploy a workflow. After hitting F5 in Visual Studio 2012, I get a NullReference-Exception. Here is the output shown: ------ Deploy started: Project: ...
0
votes
0answers
13 views

Visual Studio closing automatically when opening the solution explorer tab? [closed]

Hello friends my System Admin team trying to solve this issue but they are not able to resolve the issue please can you give me the proper solution for this. I have visual studio 2012 running on my ...
5
votes
1answer
1k views

This projects needs to be migrated?

I have a sharepoint 2010 solution. i migrated it to sp 2013, all sharepoint 2010 projects have been migrated without any problems. Office projects (Excel and outlook addins) however have been acting ...
0
votes
2answers
4k views

SharePoint 2013 workflow stuck in started stage

I got the setup recently with workflow client and manager installed(on different servers). I started with developing a simplest of the workflow with just one activity "WriteToHistory". But upon ...
3
votes
3answers
2k views

How to add tooltips to sharepoint 2013 form fields

I am working with a User (sandbox) Solution created in Visual Studio 2012 for SharePoint 2013. I have been asked to add custom tooltips to the default new and edit form fields. I have not been able ...
0
votes
3answers
12k views

Download files from document library using C#

Task: There are some Excel files or documents on SharePoint site that I need to download to my local drive. I'm a newbie to C#, so please give me directions on how to start and complete my task. I ...
1
vote
0answers
16 views

I am facing $Resources:core,ImportErrorMessage; while adding sharepint2013 webpart

I am getting below error while adding WebPart in webpage $Resources:core,ImportErrorMessage; Please tell me things to do for resolving this error.
0
votes
0answers
27 views

Workflow on separate sites

I have two separate sp sites. My aim: When user adding item in SPList on 1-st site - workflow add copy of this item in other SPList on 2-st site. SharePoint 2013. How do it?
0
votes
1answer
32 views

Create a 2010 workflow in Visual Studio 2012 for SharePoint hosted app

Is it possible to create workflow 2010 for SharePoint hosted app 2013 in visual studio 2012. If yes then how we can achieve this. Suggest some help
0
votes
0answers
13 views

Degrade Installed Version Visual Studio 2013 to 2012

I had SharePoint 2013 List and I would like to Customize it using Infopath and do it using programming Now when I try to do the things using my Visual Studio 2012 it is prompting the below image info ...
2
votes
0answers
682 views

Upload clickonce to SharePoint

I'm following this tutorial to upload a clickonce application to SharePoint. This is my Elements.xml: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/...
0
votes
0answers
21 views

SharePoint hosted app takes longer build time issue in Visual Studio 2012

In my SharePoint hosted app I have around 45 lists and 14 workflows. Whenever I tried to build the App in Visual Studio takes longer time to response. Around 30 min the output dialog display nothing ...
1
vote
0answers
25 views

Visual studio longer build time

I have created SharePoint hosted app project in Visual studio. I was working fine. At that time my app didn't have any workflow and build time and installation time was arount 2.5 min. But after ...
0
votes
2answers
18 views

How do I resolve SharePoint 2013 connection error in Visual Studio 2012

I am trying to start a new SharePoint 2013 empty project in Visual Studio 2012. When I validate the URL to connect to the server, I get a connection error (see attached) . I am a Farm Administrator, ...
2
votes
4answers
7k views

the name 'initializecontrol' does not exist in the current context visual studio 2013

I am encountering this error when I create a visual web part in Visual Studio 2012: the name 'initializecontrol' does not exist in the current context visual studio 2013 Edit 1: the error appears ...
0
votes
0answers
26 views

Visual Studio Sharepoint Hosted App Deployment Error [duplicate]

While Deploy My Sharepoint Hosted App in Visual Studio 2012 It Throws the Following Error:_ "Error 1 Error occurred in deployment step 'Uninstall app for SharePoint': Cannot connect to the ...
0
votes
2answers
55 views

Error occurred in deployment step. Cannot connect to the SharePoint site:

While creating a new App For Sharepoint, in Sharepoint Site URL Validation Form. When we click the Validate Button the following error is shown: Cannot connect to the SharePoint site:'http://...
1
vote
2answers
1k views

ActivityNotFoundException during feature activation

I have a workflow 2013 included in Full trust solution (WSP). When I add a variable of type DynamicValue to the workflow and try to deploy the solution using VS 2012 I get the error during feature ...
0
votes
3answers
26 views

Changing VS 2012 Ultimate to VS 2012 Professional, is there any impact on SharePoint?

In SharePoint 2013 Uninstalling VS 2012 Ultimate & installing VS 2012 Professional on SharePoint 2013 server, will it impact existing applications development on SharePoint 2013?
0
votes
1answer
51 views

Retrieving List<T> collection from a REST method within a SharePoint 2013 Workflow

Here is the deal.. I have a REST method that returns Generic.List<DTOSupervisor> which has to be retrieved by using a HTTP Send and GetDynamicValueProperties components. My REST method ...
0
votes
2answers
39 views

Custom Master Page not visible while applying the theme in SharePoint 2013

I have created a custom master page out of seattle master page by renaming it using SharePoint designer(I have also created a master page using visual studio). And then i made some modifications to it....
0
votes
1answer
74 views

How to create master page in SharePoint 2013

I've designed a web application in ASP.Net/VB.Net in Visual Studio 2012. I want to deploy this in SharePoint 2013. I've read many blogs from Internet, one answer I frequently found is: Open master ...
0
votes
1answer
19 views

What settings need to do in following senario to validate Sharepoint Site url in VS 2012?

Question may be basic, but scenario is not understood. scenario is I am having the SharePoint 2010 installed on Windows Server 8 under Domain1. My Developer machine also under Domain 1. But while ...
0
votes
1answer
80 views

deploying a sharepoint-hosted app from my visual studio is taking too long

I have created a new simple sharepoint-hosted app using visual studio, but when i try deploying it, it keeps showing installing for around 7++ minutes as follow:- also when i tried accessing the ...
1
vote
1answer
19 views

Visual Studio 2013 Installation Error For SharePoint 2013

I am installing visual studio 2013 for my SharePoint 2013 and I came across this below issue.Can any one help me how can I solve this.
0
votes
1answer
32 views

CreateLabel throws “insufficient permissions” error but CreateTerm does not

I have an event receiver attached to a list in SharePoint 2010. It is a solution built in C# in Visual Studio 2012. By adding items to the list from the browser, the user can add new Managed Metadata ...
0
votes
1answer
54 views

Unable to get data from SharePoint server

when opening my content type designer I get this message: "Unable to get data from the SharePoint server. The designer will only display data from the local project. You can try to reopen the ...
9
votes
4answers
15k views

Error occurred in deployment step 'Recycle IIS Application Pool': Object reference not set to an instance of an object

I get this error in the deployment step of a share-point farm based project. Most of the suggested solutions on the net are a simple Visual Studio re-start, however, a simple VS restart won't fix this....
0
votes
0answers
32 views

How do I capture a change event for a Managed Metadata Form Field?

I am working with SharePoint 2010, building a custom web part in Visual Studio 2012 (C#). I have a Managed Metadata column in my SPListItem, and I want to capture the ValueChanged event of the Form ...
23
votes
5answers
32k views

Feature has already been installed. Use the force attribute to explicitly re-install the feature

We have several SharePoint 2010 solutions which we want to deploy to SharePoint 2013 with Visual Studio 2012 running on Windows Server 2012. Site solutions work. But farm solutions just don't. I get ...
0
votes
3answers
66 views

How can I create a column in SP list which represent current date?

How can I create a column in SharePoint 2013 which represent the current date. For example today is 02/09/2016 tomorrow should be 02/10/2016, 02/10/2016... and so on each day the date must be changed. ...
0
votes
2answers
47 views

Site Master Page Issue in SharePoint 2013

I have a custom master page (that includes top navigation, breadcrumb, etc.) created using Visual Studio 2012 for SharePoint 2013. And I am using it as a site master page. Now I want to use this site ...
1
vote
2answers
89 views

Could not load the Web.config configuration file. The given key was not present in the dictionary.

I'm trying to launch debugging on Visual Studio 2012 and it shows me this error message : By googling a little bit, I read that I should remove the 10 directory located in : C:/users/username/...
16
votes
4answers
7k views

SharePoint project builds but will not package

I have a SharePoint project that references (and includes in its package) a non-SharePoint project. There is a class in my SharePoint project that references the non-SharePoint project, so has a ...
1
vote
1answer
147 views

sharepoint custom workflow terminates automatically after some time

I have created a state machine workflow in visual studio 2013. - initial stage: it sends an email to some members. - second stage : it should wait for 5 days untill all of the users take actions. - ...
1
vote
1answer
60 views

DoesUserHavePermissions not working

I have tried multiple different ways to get this code to work. I will post both methods of code. Neither ones work. The idea is to get all the "Sites a user can access", and create a hyperlink within ...
2
votes
0answers
30 views

how to show less a text [closed]

I have created a function which duty is to Show more text. But i cannot create a Show less to show less my text i have the following html <div class="item"> Ronaldinho joined Barcelona in ...
0
votes
1answer
351 views

SP 2013 workflow initiation form people picker

Using a WorkflowInitiationForm in an VisualStudio workflow for SharePoint 2013 I wonder how to get the Information from people picker. Adding to the project the form delivers code examples for string, ...
1
vote
1answer
20 views

ObjectDataSource - schema seems cached - unable to refresh

Within a Visual Studio 2012 Visual Web Part, I've created a simple FormView referencing an ObjectDataSource to autogenerate an editable form. Creating this the first time, there was no issue. ...
0
votes
1answer
47 views

c#: how to write JavaScript function inside c# [closed]

How to add JavaScript function window.print()in C# code. C# snippet : private void CTRL3_5_Clicked(object sender, ClickedEventArgs e) { //JavaScript function here! }
2
votes
1answer
160 views

How to make a print button in infopath form?

In infoPath form I have a button which duty is to print the current document, I have been trying this one thisXdocument.PrintOut(); but the following error occurs "The name "thisXdocument" does not ...
4
votes
1answer
282 views

How to show and hide a paragraph in html when a button is clicked?

I have the following query. I have a <pre> tag and it has some text inside but i want to hide <pre> when a button is clicked. Following images shows code: When this addNewTest() ...
0
votes
0answers
38 views

Set a value for all field in desired column? javascript

i have the following solution: in my SP list called QUIZ i have a column named koha i also have a userinterface that is build via XML in my javascript solution the current setting are when you ...
0
votes
0answers
38 views

Set style of new SPView object

I have a SharePoint 2010 solution built in Visual Studio 2012 that creates a new list. I modify the default view to use certain fields. I want to change the style to Newsletter (ID 15). What method of ...
1
vote
1answer
185 views

Turn off auto activation when deploying SharePoint 2010 feature

I am building a SharePoint 2010 solution in Visual Studio 2012. When I deploy the solution, the features are automatically being activated. How do I disable this? Other answers have mentioned the "...
0
votes
1answer
458 views

Could Not Load File or Assembly or One of It's Dependencies

I have been building a SharePoint app in the NAPA Office 365 Development Tools. Recently (due to some weird bugs) I wanted to use Visual Studio's debugger so I opened the code in VS. However, when I ...
1
vote
1answer
15 views

Pre-requisites for installing SharePoint 2010 Project Templates in Visual Studio 2012

I want to start work on SP 2010 with Visual Studio 2012 , but I am unable to see any SharePoint Project Templates for creating a Visual Web Part. What should be installed for getting the ...
4
votes
3answers
21k views

Retrieve list item using CSOM on SharePoint online isn't working

I've been stuck on this problem for couple days, I develop app model on SharePoint online using provider hosted model. From clientwebpart, i want to access sharepoint list item. I can access list ...
1
vote
0answers
50 views

Set InfoPath Repeating table(DropDown List) field value through VSTA code

I have followed below URL to construct repeating table dropdown list in infopath 2013(reference). Here,In my form loading event i have forming 4 rows with dropdown list and its working fine.But when ...
0
votes
1answer
47 views

Microsoft.SharePoint.WorkflowServices System.FormatException: RestrictAssociationToId

When trying to run provider-hosted add-in containing workflow in Visual Studio output window I get this error: Microsoft.SharePoint.WorkflowServices System.FormatException: ...