Hi,
I've created a web application with Visual Interdev and I've added Microsoft
XML, version 4 in project's references. A META tag has been successfully added
in global.asa:
<!--METADATA TYPE="TypeLib" NAME="Microsoft XML, v4.0"
UUID="{F5078F18-C551-11D3-89B9-0000F81FE221}" VERSION="4.0"-->
But when I write the following code in an ASP server-side javascript:
<p>Value: <% = SOMITEM_ELEMENT %></p>
I get a Microsoft VBScript error '800a01f4'. Undefined variable:
'SOMITEM_ELEMEN T'
I don't get such an error with ADO constants (even though I didn't include
ADOJS.inc). Can someone tell me what's wrong?
Thanks in advance,
Vince C. 12 3098
Vince C. wrote: Hi,
I've created a web application with Visual Interdev and I've added Microsoft XML, version 4 in project's references. A META tag has been successfully added in global.asa:
<!--METADATA TYPE="TypeLib" NAME="Microsoft XML, v4.0" UUID="{F5078F18-C551-11D3-89B9-0000F81FE221}" VERSION="4.0"-->
But when I write the following code in an ASP server-side javascript:
<p>Value: <% = SOMITEM_ELEMENT %></p>
I get a Microsoft VBScript error '800a01f4'. Undefined variable: 'SOMITEM_ELEMEN T'
I don't get such an error with ADO constants (even though I didn't include ADOJS.inc). Can someone tell me what's wrong?
Thanks in advance, Vince C.
Two possibilities:
1. The server does not have the version 4 parser installed. The Interdev
References dialog lists type libraries installed on YOUR machine. These may
not correspond with type libraries installed on the server.
2. That's not the right UUID for version 4 (unlikely, given that you added
it via Interdev References)
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
"Bob Barrows" <re******@NOyah oo.SPAMcom> a écrit dans le message de
news:ec******** ******@TK2MSFTN GP11.phx.gbl... Vince C. wrote: Hi,
I've created a web application with Visual Interdev and I've added Microsoft XML, version 4 in project's references. A META tag has been successfully added in global.asa:
<!--METADATA TYPE="TypeLib" NAME="Microsoft XML, v4.0" UUID="{F5078F18-C551-11D3-89B9-0000F81FE221}" VERSION="4.0"-->
[...] Two possibilities: 1. The server does not have the version 4 parser installed. The Interdev References dialog lists type libraries installed on YOUR machine. These may not correspond with type libraries installed on the server.
Both the server and the client workstation are the same machine.
2. That's not the right UUID for version 4 (unlikely, given that you added it via Interdev References)
I've checked against the registry with OLE View. It's the right LIBID.
Could it be a bug in IIS such as it doesn't recognize a typelib that is shared
between multiple versions of the same package? ADO libraries have all a unique
LIBID, starting at v2.1. In the case of MSXML, LIBID
F5078F18-C551-11D3-89B9-0000F81FE221 applies to MSXML 2.6, 3.0 and 4.0. This is
the only difference I've seen.
Vince C.
Vince C. wrote: "Bob Barrows" <re******@NOyah oo.SPAMcom> a écrit dans le message de news:ec******** ******@TK2MSFTN GP11.phx.gbl... Vince C. wrote: Hi,
I've created a web application with Visual Interdev and I've added Microsoft XML, version 4 in project's references. A META tag has been successfully added in global.asa:
<!--METADATA TYPE="TypeLib" NAME="Microsoft XML, v4.0" UUID="{F5078F18-C551-11D3-89B9-0000F81FE221}" VERSION="4.0"--> [...] Two possibilities: 1. The server does not have the version 4 parser installed. The Interdev References dialog lists type libraries installed on YOUR machine. These may not correspond with type libraries installed on the server.
Both the server and the client workstation are the same machine.
2. That's not the right UUID for version 4 (unlikely, given that you added it via Interdev References)
I've checked against the registry with OLE View. It's the right LIBID.
Could it be a bug in IIS such as it doesn't recognize a typelib that is shared between multiple versions of the same package? ADO libraries have all a unique LIBID, starting at v2.1. In the case of MSXML, LIBID F5078F18-C551-11D3-89B9-0000F81FE221 applies to MSXML 2.6, 3.0 and 4.0. This is the only difference I've seen.
Vince C.
You've got me. Hopefully someone else will jump in with the answer. Have you
tried a google search?
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Hi Vince,
From the description, the ASP application didn't recognize the constance
"SOMITEM_ELEMEN T" defined in MSXML. If you type:
MSXML2.
in the InterDev IDE, will the IntelliSense occur to list all objects and
constants in MSXML?
If you also have Visual Basic 6.0 installed on the same computer, you may
try to add the reference in a VB project to see if it also fail to
recognize it.
Luke
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
"MSFT" <lu******@onlin e.microsoft.com > a écrit dans le message de
news:fX******** ******@cpmsftng xa07.phx.gbl... Hi Vince,
From the description, the ASP application didn't recognize the constance "SOMITEM_ELEMEN T" defined in MSXML. If you type:
MSXML2.
in the InterDev IDE, will the IntelliSense occur to list all objects and constants in MSXML?
Thanks, Luke. But I don't need to prefix MSXML2 constants in ASP scripts with
"MSXML2.". As soon as I type SOMITEM, for instance, VI correctly drops down a
list with possible matches. It's only when running server-side code that I get
an error.
If you also have Visual Basic 6.0 installed on the same computer, you may try to add the reference in a VB project to see if it also fail to recognize it.
No problem with VB at all but it's out of my scope though it works as expected
(intellisense drop down list).
Vince C.
"Bob Barrows" <re******@NOyah oo.SPAMcom> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
[...] You've got me. Hopefully someone else will jump in with the answer. Have you tried a google search?
Nothing significant...
Vince C.
"Vince C." <no**@hotmail.c om> wrote in message
news:us******** ******@TK2MSFTN GP09.phx.gbl... Hi,
I've created a web application with Visual Interdev and I've added
Microsoft XML, version 4 in project's references. A META tag has been
successfully added in global.asa:
<!--METADATA TYPE="TypeLib" NAME="Microsoft XML, v4.0" UUID="{F5078F18-C551-11D3-89B9-0000F81FE221}" VERSION="4.0"-->
But when I write the following code in an ASP server-side javascript:
<p>Value: <% = SOMITEM_ELEMENT %></p>
I get a Microsoft VBScript error '800a01f4'. Undefined variable: 'SOMITEM_ELEMEN T'
I don't get such an error with ADO constants (even though I didn't
include ADOJS.inc). Can someone tell me what's wrong?
Thanks in advance, Vince C.
Remove version.
<!--
METADATA TYPE="TypeLib"
NAME="Microsoft XML, v4.0"
UUID="{F5078F18-C551-11D3-89B9-0000F81FE221}"
-->
HTH
-Chris Hohmann
Hi Chris,
Thank you for the information, This seems to able to fix the problem.
Luke
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Hi Vince,
Please test the Chris's suggestion in your project. I think it should be
helpful since we have made sure MSXML installed well on your server and IIS
add the reference successfully.
Luke
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jwsacksteder |
last post by:
I am trying to extend Crystal Reports with Python. The documented way to do
this is to create a COM automation server with a specific naming
convention that CR will then present inside the UI as user functions. That
was easy enough to start, but apparently you need to register your code in
type libraries as well. I have been unable to make ANY progress on that
front. I have a an IDL document that I was able to compile with MIDL.EXE and...
|
by: Alexander Eisenhuth |
last post by:
Hello alltogether,
I hope somebody can help me in that case. I bet I have overseen s.th..
I have a VC++ IDispatch Com-Server (ATL) and include for error handling
issues a enumeration in the IDL-File.
enum PROG_ERROR {
P_OK = 0,
|
by: Jason Burr |
last post by:
I keep getting an Access is denied error using msxml4.dll I have seen a
number of posts on other sites mention it and say they fixed it but not one
says how they did.
Here is the code that I am trying to execute (in jscript).
var objSrvHTTP;
var objXMLSend;
var objXMLReceive;
objSrvHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0");
|
by: tweety |
last post by:
I had a problem with IE 6.0.2800. The responseText property of the
XMLHTTP object was giving an error.There was a bug in msxml dll. so i
upgraded to
msxml4 and changed the code to the following:
try
{
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.4.0");
}catch(e)
|
by: T |
last post by:
Is there a way to use the Visual Studio .NET IDE to validate a schema
using the MSXML4 parser? Similarly, is there a way to get the .NET
framework utilities, such as the xsd.exe and wsdl.exe utilities to
validate and parse using the MSXML4 parser?
| |
by: jd |
last post by:
I have an xsl file to generate xml in to an html file. The size of
the xsl is 300kb and size of the xml is 47 kb (the size of xml is
variable).
I am using VB.net to convert the xml file into an html file. The
vb.net module peforms following task:
load the xml file in XMLDocument object ( I can't use XpathDocument
object)
load the xsl file in XSLTransform object
perform the transformation.
|
by: VernonR |
last post by:
I'm having problems getting the .NET 1.1 XSL transform to cross reference
using ID / IDREF correctly. I have collapsed to a simple set of files to show
the problem more clearly...
The output line using MSXML4.0 is correct
<Output>First List Item = Hello</Output>
The output using MSXML3.0 or the DOTNET XSL transform is
<Output> = </Output>
|
by: dba123 |
last post by:
Why am I getting this error for Budget?
Error: An exception of type 'System.FormatException' occurred in
mscorlib.dll but was not handled in user code
Additional information: String was not recognized as a valid Boolean.
Public Sub UpdateCustomer_DashboardGraphs(ByVal sender As Object, ByVal
e As System.EventArgs)
|
by: Howler |
last post by:
Hello all,
I am having a hard time seeing what I am doing wrong with a program I
am having to write that converts pbm monochrome images into a similar
pgm file. The problem I am having is understanding how to properly
convert the bit/pixel in pbm to byte/pixel in pgm. My program is very
straight forward conceptually open files, read header, read binary
data, convert to p5 in loop and then write file out. My for loop is
where I am...
|
by: =?Utf-8?B?RHVja3dvbg==?= |
last post by:
Hello everyone,
I need to get the version number of a couple of DLLs (comctl32.dll and
msxml4.dll). I don't have the full path because I don't want to assume they
will be in the system32 folder. I have a function which first does...
//get the current process
p = Process.GetCurrentProcess();
//get all the dlls this class is using
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |