Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP XML Using ASP 3 and XML. See also the XML category for more XML discussions not relating to ASP. NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 31st, 2006, 08:30 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default one user unable to create xmlhttp object

I have one user who is running Internet Explorer version:
Version 6.0.2800.1106.
SP1;Q823353

I have the following code that tries to create the xmlhttp object. For some reason, it will not create for her. I thought most browsers were covered by this code.
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e2) {
xmlhttp = false;
}
}
if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
xmlhttp = new XMLHttpRequest();
}

Please advise.
Thanks.
Melissa Mussitsch
  #2 (permalink)  
Old August 31st, 2006, 09:14 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Melissa,

Is their browser set up to "script ActiveX controls marked safe for scripting"?

This setting can be found under tools -> internet options -> security -> custom level

HTH,

Chris



  #3 (permalink)  
Old August 31st, 2006, 09:48 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Unfortunately this setting is set to enabled (i.e. Aktivieren since she is over in Germany).

But I do believe it is some browser setting since a colleague of hers can execute the code fine. Do you think upgrading to IE 6 sp2 will fix her problem?

Thanks.
Melissa


Similar Threads
Thread Thread Starter Forum Replies Last Post
Encoding & xmlhttp object rajn ASP.NET 1.0 and 1.1 Professional 1 April 22nd, 2007 07:56 AM
Chap 4 Unable to create user in SQL Exprs VictorVictor BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 January 23rd, 2006 12:10 PM
XMLHTTP object lian_a Classic ASP XML 4 January 19th, 2005 10:18 PM
Unable to create Excel object neha_jn Beginning VB 6 1 September 28th, 2004 10:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.