About Us Products Services Partners Certification Testimonials Contact Us Support
Call Us :(718) 361-1010
Lansend Microsoft Certified Partner Microsoft Small Business Specialist

Display detailed ASP 500 errors in IIS 7

clock May 29, 2014 09:58 by author Ashwin Pai

There are two requirements for this , most articles do not mention the second requirement.

1. In the ASP configuration set " Send error to browser" to true

You can also do it using the the command-line tool AppCmd.exe

appcmd.exe set config "Default Web Site" -section:system.webServer/asp /scriptErrorSentToBrowser:"True"


2. In the Error pages Configuration go to " Edit Feature Settings" on the right & select " Detailed Errors"


Note this applies to all errors.

Providing a website access to a folder on another server in IIS 7

clock June 26, 2013 09:04 by author Ashwin Pai
  1. On the server that has the folder to which the web server ( other server) will connect , create the share Create a local user ( to avoid domain issues)Give that local user appropriate rights to that share.
  2. On the other server that has the website, Create a Virtual directory In the website.

  3. Specify the pass through authentication , by clicking on Connect as

  4. Select Specific user & click on SET

  5. Provide the username & password for the user you created on the first server in step 1, make sure you specify server name

  6. Ok out till you reach the screen in step 3 & clcik test settings. If you have done it right you should get a connect succesfull response.
  7. If you do not get a succesfull response.
    Check to see if you can connect to the share & map the drive in Windows.
    Netbios traffic must flow between the two servers.

Enabling 500 errors in IIS 7

clock October 25, 2011 10:45 by author Ashwin Pai

Debugging ASP pages on IIS 7

An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click here to find out more about this error.

In feature View

1. click on ASP

2. Expand Debugging properties

3. Change " Send Errors to Browser" to True.

That's it . You may or may not have to restart the website , I did not have to.



No such interface supported SMTP logs not generated

clock October 18, 2011 08:03 by author Ashwin Pai

When you install SMTP on Windows 2008 Server , SMTP logs may not be getting generated. Websites may or may not be sending out emails & when you click on Current sessions in IIS 6.0 manger you get the message " No such interface supported".

While not obvious the ODBC Logging module a role service in Server Manager needs to be installed.

Windows Server 2008 SMTP Service logging


Thank you Steve Schofield


still does not work then try this.

Close MMC

C:\Windows\System32\inetsrv>regsvr32 smtpsnap.dll
C:\Windows\System32\inetsrv>regsvr32 smtpadm.dll

Reopen mmc

Thanks UnderCoverGuy

ASP.NET is not authorized to access the requested resource

clock November 18, 2010 16:43 by author Ashwin Pai

When you build a website in ASP.NET on  IIS 7.0 parts of your website may not work & display the error shown below.

In this instance the website is sending an order confirmation email.

The reason you get this error is that the default configuration of IIS 7.0 uses the user MACHINE NAME\Network Service to execute some types of anonymous access and not IUSR_MACHINENAME.

You have two options one is to setup impersonation by editing the web.config   file if you are just the system admin & are uncomfortable messing around with the web.config file then the simpler option is to give the  user MACHINE NAME\Network Service modify rights the folder in question which in this case  is C:\inetpub\mailroot\Pickup\



Server Error in '/' Application.

Access to the path 'C:\inetpub\mailroot\Pickup\b47ff1f1-dc5a-4fed-a8c2-a80d7c26d901.eml' is denied.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path 'C:\inetpub\mailroot\Pickup\b47ff1f1-dc5a-4fed-a8c2-a80d7c26d901.eml' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

If it helped would appreciate a rating star.

Microsoft Certified Partner


Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618




    <<  March 2021  >>

    View posts in large calendar

    Sign in

    About Us Products Services Partners Certification Testimonials Contact Us Support Site Map Copyright © 2021. All Rights Reserved.