Click to See Complete Forum and Search --> : Server object, ASP 0193 (0x8002801D) An error occurred in the OnStartPage method of a


pgnbn
01-31-2005, 08:57 AM
Hi @ll!

I'm using a VB6 COM that was developed by another company. Thus I don't have the source code for it.

On an asp page I have the following:

Set oAction = Server.CreateObject("MyCOM.Action")

And when code runs I get the following error:

Server object, ASP 0193 (0x8002801D) An error occurred in the
OnStartPage method of an external object

I've seen in Component Manager that MyCOM has a method named OnStartPage but that's all I know about it.

The must strange on this problem, is that same code is fully functional on another W2K computer running IIS and on a W2K Advanced Server, but fail on my W2K computer and fails on another W2K Advanced Server that, in fact, is the production server...

All componentes are properly installed in all the servers and IIS seems to have the same configuration...

Anybody has a hint on what's happening? Could you help me on this?

Thanks on advance,
Pedro

lmf232s
01-31-2005, 09:01 AM
The component may make a reference to something that does not exist on your machine.

pgnbn
01-31-2005, 09:06 AM
lmf232s: Any idea on what?

Thanks,
Pedro

lmf232s
01-31-2005, 09:16 AM
no clue, whats are you using the component for.

pgnbn
01-31-2005, 09:38 AM
I'm not absolutely sure on what's done...I've been analysing this error for some time and step on this COM.

I think that this COM does the upload of a image file to the server and then calls another one that stores information about the file on the Database...but I'm not sure.

My partner has the same (at least it seems like) configuration on his computar and all works fine.

I've been searching for information on this for some time and all I find is related with some problems on the OnStartPage that usually's used to share info with the calling asp page but I'm not sure if that's the real problem...

russell
01-31-2005, 07:39 PM
does the error occur when u instantiate the object, or when u try to call a method? If when u try to call a method, lets see the code.

do u have the permissions set up properly on your box?

do ANY custom DLLs work? If not:

Go to the IIS Management console.
Right-click the web site.
Click properties.
Click the Directory Security tab
In the Anonymous Acess panel, click Edit
Make sure Anonymous access is checked and click Edit
Un-check "Allow IIS to control password"
Type in the username and password you log on to the box with.
Confirm the password and click ok.

pgnbn
02-01-2005, 02:30 PM
Thanks guys I managed to solve the problem...

Alll I have done was removing and installing IIS again...and it works...

Don't really know what happened but my problem's solved.

Thank you very much for your help anyway.

Greetings,
Pedro