Questions tagged [debugging]

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Sharepoint Online Provider Hosted Addin: local Debug with Azure Service Bus stopped working

We used to debug locally a Provider hosted Add-In using Azure Service Bus. Project working in VS 2019 From some days ago, the start of the application works as usual but Remote Event Receivers don’t ...
user avatar
  • 121
0 votes
0 answers
24 views

SharePoint remote event receiver debugging stuck at grant permissions page

I'm trying to create a remote event receiver for a SharePoint online dev site (referred guide - https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/handle-list-item-events-in-the-provider-...
user avatar
1 vote
1 answer
35 views

Manual debugging of SharePoint application: point does not break on new code change lines

A SharePoint solution is installed on our dev server. We are working on the new changes and unfortunately we cannot deploy and test our changes on the provided dev server. I am trying to debug ...
user avatar
0 votes
1 answer
49 views

Troubleshooting SharePoint Online Workflows

I am using SharePoint in office 365. I am unsure the cause but in one of my SharePoint sites Workflows will not run. Workflows work just fine in other sites. It is a 2013 Workflow. Things that I have ...
user avatar
1 vote
1 answer
427 views

SPFX: How to debug an application customizer extension

I am new to spfx and have to write an application customizer that changes the key of a query in the url. I have already implemtend this functionality and now want to test/debug. When I run gulp serve, ...
user avatar
  • 121
0 votes
1 answer
133 views

Debug ItemAdding and ItemUpdating Remove Event Receiver

I have been working on couple of remote event receivers inside our SharePoint online sites. I followed the step mentioned in these links: Working with Remote Event Receivers in a Provider Hosted App ...
user avatar
0 votes
1 answer
86 views

Issue relate to RER in SharePoint online

I am trying to create a Remote event receiver on SharePoint online. I followed steps given in the below url to create it : Steps to create a remote event receiver RER is getting deployed ...
user avatar
  • 156
0 votes
1 answer
128 views

Debug or release build on staging

Obviously staging environment should be an exact copy of production environment. In that sense it is expected to have release built libraries. But... It's still just a staging server and it makes our ...
user avatar
0 votes
2 answers
8k views

How to debug error in sharepoint online using Correlation id?

I have created the sharepoint trial account and i tried to activate "SharePoint Server Publishing Infrastructure" feature in site collection features.But i got error with Correlation id.How can i ...
user avatar
  • 1,095
9 votes
0 answers
543 views

Disable telemetry spam on Modern UI pages

If you open a modern page, then press F12 and open the network tab you can observe a lot of telemetry-related activities every several seconds. It makes it harder to debug SPFx customizations. Is ...
user avatar
1 vote
0 answers
1k views

New spfx web part (1.4.1) requests WsaUpload.ashx, gets 403

I just generated a new web part using the Yeoman generator for SPFx 1.4.1, and am debugging it in the hosted workbench. We are using SP2016, On Prem. I am seeing console logging that looks like this: ...
user avatar
  • 675
1 vote
0 answers
236 views

Error Thrown When Toggling 'Quick Edit' on a List or Library

For some reason users are getting the following popup/error when toggling 'Quick Edit' on a list or library. This site says... Assertion Failed: Edit manager is still in Editing state, but ...
user avatar
1 vote
1 answer
128 views

SPO: User with hyphen in name not showing up in People Search

I'm in SharePoint Online. If I search for a user under Everything, then she shows up at the top under "People named .." and clicking the link takes me to her profile. If I go to the People tab and ...
user avatar
1 vote
0 answers
103 views

Cannot debug Provider-Hosted Add-In: VS2017 hangs opening Chrome (resolved)

Update: Resolved (hope so). Maybe this is a bug and upgrade VS2017 to to 15.7.6 helps. I close my Chrome every time before f5 -- Every How-to for beginners in the net say "Hit F5 and voila!" - but ...
user avatar
  • 1,591
0 votes
0 answers
149 views

Debugging React components in spfx client side webparts

How can I step through my .tsx code file line by line? Either using Google Chromes developer tools or Visual studio code the debugger steps into internal Typescript/JavaScript libraries? It becomes ...
user avatar
  • 2,376
1 vote
1 answer
660 views

sharepoint framework extensions: sorry something went wrong

I am trying to learn SharePoint Framework Extensions and this is my first try. I created an application customer following the example in pluralsight. When I try to add the app, I get the error: Sorry,...
user avatar
  • 1,316
0 votes
1 answer
203 views

debugging sharepoint webpart without visual studio debugging

SharePoint debugging with visual studio stop the site. I'm looking for a way to debugging SharePoint Webpart with out stopping the SharePoint site.
user avatar
  • 13
1 vote
1 answer
389 views

Visual Studio crash during debugging Add-In application

I'm develop provided-hosted app (MVC) in SharePoint Online. I've installed Visual Studio Community 2017. Unfortunately, when I try to debug and install Add-In, Visual Studio freeze and not responding. ...
user avatar
  • 139
1 vote
1 answer
244 views

Debug Feature Receiver Webapplication Scope

I'm using SharePoint 2013, VS 2015, I want to Debug my Feature Activated Receiver which is WebApplication Scoped. When I attach w3p or OWSTIMER processes the Feature doesn't show up in Central ...
user avatar
  • 65
1 vote
1 answer
109 views

how to load SharePoint default .js file manually in master page?

