473,382 Members | 1,424 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Windows Server 2003 r2 64 bit and msxml

Ike
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
Jun 21 '06 #1
2 4456


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/
Jun 21 '06 #2
Ike wrote in news:cD****************@newsread2.news.pas.earthli nk.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/d...d41b036c-e2e1-
4960-99bb-9757f7e9e31b&DisplayLang=en

Rob.
--
http://www.victim-prime.dsl.pipex.com/
Jun 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Christopher W. Douglas | last post by:
I have an MSDN subscription, and have all versions of Windows Server 2003 available. I have been programming in Visual Studio .NET 2002 in Windows XP and 2000, and I am setting up a new machine...
0
by: kdt | last post by:
Please help I have a spare Pentium III that I want to install the Windows Server 2003. I have checked the list of Windows Server 2003 system requirements against the machine that I have. It...
0
by: sztonix | last post by:
Hi all, I encountered a crystal report deployment problem. I make reports with Crystal Report for Visual Studio .NET 2003. It works fine in the development machine. And then make setup...
2
by: heyitsme_ryan | last post by:
Ei guys I’m Ryan from Philippines, I need your advice and recommendations about Windows 2003 Server and SQL Server 2000 installation. Well, here’s the scenario. First is for windows 2003 server:...
5
by: Larry Bertolini | last post by:
Scenario: DBMS: SQL Server 2000 OS: Windows Server 2003 Goal: Enable SQLMAIL via Internet Mail Problem: How do I set up the MAPI profile for the SQL Server service account?
9
by: Kevin Spencer | last post by:
We just moved an ASP.Net app to a Windows 2003 Server, and the SMTPMail fails now with the following message: System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr,...
4
by: Matthew Louden | last post by:
My ASP.NET application is working fine when I run under IIS Personal Web Server in Windows 2000 machine. However, after I upload all the files to the Windows Server 2003 machine, and tried to run...
10
by: Ger | last post by:
I am having problems using VB.Net's Management base object on a machine hosting Windows Server 2003. I am trying to set file permissions from a Windows Service. These files may be loacted on a...
0
by: Charles Leonard | last post by:
I am having yet another issue with Windows Server 2003. This time, the web service (a file import web service) appears to run except for one odd message: "ActiveX component can't create object". ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.