For Programmers: Free Programming Magazines  


Home > Archive > ASP > June 2007 > Sample ASP script can't instantiate object









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Sample ASP script can't instantiate object
Jon Paal [MSMD]

2007-06-24, 6:56 pm

trying to test these old guys on win xp pro sp2

http://support.microsoft.com/kb/249290




Sample ASP script can't instantiate object


--------------------------
[code]
Set objASP2HTM = Server.CreateObject("IISSample.Asp2Htm")

[error]
Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

-------------------------


found the msjava.dll exists on machine
get this error message for registering dll

---------------------------
Registry Editor error message
---------------------------
Cannot import C:\windows\system32\msjava.dll: The specified file is not a registry script.

You can only import binary registry files from within the registry editor.

any suggestions ?


Jon Paal [MSMD]

2007-06-24, 6:56 pm

got it registered but same object error

still open to ideas


Daniel Crichton

2007-06-25, 7:56 am

Jon wrote on Sun, 24 Jun 2007 12:23:42 -0700:

> trying to test these old guys on win xp pro sp2
>
> http://support.microsoft.com/kb/249290
>
> Sample ASP script can't instantiate object
>
> --------------------------
> [code]
> Set objASP2HTM = Server.CreateObject("IISSample.Asp2Htm")
>
> [error]
> Server object error 'ASP 0177 : 800401f3'
>
> Server.CreateObject Failed
>
> -------------------------
>
> found the msjava.dll exists on machine
> get this error message for registering dll
>
> ---------------------------
> Registry Editor error message
> ---------------------------
> Cannot import C:\windows\system32\msjava.dll: The specified file is not a
> registry script.
>
> You can only import binary registry files from within the registry editor.
>
> any suggestions ?
>


To register a dll, you use regsvr32.exe, eg.

regsvr32 c:\windows\system32\msjava.dll

Where on Earth did you find any reference to importing a DLL into the
registry?

As to those components working at all, they were written for IIS4 on Windows
NT 4. I wouldn't be surprised if they don't work on XP/2003/Vista, and
they're certainly no longer supported by MS.

Dan


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com