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

learn more… | top users | synonyms (1)

4
votes
4answers
1k views

What SharePoint 2013 Development can be done in Visual Studio 2010?

It looks like the tools for developing SharePoint 2013 customizations are mostly in Visual Studio 2012 and "Napa for Office 365." If you've tried developing solutions for SharePoint 2013 in Visual ...
1
vote
3answers
125 views

how to detect where a memory leak is in my application

I have a webpart that loops through web apps, sites, and webs. I using the DoesUserHavePermissions() to check whether or not the user has access to the site. I'm getting an error on this line. I've ...
0
votes
1answer
159 views

Custom Ribbon Button Not Appearing in Contacts List

Ive done some dev work with sharepoint last year but nothing like what im building today so Im not very experienced with it. I am trying to add a custom button to the ribbon in a list modeled on the ...
1
vote
2answers
191 views

SharePoint OOTB List and Lookup field problem

I am working in a project with SharePoint Server 2010. I have the hole project inside a Visual Studio solution (site columns, content types, lists, workflows...) Everything were working well until I ...
0
votes
2answers
136 views

Results.aspx Page Layout Broken

I have deployed a custom branding project as a Feature, to a SharePoint 2010 Publishing site (Intranet) - just some stylistic tweaks and a custom master page. When I perform a search and land on the ...
0
votes
2answers
598 views

Cannot edit form in InfoPath when list was created in Visual Studio

I am using SharePoint 2010 Enterprise, InfoPath Designer 2010 and Visual Studio 2012. When I create a list using the SharePoint UI, I can use the "Customize Form" button on the "Customize List" ...
0
votes
1answer
22 views

Local setup Vs live setup when developing web parts

I'm developing lots of web parts and of course i'm doing this all locally then uploading to the live online SP2010. I'm needing to write a lot of extra code to accommodate the file paths of images ...
0
votes
0answers
53 views

Auto-generated code for “Using”, “SQLConnection”, “ReadItem”, “ReadList” methods

I am beginner in SharePoint 2010 development. and doing following lab: Module 6: Accessing external data with Business Connectivity Services in SharePoint 2010 ...
2
votes
1answer
120 views

Using solutions and features in creation/branding of SharePoint websites

I am new to SharePoint website creation and branding and I need your advice. For my first SharePoint site I have done the following: 1- Created/edited a master page. 2- Added CSS and JavaScript ...
0
votes
2answers
140 views

Opening a custom webpart created in 2005 in visual studio 2010

We are migrating moss 2007 site to SharePoint 2010. I am faced with a challenge with manual migrating a custom webpart from Moss 2007 to SharePoint 2010. When i open the webpart created in visual ...
0
votes
1answer
260 views

How to create a new FBA user programatically using VS 2010?

I am looking to create a new FBA user (explicitly) in the membership db using the membershipuser create user programatically. The purpose is to test permissions using the spfarm account. What is ...
1
vote
1answer
500 views

Use a querystring parameter in a CAML Query

I want to pass a parameter between two separate web parts I am developing. In my 'Detail' webpart i need to build a CAML query to display the correct profile based on their name. pdquery.Query = ...
0
votes
1answer
420 views

Where to Place XML File to be Read by Web Part?

In another question, I finally found a way to deploy the XML file to be read via a Feature, to the _layouts folder: Feature Elements File Should I be deploying it there at all? I wasn't able to ...
0
votes
1answer
244 views

return a list view in visual webpart

In have the following code which returns a list and binds it to my repeater. Dim Partnership As SPList = web.Lists("PartnersMedia") rptPartnership.DataSource = Partnership.Items.GetDataTable() ...
0
votes
1answer
205 views

Deploy with PowerShell issue

When I deploy my project from visual studio everything is fine, I have a module with some pictures in it and a stylesheet that get replaced on deployment, from the output window: Retracting ...
0
votes
2answers
24 views

What is the most efficient way to compile a solution with multiple dependent projects?

