Windows Server 2003 r2 64 bit and msxml

Is anyone aware of any reason why the following won't work on a
Windows Server 2003 r2 64 bit Edition? I am simply calling the following 
snippet,
and trying to execute it in a browser window there, just as I do any
other version of Windows:

if (window.ActiveXObject && !window.XMLHttpRequest) {
  window.XMLHttpRequest = function() {
    var msxmls = new Array(
      'Msxml2.XMLHTTP.5.0',
      'Msxml2.XMLHTTP.4.0',
      'Msxml2.XMLHTTP.3.0',
      'Msxml2.XMLHTTP',
      'Microsoft.XMLHTTP');
    for (var i = 0; i < msxmls.length; i++) {
      try {
        return new ActiveXObject(msxmls[i]);
      } catch (e) {
      }
    }
    return null;
  };
//Ike 


0
Ike
6/21/2006 12:06:32 PM
comp.lang.javascript 38071 articles. 0 followers. javascript4 (1315) is leader. Post Follow

2 Replies
513 Views

Similar Articles

[PageSpeed] 16

Ike wrote:

> Is anyone aware of any reason why the following won't work on a
> Windows Server 2003 r2 64 bit Edition? I am simply calling the following 
> snippet,
> and trying to execute it in a browser window there, just as I do any
> other version of Windows:

Which browser is that on Windows Server 2003, is that IE 6? IE 6 usually 
comes with MSXML 3 so you should be able to instantiate 
Msxml2.XMLHTTP.3.0. I have however never worked on 64 bit systems.
MSDN claims that the new MSXML 6 version has a 64 bit redistributable
<http://www.microsoft.com/downloads/details.aspx?familyid=993c0bcf-3bcf-4009-be21-27e85e1857b1&displaylang=en>
so you might want to install MSXML 6 and check whether adding
   Msxm2.XMLHTTP.6.0
to the loop improves things.



-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
0
Martin
6/21/2006 12:37:15 PM
Ike wrote in news:cDamg.9136$o4.4758@newsread2.news.pas.earthlink.net in 
comp.lang.javascript:

> Is anyone aware of any reason why the following won't work on a
> Windows Server 2003 r2 64 bit Edition? I am simply calling the following 
> snippet,
> and trying to execute it in a browser window there, just as I do any
> other version of Windows:
> 
> if (window.ActiveXObject

MS have upped the default security settings for Server 2003, this
probably includes disabling ActiveX support.

http://www.microsoft.com/downloads/details.aspx?FamilyID=d41b036c-e2e1-
4960-99bb-9757f7e9e31b&DisplayLang=en

Rob.
-- 
http://www.victim-prime.dsl.pipex.com/
0
Rob
6/21/2006 8:29:57 PM
Reply:
Similar Artilces:

pass an object to a new window
On IE there is a way to open a window from one page and pass an object to it, when you use showModalDialog. Is there a way to do the same on NS/Mozilla/FireFox? On IE: window.showModalDialog(URL, FreeArgument, Ornaments); FreeArgument. You can use this optional parameter to pass a value of any type to the open dialog box. You can pass a scalar, a string, an array of values, an object, etc. You access this value in the new window by referring to the dialogArguments property of the new window object. Thanks In article <75467213.0502161408.325465ce@posting.google.com>, mitch.tzonev@sr...

Calling data windows from data windows?
Hi to all! Please, let me clear out some basic things about calling windows: - a DataWindow, named BrowseDates i have a button with a method for calling a DataDialog, named AddingAccounts, which looks like: METHOD DNewAccountButton() CLASS BrowseDates LOCAL oAddingAccounts AS AddingAccounts oAddingAccounts := AddingAccounts{} oAddingAccounts:Setup(SELF:Server:TableDate) oAddingAccounts:Show() SELF:Owner:AddChildWindow( oAddingAccounts ) RETURN SELF - This far, everything is ok, and a new windows shows up. But, on a dataDialog I have a button for calling another dataWindow, c...

US-FL-Eglin AFB: SW Systems Eng., Visual InterDev/Visual Studio, SQL Server, .NE (45288832413)
US-FL-Eglin AFB: SW Systems Eng., Visual InterDev/Visual Studio, SQL Server, .NE (45288832413) ============================================================================================== Position: SW Systems Eng. Reference: SMC01203 Location: Eglin AFB FL Duration: Perm Skills: 5 + years software development with Visual Interdev/Visual Studio, ASP, HTML, VBScript, and Usage of COM objects. SQL Server, database design, stored procedures, Writing MTS/COM+ components, ADO, IIS 4.0 or later, DHTML/Client-side scripting ...

partial expect for windows
I understand that the main problem with new versions os expect for windows is with the spawn command. Has anyone got working code (eg tcl source) that implmements expect in newer tcl versions on windows WITHOUT spawn (ie using an already open channel, such as a serial port)? thanks ...

=?windows-1252?Q?www=2Eelectronics=2Dmac=2Dsony=2Ecom_Toshiba_Satellite_A215=2D?= =?windows-1252?Q?S6804_15=2E4=22_Laptop_=28AMD_Turion_64_X_2_Dual_Core_TL=2D60_Process?= =?windows-1252?Q?or=2C_
http://www.electronics-mac-sony.com Contact us : 7*24 hour On-line service: MSN/Email:electronics-2008-china@hotmail.com Our website:http://www.electronics-mac-sony.com/goods.php?id=3D712 Product Features and Technical Details Product Features * Bright 15.4-inch LCD stylishly accented with an onyx blue metallic LCD cover and integrated Webcam * 2.0 GHz AMD Turion 64 X2 TL-60 processor, 250 GB hard drive, 2 GB RAM (4 GB max), dual-layer DVD writer with LabelFlash printing * 54g Atheros Wi-Fi (802.11b/g); 10/100 Ethernet; ATI Radeon X1200 graphics card with up to 319 MB of shared m...

DNS Server not able to listen on UDP port 53 over IPv6
Hi, I'm running Gentoo Linux (2007.0/AMD64) . I've configured pdnsd on my box to listen on UDP port 53 on IPv6 wildcard address. But when I start, it says UDP over IPv6 support not available. I straced it, and following lines look interesting to me: ---->8---->8---- socket(PF_INET6, SOCK_DGRAM, IPPROTO_UDP) = 5 setsockopt(5, SOL_IP, IP_PKTINFO, [1], 4) = 0 setsockopt(5, SOL_IPV6, IPV6_PKTINFO, [1], 4) = -1 ENOPROTOOPT (Protocol not available) ----8<----8<---- I'm running Linux kernel (custom compiled) version 2.6.22-hardened-r8. It's able to listen on TCP port 53...

Windows XP and Singlelineedits with background
VO 2806 (and also VO 2.5 with XP-Additions) When the XP-Style is enabled and I am using singlelineedits with a background the border is not displayed correctly. When hovering with the mouse over the control the sle is displayed correctly or when disabling/controle the control after setting the background. Does some has an idea what to change apart from calling disable/enable after setting the background? Arne Ortlinghaus ACS Data Systems 2806! Is this the long awaited 30 April release?????? Sorry but can you please retype your message? I am not completely sure ...

Mobile Me / Windows Live
I am not a Windows type of guy and have always hated Hotmail but things seem to be changing with Windows Live: - POP3 access on free account - Nnlimited email storage - Sky Drive with 25 gig of storage free Seems to be something of a threat to Mobile Me. I wonder how apple will respond? In article <0001HW.C5C02DCE0002520CB01AD9AF@europe.newsdemon.com>, Skipper <mail@xxx.co.uk> wrote: > I am not a Windows type of guy and have always hated Hotmail but things seem > to be changing with Windows Live: > - POP3 access on free account > - Nnlimited email storage > -...

Problem with multiple IP's assigned to one server behind PIX 501...
Hi all, I am having a problem with my PIX 501. I have a computer behind that has several IP Addresses bound to the adapter, i.e.: 10.10.0.1 10.10.0.2 10.10.0.3 Because I have 3 public IP Addresses that needs to route to the same server, meaning when someone pings 209.14.222.101 I need it to go to SERVERA, but I also need 209.14.222.102 to go to SERVERA, and the only way I saw to do this in the PIX was to add several route commands: static (inside,outside) 209.14.222.101 10.10.0.1 netmask 255.255.255.255 0 0 static (outside,inside) 10.10.0.1 209.14.222.101 netmask 255.255.255.255 0 0 stati...

window-handlers on windows
hi (this is my first post to this ng; so if it is the wrong ng, please direct me to the one i need...) my problem not necessarily bound to C++ (but could also be C), but since my application is in C++, i post it here. i want to draw from application A into a window that has been created by an application B (in my case: i want to render an openGL-scene into a a browser-window) under linux i can get a handle of type "Window" from the Xserver, into which i can draw (assumed that i have permissions) under windows the only such handle i have found is HWND, which is a pointer to a ...

Showing all tooltips in a window
It would be a nice affect for beginners or demos that the tooltips of all controls in a window are displayed (or maybe one after another). Is there a possibility to do this? Arne Ortlinghaus ACS Data Systems Arne, Actually no, I don't think so. Tool tips are invariably too short and controls too close together for something like this. And it would be seen as a gimmick and most would want to turn it off very quickly. I think the best thing to do is produce a well documented (including image shots with annotations) help manual and link it in solidly to your windo...

Windows 2000 over Windows ME install?
Greetings, I have a computer which has Windows ME currently installed on it. I have a license of Windows 2000 sitting around doing nothing, and I'd like to install the Win2k over ontop of the WinME. Will I have to wipe out the WinME completely and start from scratch on the Win2k install, or can I safely install the Win2k over the top of WinME? Thanks in advance, -Geoff I think Win2k can be upgraded only from WinNT. You will have to do a clean install. Geoff Cashman wrote: > > Greetings, > > I have a computer which has Windows ME currently instal...

Remote printing OS to Windows interface
Hi, I've just installed a remote printer in OS507 - the printer is on a Windows box, and unix can lp to it OK. There doesn't seem to be an interface file in /var/spool/lp/admins/lp/interfaces for this printer. Is it somewhere different or do we get no control over the print job this way? Relevant info - I had to uninstall cups before installing remote printing, and I haven't reinstalled. I've never used cups before - will it help? - I use a simple tailored interface file which among other things sends some pcl to the laser to change the font. thanks in advance -Rob robat...

10g 64 bit on AMD64/Linux--which Linux?
Question for the early adopters out there: how is is 64 bit 10g on 64 bit Linux working out? Is our best bet Redhat, Suse, or pass on Linux for now? We're currently running 32 bit 8.1.7.4 with a 3GB SGA on a Sun V880, Solaris 8. In the next few months we want to upgrade hardware and software to get more processing power per CPU and to allow a bigger block cache. We'd like to jump to 64 bit Oracle 10g. Sun's V40z looks very good to us on the hardware side. However AMD64 isn't supported on Solaris 10 until 10gR2, the release of which might not meet our timeline. Opinions w...

How do I redirect server's standard output to socket?
I made two process. One is use for a socket server in remote host, the other is client. Socket server includes a big library and will be run in the background, and client program has GUI with Qt library. I want server standard output to redirect to client program. To do it I tried to use dup2() function, following dup2( socket_descriptor, 1 ); // standard out to socket dup2( sokcet_descriptor, 2 ); // standard err to socket Then, write( 1, "message\n", 8 ) works good. The string, "message" displayed in the client program. But printf( "message\n" ) does not w...

=?windows-1252?Q?Special_Track_=93Computational_Bioimaging_and_Visual?= =?windows-1252?Q?ization=94_within_the_ISVC08_USA_=2D_Announce_=26_Call_for_Papers?=
----------------------------------------------------------------------------= ------------------------------------------------------------- (Apologies for cross-posting) Special Track =93Computational Bioimaging and Visualization=94 International Symposium on Visual Computing (ISVC08) Las Vegas, Nevada, USA, December 1-3, 2008 http://www.isvc.net We would appreciate if you could distribute this information by your colleagues and co-workers. ----------------------------------------------------------------------------= ------------------------------------------------------------- Dear Colle...

RE: [ace-users] ACE_FILE&ACE_Mem_Map not support 64 bit file
I assume you are using a 64-bit compiled app to mem map the file. If so, then it could be a problem with the underlying OS mem map system calls. You could mem map regions of the file in 2GB increments using one ACE_Mem_Map object per increment. -----Original Message----- From: owner-ace-users@cse.wustl.edu [mailto:owner-ace-users@cse.wustl.edu] On Behalf Of zhuzhp_ace Sent: Monday, August 15, 2005 10:35 PM To: ace-users@cs.wustl.edu Subject: [ace-users] ACE_FILE&ACE_Mem_Map not support 64 bit file ACE VERSION: 5.4 HOST MACHINE and OPERATING SYSTEM:windows/linux ...

pgsql-server/contrib/tsearch2 Makefile
CVSROOT: /cvsroot Module name: pgsql-server Changes by: teodor@svr1.postgresql.org 03/08/26 07:01:02 Modified files: contrib/tsearch2: Makefile Log message: fix module name in MODULE_PATHNAME substitution ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster ...

3dmax like paned windows
Does anyone know how to create pure tcl paned-widown like 3d Max which has a handle allows you to grid the 4 windows at one instance. In panedWindow you can either seperate vertical or horizontal. 3d Max however allows you to scale the window in both direction at the same time. If not one available, can anyone layout what kind of knowledge I NEED to know in order to create one. Thanks, Alex tak wrote: > Does anyone know how to create pure tcl paned-widown like 3d Max which > has a handle allows you to grid the 4 windows at one instance. > > In panedWindow you can either seper...

=?windows-1256?B?2sfM4SDk5NTRIMrdx9Xt4SDH4craz+3hIMfh5g==?= =?windows-1256?B?0sfR7SDH4czP7c8gx+HQ7SDT7crjIMfhx9rhx+Qg2uQ=?= =?windows-1256?B?yQ==?=
2sfM4SDk5NTRIMrdx9Xt4SDH4craz+3hIMfh5tLH0e0gx+HMz+3PIMfh0O0g0+3K4yDH4cfa4cfk INrkyQoKaHR0cDovL25hdGlndGFzN2FiLmJsb2dzcG90LmNvbS8yMDEzLzA0L2Jsb2ctcG9zdF83 NDM1Lmh0bWw= ...

Root Window & Windows within Windows
Even (on 98) if you replace the shell explorer.exe you are left with the root window. Explorer.exe does a good job of adding content to the root window. It places icons on your desktop and gives you a task bar. The only ability I am aware of that programmers have to add content to the root window (aside from replacing explorer.exe), is with Active Desktop. I feel that active desktop should be a program we can write ourselves. We should be able to write our own programs that are drawn directly to the root window, just like active desktop windows are. Even when you replace ...

Setting the window size
Dear All, How do I set the size of the window that is showing the database forms? can't find any helps on it. John Fox On Apr 19, 6:33 am, John Fox <altab...@bham.ac.uk> wrote: > Dear All, > > How do I set the size of the window that is showing the database forms? > > can't find any helps on it. > > John Fox Are you talking about at design time? All you have to do is make sure the window is not maximized so you can view its normal size, then click and drag the edges of the window to resize. If you save the form after changing the size, this will stic...

US-NJ: Parsippany-SQL Server Database Developer/JAS #6
************************************************************** JobCircle.com - Careers, Content and Community for Technology professionals in the Northeastern United States! Jobcircle.com provides resume submission, classified searches, eLearning, hundreds of career development articles, tech news, and more to tens of thousands of Technology professionals in your area - visit us today at http://www.jobcircle.com! !!! Voted a TOP 50 Career Web Site in 2002 by CareerXRoads !!! ************************************************************** Job Title: SQL Server Database Devel...

Overplot cgplots in graphics window
Hello, I have several data sets of trajectories that I want to plot together in on= e graphics window. I am able to rerun the code and have it overplot in the = display window but I'm not able to save that. I've tried creating a resizab= le graphics window but because the cgplots commands are in a loop, IDL cont= inually displays new graphics windows and then crashes. Is there a way that= I can rerun my code with a new data set each time and overplot on the same= map and then save the graphic without having to just copy and paste my cod= e 3x in the same program? I've i...

Filer like windows
I intend to write a program that can keep a number of images and draw files in memory at the same time. The user should be able to access every file individually. What I plan to do is a window that contains every available file like in a filer window. I would also like to have the option to show large icons/small icons/full info and maybe later even a thumbnail of the images. May question is: Is there something like a toolbox module which makes it easy to achieve a filer like display or do I have to go the long way and implement everything by myself? If there is something I can use, it shou...