5 votes
Accepted

Failed on Start (Workflow was canceled by System Account.)

For your issue, I recommend to follow the steps as below: Clear SharePoint Designer cache: How to Clear Your SharePoint Designer 2010/2013 Cache Deactivate all "Workflow" features at the Site ...
user avatar
  • 7,680
5 votes
Accepted

Unable to Debug Event Receiver

Try to do the following to hit your breakpoint Retract your solution. Perform IISRESET. Deploy it again. Set your breakpoint and make sure it's not disabled. Open SharePoint Portal. Attached Visual ...
user avatar
5 votes
Accepted

SharePoint 2010 - WebParts only working when debugging

This is because, when you stop debugging the solution get retracted from webapplication. Deploy the solution and you will find webparts in gallery.
user avatar
  • 4,802
4 votes
Accepted

Debug SharePoint Solution

Attaching to multiple processes, while it will work, is a bit overkill and attaches unneeded processes. Look up the name of your app pool in IIS, open up a command prompt and then enter cd %...
user avatar
  • 1,175
4 votes
Accepted

Menu heading unclickable after a while from site load

You could check if there are any specific webparts that could contain any scripts. Add ?Contents=1 (http://example.com?contents=1 or http://example.com/sites/example?contents=1) to the end of your ...
user avatar
  • 9,491
3 votes
Accepted

How to add a button to a document library

Rather than using $(document).ready() try this: <script> _spBodyOnLoadFunctionNames.push("ButtonFunc"); function ButtonFunc() { $('.ms-qcb-leftzone').append('<li class="ms-qcb-item">&...
user avatar
  • 3,236
3 votes

Failed on Start (Workflow was canceled by System Account.)

In case it might be helpful for someone: I had a similar problem with a client today in a SP 2013 environment, but in my case turned out that it was a .Net security update that caused it. The ...
user avatar
  • 63
3 votes
Accepted

Provider Hosted application often stops debugging

There are 3 solutions to this problem. Solution 1 1. Close down dev environments 2. Go to Documents folder and rename IISExpress. 3. Now set environment variable _CSRUN_DISABLE_WORKAROUNDS (ref: http:...
user avatar
  • 3,614
3 votes
Accepted

SharePoint VS development - tuning changes without redeployment

If it is a user control, you can just replace the .acsx file in the Layouts folder. But if it is a C# file, you need to build the project without changing the assembly version and copy that into the ...
user avatar
3 votes
Accepted

Debug FeatureUpgrading

Based on the information found on this blog you actually have to attach to the PowerShell process if you upgrade your feature like you did. . Simply pressing F5 in Visual Studio will deploy the ...
user avatar
  • 6,854
3 votes

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

In order to deploy your project from Visual Studio, go to the Solution Explorer and right click on the name of the project as shown below. Click the Deploy Solution button to deploy the project. ...
user avatar
  • 1,817
3 votes
Accepted

Debug SharePoint powershell

I think you didn't save your script till now. so You should first save your file to be able to set a breakpoint. Note: You can set three types of breakpoints using (F9) in the Windows PowerShell ...
user avatar
3 votes
Accepted

How to debug SPFX Web part in visual studio code ?

you can install Debugger for Chrome extension in the VS Code and follow the step as described in Github Debug SharePoint Framework solutions in Visual Studio Code
user avatar
  • 2,818
3 votes

Debug SharePoint Solution

They all run different IIS applications - check out the usernames attached to each one. I always attach to all the w3wp processes just in case - you can shift-click to select multiple processes.
user avatar
  • 1,128
2 votes

Any recommendations for SharePoint Online PowerShell Debugging Tools

I personally use the Powershell ISE with the SharePoint Online management shell loaded and a custom module. http://www.microsoft.com/en-us/download/details.aspx?id=35588
user avatar
2 votes
Accepted

Debugging an SP Feature in production

You really shouldn't be debugging in production. Instead, add additional logging capabilities to your app and do more defensive coding. By defensive coding, I mean that if your code is calling some ...
user avatar
  • 7,920
2 votes
Accepted

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

follow these steps 1.Deploy your solution to SharePoint. 2.Press Windows+R and run Services.msc, Restart SharePoint Timer Service 3.Go back to visual studio attach process OWSTIMER.EXE and try ...
user avatar
2 votes

SharePoint 2013 not displaying Correlation ID when there is some error. Always displays a Runtime error page

Error page itself states what needs to change. Problem is with setting of your site's web.config Locate web.config for your site. You find it at below path Drive\Inetpub\Wwwroot\WSS\...
user avatar
  • 3,596
2 votes
Accepted

Remotely debug Provider Hosted App from Visual Studio 2015

[...]the following ports needs to be opened to be able to remote debug a Azure App Service: Ports Incoming/Outgoing Protocol Description 3702 Outgoing UDP Remote debugger ...
user avatar
2 votes

Unable to debug TimerJob in Visual Studio 2012

Since the question does not provide much debugging information, I will try to provide some common solutions based on my personal experience and the few hints I can get from your context. Option 1 ...
user avatar
  • 6,854
2 votes

Unable to debug TimerJob in Visual Studio 2012

You must perform a reset on sptimerv4 between retractions in order to unload the GAC'ed custom developed binaries.
user avatar
  • 28.8k
2 votes

Debug SharePoint powershell

Using Windows powershell ISE, you can debug the powershell scripts. Windows Powershell ISE tool come along with the installation of windows server 2012. To debug the script select the line of code ...
user avatar
  • 2,818
2 votes
Accepted

Can't find Sharepoint timerjob service among process to attach

Check Show processes from all users
user avatar
  • 1,031
2 votes
Accepted

Debug ItemAdding and ItemUpdating Remove Event Receiver

Try debugging your remote event receiver locally as given in the below article: Remote Event Receivers – you’re all doing it wrong. In order to use this you will need the following things. Node.JS ...
user avatar
  • 27.7k
1 vote

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

I normally debug by attaching w3wp process. If you try running solution from visual studio it tries to deploy solution on virtual IIS and load it from there. In case of SharePoint that will not work.
user avatar
  • 28.2k
1 vote

Unable to debug TimerJob in Visual Studio 2012

I have gotten to the point now that I actually don't allow VS to push my solutions out any more. Instead I do a publish to my file system and then create a script that retracts the old solution, ...
user avatar
1 vote

Objects deployed at debug remain after debug stopped

Launching compilation/packaging/deployment all the same-time with the magic "F5" key commmand is actually a pain in the a**. I always taught my students to do the all process "by hand": package (...
user avatar
  • 9,666
1 vote

Debugging remote event receiver - no context token

In your AppManifest.xml It should be like this: <Properties> <Title>BasicDataOperations</Title> <StartPage>https://my-azure-site.azurewebsites.net/Pages/Default.aspx?{...
user avatar
1 vote
Accepted

How to debug a solution in visual studio without deploying it

1) From the Build menu in Visual Studio: click Build / Configuration Manager, then select Debug or Release. 2) On the toolbar, choose either Debug or Release from the Solution Configurations list box....
user avatar
1 vote

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

The way you split and join URLs is a little messy at best, so I'm not sure I understand it correctly. It seems that you try to open a list using /Lists/Survey 1 URL. This is web-relative URL. ...
user avatar
  • 1,924

Only top scored, non community-wiki answers of a minimum length are eligible