?
Solved

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

Posted on 2010-09-13
3
Medium Priority
?
982 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

762 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