Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Permission denied error

Thread Tools

Permission denied error

Posts: n/a

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") =
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 ***
Don't just participate in USENET...get rewarded for it!
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wildcard extension ASP.Net httphandler gives 401.3 ACL permission denied error on a directory Ken Yee ASP .Net 2 10-07-2005 04:03 PM
permission denied error message =?Utf-8?B?S2Vu?= ASP .Net 1 02-22-2005 12:13 AM
Error:Permission denied in IExploer with XP service pack 2 Jordan ASP .Net 0 12-10-2004 05:14 PM
Error : "SELECT permission denied on object" Mr.KisS ASP .Net 1 07-09-2004 07:18 AM
Permission denied error 2nd Post Taishi ASP .Net 2 02-11-2004 03:04 PM