I currently have a solution with one "active" project and several helper projects. These projects represent different utility libraries used within my team. The benefit is that the libraries are kept ...
0
votes
3answers
60 views

How is it possible to set a maximum number for items in a list and inform user when he / she reaches the limit?

I know that it is possible to write an event receiver to check the constraint but then how can I show a notification / message to the user? Thanks for sharing your experience and knowledge.
1
vote
0answers
125 views

Can't get Custom BCS Connector with filters to work

I am trying to create a BCS connector in Visual Studio that connects to a WCF service. I first used an parameterless GetAccounts method as the source for the ReadList method, and the wanted to add ...
0
votes
0answers
84 views

Sharepoint Solution showing old server url while debugging in visual studio 2010

I have a SharePoint solution which I developed in a server named HostA, and was deployed in the same server at the url, http://HostA:2100/ASD Later I moved the entire solution to a new server HostB, ...
0
votes
1answer
229 views

Call to UpdateListItems not updating items?

I have the following code: XmlNode newItemRes = ceoList.GetListItems("Pages", null, getItem, ndViewFields, null, null, null); XDocument d = XDocument.Load(new XmlNodeReader(newItemRes)); XNamespace ...
0
votes
0answers
37 views

Pre-Requirement for development of WorkFlow in Microsoft Visual Studio 2008 (HELP ME)

Please help me I’m new in share point and it’s not cleared for me the requirement I have a server with SharePoint 2010 in Windows Server 2008 R2 (64 bits) and I want to create a workflow with ...
1
vote
1answer
479 views

Getting a file not found error when I try to check in file using web services?

I am using the following code to create a file and then check it in: //Some other code above. The following line works fine. createdItem = ceoList.UpdateListItems("Pages", newItem); //But this line ...
0
votes
0answers
67 views

Error while creating site definition in visual studio

I written a program to create site definition in visual studio. I am running below stsadm commandlines in post deployment process. I added below code in the "Post-Deployment command line" window. ...
1
vote
2answers
78 views

Check List item end date synchronously

Hi I have one List with End date field. I want to check synchronously that end date is greater then Today date or not and on that bases add update other list item. How I done that operation. Any ...
2
votes
3answers
2k views

How to send an email in a visual studio sequential workflow

I'm trying to create a sequential workflow using VS. I'm needing to loop through all the items in a list and send an email if one of the columns equals a specific status. I have not found any good ...
0
votes
3answers
128 views

Can I create Workflows in Visual Studio 2008 for SharePoint 2010

First I hope you are fine. I hope you can help me because I'm new in share point and visual studio. I have two questions 1.Right now I have Sharepoint 2010 and visual studio 2008 I don’t know if ...
0
votes
0answers
273 views

External Content Type using Entity Framework “'The specified named connection is either not found in the configuration etc..”

I suspect this error is because I am using the EF and the connection string is not being found. Here is the error I am seeing: MethodInstance with Name 'ReadList' on Entity (External Content Type) ...
0
votes
1answer
386 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 ...
0
votes
2answers
91 views

Deployment failure from Visual Studio 2010

Deploying a solution from visual studio 2010 to sharepoint foundation. The first time i deploy i get an error: Error 10 Error occurred in deployment step 'Retract Solution': Feature ...
1
vote
2answers
135 views

Reading contents inside PDF file

How can i traverse the contents present inside PDF file. Suppose i have PDF documents inside a document library and I need to read contents inside PDF file to know the type of PDF file whether its a ...
1
vote
0answers
299 views

How do I create a lookup field for a hyperlink field and display the URL?

Ok, so there are a zillion posts related to and circling around this question, but that do not actually answer it to my satisfaction. I have a regular, out of the box, list of type "Links". I have ...
0
votes
1answer
296 views

Modify the content of the home page programmatically in SharePoint 2010

First of all, I'm pretty new to SharePoint so don't shoot me if this is a noobish question or if I don't provide all the right information at once... :) I have a team-site in SharePoint with ...
0
votes
1answer
106 views

