locked
Error while Debugging source code

    질문

  •  

    Hi Guys,

    i have code in which it use a webmethod(GetFileName). Both my application and webservice are on my machine itself(Local). but when i try to debug the code, ie when i press F10 on the webmethod (GetFileName) error occurs "there is no source code available at this location". but sometimes it debugs, i dont understand why iam facing this kind of problem as both application and the webservice(with source code) is on my machin. please help me.

    2008년 4월 11일 금요일 오전 11:27

답변

  • I believe you can find the Temporary ASP.NET files at the following path:

    \Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

     

    Let us know if this helps.

     

    Daniel Roth

    2008년 4월 17일 목요일 오후 6:53
    소유자

모든 응답

  • Can you check if the *.pdb files match the date and time of *.dll files?

     

    Also try these resources: Debugging Preparation: ASP.NET Web Service Projects

    Debug Settings and Preparation

    2008년 4월 11일 금요일 오후 6:07
    중재자
  • How is the web service hosted?  Is it hosted in IIS? 

     

    Daniel Roth

    2008년 4월 14일 월요일 오후 6:20
    소유자
  • I'm posting this while on the run. Could someone fill in the OP on the ASP.NET caches, like "Temporary ASP.NET files"?

     

    You may have a different version of your code in the cache than even the version you just built. Do a Rebuild All, and if the problem still occurs, look for the cache (which someone will kindly point you to), and delete it, then try again.

    2008년 4월 17일 목요일 오후 2:29
    중재자
  • I believe you can find the Temporary ASP.NET files at the following path:

    \Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

     

    Let us know if this helps.

     

    Daniel Roth

    2008년 4월 17일 목요일 오후 6:53
    소유자