Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Troubles with Outlook Web Access on Exchange5.5 SP4

Posted on 2003-11-26
Medium Priority
Last Modified: 2010-05-18

Every mornig our Outlook Web Access(OWA) is in error. When I try to approache e-mail throug OWA I receive the following error in my Internet Browser:

error 'ASP 0115'
A trappable error occurred in an external object. The script cannot continue running.

The only way to fix this problem for the moment is to reboot the OWA server. OWA is running on a different server then de Exhange servers.

I've tried to reregister the ASP.DLL. Also this fix the problem.

How to resolve this problem???

Question by:dedirecteur
  • 4
  • 3

Expert Comment

ID: 9823415

Found on the web maybe it helpes:


     When permissions are incorrectly set or too restrictive, you may get
     the following error messages when you do a database query from
     Internet Information Server (IIS):

     - Using ADO with Incorrect Permissions:

     error 'ASP 0115'

     Unexpected error


     A trappable error occurred in an external object. The script cannot
     continue running.

     - Using IDC with Incorrect Permissions:

     Unable to Connect to Server and Requested Header Not Found
     error messages among other conditions where a submitted URL will
     appear to hang in the browser has also been noted in
     conjunction to incorrect permission settings.


     When you perform an Internet Database Connector (IDC) or ActiveX Data
     Objects (ADO) query, the query is executed in context of the
     Authenticated web user. A suggested set of permission would be to
     grant your anonymous user (by default, IUSR_machine-name) or the
     authenticated Windows NT user account, the following permissions to
     the directories:


     - When you apply these permissions, only apply them to all
     existing files unless otherwise noted.

     - When the IUSR account is noted you will need to add all users
     accounts that will be authenticated on the IIS server.

     1. Grant IUSR Read permission to the Root directory of the drive
     that ASP is installed on.

     2. Grant IUSR Write permission to the Windows NT directory.
     (See Note1 below for a workaround.)

     3. Grant IUSR Read permission to the System32 directory.

     4. Grant IUSR Read permission to the Inetserv directory.

     5. Grant IUSR Read permission to the InetPub (or content directory)
     (By default, the next two directories are located in Program Files,
     Common Files, System and are only needed for ASP/ADO queries).

     6. Grant IUSR Read permission to the OLE DB directory.

     7. Grant IUSR Read permission to the ADO directory.

     8. Grant IUSR Change permissions to the database file and directory.

     Note1: Jet uses the System Temp and Tmp environment variables to
     specify the location of temporary files that are created during Jet
     operations. By default these environment variables are defined
     for users and are not system-wide settings. To set up the variables,
     you can do one of the following options:

     Option 1

     In the Autoexec.bat file, add something similar to the following two

     Set TEMP=C:\Temp
     Set TMP =C:\Temp

     Option 2

     1. Right click My Computer.

     2. Click Properties, and select the Environment tab.

     3. Click an entry in the System Variables List box.

     4. In the Variable and Value Edit control, type the following:

     Variable = Temp
     Value    = C:\Temp
     Click the Set Button

     You will see Temp has been added to the list of system variable.

     5. Repeat the steps above to add the Tmp variable.

     6. Log off and restart the computer.
LVL 24

Expert Comment

by:David Wilhoit
ID: 9826388

Author Comment

ID: 9831361
Hello Kidego,

Click the Virtual Directory tab, and then change the permissions to Execute (including the script)
This is already done. This is not the problem.

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

LVL 24

Expert Comment

by:David Wilhoit
ID: 9832196

What version of Windows and Exchange?


Author Comment

ID: 9837028
Windows NT4 Sp6a
Exchange 5.5. sp4

LVL 24

Accepted Solution

David Wilhoit earned 750 total points
ID: 9838689
Ok. you know, I had the same issue for a while here, just a couple of months ago. My OWA was on a separate server in a DMZ, and I thought I had a communications issue. Wrong. IIS 4.0 was just boned, and I couldn't figure it out. Every day, helpdesk was calling and telling me that people couldn't connect to the OWa server. so I got mad, rebuilt the box as W2K and SP4, and installed OWA again, by itself, on IIS 5.0. Never had a single issue since.

all the articles I tried couldn't resolve the ASP 0115 error, though it did disappear for a couple of days before it came back again. But once I put OWA on the IIS 5.0 server, it's been stable. It's a PIII 1 GHz, dual, 256 MB RAM. It's also my SMTP server now. That'sot solving your issue, but, I can promise that this will go away with OWA on W2K, if that helps any.


Author Comment

ID: 9842145
I think this is a possible solution for my problem.

It's worth to try.

Many thanx.


LVL 24

Expert Comment

by:David Wilhoit
ID: 9842471
Let me know if you need assistance. Go out to Technet and get the latest OWA patch while you're at it. All I can say is, OWA on IIS 5.0 is way more stable. I'll do what I can to make sure it works out for you :)


Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
Exchange administrators are always vigilant about Exchange crashes and disasters that are possible any time. It is quite essential to identify the symptoms of a possible Exchange issue and be prepared with a proper recovery plan. There are multiple…
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question