Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Treeview control - configuration error

Status
Not open for further replies.

net123

Programmer
Oct 18, 2002
167
US
I downloaded everything properly from microsoft and got their sampleapp files working. I then found a directorybrowser.zip file that uses the treeview control. I want to implement it but I keep on getting errors! I can't seem to figure it out. I have been working on this for a while now.

You assistance will be greatly appreciated:

==================================

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: The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match the assembly reference.

Source Error:

Line 1: <%@ Register TagPrefix=&quot;mytree&quot;
Line 2: Namespace=&quot;Microsoft.Web.UI.WebControls&quot;
Line 3: Assembly=&quot;Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; %>

Source File: c:\inetpub\ Line: 1

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.UI.WebControls' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\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=31bf3856ad364e35
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/directorybrowser1/dec89f4d/d7e9ae47/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/directorybrowser1/dec89f4d/d7e9ae47/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
[/red]
====================================

I noticed that in my machine.config file, the version is different for the web ui controls (1.0.5) and I made the changes but nothing. I also deleted all of that stuff 'Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35' and still nothing.

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top