469,354 Members | 2,046 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,354 developers. It's quick & easy.

Permission denied error

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(...).Meth od'

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



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #1
0 2190

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by msnews.microsoft.com | last post: by
6 posts views Thread by Jon Montana | last post: by
2 posts views Thread by PM Creyghton | last post: by
1 post views Thread by Mark E. Hamilton | last post: by
2 posts views Thread by Taishi | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.