Solved

Server.CreateObject Access Error - IIS 6.0 / Helm / Linkpoint

Posted on 2004-04-30
20
5,046 Views
Last Modified: 2007-12-19
Running updated Windows 2003 / IIS 6.0 with .NET Framework installed with Helm control panel (http://www.webhostautomation.com/).  I have installed or tried to register the LinkPoint COM object wrapper.  That part works.  but when it is called via a web browser:
Server object error 'ASP 0178 : 80070005'

Server.CreateObject Access Error

/test/POSTAUTH.vb, line 32

The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

Line 32 is Set order = Server.CreateObject("LpiCom_6_0.LPOrderPart")

It seems everywhere I look, it speak about Windows 2000 or NT.  Does anyone know of a fix for this?  The DLL is in the system32 folder.  The websites are located on another drive.  

Thanks!

Corey
0
Comment
Question by:coreybryant
  • 10
  • 5
  • 3
  • +2
20 Comments
 
LVL 29

Author Comment

by:coreybryant
Comment Utility
Or even better - how can .NET & ASP co-exist on the same server?  Can some sites be all ASP & some be .NET?

-Corey
0
 
LVL 29

Author Comment

by:coreybryant
Comment Utility
I did find this one site:  http://www.15seconds.com/faq/ISAPI%20Filters/336.htm - but I did not see:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\Filter DLLs in the reg.  I only saw:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\

So I am not certain what I can do but this might seem to do the trick?  Anyone have any particular knowledge in this?  It seems that the LinkPoint COM object uses VB & right now the VB extensions is being directed to the .NET framework?  But I think that they want they pushed over to another ISAPI filter.

-Corey
0
 
LVL 7

Accepted Solution

by:
rhrowson earned 500 total points
Comment Utility
Does the web services account have permisisons on the object and directory -assuming that is in the context in which you are running your process?
0
 
LVL 29

Author Comment

by:coreybryant
Comment Utility
I think you are asking if the DLL file has permissions - I have actually gone thru & added every single user name on LpiCom_6_0.dll & Msvbvm60.dll - but no dice.  

The ASP posts to a VB page & the VB extensions are being filtered thru: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll - the guys over at LinkPoint seem to think this is incorrect or what is causing some of the issues.  The COM object has not been fully tested on Widnows 2003 yet.  My ASP files are filtered thru C:\Windows\system32\inetsrv\ASP.DLL - I even tried to filer the VB files thru the ASP.DLL file on that account but they are telling me I either need ASP or .NET on there - I cannot run both.  I am sure there are thousands of other hosting companies out there running Windows 2003 & there has to be a way.

I found this site: http://www.developer.com/net/asp/article.php/2243151 but it really did not say all that much about runing both on the server.  And then I found this one: http://support.microsoft.com/default.aspx?scid=kb;EN-US;198432 but I was not certain if that had anything to do with it.  And this one looked interesting: http://support.microsoft.com/default.aspx?scid=kb;EN-US;188712

But now I am at a loss.  They called me last night about 7:30 to tell me it seemed to be an ASP / .NET issue.  So I do not know if I should be looking for a fix for ASP / .NET or a fix for the permissions?

Thanks!

-Corey
0
 
LVL 7

Expert Comment

by:rhrowson
Comment Utility
Can you post the relevant win32 Status codes from the IIS log. This will give the error code, but it may help troubleshooting. Does the web services accounts have permissions on the objects, and to create the object. If you are calling a dll, that may have a function call that is not supported in Windows 2003. If that is the case, talk to the vendor
0
 
LVL 29

Author Comment

by:coreybryant
Comment Utility
We got it finally - the other DLLs that were installed needed permissions assigned to them

Thanks!
-Corey
0
 

Expert Comment

by:IxCraZee
Comment Utility
Hi Corey,

I am experiencing the same problem as you were, in Win Svr 2003 & IIS 6.0:

Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
/updateGCBB.asp, line 2
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

Line 2 is: Set oBB = Server.CreateObject("GCBB.BB")

Whenever I call an ASP page which instantiate a COM object, the error occurs. I would like to know what you meant by ur last post on this issue "the other DLLs that were installed needed permissions assigned to them"?

How you fix the problem and set the permission?

Regards,
IxCraZee

0
 
LVL 7

Expert Comment

by:rhrowson
Comment Utility
Make sure the User account that is running the process has control on the objects it is trying to access
0
 

Expert Comment

by:IxCraZee
Comment Utility
Hi rhrowson,

I am logging into the system using administrator, and I do assigned a full-control to the administrator on the objects it is trying to access. But, it still can't work and display the same error message.

Any idea on this? Actually I am new to Windows Server 2003.

Thanks.
IxCraZee
0
 
LVL 29

Author Comment

by:coreybryant
Comment Utility
Are you also speaking about the LinkPoint issue?  If so - there are the other two DLLs from openSSL that were installed.  Check those permissions.

-Corey
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Expert Comment

by:IxCraZee
Comment Utility
Hi Corey,

No, I am not talking about the LinkPoint problem. But, the DLLs problem. I have tried to install another different set of DLLs and they work fine. Just the current set that I am going to use has problem (cannot instantiate due to permission problem). Any idea?

Thanks.
IxCraZee
0
 
LVL 29

Author Comment

by:coreybryant
Comment Utility
No - not really, not without knowing what program. But as rhrowson pointed out.  If you have a specific user group set up that might need to access those files you need to check the permissions.  My issue was there were two other DLLs that did not have the correct permissions applied (not just the LinkPoint COM object) but also the openSSL dlls.

-Corey
0
 

Expert Comment

by:IxCraZee
Comment Utility
Hi Corey,

I do check the files for the permissions, but the problem still arise. It's really weird. And I do not know whether I still miss up anything... :-(

Thanks
IxCraZee
0
 
LVL 29

Author Comment

by:coreybryant
Comment Utility
I would contact the provider your download ntfilemon - http://www.appdeploy.com/downloads/detail.asp?id=81

-Corey
0
 

Expert Comment

by:IxCraZee
Comment Utility
Hi,

I have looked into the Event Viewer->System. I found errors of source type DCOM and has following error message:

"Access denied attempting to launch a DCOM Server. The server is:
{class_id}. The user is IUSR_<machine_name>/<machine_name>, SID=S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx-xxxx."

This occurs everytime I try to access the ASP page. When I refer to some help file from Microsoft, the given instructions are:
- In the Component Services snap-in, navigate to Computers\My
  Computer\DCOM Config.
- In the right pane, locate the program by using its friendly name.
- Right-click the program name and then select Properties.
- On the Security tab, select Customize, and then click Edit.
- Add the user to the permissions list.

The DLLs I use are some components for my web application, not any of the installed program/software. Thus, I can't find any 'friendly name' as mentioned. Any idea on what should I do in order to add the user into the permission lsit for my web application?

Thanks.
IxCraZee
0
 
LVL 29

Author Comment

by:coreybryant
Comment Utility
You might want to start you own new question snce this question dealt specifically with the LinkPoint DLL & no one except the people involved in this question are actually looking at this question now since it is no longer active.  

It sounds like you are having a idfferent issue.  My problem was with the other DLL files.  I am using Helm control panel & I had to give Helm & its users access to those DLL files.
-Corey
0
 

Expert Comment

by:pipes
Comment Utility
Actually, I've been working on this for a very long time and couldn't figure it out. I finally ran into the fix that works for us:
 
http://support.microsoft.com/default.aspx?kbid=810153

My temp fix was to configure the COM+ app as "library application" instead of the default "server application".
0
 
LVL 29

Author Comment

by:coreybryant
Comment Utility
Thanks pipes.  Actually the other two DLL from openssl needed the permissions added appropriately as well.  Once I added those permissions, everything was fine.

-Corey
0
 

Expert Comment

by:CrazyVBr
Comment Utility
First:  Brandy dandy new 2003 Svr.

I have a similar issue with LinkPoint where as if I run LinkPoint on the server via a .vbs file the transaction runs perfect but if I run the LinkPoint process from ASP I get an exception error during the .send method.  Another, possibly related, issue is that some of the inherent com objects in windows don't seem to run from ASP... for example something simple like CDONTS.  That does not run from ASP.   On our old server (WinSvr 2k) all of the inherent objects work perfectly.

Any ideas would be greatly appreciated as we are in a crunch time here :)

Thanks a million in advance..

0
 
LVL 29

Author Comment

by:coreybryant
Comment Utility
It usually helps to create a new question CrazyVBr.  But have you ran FileMon from www.sysinternals.com to see what might be blocking it?

-Corey
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now