Cannot Add to LobSystemInstance properties in BDC Explorer

I am following exercises in a SP2010 Visual Studio 2010 book and I am using SP 2010 Foundations only. I am at the point (External Content Types) with my Model where I want to add the name value pair ...
0
votes
1answer
2k views

Creating a List Definition in Visual Studio 2012

Dont know if I'm missing something or just blind, but did MS not include the Add new List Definition template to VS2012 ? It was there in VS2010. VS 2010 screenshot VS 2012 screenshot
0
votes
1answer
80 views

Import a UI built solution into Visual Studio for further development

Trying to get my head round a few things with SP and SP development. I have a complete solution which was built using both the UI and SPD. I have exported the WSP and now want to import this into ...
0
votes
4answers
222 views

Object ref not set to instance of object in SPListItem extension method

I am attempting to write an extension method for the SPListItem type to ease the pain of getting SPUserValues as strings. I am getting an "Object reference not set to an instance of an object" ...
0
votes
1answer
433 views

File Not Found Error When Programmatically Uploading File on Server

I created a web application for uploading files and associated metadata. When I test the solution on my laptop, it works without a problem (file gets uploaded and metadata is saved). When I try the ...
1
vote
1answer
520 views

Submit selected items of ListView in Request (used in Webpart)

I develop a WebPart using VS2010 for a SharePoint page. My problem: I have to submit the selected items of the ListView to the WebPart code behind. The best solution would be to do it via the Request ...
0
votes
1answer
133 views

list template copy code-behind is not working

My goal here is to create a list template with code-behind on my server and copy it to a completely different Sharepoint server. The problem is that my server has Visual Studio 2010 while the other ...
0
votes
1answer
429 views

Error loading and running event receiver Could not load file or assembly CUSTOM DLL The system cannot find the file specified.

I have created an EventReceiver that references a library I created in the same Solution (2 different projects). Whenever I add an item to the associated list I see this error in the log: ...
0
votes
1answer
213 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
2answers
215 views

Sharepoint 2010 workflows created in Visual studio deployment and redeployment strategies?

We need help from experts regarding workflows deployment strategies. We have several state machine workflows created using VS-2010, now after deployment, Client will ask for changes inside it e.g. ...
0
votes
2answers
557 views

Upload photo to a custom list using visual webpart in sharepoint 2010

I have a list, ListPersonalDetails, for storing personal details of students. It has fields like firstName, lastname, address etc. It also contains a field to store the photo which is of type image. I ...
0
votes
1answer
117 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
1answer
237 views

Visual Studio 2012 error on adding Resources file to the SharePoint 2013 feature: the system cannot find the file specified

There is an error in Visual Studio 2012 when add resources file to the SharePoint feature: "the system cannot find the file specified". How to resolve it?
1
vote
0answers
100 views

Visual Studio intellisense over WebDav (DAVWWW) does not work. Failed to Start Monitoring

The page lives in a library inside SharePoint 2007 and has inline c#.. no master page or sharepoint references. I can open, edit and save the page via the URL. But getting warnings and no ...
1
vote
2answers
517 views

How to add check-in comments to Alert Email?

Ok so I want to customize the email alerts that are sent out when a document is modified so that besides the information that is already there, it also shows the comment that the editor typed in when ...
3
votes
2answers
1k views

Create and deploy apps using Visual Studio 2012

I want to build and deploy apps to office 365 preview site using visual studio 2012. Can any one point me some good help links? I have office/sharepoint templates installed in vs2012.
0
votes
1answer
654 views

Hide “Upload Document” button via XML?

I'm trying to hide the "Upload Document" button (including the Upload Document and Upload Multiple Documents submenu). I've tried the following XML, but I can't get it to work: <CustomAction ...
3
votes
3answers
2k views

After retracting webpart solution webparts still showing up

I retract a webpart solution that was deployed via Visual Studio. Then when i edit a page for some reason the Custom category + the webparts are still being listed when i try to insert a webpart. ...

1 2 3 4 5 13