[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Server.CreateObject Failed ... No such interface supported

Posted on 2004-10-25
10
Medium Priority
?
3,166 Views
Last Modified: 2011-10-03
Server object error 'ASP 0177 : 80004002'

Server.CreateObject Failed

/fxpop.asp, line 4

No such interface supported

This is a COM Object I have created, registered and given correct permissions to. The COM is an Active-X Library written in Delphi 5 (Pascal). The component works fine in InterDev's environment (IE: it prompts me for the right properties/functions when I'm writing the ASP page) but returns this error message.

It could still be a permissions error but please only post permissions suggestions if you are confident about permission changes.
0
Comment
Question by:thefritterfatboy
  • 4
  • 3
8 Comments
 
LVL 3

Expert Comment

by:WhisperUK
ID: 12400846
silly question: have you restarted or preferably rebooted the web server?
0
 
LVL 10

Author Comment

by:thefritterfatboy
ID: 12401623
>> silly question: have you restarted or preferably rebooted the web server?

Yeah - it's local machine so I've done all the easy stuff. I've run iisreset quite a few times, too. (You have to in order to register a DLL again.)
0
 
LVL 15

Expert Comment

by:Thogek
ID: 12406285
Are there any objects/interfaces that your COM object depends on that might not be accessible to the ASP/IIS environment?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
LVL 10

Author Comment

by:thefritterfatboy
ID: 12408526
>> Are there any objects/interfaces that your COM object depends on that might not be accessible to the ASP/IIS environment?

Nope. Good question, though.

The object merely connects to a pop3 server.

I have a suspicion it's the initial interface. The parent interface is set to IDispatch (I tried the standard IUnknown, too) and I feel there is something 'wrong' with this interface.

It's frustrating having the Development Environment prompt you for the correct properties and functions yet not being able to use them!
0
 
LVL 15

Expert Comment

by:Thogek
ID: 12412872
When this error occurs while attempting to use database connection objects, it often has to do with permissions problems related to ASP/IIS accessing the database.

You might wanna verify exactly what permissions, logons, etc., are necessary to connect to the POP server in question, and whether those permissions apply to your ASP page while it runs under IIS (i.e., likely under the IUSR_machinename Windows user account).

Another possibility is that your COM object is trying to use some other (common system?) object, but finding a version of that object that is different from the one it expects.  (This can happen, e.g., when you mix MSXML DOM objects of different versions.)

Also verify that the COM object isn't trying to open any local or network files, etc.
0
 
LVL 15

Accepted Solution

by:
Thogek earned 1500 total points
ID: 12412914
Another interesting note about COM vs. Automation objects: http://groups.google.com/groups?hl=en&lr=lang_en&selm=4084f755%241%40newsgroups.borland.com
0
 
LVL 10

Author Comment

by:thefritterfatboy
ID: 12415081
>>When this error occurs while attempting to use database connection objects, it often has to do with permissions problems related to ASP/IIS accessing the database.<<

No database is used.

>>You might wanna verify exactly what permissions, logons, etc., are necessary to connect to the POP server in question, and whether those permissions apply to your ASP page while it runs under IIS (i.e., likely under the IUSR_machinename Windows user account).<<

All accounts on this machine have internet access. POP3 authentication is sent using http. No Windows auth occurs in that bit.

>>Another possibility is that your COM object is trying to use some other (common system?) object, but finding a version of that object that is different from the one it expects.  (This can happen, e.g., when you mix MSXML DOM objects of different versions.)<<

The COM object is being created on this machine. But good suggestion nonetheless.

>>Also verify that the COM object isn't trying to open any local or network files, etc.<<

Nope - it's stripped to the barebones to try and get the object working.

Your Automatation link is helpful - I will read up on that, thanks.
0
 
LVL 15

Expert Comment

by:Thogek
ID: 12733095
Did the Automatation link I gave turn out to be of any help?
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses

613 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