Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

(0x800A0046) Permission denied. Any ideas ?

109 views
Skip to first unread message

Oleg

unread,
Sep 27, 2001, 10:09:14 PM9/27/01
to
Hello there!
I have a question about weird behaviour of my ActiveX DLL within ASP
page.
Here are some in-depth details:

I have created simple AcitveX DLL (VB6) that is gettings 2 strings and
as a result - return string as well ( Extract method ).
So, when I try to call this ActiveX DLL from my local web-server (NT2K
Prof, IIS5) - everything is working without any problems:

Dim oKeygen
Set oKeygen = CreateObject("syActiveX.SyComponent")
Response.Write "Result=" & oKeyGen.Extract(sStr1, sStr2)

Well, after testing I put this ActiveX DLL to our main Web Server
(also this server is domain controller, WinNT2K Server, IIS 5.0) and
register it there.

At the first time calls from ASP scirpt were working correctly. But
then our admin has installed patch from NIMDA. And my script somehow
stopped working
with following mistake message:

Microsoft VBScript runtime (0x800A0046)
Permission denied

We have checked permissions to this exact folder (where script is
located) for Anonymous user - it's the same as in my local IIS
server...

And throuhgout IIS Management Console :

Web Site->Properties->Directory Security->Anonymous access and
authentication control ->Anonymous Access->User Name here is
IUSR_WebHostName
and check-box Allow IIS to control password is ticked...

So, does anybody have any clue - what can cause this problem ?
Thank you in advance!

Oleg aka Nemo
ICQ # 18550104

Rob Russell

unread,
Oct 1, 2001, 3:28:15 AM10/1/01
to
I am getting the same exact error code and description when my simple FSO
file script object attempts to open a text file. I checked the file itself
and the IIS permissions on the directory and the file and all seem to be ok.
There are multiple people working on the site and I do not know if someone
installed a patch for NIMDA. Please email me if you find an answer.

Thanks
Rob

"Oleg" <o...@bigfoot.com> wrote in message
news:5b50a9ed.01092...@posting.google.com...

Oleg Vyazovtsev

unread,
Oct 4, 2001, 1:35:10 AM10/4/01
to
Hi there!

Yeah, I found a solution.

Somehow our MSVBVM60.DLL file didn't contain any permissions to EVERYONE group for reading. That's
why any attempts to read this DLL by IUSR_HostName User were declined with mentioned above mistake.
So you can just check permissions to this exact DLL.

You can read about this kind of bug here (MSDN or Microsoft TechNet)

BUG: ASP Error 80070005 "Server.CreateObject Access" When You Create a Visual Basic Component
Q278013

I hope that it will help you somehow,
Good luck....

Oleg
ICQ # 18550104


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Oleg

unread,
Oct 4, 2001, 1:39:17 AM10/4/01
to
Hi there !
I don't know about FSO.. Cause I'm dealing exactly with my own ActiveX
DLL.
Nevertheless I found a soultion (maybe it can help you somehow....)

Somehow our MSVBVM60.DLL file didn't contain any permissions to
EVERYONE group for reading. That's why any attempts to read this DLL

by IUSR_HostName User were declined with mentioned mistake. So you can


just check permissions to this exact DLL.

You can read about this kind of bug here (MSDN or Microsoft TechNet)

BUG: ASP Error 80070005 "Server.CreateObject Access" When You Create a
Visual Basic Component
Q278013

Good luck.


"Rob Russell" <rob_r...@mailexcite.com> wrote in message news:<OQppK9kSBHA.1488@tkmsftngp03>...

0 new messages