再见.net|BYE Dot Net

坎坷与欢愉,求索与奋进

My Links

Blog统计

公告

博客蓝备份空间

文章

收藏

相册

.net相关

Maya&3D max相关

My Document

Webdesign相关

其他

网络营销

友情博客

存档


正在读取评论……

     今天终于作完了学校的财务系统,忙碌了这么多日子,总算完工了。嘻嘻!

      虽然在我这大功告成,可是还没有给他安装。于是,带着我的程序就直奔财务处了。到了财务处,出问题了。
 

“/tijmucaiwu”应用程序中的服务器错误。

分析器错误

说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。

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

源错误:

行 1:  <%@ register tagprefix="zhenkai" tagname="title" src="title.ascx"%>行 2:  <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>行 3:  <%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>行 4:  <%@ Page Language="vb" AutoEventWireup="false" Codebehind="admin.aspx.vb" Inherits="tijmucw.admin"%>

源文件: F:\tijmucaiwu\admin.aspx    行: 2

程序集加载跟踪: 下列信息有助于确定程序集“Microsoft.Web.UI.WebControls”无法加载的原因。

=== Pre-bind state information ===LOG: DisplayName = Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (Fully-specified)LOG: Appbase = file:///F:/tijmucaiwuLOG: Initial PrivatePath = binCalling assembly : (Unknown).===LOG: Publisher policy file is not found.LOG: No redirect found in host configuration file (D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).LOG: Using machine configuration file from D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.LOG: Post-policy reference: Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35LOG: Attempting download of new URL file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/tijmucaiwu/a315d8fb/2b695422/Microsoft.Web.UI.WebControls.DLL.LOG: Attempting download of new URL file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/tijmucaiwu/a315d8fb/2b695422/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.LOG: Attempting download of new URL file:///F:/tijmucaiwu/bin/Microsoft.Web.UI.WebControls.DLL.LOG: Attempting download of new URL file:///F:/tijmucaiwu/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.LOG: Attempting download of new URL file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/tijmucaiwu/a315d8fb/2b695422/Microsoft.Web.UI.WebControls.EXE.LOG: Attempting download of new URL file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/tijmucaiwu/a315d8fb/2b695422/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE.LOG: Attempting download of new URL file:///F:/tijmucaiwu/bin/Microsoft.Web.UI.WebControls.EXE.LOG: Attempting download of new URL file:///F:/tijmucaiwu/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE.


版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573

我想可能是Microsoft.Web.UI.WebControls.dll没给他copy到/bin目录下,于是我又跑回我的工作室,找当初的安装程序,说什么也找不到了,于是上了MSDN找到了可以下载的IEwebcontrols.msi眼巴巴的看着下载滚动条走到尽头,试也没试就直接去财务处了。没想到那个安装程序是Microsoft.Web.UI.WebControls的源程序,还需要自己

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]

以上摘自安装程序的readme.txt。郁闷的我,又自己试验了很多次,得到了很多种报错,总之就是不行。难道还要和上回一样吗?上回在WINxp下运行不了.Net,于是一狠心装了WIN server 2003,这回可怎么办!!!我自己走回工作室,翻来覆去得找我原来的安装文件,我记得当初用的时候,一路NEXT就搞定了,怎么一到别人那就不行呢?

最后,在一个不起眼的地方找到一个Tree.msi的文件,看其属性赫然写着“Microsoft Internet Explorer WebControls for ASP .NET.”,哎!就是他了。看来还是原来的东西好呀,到财物那装上后,搞定!!!



Trackback: http://tb.donews.net/TrackBack.aspx?PostId=10793


[点击此处收藏本文]  发表于2004年04月06日 6:33 PM




正在读取评论……
大名
网址
验证码
评论