473,795 Members | 2,986 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PBM: MSXML4 typelib constants not recognized in server-side script

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.
Jul 19 '05
12 3099
"Chris Hohmann" <no****@thankyo u.com> a écrit dans le message de
news:um******** *****@TK2MSFTNG P11.phx.gbl...
"Vince C." <no**@hotmail.c om> wrote in message .... Remove version.

<!--
METADATA TYPE="TypeLib"
NAME="Microsoft XML, v4.0"
UUID="{F5078F18-C551-11D3-89B9-0000F81FE221}"
-->

HTH


Thanks, Chris. But this has the side-effect to prevent IntelliSense to work. I
can cope with it however as (desire is not irrelevant) I'm *not* a machine ;-).

Vince C.
Jul 19 '05 #11
"Vince C." <no**@hotmail.c om> wrote in message
news:eG******** ******@TK2MSFTN GP10.phx.gbl...
"Chris Hohmann" <no****@thankyo u.com> a écrit dans le message de
news:um******** *****@TK2MSFTNG P11.phx.gbl...
"Vince C." <no**@hotmail.c om> wrote in message ...
Remove version.

<!--
METADATA TYPE="TypeLib"
NAME="Microsoft XML, v4.0"
UUID="{F5078F18-C551-11D3-89B9-0000F81FE221}"
-->

HTH


Thanks, Chris. But this has the side-effect to prevent IntelliSense to

work. I can cope with it however as (desire is not irrelevant) I'm *not* a machine ;-).
Vince C.


Note, the following is merely conjecture on my part but...

It sounds like you have a side-by-side install of MSXML 4.0 with prior
versions of MSXML (2.6/3.0) If this is the case, here are two (2) things
you can try:

1. Uninstall all MSXML components and then reinstall them in reverse
order (4.0 then 3.0 then 2.6)

2. Forego the side-by-side install and only install MSXML 4.0

I don't know what the context of your particular situation is so I can't
really say which approach best suits your needs. And as stated above
this is purely conjecture on my part. The above may or may not have any
bearing on the behavior you are encountering. Let me know if there is
anything else I can do to help.

-Chris Hohmann
Jul 19 '05 #12
"Chris Hohmann" <no****@thankyo u.com> a écrit dans le message de
news:er******** ******@TK2MSFTN GP09.phx.gbl...
[...]
Note, the following is merely conjecture on my part but...

It sounds like you have a side-by-side install of MSXML 4.0 with prior
versions of MSXML (2.6/3.0) If this is the case, here are two (2) things
you can try:

1. Uninstall all MSXML components and then reinstall them in reverse
order (4.0 then 3.0 then 2.6)

2. Forego the side-by-side install and only install MSXML 4.0

I don't know what the context of your particular situation is so I can't
really say which approach best suits your needs. And as stated above
this is purely conjecture on my part. The above may or may not have any
bearing on the behavior you are encountering. Let me know if there is
anything else I can do to help.

-Chris Hohmann


Well, it's just MSXML4 being installed on a W2K machine. I never though of
removing previous versions since they are built-in. If I remember correctly,
there is a way (MS KB article) to remove MSXML references and re-register them
in any order. But I don't think I'll need that.

It's probably nice to have it on a development machine but not on a production
server. The one thing I was searching was to have the server recognize MSXML
constants. You gave it to me.

Thanks again for your help,
Vince C.
Jul 19 '05 #13

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

Similar topics

0
1195
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...
2
3532
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,
2
5636
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");
1
1696
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)
1
1678
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?
1
3855
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.
2
1564
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>
10
16430
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)
3
3693
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...
0
1772
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
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9043
agi2029
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...
1
7541
isladogs
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...
0
5437
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...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
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
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
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...

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.