Solved

How do I troubleshoot debug symbols not loading in an asmx page?

Posted on 2010-09-13
3
973 Views
Last Modified: 2012-08-14
I have a web page that calls a web service contained in an asmx page.  In the past, I have been able to step from the web page javascript right to the asmx page code.  But now when I try to debug, the asmx page's breakpoints show the symbols not loaded icon and of course debugging no longer works.  In another project, I changed the project type from project with a pbd file to just a web site and debugging resumted functioning.  This time, the project is already a web site with one asmx page.  Since the file has not compiled components, and the debbugging settings appear to be correct, I'm not sure what to check.  Web site searches have proven fruitless and what I need is someone who has done this before.  If you know what I should check and know what I'm talking about, please provide suggestions as to what to do.  Thanks all!
0
Comment
Question by:audExpert
  • 2
3 Comments
 
LVL 3

Expert Comment

by:vusov
ID: 33671548
Please check that you web service is in Debug mode and  try to rebuild you project and update you service reference. Hope this will help.
0
 

Author Comment

by:audExpert
ID: 33672714
I have rebuilt the web site many times.  How do I see if the service is in Debug mode, and how do you update the service reference. If by this you mean the url in the service, it is correct although I notice that when I debug the url seems to have a specific port while my service reference does not.
0
 

Accepted Solution

by:
audExpert earned 0 total points
ID: 33673161
The web page calls the web service at localhost.  I noticed that when I started to debug it used localhost:1633.  So in the web page I changed the call to the asmx page to be localhost:1633 and the debugging started to work.  

For example below is a call to my web service and I changed the svcURL value from localhost to localhost:1633 and debugging started to work.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question