Troubles with Outlook Web Access on Exchange5.5 SP4


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???

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


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.
David WilhoitSenior Consultant, ExchangeCommented:
dedirecteurAuthor Commented:
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.

Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

David WilhoitSenior Consultant, ExchangeCommented:

What version of Windows and Exchange?

dedirecteurAuthor Commented:
Windows NT4 Sp6a
Exchange 5.5. sp4

David WilhoitSenior Consultant, ExchangeCommented:
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.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dedirecteurAuthor Commented:
I think this is a possible solution for my problem.

It's worth to try.

Many thanx.


David WilhoitSenior Consultant, ExchangeCommented:
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 :)

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.