Permission denied error

Z

zbob

Hello

I have the following configuration:
- Windows 2000 Adv Server
- IIS is running on this machine
- I have some ASP scripts and a global.asa file

In the the global.asa file (in the Application_OnStart section) I create
an instance on a COM object (in fact it is a Windows service that has a
COM interface (the corresponding Windows service is running)). The code
of this section of global.asa:

Sub Application_OnStart
Set Application("ComObject") =
Server.CreateObject("ComObject.Interface")
End Sub

One of my ASP script is called every second by another application and
this ASP script calls one of the COM object's methods. The code of this
ASP script is:

result = Application("ComObject").Method


Most of the time this is working fine, but sometimes this ASP generates
an error 500 page and I have the following error in the IIS log files:
800a0046|Permission_denied:_'Application(...).Method'

The strange thing is that for a few days this error does not happen and
suddenly this error occurs very often (up to every 10 seconds).

I have tried several things but this error always occurs.

Thanks in advance
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top