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
0answers
8 views

How to debug sp.js, sp.core.js, sp.runtime.js using Chrome DevTools

I want to put a breakpoint in sp.core.js file to check the code execution. But the added breakpoints in DevTool are getting cleared automatically after each page refresh. I can successfully put a ...
2
votes
1answer
935 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 I'...
4
votes
1answer
1k 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
2answers
761 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 ...
2
votes
0answers
1k views

Debugging XSLT in Visual Studio 2010 [closed]

I'm trying to debug XSLT for CQWP. I followed this guide. So I'm able to retrieve the XML, and link the files temporarily together using xsl:import. But then Visual Studio can't find the schema for ...
1
vote
1answer
30 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 ...
0
votes
0answers
12 views

Solution is deployed in Visual Studio but it still shows No operation has been performed on the solution in Central Admin

On deploying the solution in Visual Studio, it shows successfully deployed as shown below. But, in Central Admin, System Settings-->Manage Farm solutions and clicking on Solution, we find as shown ...
0
votes
1answer
29 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 ...
1
vote
1answer
220 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, ...
9
votes
0answers
397 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 ...
0
votes
1answer
109 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 ...
0
votes
1answer
66 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 ...
0
votes
1answer
66 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 ...
0
votes
2answers
5k 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 ...
1
vote
0answers
794 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: ...
1
vote
0answers
211 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 ...
1
vote
5answers
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/...
1
vote
1answer
108 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 ...
3
votes
2answers
12k 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 ...
7
votes
2answers
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'...
1
vote
0answers
100 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 ...
4
votes
3answers
7k views

The breakpoint will not currently be hit - debuging feature receiver

I need to debug my feature receiver, so I set up few breakpoints, but when I hit F5 in VS2010, they are all missed, and it says that "The breakpoint will not currently be hit. No symbols have been ...
0
votes
0answers
111 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 ...
1
vote
1answer
385 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. ...
1
vote
1answer
609 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,...
0
votes
1answer
202 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.
3
votes
2answers
4k 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 ...
1
vote
1answer
232 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 ...
1
vote
1answer
105 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 ...
0
votes
2answers
83 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 ...
2
votes
2answers
10k 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 ...
4
votes
2answers
190 views

Debug SharePoint Solution

I'm confused which w3wp service should i choose to debug SP solution, what's the purpose of other services
1
vote
1answer
39 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 ...
1
vote
1answer
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": [{ "...
1
vote
1answer
34 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 ? ...
2
votes
1answer
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 ...
1
vote
2answers
543 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 !?
1
vote
2answers
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 { ...
1
vote
1answer
396 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 ...
0
votes
1answer
37 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 ...
2
votes
0answers
262 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 ...
0
votes
1answer
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 ...
2
votes
2answers
1k 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 http://...
0
votes
1answer
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 ...
1
vote
2answers
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 ...
1
vote
4answers
3k views

Debugging sandboxed ItemUpdated event receiver - breakpoints not hit

I'm trying to debug an ItemUpdated event receiver in SharePoint 2010. I add breakpoints to the code, and hit F5 in Visual Studio 2010. I click Attach when I'm prompted to attach to the process. Then, ...
4
votes
3answers
703 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 ...
1
vote
1answer
3k views

Deploy event receiver to sandboxed solution

I am working with SharePoint Foundation 2010 on both my development and production machines. My production site is hosted. I am trying to deploy a sandbox event receiver to the production site ...
0
votes
1answer
155 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 ...
2
votes
1answer
2k 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 ...