|
-
Feb 1st, 2001, 04:06 AM
#1
Thread Starter
Member
Hey there
I'm in the process of testing my site to move it to a IIS 5 machine running Windows 2000 Professional sp1.
On the IIS4 NT4 SP6 machine it works fine, but as soon as I try it on the IIS5 I get a error:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object
/index.asp, line 66
This line of code that gives the problem:
(66)Set oMyObject = Server.CreateObject("Web_Login.clsHeadline")
(67) varReturn = oMyObject.Get_Rates()
(68) if varReturn = True then
(69) Response.Write "<b>$</b></td><td> " & oMyObject.Dollar & "<br></td><tr><td>"
If anyone can help .. please!
Thanks
-
Feb 1st, 2001, 04:45 AM
#2
It sounds like that a (custom) component you had on your NT 4 machine is not registered on your IIS5 machine. The component resides in some DLL that is not present or not registered at your new machine.
How to solve this:
Open the registry and do a search for "Web_Login.clsHeadline" (without the quotes)
Under the key InprocServer32 you will find the location of the DLL.
Copy the DLL to your new machine, and then register it by typing
regsvr32 yourDllName.dll
at the command prompt in the directory where your DLL resides.
Now the component is registered and should work like it used to do.
HtH
Imar
-
Feb 1st, 2001, 07:05 AM
#3
Thread Starter
Member
Did not work
Hi there
Yes you are right about the custom DLL but it's registered on the Win2K machine but it still doesn't want to work ,, any other idea's
Thanks anyway
-
Feb 1st, 2001, 09:25 AM
#4
Addicted Member
Take your components source, and recompile it using VB under 2000, sounds silly, but it will tell you if theres any problems with your code running under 2K.
-
Feb 1st, 2001, 03:54 PM
#5
Thread Starter
Member
Did that as-well
Hey there
I did that as-well but no joy!!
Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|