Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware, thus making it behave as expected.

learn more… | top users | synonyms (1)

1
vote
1answer
584 views

IIS hangs when debugging with Visual Studio

I keep having this ridiculous issue that's driving me mad. I happen to debug some code with Visual Studio (attached to all w3wp) and let's say I get an exception and VS is set to catch all exceptions. ...
0
votes
1answer
32 views

How to add a button to a document library

So I want to add a button to a document library next to the other buttons (new, upload, sync, more) that acts as a link to take you to a page related to the document library. I have already put a ...
0
votes
2answers
2k views

FileNotFoundException :<nativehr>0x80070002</nativehr><nativestack></nativestack>

Error related to System.IO.FileNotFoundException. Trying to get Survey 1, Survey 2 from Custom list Survey with 2 Columns: Title Url - Contains URL of Survey 1 or Survey 2 Custom Survey list ...
2
votes
1answer
236 views

Visual Studio debugger for SharePoint AutoHosted App

I'm using VS2013 for developing SharePoint Hosted App against a 365 development site. The VS debugger tool doesn't hit anymore my breakpoints. It used to the day before. I have made many tests, On ...
0
votes
0answers
22 views

How is the document upload into a library working (big picture)?

I am interested in learning how the document upload into a Document Library works. Is there a good explanation or description available or can anybody deliver? I need to know how it works from the ...
2
votes
2answers
2k views

How to determine if SharePoint is in Debug mode?

My SharePoint was choking on bad code in a feature. The VS12 debugger popped up and asked me if I wanted to enable debugging, and that it would update the web.config. Well, I would like to turn off ...
3
votes
1answer
743 views

Debugging remote event receiver - no context token

I am trying to use the MS supplied BasicDataOperations provider hosted app to play around with and learn about remote event receivers. I was following the instructions from this blog post by Chris ...
1
vote
0answers
26 views

SharePoint hosted app development, Less/Typescript and side-loading

I am doing some technology test for developing SharePoint hosted apps using Visual Studio 2013 in my SharePoint 2013 development environment. For that reason, I am trying to see how far I can push ...
0
votes
1answer
68 views

Sharepoint app, missing styles and images when debug

Trying to run a simple Sharepoint 2013 App in Visual Studio (however, the same thing happens with all Sharepoint-store installed apps). I have set a url http://sharepointsrv/sites/devtest/ as the site ...
1
vote
2answers
67 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 : ...
0
votes
2answers
156 views

How to debug a solution in visual studio without deploying it

I'm running: Visual Studio 2013, Sharepoint 2013 and Microsoft SQL server 2012. I'm a beginer and I would like to know how to use the debug tool properly. I'm trying to debug my solution in visual ...
1
vote
3answers
67 views

Unable to debug TimerJob in Visual Studio 2012

I have create a timer job and deployed in SharePoint 2013. Debugging worked fine couple of times. After retract and redeploy couple of times. Now while attaching to OWSTIMER getting below error. ...
2
votes
1answer
97 views

How to debug a class library on a SharePoint 2013 Server?

I am learning to create a forms-based authentication for claims-based web application using custom membership and role provider based on the [msdn][1] link I will be building a class library to ...
0
votes
1answer
80 views

Unable to debug SPListEventReceiver

