• Debugging an IIS hosted web app

    Some at my work had been wondering how to enter into debugging (Via the f5 key) in visual studio .Net when your project is hosted in IIS. Since i had been working with WPF Xbap application, i was already familiar with how they did those and figured this would be much the same, and it was... marginally different. :)

     

    First set your project as the startup project, then make sure your Default.aspx or Login.aspx is set as the start page. Right click your web project and click properties.

     

    image002.jpg

    Select URL debug mode, Hit “APPLY” (or you won’t be able to type in the start URL field), then enter the URL that points to your local IIS hosted application.

     

    When I Hit f5 at this point, I had received this error: “Error while trying to run project: unable to start debugging on the web server. The web server has been locked down and is blocking the DEBUG verb, which is required to enable debugging. Click help for more information.”

    image004.jpg

     

    So I searched and found this link about the error:

    http://www.velocityreviews.com/forums/t91432-the-web-serve-has-been-locked-down-and-is-blocking-the-debug-verb.html

     

    The solution was as follows:

    add DEBUG to allowed verbs of the URLScan.ini file which is located at:

    C:\WINDOWS\system32\inetsrv\urlscan

    (see below)

     

    image006.jpg

     

    Do an IISRESET (Type iisreset in a command prompt window)

     

    I Tried f5 again at this point and I received this error: “Error while trying to run project: Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone. Click help for more information.”

    image008.jpg

     

    I web searched for it and found this blog article about the error:

    http://geekswithblogs.net/ranganh/archive/2005/12/30/64446.aspx

     

    it said to modify my internet security setting like this: (start, control panel, internet options, security tab, click internet zone, click custom settings)

    change it from automatic logon only in intranet zone to “Automatic logon with current user name and password” ( I imagine you also could use prompt just fine?)

    image010.jpg

     

    Hit f5 in vs and it should work now.

    Full story

    Comments (0)

  • 1990 300zx NA AT 199k mi 3900obo

    CLICK for PICS

    rebuilt transmission with less than 100 miles (under 3 year warranty with certified transmission)
    new injector wiring, 1 new injector (new njk sparkplugs with that)

    oil change every 3000miles with filter since 178k by me (mobil high mileage, fram filter)
    great motor, dyno'd at 174rwhp (so i didn't bother to test compression beacuse i think it's good)
    new timing belt at 180k
    new water pump at 180k
    new alternator at 180k
    new 1 piece z1 drive shaft
    SPL adjustable upper arms
    SPL adjustable tension rods
    3 great tires (bought at ~180k)
    CDplayer (sirius/hd radio)
    500watt amp (not hooked up)
    2 10inch subs (not hooked up)
    viper aftermarket alarm and remote start
    power windows great
    heated mirrors great
    climate control works (see below about A/C)


    the bad:
    third brake light doesn't work, electrical problem
    left t-top leaks ONLY in a very heavy rain, and it's only a tiny random drip, usually when you stop at a light.
    e-brake doesn't work
    spedometer and temp gauge are broke (odometer works, needs gauges)
    front lower crossmember needs replaced (previous owner made a custom lower arm adjustable camber mod to it... bad news)
    one horrible tire (see above)
    air conditioning has no coolant (may have a leak, needs tested)
    unsteady idle (hurst says it might possibly be idle control motor)
    1 weak injector as per hurst when the other injector was replaced (@198.5k)
    cracked right steering boot on tie rod( i have part, just never put it on )
    antenna won't go down (wind bent, motor dead?)
    various nips and chips in paint and clear coat is peeled in places on rear quarters.
    carpet is curled in hatch area

    NOT save to drive until lower crossmember is fixed and spedo is fixed, otherwise it's good to go. for those 2 things i Estimate (approx 1000 in parts & labor if you find used parts)

    I love this car and will miss it greatly but i just bought an 06 enthusiast 350 so it's time to move on and make room in the garage.

    Great parts car or a fixer-upper
    this is a full disclosure, please come see

    [913] 219_1433 (james)
    $3900 OBO (cost of my new injector and rebuilt transmission)

    Full story

    Comments (0)