problems debuging "web parts"

Discussion in 'ASP .Net Web Services' started by Manish Soni, Feb 19, 2004.

  1. Manish Soni

    Manish Soni Guest

    Hi,

    Following is the process I am using for debugging the web parts on the
    server side:

    1. I built the debug binaries and installed the debug "dlls" in the global
    assembly cache.

    2. Also I put the symbol files(.pdb) in the install location.

    3. In the debugging properties of the project I set "ASP.NET debugging to
    true" and 'Start_url' as "http://<server_name>".

    4. Then when I start debugging, the portal page does not come and error is:
    "Unable to start debugging on web server, the project is not configured to
    be debugged."

    5. Then I set "debug=true" in the web.config file in "c:\inetpub\wwwroot".
    After doing this when I start debugging, and launch portal following error
    is reported:


    "Debugging is not supported under current trust level setting"

    6. I tried to find its solution, and generally solutions suggest changing
    the value of 'trust' in web.config file to "Full".

    I did the same, but after doing this when I launch the debugger following
    error is shown on the portal for each 'web part':


    "Web Part Error: A Web Part or Web Form Control on this Web Part Page cannot
    be displayed or imported because it is not registered on this site as safe."


    Can you please tell what can be the problem? Also is the way I am following
    for debugging correct?



    Regards

    Manish Soni

    SDE

    IW New Markets

    IDC

    ph: 55113224
    Manish Soni, Feb 19, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Avi
    Replies:
    1
    Views:
    444
  2. Anders Both

    More debuging an line number.

    Anders Both, Dec 21, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    375
    Craig Deelsnyder
    Dec 23, 2003
  3. FOX User Group

    Unable to start debuging on the web server

    FOX User Group, Apr 20, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    779
    Andy Mortimer [MS]
    Apr 21, 2004
  4. Brian Henry

    debuging on remote machine

    Brian Henry, Jul 11, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    356
    Brian Henry
    Jul 12, 2004
  5. Rogers
    Replies:
    1
    Views:
    371
    Vadivel Kumar
    Jan 18, 2005
Loading...

Share This Page