PBM:服务器端脚本中无法识别MSXML4 typelib常量 [英] PBM: MSXML4 typelib constants not recognized in server-side script

查看:83
本文介绍了PBM:服务器端脚本中无法识别MSXML4 typelib常量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我已经使用Visual Interdev创建了一个Web应用程序,我已经在项目中添加了Microsoft

XML,版本4的参考资料。 META标签已在global.asa中成功添加




<! - METADATA TYPE =" TypeLib" NAME =Microsoft XML,v4.0

UUID =" {F5078F18-C551-11D3-89B9-0000F81FE221}" VERSION =" 4.0" - >


但是当我在ASP服务器端编写以下代码时,javascript


< p>值:<%= SOMITEM_ELEMENT%>< / p>


我收到Microsoft VBScript错误''800a01f4''。未定义的变量:

''SOMITEM_ELEMENT''


我没有得到ADO常量的错误(即使我没有包含

ADOJS.inc)。有人可以告诉我什么是错的吗?


提前致谢,

Vince C.

解决方案

Vince C.写道:



我用Visual Interdev创建了一个Web应用程序,我添加了
Microsoft XML,项目引用中的第4版。 META标签已在global.asa中成功添加:

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

但是当我在ASP服务器端编写以下代码时,javascript

< ; p>值:<%= SOMITEM_ELEMENT%>< / p>
我收到Microsoft VBScript错误''800a01f4''。未定义的变量:
''SOMITEM_ELEMENT''

我没有得到ADO常量的错误(即使我没有包含ADOJS.inc)。有人能告诉我什么是错的吗?

提前致谢,
Vince C.




两种可能性:

1.服务器没有安装版本4解析器。 Interdev

参考对话框列出了您机器上安装的类型库。这些可能与服务器上安装的类型库不对应。


2.这不是版本4的正确UUID(不太可能,因为你通过Interdev References添加了




Bob Barrows


-

Microsoft MVP - ASP / ASP.NET

请回复新闻组。这个电子邮件帐户是我的垃圾邮件陷阱所以我

不经常检查它。如果你必须离线回复,那么删除

NO SPAM


" Bob Barrows" <再****** @ NOyahoo.SPAMcom> écritdansle message de

news:ec ************** @ TK2MSFTNGP11.phx.gbl ...

Vince C 。写道:



我用Visual Interdev创建了一个Web应用程序,我已经在项目中添加了Microsoft XML,版本4的参考资料。 META标签已在global.asa中成功添加:

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


[...]两种可能性:
1.服务器没有安装版本4解析器。 Interdev
参考对话框列出了您机器上安装的类型库。这些可能与服务器上安装的类型库不对应。


服务器和客户端工作站都是同一台机器。


2.这不是版本4的正确UUID(不太可能,因为你通过Interdev References添加了




我已经使用OLE View检查了注册表。这是正确的LIBID。


这可能是IIS中的一个错误,例如它无法识别共享的类型库

之间的多个相同包的版本? ADO库具有从v2.1开始的所有唯一的
LIBID。对于MSXML,LIBID

F5078F18-C551-11D3-89B9-0000F81FE221适用于MSXML 2.6,3.0和4.0。这是我见过的唯一区别。


Vince C.


Vince C.写道:

" Bob Barrows" <再****** @ NOyahoo.SPAMcom> écritdansle message de
新闻:ec ************** @ TK2MSFTNGP11.phx.gbl ...

Vince C.写道:< blockquote class =post_quotes>

我已经使用Visual Interdev创建了一个Web应用程序,我在项目的参考资料中添加了Microsoft XML,版本4。 META标签已在global.asa中成功添加:

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


[blockquote class =post_quotes>两种可能性:
1.服务器没有安装了版本4解析器。
Interdev References对话框列出了安装在您机器上的类型库。这些可能与服务器上安装的类型库不对应。



服务器和客户端工作站都是同一台机器。

2.这不是版本4的正确UUID(不太可能,因为你通过Interdev References添加它)



我是'用OLE视图检查注册表。它是正确的LIBID。

这可能是IIS中的一个错误,例如它没有识别出在同一个软件包的多个版本之间共享的类型库吗? ADO
库具有所有唯一的LIBID,从v2.1开始。在MSXML的情况下,LIBID F5078F18-C551-11D3-89B9-0000F81FE221适用于MSXML
2.6,3.0和4.0。这是我见过的唯一区别。

Vince C.




你有我。希望其他人会参与其中。你有没有?b $ b尝试谷歌搜索?


鲍勃巴罗斯


-

Microsoft MVP - ASP / ASP.NET

请回复新闻组。这个电子邮件帐户是我的垃圾邮件陷阱所以我

不经常检查它。如果您必须离线回复,请删除

无垃圾邮件


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_ELEMENT''

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.

解决方案

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_ELEMENT''

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******@NOyahoo.SPAMcom> a écrit dans le message de
news:ec**************@TK2MSFTNGP11.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******@NOyahoo.SPAMcom> a écrit dans le message de
news:ec**************@TK2MSFTNGP11.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"


这篇关于PBM:服务器端脚本中无法识别MSXML4 typelib常量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