Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   Permission denied error (http://www.velocityreviews.com/forums/t788654-permission-denied-error.html)

zbob 07-18-2003 11:17 AM

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!


All times are GMT. The time now is 05:15 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57