Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > problem with CreateObject

Reply
Thread Tools

problem with CreateObject

 
 
jim Gigurtsis
Guest
Posts: n/a
 
      08-30-2003
Does anybody know why the second statement below hangs the
call to the server. I am running Win2000 , SP4, IIS 5.0 on
a local machine. I recently applied SP4 and had to re-
install IIS. The code use to work okay under Sp3.

Set TypeLib = Server.CreateObject("Scriptlet.TypeLib")
TempGUID = TypeLib.Guid
Response.Write TempGUID & Chr(13) & Chr(10)
Set TypeLib = Nothing

Thank you
Jim G


 
Reply With Quote
 
 
 
 
Stuart Palmer
Guest
Posts: n/a
 
      08-31-2003
Don't know if this would be your problem but it _mihgt_ be something to do
with norton AV and script blocking being enabled. Disable it and it might
work......not 100% sure thought, but worth a try.

Stu

"jim Gigurtsis" <> wrote in message
news:098f01c36ee2$03b84ca0$...
> Does anybody know why the second statement below hangs the
> call to the server. I am running Win2000 , SP4, IIS 5.0 on
> a local machine. I recently applied SP4 and had to re-
> install IIS. The code use to work okay under Sp3.
>
> Set TypeLib = Server.CreateObject("Scriptlet.TypeLib")
> TempGUID = TypeLib.Guid
> Response.Write TempGUID & Chr(13) & Chr(10)
> Set TypeLib = Nothing
>
> Thank you
> Jim G
>
>



 
Reply With Quote
 
 
 
 
dlbjr
Guest
Posts: n/a
 
      08-31-2003
Jim,

Is this code snippet in the global.asa?
If so, you need to use the <OBJECT> tags instead.

By the way, in the future, use
CreateObject("Scriptlet.TypeLib")
instead of
Server.CreateObject("Scriptlet.TypeLib")
This will allow your code to become easily utilized between a VBScript and
an ASP.



--
dlbjr

Unambit from meager knowledge of inane others,
engender uncharted sagacity.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
comtypes CreateObject problem Maria R Python 0 04-01-2009 02:19 PM
Server.CreateObject Vs CreateObject Sagar ASP General 2 01-15-2008 07:15 PM
server.createobject("cdo.message") from asp is giving error Server.CreateObject Failed ashish ASP General 1 08-14-2007 10:01 PM
urgent problem - Server.CreateObject Failed Anurag Saxena ASP General 0 06-02-2004 06:46 PM
if in asp is CreateObject("Microsoft.XMLHTTP"). Is in asp.net this Server.CreateObject("MSXML2.ServerXMLHTTP") ? Raúl Martín ASP .Net 1 05-13-2004 03:47 AM



Advertisments