Solved

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

Posted on 2010-09-13
3
970 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now