Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics 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 October 17th, 2005, 09:48 PM
Registered User
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hnsmall
Default Server object, ASP 0177 (0x80004002)

Hi experts,

I've created a new COM component by delphy 6.0; compiled the component, installed them in the COM+Applications. In the Delphi Code for SDC3thParty there is a New findPeople Method.

I've created an ASP pasge to work with this COM component also. In the content of ASP page has the statement below:

set objApp = Server.CreateObject("SDC3thParty.findPeople").

I'm getting an error on the following line in my ASP Program.

Server object, ASP 0177 (0x80004002)

No such interface supported

/3rdPartyIntegration/tokenlogin.asp, line 11

I'm running windows XP Pro SP1 and IIS5. I'm running the

application under IUSR_MACHINE.

Could you please advice?

HnSmall



 
Old May 11th, 2006, 09:11 AM
Registered User
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

I am with the same problemam.

Does any body knows how to solve this problemam?

My MSN and active e-mail is [email protected] !

Please help me

Tnks

 
Old May 11th, 2006, 09:38 AM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello HnSmall - It looks to me like you probably have found your answer by now... but your error lies in the use of Server.CreateObject. The string that you pass in to CreateObject follows the syntax of the application name and class of the object to create - this is known as the ProgId.

For example, lets say you have written a COM application named "MyApp" and in that application you have a public and createable class named "MyClass", and in that class you ahve a method named "findPerson" - for this example, lets say that the findPerson returns a the first person who's name starts with the letter passed in. In this case the ProgId is "MyApp.MyClass".

You would use it like this:

dim obj
set obj = Server.CreateObject("MyApp.MyClass")
response.write obj.findPerson("W")

So... from this, you can see your problem is that you are attempting to create an object with what looks like the class.methodName - which won't work.

I hope this helps.

Woody Z http://www.learntoprogramnow.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Server object error 'ASP 0177 : 800401f3' lizmorley BOOK: Beginning ASP 3.0 0 February 11th, 2008 07:48 AM
Server Object error 'ASP 0177 : 800401f3' geeta Classic ASP Professional 16 July 23rd, 2007 09:41 AM
Chapter16 :Server object, ASP 0177 (0x80004005) maybeyou BOOK: Beginning ASP 3.0 0 July 13th, 2006 04:49 AM
Server object, ASP 0177 (0x800401F3) crmpicco Classic ASP Professional 2 May 1st, 2006 02:23 PM
Error : Server Object, ASP 0177(0x800401F3) InsouciantCoquette Classic ASP Components 2 February 21st, 2006 09:26 PM





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