-
File Not Found
Hello
i keep getting the following error message and cant figure out why
Parser Error Message: File or assembly name Microsoft.Web.UI.WebControls, or one of its dependencies, was not found.
Line 2: <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
-
Have you included the System.Web namespace?
Have you included the System.Web dll as a reference?
-
yes, I have the following line at the top of the aspx page:
<%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
edit-------------------
Its probably best if I include all the code:
Code:
<%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
<meta name="vs_showGrid" content="True">
<iewc:TreeView id="TreeView1" runat="server" accessKey="<%# Page %>" ImageUrl="file:///C:\folder.JPG" BorderWidth="0px" SelectedNodeIndex="0" SystemImagesPath="/zzz/">
<iewc:TreeNodeType></iewc:TreeNodeType>
<iewc:TreeNodeType></iewc:TreeNodeType>
<iewc:TreeNodeType></iewc:TreeNodeType>
<iewc:TreeNodeType></iewc:TreeNodeType>
<iewc:TreeNode ImageUrl="file:///C:\folder.JPG" Text="Node0">
<iewc:TreeNode Text="Node3"></iewc:TreeNode>
<iewc:TreeNode Text="Node4"></iewc:TreeNode>
</iewc:TreeNode>
<iewc:TreeNode ImageUrl="file:///C:\folder.JPG" Text="Node9">
<iewc:TreeNode Text="Node11"></iewc:TreeNode>
</iewc:TreeNode>
<iewc:TreeNode ImageUrl="file:///C:\folder.JPG" Text="Node10"></iewc:TreeNode>
</iewc:TreeView>
The Error Message---------------------------
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
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" %>
Line 2: <meta name="vs_showGrid" content="True">
Line 3: <iewc:TreeView id="TreeView1" runat="server" accessKey="<%# Page %>" ImageUrl="file:///C:\folder.JPG" Height="41px" Width="24px" Indent="0" ExpandedImageUrl="file:///C:\folder.JPG" BorderWidth="0px" SelectedNodeIndex="0" SystemImagesPath="/zzz/">
Source File: c:\MyWebFolder\WebForm1.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.
My Thoughts ------------------------
Would it have anything to do with the fact that I am using this web component with .net v1.0.3705 ?