Error while debugging asp.net 1.1 application

Last post 10-19-2009 4:08 AM by paule247. 10 replies.

Sort Posts:

  • Error while debugging asp.net 1.1 application

    10-09-2009, 6:20 AM
    • Member
      3 point Member
    • paule247
    • Member since 05-15-2009, 3:26 AM
    • Posts 19

    Hi Great dotNET developers,

    I 'm working on an asp.net 1.1 (visual studio 2003) application that was binded with visual sourcesafe. the problem is when i debug the application and get to the LLBLGenPro generated class (dll and pdb) it ends with an error message "There is no source code available for the current location". please what is the workaround for this? I have unbinded this from VSS but it still seems that i haven't cos it shows the former VSS path C:/sourcesafe/FMS.root/...

    Secondly, the application  (has been working fine in the production server for 5 years without failure and error) is showing 102 error (related to ambigouos classes) how can i resolve all the errors because when i debug one another pops up.

    I will appreciate if help is provided. Thanks

  • Re: Error while debugging asp.net 1.1 application

    10-09-2009, 8:23 AM
    Answer

    Hi,

    You will be getting this error when your code calls a function or a method in a dll whose source code is not open (along with the current project).

    Try adding all the projects (source codes for the dlls) to ur main project. You can even try removing the references from ur bin folder and add it once again by choosing the 'Project' tab.  (Bin -> Add Reference -> Projects -> Select ur project).

    Now debug ur application once again. You won't get this error.

    Cheers

     

  • Re: Error while debugging asp.net 1.1 application

    10-09-2009, 8:41 AM
    • Member
      3 point Member
    • paule247
    • Member since 05-15-2009, 3:26 AM
    • Posts 19

    I tried but no luck

  • Re: Error while debugging asp.net 1.1 application

    10-10-2009, 11:56 PM
    Answer
    • Member
      14 point Member
    • ebbystephen
    • Member since 10-10-2009, 4:17 PM
    • Ernakulam
    • Posts 6

    try to add all the reference files to the project,,
    again compile it and run your project.
    the issue  may b because of this.. 

  • Re: Error while debugging asp.net 1.1 application

    10-12-2009, 1:32 PM
    • Member
      3 point Member
    • paule247
    • Member since 05-15-2009, 3:26 AM
    • Posts 19

    I tried still no success

  • Re: Error while debugging asp.net 1.1 application

    10-14-2009, 4:12 AM
    Answer


    Hi,

    "There is no source code available for the current location" means that Visual Studio debugger cannot locate the source file for current location.

    You can try the following ways:

    • Disable debugger to look for source files when debugging (Tools -> Options -> Debugging -> uncheck "Require source files to exactly match the original version").
    • Add the location of this page's source code to "Debug Source Files". (Right-click Solution name in Solution Explorer and select Properties from the shortcut menu. Expand the Common Properties folder, and click the Debug Source Files page)

    For more information about debugging, see http://blogs.msdn.com/jimgries/pages/visual-studio-debugger-faq.aspx (Section: Breakpoints ).

    I look forward to receiving your test results.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: Error while debugging asp.net 1.1 application

    10-15-2009, 2:46 AM
    • Member
      3 point Member
    • paule247
    • Member since 05-15-2009, 3:26 AM
    • Posts 19

    Mr Thomas Sun: That sounds like a great suggestion! I'll try that ASAP and let you know how it goes.Laughing

  • Re: Error while debugging asp.net 1.1 application

    10-17-2009, 5:36 AM
    • Member
      3 point Member
    • paule247
    • Member since 05-15-2009, 3:26 AM
    • Posts 19

    Sir,

     Thanks for your reply. However I can’t locate Tools -> Options -> Debugging -> "Require source files to exactly match the original version" and "Debug Source Files"  from (Right-click Solution name in Solution Explorer and select Properties from the shortcut menu. Expand the Common Properties folder, and click the Debug Source Files page in Visual studio 2003.

    Secondly, and this is ver important for me to scale through, The code i add don't run e.g when i comment the functions or sub procedures it still run and the codes i added don't run, of course those function are called from classes in compiled dll but what can i do to add codes and make sure they run maybe in place of the former functions. please help my job is at skate.

  • Re: Error while debugging asp.net 1.1 application

    10-17-2009, 6:39 AM
    Answer

    Try one more thing.

    On the Standard toolbar, choose Debug (or Release) from the Solution Configurations list box and try again

    See this link for more info - http://msdn.microsoft.com/en-us/library/wx0123s5(VS.71).aspx

      

  • Re: Error while debugging asp.net 1.1 application

    10-19-2009, 2:20 AM
    • Member
      3 point Member
    • paule247
    • Member since 05-15-2009, 3:26 AM
    • Posts 19

    i didn't still work

  • Re: Error while debugging asp.net 1.1 application

    10-19-2009, 4:08 AM
    • Member
      3 point Member
    • paule247
    • Member since 05-15-2009, 3:26 AM
    • Posts 19

    Thanks all, your suggestion was very useful. i was able to resolve it by ur different suggestion especially add references.

Page 1 of 1 (11 items)