ASP Server 500 Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cain

    ASP Server 500 Error

    HI,

    I am getting the following error, and after searching for several KB
    articles, I have bee unsuccessful. Not even a clue.

    VBScript runtime (0x800A01AD)
    ActiveX component can't create object: 'Server.HTMLStu ff'
    /asp/server.asp, line 3


    Here's the code I am trying to run, which the "Server" is a file
    called "server.dll " which is in my C:\winnt\system folder. I am using
    an ASP book for this, but I can't make out what I did wrong. Other
    ASP pages on my server come up fine. Please let me know if you see
    anything wrong. .

    <%
    Set MyClient = CreateObject("S erver.HTMLStuff ")
    Response.write MyClient.WriteT ags("Advanced Global Solutions. Home of
    all your programming needs.", _
    "Programmin g, Network Services")
    %>

    Thanks in advance for anyone willing to take the time to look at this.
    Chris
  • Aaron Bertrand - MVP

    #2
    Re: ASP Server 500 Error

    Did you register the DLL using regsvr32?

    --
    Aaron Bertrand
    SQL Server MVP
    Please contact this domain's administrator as their DNS Made Easy services have expired.





    "cain" <cain410@yahoo. com> wrote in message
    news:9dj1tv4k93 chsl2k8bh2kmpml fal99jkon@4ax.c om...[color=blue]
    > HI,
    >
    > I am getting the following error, and after searching for several KB
    > articles, I have bee unsuccessful. Not even a clue.
    >
    > VBScript runtime (0x800A01AD)
    > ActiveX component can't create object: 'Server.HTMLStu ff'
    > /asp/server.asp, line 3
    >
    >
    > Here's the code I am trying to run, which the "Server" is a file
    > called "server.dll " which is in my C:\winnt\system folder. I am using
    > an ASP book for this, but I can't make out what I did wrong. Other
    > ASP pages on my server come up fine. Please let me know if you see
    > anything wrong. .
    >
    > <%
    > Set MyClient = CreateObject("S erver.HTMLStuff ")
    > Response.write MyClient.WriteT ags("Advanced Global Solutions. Home of
    > all your programming needs.", _
    > "Programmin g, Network Services")
    > %>
    >
    > Thanks in advance for anyone willing to take the time to look at this.
    > Chris[/color]


    Comment

    • cain

      #3
      Re: ASP Server 500 Error

      No, unfortunately I have not. I'm not quite sure which .dll to
      register?

      Thanks


      On Fri, 5 Dec 2003 13:35:11 -0500, "Aaron Bertrand - MVP"
      <aaron@TRASHasp faq.com> wrote:
      [color=blue]
      >Did you register the DLL using regsvr32?[/color]

      Comment

      • Aaron Bertrand [MVP]

        #4
        Re: ASP Server 500 Error

        > No, unfortunately I have not. I'm not quite sure which .dll to[color=blue]
        > register?[/color]

        Uh, what DLL belongs to "Server.HTMLStu ff"? I couldn't find any reference
        to that ProgID on the web, so it must be a DLL you have in-house.

        --
        Aaron Bertrand
        SQL Server MVP
        Please contact this domain's administrator as their DNS Made Easy services have expired.



        Comment

        • cain

          #5
          Re: ASP Server 500 Error

          Ok, I completely spaced on that. Sorry, I created it using a
          reference book I have. Do I have to register these each time I create
          a DLL file? I wasn't aware that I had to do that, but it makes sense.

          Thanks



          On Sun, 14 Dec 2003 14:50:57 -0500, "Aaron Bertrand [MVP]"
          <aaron@TRASHasp faq.com> wrote:
          [color=blue][color=green]
          >> No, unfortunately I have not. I'm not quite sure which .dll to
          >> register?[/color]
          >
          >Uh, what DLL belongs to "Server.HTMLStu ff"? I couldn't find any reference
          >to that ProgID on the web, so it must be a DLL you have in-house.[/color]

          Comment

          • Aaron Bertrand - MVP

            #6
            Re: ASP Server 500 Error

            > Do I have to register these each time I create[color=blue]
            > a DLL file?[/color]

            Yes, this is how the system knows what it is and what it does.

            --
            Aaron Bertrand
            SQL Server MVP
            Please contact this domain's administrator as their DNS Made Easy services have expired.



            Comment

            Working...