Results 1 to 3 of 3

Thread: File Not Found

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2004
    Posts
    59

    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" %>

  2. #2
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    Have you included the System.Web namespace?
    Have you included the System.Web dll as a reference?
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2004
    Posts
    59
    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 ?
    Last edited by narmi2; May 25th, 2004 at 10:18 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width