Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 11:39 AM
Thomas Born
Guest
 
Posts: n/a
Default Call to guid property of Scriptlet.TypeLib times out

Hi;
I use following code in an ASP page to generate a GUID:

<%
dim obj
Set obj = Server.CreateObject("Scriptlet.TypeLib")
Response.Write(obj.guid)
Set obj = nothing

%>

It worked fine on my WIN2000 computer running IIS. I recently bought a
new computer with XP Pro and this page times out. I now it is the call
to obj.guid. I have seen the same behaviour on another XP machine as
well.

The funny thing is if I paste this code into VB and display the guid
in a message box, it runs without a problem.

Any ideas, is this not supported in XP?

Thanks
Thomas
(tborn_news@hotmail.com)
  #2  
Old July 19th, 2005, 11:46 AM
Thomas Born
Guest
 
Posts: n/a
Default Re: Call to guid property of Scriptlet.TypeLib times out

I found the solution to the problem. My antivirus software had script
blocking activated. After I disabled this, the asp page started to work and
I could see the GUID.

It still would be nice to have this working with script blocking activated.


"Thomas Born" <tborn_news@hotmail.com> wrote in message
news:389b846c.0402032119.7e31f1e4@posting.google.c om...[color=blue]
> Hi;
> I use following code in an ASP page to generate a GUID:
>
> <%
> dim obj
> Set obj = Server.CreateObject("Scriptlet.TypeLib")
> Response.Write(obj.guid)
> Set obj = nothing
>
> %>
>
> It worked fine on my WIN2000 computer running IIS. I recently bought a
> new computer with XP Pro and this page times out. I now it is the call
> to obj.guid. I have seen the same behaviour on another XP machine as
> well.
>
> The funny thing is if I paste this code into VB and display the guid
> in a message box, it runs without a problem.
>
> Any ideas, is this not supported in XP?
>
> Thanks
> Thomas
> (tborn_news@hotmail.com)[/color]


 

Bookmarks

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles