tags:

views:

302

answers:

2

Hi I added the AjaxControlToolKit's Sample dll file as reference to my web application. I used Mask text boxes on my pages. While debug the application first it asked me to open MaskedEditExtender.cs file. So i just serach it from my physical location and copied it in Bin folder of solution. well ... now it is not asking for open that file. But while debugging , after content page it debugs Master page as expect, but After just finishing debug of master page debuger traverse to MaskedEditExtender.cs file... that will not much issue , thats fine ( curious why this happening)... but while debugging MaskedEditExtender.cs file it popups message " There is no source code available for the current location." with two buttons "OK" & "Disassembly" What is this error ? why it is arriving? how to avoid ?

+1  A: 

You're missing the PDB file (program debug database) of the assembly where the exception occurs.

Gerrie Schenck
But I can see the .pdb file in solution explorer. of AjaxControlToolkit that i used
Lalit
Please guide me ... question still remain as it is ...
Lalit
+1  A: 

you have arrive to a section of your program for which the debugger cannot associate a source code file, either this is some third party software for which you do not have the source coed. or you have the source by the debugger cannot associate the debugged code to that source file, since your are missing the debug symbols file (the PDB) this file contains the mapping between the lines in the text source files and the memory address assigned by the compiler to your methods and members.

it could help if you would specify what method you are trying to drill down when you get this message.

Alon