Call to guid property of Scriptlet.TypeLib times out

T

Thomas Born

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
([email protected])
 
T

Thomas Born

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,525
Members
44,997
Latest member
mileyka

Latest Threads

Top