小弟请教一个问题~~~~~~~~

浩飞__ 2005-03-25 01:35:55
小弟不懂.net,但老大硬要我把程序调通了,郁闷。
其实程序没问题,估计是哪没设置对,网站打开,出现这样的提示:






分析器错误信息: 找不到文件或程序集名称“Microsoft.Web.UI.WebControls”,或找不到它的一个依赖项。

源错误:


行 1: <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
行 2: <%@ Page language="c#" Codebehind="left.aspx.cs" AutoEventWireup="false" Inherits="AdminPortal.EAManagement.left" %>
行 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >


第一行是红色的





不知道问题出在哪了,还请帮忙,谢谢。我的操作系统是windows 2003
...全文
105 9 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
NetCode 2005-03-25
  • 打赏
  • 举报
回复
To build the IE Web Controls:

1. Make sure you have installed the .NET Framework SDK v1.0 or v1.1
2. Run Build.bat, which will create a build folder in this directory.
The build folder contains Microsoft.Web.UI.WebControls.dll and a
Runtime directory of supporting files.

To run the IE Web Controls:

1. Copy the contents of the Runtime directory to the webctrl_client\1_0
directory under your top-level site directory. For example, if your
site root is c:\Inetpub\wwwroot, type this at the command prompt:

xcopy /s /i .\build\Runtime c:\Inetpub\wwwroot\webctrl_client\1_0 /y

This will create the following directory structure under the site:

/webctrl_client/1_0
MultiPage.htc
TabStrip.htc
toolbar.htc
treeview.htc
webservice.htc
webserviced.htc
[images]
[treeimages]

2. Create a new web application in IIS and copy the contents of the
samples directory to this application directory. For example:

xcopy /s /i .\samples c:\Inetpub\wwwroot\sampleapp /y

3. Create a /bin subdirectory for the application and copy the file
Microsoft.Web.UI.WebControls.dll to this directory.

The contents of the application will be as follows:

/sampleapp
multipage.aspx
state_city.xml
tabstrip.aspx
toolbar.aspx
treeview.aspx
treeview_bound.aspx
/bin
Microsoft.Web.UI.WebControls.dll

4. Request the sample pages from your Internet Explorer web browser, for
example: http://localhost/sampleapp/multipage.aspx

For additional documentation and samples visit:
http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/webcontrols_entry.asp
浩飞__ 2005-03-25
  • 打赏
  • 举报
回复
呵呵,好了,谢谢各位
fanweiwei 2005-03-25
  • 打赏
  • 举报
回复
up
lovebanyi 2005-03-25
  • 打赏
  • 举报
回复
学习中
littlekeen 2005-03-25
  • 打赏
  • 举报
回复
找不到文件或程序集名称“Microsoft.Web.UI.WebControls”, 这就告诉你Microsoft.Web.UI.WebControls控件找不到,你下载一个装上就能解决了.
holysky 2005-03-25
  • 打赏
  • 举报
回复
从网上下载一个iewebcontrols.msi
在服务器上安装上就ok了
hackate 2005-03-25
  • 打赏
  • 举报
回复
你是不是有用到TreeView呢?或者ToolBar,Tab这些WebControls的东西呢?

那你应该去下载来下的,把DLL加进你的工具箱里面,然后拖到界面用
浩飞__ 2005-03-25
  • 打赏
  • 举报
回复
我对.net完全是外行,能说具体一点吗?谢了
luckyprg 2005-03-25
  • 打赏
  • 举报
回复
下载Microsoft.Web.UI.WebControls,安装,将DLL加入引用,就OK了。

62,243

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