Running VS and SharePoint on the same server, but I am unable to debug my simple Event Receiver to see why it is not firing. Here is the snipp: public class EventReceiver1 : SPListEventReceiver { ...
1
vote
1answer
44 views

Any recommendations for SharePoint Online PowerShell Debugging Tools

I just discovered code.visualstudio.com, which even has intellisense for PowerShell scripts. Debugging those scripts, especially when the target is SharePoint Online, is a different matter. Does ...
0
votes
2answers
30 views

Debugging an SP Feature in production

I have developed an SP Feature in C# and tested in development environment, confirming it is functioning correctly. When I publish to production and enable on a site, I just get a single line in the ...
0
votes
0answers
25 views

Chrome Ends Debugging Session

I'm writing a SharePoint 2013 application in Visual Studio 2013, and I have an issue debugging in Chrome. The standard setting appears to be that the VS2013 debugging session ends automatically if I ...
0
votes
1answer
150 views

Default SPEmailEventReceiver: Object reference not set to an instance of an object

I'm trying to write a new Email Event Receiver for an email-enabled document library. When my feature is disabled, email is delivered successfully to the library. When my feature is enabled, this ...
0
votes
1answer
79 views

Can't debug SharePoint 2010 on a SP 2010 farm environment

I'm told I can't debug on a farm environment - one admin server, one web server, one SQL database, all separate boxes. But it seems like something you'd need to be able to do, so I'm looking for ...
0
votes
2answers
27 views

Objects deployed at debug remain after debug stopped

I'm at my first developement in Sharepoint. I'm using VS2013 Ultimate with Sharepoint Foundation 2013 on a Windows 2008 R2. I started creating a custom list and some site columns. The first debug runs ...
0
votes
0answers
38 views

Failed to attach to debugger

I am working on a project in visual studio, and unable to attach w3wp process in visual studio, it's showing me that the attach was right, so the red circle appears solid, but when I refresh the page, ...
2
votes
1answer
304 views

Debug FeatureUpgrading

Trying to debug FeatureUpgrading event receiver on Sharepoint 2013. Attached localy to all w3wp.exe processes. After run $MyFeature.Upgrade($true) feature get upgraded, but breakpoint inside ...
0
votes
2answers
309 views

Remote receivers debugging using azure service bus does not work

After i published app (not sure if related) to app o365 catalog (not store) i cannot debug app installed (or uninstalling) receivers using azure service bus anymore. I even tried removing remote ...
0
votes
1answer
422 views

EventReceivers not firing at all

I wrote some code to do some things before and after an item is added to some lists. The solution is sandboxed. I have checked and confirmed, through PowerShell, that the event receivers are bound to ...
1
vote
1answer
56 views

Sending debug messages in sequential workflow

I'm trying to send messages to the workflow history of a workflow at some point after the workflow starts, based on a condition. There are some values in the code I would like to verify as the ...
1
vote
1answer
46 views

How to tackle error raised in 1 WFE out of 3 WFE?

Someone had asked this question but proper answer is not known, can anyone say what will be the proper answer for this? We have a SharePoint application spread on 3 WFE server. Now one component is ...
0
votes
2answers
29 views

Sharepoint debugger process

Let's say I have a SharePoint web application running in my local machine. I want to debug a visual web part so that I can check what's wrong with my code. To start debugging I usually do the ...
0
votes
3answers
407 views

How to debug Napa SharePoint app

I've made a simple app in "Napa" Office 365 Development Tools. It's a SharePoint app that returns the current site lists. This is the rest call: site + /_api/web/lists When i debug this app it ...
2
votes
3answers
696 views

Provider Hosted application often stops debugging

I have a very weird problem. I am trying to run a very basic provider hosted application on VS2013 (Update 3). The application stops debugging every now and then. The only thing I get in Output ...
0
votes
3answers
2k views

Breakpoints not hitting as 'no symbols loaded'. Visual Studio 2012 c#

I'm attempting to debug an event handler and on the breakpoint I get the message that no symbols have been loaded when attaching to process. Is there any way I can figure out why this is? The ...
0
votes
2answers
38 views

SharePoint VS development - tuning changes without redeployment

I have VS project with .wsp containing custom forms for list. I need to tune some details on the form - sometimes in aspx file, sometimes in code behind (.cs). What are the options to tune it without ...
0
votes
2answers
432 views

workflow debugging prerequisites failed to complete - Visual Studio SharePoint hosted Apps

When trying to debug a workflow created in SharePoint 2013 App using Visual Studio 2012 version, i am getting the error "workflow debugging prerequisites failed to complete". I tried to publish the ...
2
votes
2answers
963 views

Does anyone have ELMAH working with SharePoint?

Does anyone have ELMAH working with SharePoint 2010? I have the assembly in the bin folder and have what I believe to be the correct entries in the web.config file. I can run the test at ...
2
votes
2answers
4k views

Debuging Event Receiver- Sharepoint 2013

I am trying to create ER for a document library, eg http://server.com/sites/dev I wanted to monitor document library for add and remove item. I created Empty SharePoint 2013 project ( Not sandboxed) ...
1
vote
1answer
36 views

Is it possible to selectively retract during F5-debug re-deployment?

Is there anyway I can select certain project features to remain deployed instead of being overwritten each time I F5-debug-deploy? ...other than creating multiple Solutions. If not, are there ...
1
vote
2answers
514 views

Debugging sandboxed solution?

I know this is a novice question, but my sandboxed solution works on one site and not the other. How/where can I actually see the errors generated by some sort of report? Debugging simply takes me to ...
1
vote
2answers
1k views

Possible to debug old solutions running in 2010 mode in a 2013 environment?

I've got a SharePoint 2013 VM for development using Visual Studio 2013. I've deployed an "old" 2010 wsp containing a visual webpart for using it within site collections running in 2010 mode in my 2013 ...
0
votes
0answers
301 views

SharePoint WebParts. Attaching to ProteusDebugEngine debugger failed

I'm using Visual Studio 2010 Ultimate and SharePoint Foundation 2010. When I debug my VisualWebParts I have some errors: "Attaching to ProteusDebugEngine debugger failed. Invalid pointer." "Cannot ...
1
vote
2answers
770 views

Workflow debugging prerequisites failed to complete - VS2013 Autohosted App

I am creating an auto-hosted app on VS2013. I am working with SharePoint Online and not locally. The problem is that when I try to enable the workflow debugging on my project I receive the error: ...
2
votes
1answer
494 views

Debugging custom membership provider - An unexpected error has occurred.

I used this video tutorial to get started and created a custom membership provider: http://channel9.msdn.com/Blogs/BomBom/Building-your-own-MemberShipProvider-in-ASPNET-20-and-use-it-in-SharePoint ...
1
vote
1answer
117 views

How to debug why i cannot add a webpart to a page in SP Designer

I have several custom webparts which i am attempting to add to a custom page WebPartZone using SPD2010. I can successfully add one, however when i attempt to add the other i get an "Error Creating ...
2
votes
1answer
1k views

Visual Studio 2013 - Workflow debugging prerequisites failed to complete

I am experiencing an issue with debugging SharePoint 2013 Workflows in a SharePoint App solution: Has anyone encountered this error?
0
votes
3answers
836 views

Debugging a deployed solution residing in a server farm

I have deployed a solution on the server farm, through the PowerShell. I wish to be able to debug the execution of a specific button residing in an application page found inside the specific solution, ...
0
votes
2answers
446 views

Debug code in Napa ( Office 365 Online)

I have written a code to add an item in list in Office 365 using Napa. I have used client object model in the code. But the item doesnt get added in the list. Is there any way to debug the code in ...
2
votes
1answer
98 views

File transformations before packaging WSP

I need to modify the content of some files in my SP 2010 project before packaging, something like Web.Config transformations. I need a file to have different content based on the environment: Debug, ...
3
votes
1answer
3k views

Is it possible to get detailed error messages in SharePoint Online?

When doing any sort of development/testing work against SharePoint Online, there are bound to be some errors. Some errors manifest in the form of exceptions, which can be logged to a special-purpose ...
0
votes
3answers
1k views

How can I view Developer Dashboard from a custom master page or PowerShell?

I need to view Developer Dashboard data to investigate a bottleneck on a SharePoint deployment, but the master page has been customized and the Developer Dashboard is not available (after enabling it ...
0
votes
1answer
47 views

Debug DLLs in bin folder (SP 2013)

I'm using Sharepoint 2013 Foundation. I have configured Form Based Authentication. I wrote my own project to do the authentication (compiled into a DLL). Placed both DLL and PDB files in ...
2
votes
2answers
784 views

How to debug sharepoint webservice?

I've followed Walkthrough: Creating a Custom ASP.NET Web Service and everything works fine. I just want to know how to enable debugging for this web service over network. Could you help me?
0
votes
1answer
64 views

Debugging and running in Microsoft Windows SharePoint Services 3.0

I have been given some source code for a solution written for Microsoft Windows SharePoint Services 3.0 - with no instructions for how to get it up and running in Visual Studio. I've installed Visual ...