470,648 Members | 1,612 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,648 developers. It's quick & easy.

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.HTMLStuff'
/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("Server.HTMLStuff")
Response.write MyClient.WriteTags("Advanced Global Solutions. Home of
all your programming needs.", _
"Programming, Network Services")
%>

Thanks in advance for anyone willing to take the time to look at this.
Chris
Jul 19 '05 #1
5 2208
Did you register the DLL using regsvr32?

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"cain" <ca*****@yahoo.com> wrote in message
news:9d********************************@4ax.com...
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.HTMLStuff'
/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("Server.HTMLStuff")
Response.write MyClient.WriteTags("Advanced Global Solutions. Home of
all your programming needs.", _
"Programming, Network Services")
%>

Thanks in advance for anyone willing to take the time to look at this.
Chris

Jul 19 '05 #2
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"
<aa***@TRASHaspfaq.com> wrote:
Did you register the DLL using regsvr32?


Jul 19 '05 #3
> No, unfortunately I have not. I'm not quite sure which .dll to
register?


Uh, what DLL belongs to "Server.HTMLStuff"? 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
http://www.aspfaq.com/
Jul 19 '05 #4
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]"
<aa***@TRASHaspfaq.com> wrote:
No, unfortunately I have not. I'm not quite sure which .dll to
register?


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


Jul 19 '05 #5
> Do I have to register these each time I create
a DLL file?


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

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Bruce Schechter | last post: by
reply views Thread by Suresh | last post: by
10 posts views Thread by sara | last post: by
5 posts views Thread by James | last post: by
reply views Thread by mvsguy | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.