Results 1 to 5 of 5

Thread: ASP and IIS 5

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2001
    Location
    Alberton, Gauteng, South-Africa
    Posts
    48

    Unhappy

    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
    ;-)
    Jaco
    South-Africa

  2. #2
    Guest
    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

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2001
    Location
    Alberton, Gauteng, South-Africa
    Posts
    48

    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
    ;-)
    Jaco
    South-Africa

  4. #4
    Addicted Member tonyenkiducx's Avatar
    Join Date
    Oct 2000
    Location
    London England
    Posts
    147
    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.

  5. #5

    Thread Starter
    Member
    Join Date
    Jan 2001
    Location
    Alberton, Gauteng, South-Africa
    Posts
    48

    Unhappy Did that as-well

    Hey there

    I did that as-well but no joy!!

    Cheers
    ;-)
    Jaco
    South-Africa

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width