I have created SharePoint calendar list and added it to my custom page (with the custom master page).some time sp.ui.applicationpages.calendar.debug.js not loaded in IOS mobiles(also not loaded in ...
user avatar
  • 1,095
0 votes
2 answers
84 views

Menu heading unclickable after a while from site load

Here is my problem: In sharepoint menu, headings are unclickable on one of the sites. When i checked site code, it seems that the working sites have href in given menu item, in problematic site they ...
user avatar
4 votes
2 answers
193 views

Debug SharePoint Solution

I'm confused which w3wp service should i choose to debug SP solution, what's the purpose of other services
user avatar
  • 187
1 vote
1 answer
42 views

Packaged/Shipped version adds : to data ?? Workbenches are fine

when I run my SPFx webpart solution in the local- or hosted- Workbench, everything seems OK. The data received from lists is displayed correctly, e.g. Freddy, Prayer request, Prayer for money, Food ...
user avatar
1 vote
1 answer
1k views

How to debug SPFX Web part in visual studio code ?

I am trying to find a way to debug my local SPFx workbench from Visual Studio Code, For this have installed the "skritt-debugger" and the launch.json Look Like this "configurations": [{ "...
user avatar
  • 175
1 vote
1 answer
37 views

Can't find Sharepoint timerjob service among process to attach

I would like to attach Visual Studio to OWSTIMER service to debug the execution of a sharepoint timer job, but the service stopped to appear among services to attach in Visual Studio. Any idea why ? ...
user avatar
2 votes
1 answer
44 views

SharePoint 2010 - WebParts only working when debugging

So basically here's my question, I got a SharePoint 2010 website working with some web parts but the web parts only work when I'm debugging the project, when I'm not it just says that the web part ...
user avatar
  • 23
2 votes
2 answers
584 views

Debug SharePoint powershell

I create a new file in powershell ISE, it's run perfectly but I face  a bit issue I can't add break point Am I doing things wrongly !?
user avatar
  • 151
1 vote
1 answer
428 views

Debugging SP solution on different server

Can we debug a SP 2010/2013 custom solution like Visual Web Part on a different SharePoint site which is not available on local machine but on a different SharePoint server? I tried to put a site as ...
user avatar
  • 3,630
0 votes
1 answer
38 views

Debug multiple projects

I've got an issue when I want to debug two projects. When I attach one of project to all Sharepoint process, VS hits correctly my breakpoints. But when I want to attach a second project, it doesn't ...
user avatar
  • 13
2 votes
0 answers
272 views

Better Debugging for Sharepoint 2013 and Visual Studio 2015 [closed]

I am new to Sharepoint. I have used asp.net mvc the last 5 years and Web Forms the 7 years prior. ANY HELP is greatly appreciated in helping me get up to speed with Sharepoint development. I just ...
user avatar
0 votes
1 answer
45 views

What exactly has to be done on a SharePoint 2013 Installation to allow F5 - debugging for provider hosted AddIns?

I have a provider hosted App I want to (F5)-Debug directly on a SharePoint 2013 Installation on a different server. The Admins asked me what has to be done on the farm so they can decide if it even ...
user avatar
0 votes
1 answer
5k views

Unable to Debug Event Receiver

I have create custom content type using that content type I have created list in site. Now trying to develop event receiver on list item events. but now I'm unable to debug the code . Updated ...
user avatar
1 vote
2 answers
2k views

How to display a string in client browser console using c#?

Let's assume I have a C# file in my SP2010 application and I want to display a message in the browser console. using System; using System.Collections.Generic; ... public class WhatEver{ // some ...
user avatar
4 votes
3 answers
734 views

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

One of my client's SharePoint 2013 site always displays the Runtime Error screen if there is some error instead of the "Sorry Something went wrong." page with the correlation ID. This makes it ...
user avatar
0 votes
1 answer
164 views

Debugging Timer Jobs

It has been awhile since I tried to debug a timer job; the last time was on SP2010. I have a job that updates some values in a list and I want to debug the code. I am attaching to OWSTIMER.EXE and I ...
user avatar
  • 377
3 votes
2 answers
13k views

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

When I add an "if condition" to my working workflow, It doesn't work anymore and gives error: "Failed to Start". (Workflow was canceled by System Account.) My "if condition" is in below image framed ...
user avatar
  • 133
2 votes
1 answer
3k views

Remotely debug Provider Hosted App from Visual Studio 2015

I have created a SharePoint Provider hosted App on Azure. I need to debug it now. I have enabled remote debugging from the Azure Portal. But when I try to debug it from Visual Studio, I get the ...
user avatar
  • 1,807
0 votes
1 answer
1k 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 ...
user avatar
1 vote
0 answers
83 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 ...
user avatar
  • 6,854
0 votes
1 answer
148 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 ...
user avatar
  • 73
1 vote
5 answers
2k 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/...
user avatar
1 vote
3 answers
616 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. ...
user avatar
  • 466
2 votes
1 answer
484 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 ...
user avatar
1 vote
2 answers
1k 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 { ...
user avatar
  • 381
1 vote
1 answer
234 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 ...
user avatar
  • 547
0 votes
2 answers
105 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 ...
user avatar
  • 101
1 vote
1 answer
386 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 ...
user avatar
  • 101
0 votes
1 answer
138 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 ...
user avatar
0 votes
2 answers
36 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 ...
user avatar
  • 333
8 votes
2 answers
2k 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 O'...
user avatar
  • 12.3k