Wrox Programmer Forums
|
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
 
Old May 7th, 2004, 06:42 AM
Registered User
 
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
 
Old May 8th, 2004, 07:22 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

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
 
Old May 10th, 2004, 10:22 PM
Registered User
 
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Everything works fine on Windows 2000 Server.

So I don't see any issues with the component or the CreateObject statement.

Thanks

 
Old May 11th, 2004, 01:43 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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?
 
Old May 11th, 2004, 02:17 AM
Registered User
 
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

 
Old May 11th, 2004, 02:27 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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?
 
Old May 11th, 2004, 03:40 AM
Registered User
 
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?

 
Old May 11th, 2004, 03:50 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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?
 
Old May 11th, 2004, 06:20 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

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
 
Old May 12th, 2004, 02:00 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP & Excel - Permission denied: 'CreateObject' shamigc Classic ASP Components 1 May 9th, 2006 06:58 PM
(0x800A0046) Permission denied,not IIS permission! David Hay Classic ASP Basics 3 April 30th, 2006 10:47 PM
FSO CreateObject Permission Denied palvin Classic ASP Professional 0 December 22nd, 2005 02:23 PM
Permission Denied hamidmq Javascript How-To 2 March 10th, 2005 09:41 AM
Permission denied: 'createobject' on Windows 2003 kri_chowdary Crystal Reports 0 February 23rd, 2005 06:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.