我在自己的电脑上调试运行都可以的,
上传虚拟主机后就不行了,而且我也已经把webctrl_client文件夹复制到虚拟主机的空间的根目录了我现在还不清楚使用了这两个控件之后如果在虚拟主机用,该做些什么操作?

解决方案 »

  1.   

    错误信息是这样的:
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: File or assembly name Microsoft.Web.UI.WebControls, or one of its dependencies, was not found.Source Error: 
    Line 1:  <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
    Line 2:  <%@ Page CodeBehind="left.aspx.cs" Language="c#" AutoEventWireup="false" Inherits="news.web.left" %>
    Line 3:  <HTML>
     Source File: D:\wwwroot\zjhn\news\web\left.aspx    Line: 1 Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.UI.WebControls' could not be loaded.
    谁能帮帮我啊我要的是虚拟主机,该怎么做才行?
      

  2.   

    reeview的话要和管理员联系让他帮你配置一下
    freetextbox的路径要放正确就可以了
      

  3.   

    我将Microsoft.Web.UI.WebControls.dll文件拷贝到BIN目录下就可以了
    可这个文件在我的IIS下是没有的,而是在C:\Program Files\Microsoft Internet Explorer WebControls文件夹下的还有个问题是,如果以后我再用其他的空间,然后再复制Microsoft.Web.UI.WebControls.dll到BIN目录下,那不是要冲突了吗?
    或者空间版本不一样那该怎么办呢?
      

  4.   

    没有把资源文件夹考到站点的根目录下
    treeview需要webctrl_client文件夹它里面有一些.css,.htc和图片
      

  5.   

    程序设计时引用一下Microsoft.Web.UI.WebControls.dll,或者再服务器端注册