 |
| Classic ASP Components Discussions specific to components in ASP 3. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

May 7th, 2004, 06:42 AM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Permission denied: 'CreateObject'
I am trying to run a ASP page on Windows 2003 Enterprise Edition Server.
The ASP page creates a object using "CreateObject" method and gives following error:
Microsoft VBScript runtime error '800a0046'
Permission denied: 'CreateObject'
However, when I run the same ASP page on Windows 2000 Server, it works.
Can someone help?
Thanks in advance.
|
|

May 8th, 2004, 07:22 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Hello,
Can you verify that the server has the component installed or that it is typed correctly in the CreateObject statement? I've had this error before, and I believe these were the causes...
Brian
|
|

May 10th, 2004, 10:22 PM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,
Everything works fine on Windows 2000 Server.
So I don't see any issues with the component or the CreateObject statement.
Thanks
|
|

May 11th, 2004, 01:43 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
I think it would help to post some code that shows the object you're trying to create.
The fact that it works on 2000 doesn't say very much. Not everything was taken over to 2003, 2003 is locked down by default on a clean install, you may have a custom component that you didn't install on 2003 or indeed restricted security settings prevent you from creating the object.....
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: The Message (feat Mary J. Blige And Rell) by Dr. Dre (From the album: Chronic 2001) What's This?
|
|

May 11th, 2004, 02:17 AM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I am trying to create a new object of a object in an ActiveX DLL.
Code looks something like this:
Set obj = CreateObject("AA.BB")
I have installed the DLL on 2003 server.
|
|

May 11th, 2004, 02:27 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
How did you install the component? Did you regsvr32 to install it? Can you find the component in the registry?
Also, is the process that calls the DLL allowed to access it?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: 01 - Ambulance by Blur (From the album: Think Tank) What's This?
|
|

May 11th, 2004, 03:40 AM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I used regsvr32 to install the component and there are registry entries for the same.
How to check whether the callee process has access to the DLL?
|
|

May 11th, 2004, 03:50 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
I think you should take a look at the folder the DLL resides in, and see if the process can access that folder.
Alternatively, you can host your DLL inside a COM+ package that you can configure to run under a specific account....
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: miDijunkies by Atari Teenage Riot (Track 6 from the album: Delete Yourself) What's This?
|
|

May 11th, 2004, 06:20 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
|
|
Sorry to but in with something that doesnât relate to this post
Imar
I have just checked out your 'What's This' link. A seemingly impossible interestingly innovative piece of techo brilliance, nice!
Wind is your friend
Matt
|
|

May 12th, 2004, 02:00 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Matt,
And it's also a true chindogu, an unuseless invention, don't you think?? ;)
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|
 |