ASP.NET Pharsing错误 [英] ASP.NET Pharsing Error

查看:105
本文介绍了ASP.NET Pharsing错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我执行一个包含Tree View网页控件的Asp.Net网页时,我得到了一个错误消息文件或程序集名称microsoft.web.UI.Web控件或一个

的依赖性,未找到。请为此问题提供解决方案

When I am executing a Asp.Net web page containg Tree View web control, I got
an error message "File or assembly name microsoft.web.UI.Web controls or one
of its dependence, was not found". Kindly provide solution for this problem

推荐答案

您需要确保在以下位置安装了System.web.dll

C:\ WINDOWS \ MicrosoftMicrosoft.NET \ Framework \v2.0.50727。它也在GAC中,在名称空间下的web.config文件中引用了




问候,

Manish
www.componentone.com


" ;&六必居QUOT;写道:
You need to make sure that you have System.web.dll at the following location
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727. Also its in GAC and it is
referenced in the web.config file under namespaces.

Regards,
Manish
www.componentone.com

"BIJU" wrote:

当我执行一个包含Tree View网页控件的Asp.Net网页时,我得到了

错误信息文件或汇编名称microsoft.web.UI.Web控件或其中一个

的依赖,未找到。请为这个问题提供解决方案
When I am executing a Asp.Net web page containg Tree View web control, I got
an error message "File or assembly name microsoft.web.UI.Web controls or one
of its dependence, was not found". Kindly provide solution for this problem


Hai,

感谢4个人的回复。但问题还没有解决。我可以在C:\ WINDOWS \ Microsoft.NET.NET \ Framework \v2.0.50727中看到

System.web.dll。但我不能在C:\ WINDOWS \Assembly中获得
。在C:\ WINDOWS \Assemblies我可以看到一个名为
的文件
System.Web我不知道它是否是Dll。

我将在Assembly Load跟踪下面输入


日志:DisplayName = Microsoft.Web.UI.WebControls

(部分)

日志:Appbase = file:// / c:/ inetpub / wwwroot / press / tree

日志:初始PrivatePath = bin

调用程序集:(未知)。

== =


日志:此时政策未应用于参考(私人,自定义,
部分或基于位置的程序集绑定)。

日志:政策后参考:Microsoft.Web.UI.WebControls

日志:尝试下载新网址

file:/// C:/ WINDOWS / Microsoft.NET / Framework / v1.1.4322 /临时ASP.NET

文件/ press_tree / 2874200f / 872ae434 / Microsoft.Web.UI.WebControls.DLL。

日志:尝试下载新的URL

file:/// C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET

Files / press_tree / 28742 00f / 872ae434 / Microsoft.Web.UI.WebControls / Microsoft.Web.UI.WebControls.DLL。

日志:尝试下载新网址

file:/// c:/inetpub/wwwroot/press/tree/bin/Microsoft.Web.UI.WebControls.DLL。

日志:尝试下载新网址

file:// /c:/inetpub/wwwroot/press/tree/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL。

日志:尝试下载新网址

file:/// C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET

Files / press_tree / 2874200f / 872ae434 / Microsoft.Web.UI .WebControls.EXE。

日志:尝试下载新网址

file:/// C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP .NET

文件/ press_tree / 2874200f / 872ae434 / Microsoft.Web.UI.WebControls / Microsoft.Web.UI.WebControls.EXE。

日志:尝试下载新的URL

file:/// c:/inetpub/wwwroot/press/tree/bin/Microsoft.Web.UI.WebControls.EXE。

日志:尝试下载新网址

file:/// c:/inetpub/wwwroot/press/tree/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE。

请提供解决方案


感谢和问候..


" Manish"写道:
Hai,
Thanks 4 ur repsone. But the problem not solved yet. I can see
System.web.dll in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727. but I can''t
it in C:\WINDOWS\Assembly. In C:\WINDOWS\Assemblies I can see one file named
System.Web I dont know whether it is Dll.
I will type below the Assembly Load trace

LOG: DisplayName = Microsoft.Web.UI.WebControls
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/press/tree
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.Web.UI.WebControls
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/press_tree/2874200f/872ae434/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/press_tree/2874200f/872ae434/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/press/tree/bin/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/press/tree/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/press_tree/2874200f/872ae434/Microsoft.Web.UI.WebControls.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/press_tree/2874200f/872ae434/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/press/tree/bin/Microsoft.Web.UI.WebControls.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/press/tree/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE.
Kindly provide solution

Thanks and regards..

"Manish" wrote:

你需要确保你在以下位置有System.web.dll

C:\ WINDOWS \ Microsoft.NET\Framework\v2.0.50727。它也在GAC中,在名称空间下的web.config文件中引用了




问候,

Manish
www.componentone.com


" ;&六必居QUOT;写道:
You need to make sure that you have System.web.dll at the following location
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727. Also its in GAC and it is
referenced in the web.config file under namespaces.

Regards,
Manish
www.componentone.com

"BIJU" wrote:

当我执行一个包含Tree View网页控件的Asp.Net网页时,我得到了

错误信息文件或汇编名称microsoft.web.UI.Web控件或其中一个

的依赖,未找到。请为此问题提供解决方案
When I am executing a Asp.Net web page containg Tree View web control, I got
an error message "File or assembly name microsoft.web.UI.Web controls or one
of its dependence, was not found". Kindly provide solution for this problem


Hello biju,


你有这个库吗?你的推荐信?


哪个asp.net版本?

---

WBR,

Michael Nemtsev [.NET / C#MVP] ::博客: http://spaces.live.com / laflour


对我们大多数人来说最大的危险并不是我们的目标太高而且我们错过了b $ b想念它,但是它太低了,我们达到了它 (c)米开朗基罗

b当我执行一个包含Tree View网页的Asp.Net网页时,我收到一条错误消息文件或程序集名称
bmicrosoft.web.UI.Web控件或其中一个依赖,不是
bfound。请为此问题提供解决方案

b>
Hello biju,

do you have this library into your references?

which asp.net version?
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
bWhen I am executing a Asp.Net web page containg Tree View web
bcontrol, I got an error message "File or assembly name
bmicrosoft.web.UI.Web controls or one of its dependence, was not
bfound". Kindly provide solution for this problem
b>


这篇关于ASP.NET Pharsing错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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