Unable to display TreeView in webpage

caeanis

Freshman
Joined
Sep 6, 2006
Messages
40
When I preview the page, it displays fine. But when I try to bring it up normally in the browser and not through the ASP.NET Development Server, I get the following message:

Parser Error Message: Could not load type System.Web.UI.WebControls.TreeView from assembly System.Web, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

I'm not sure what this means. Has anyone seen this? I've tried searching the search engines but haven't seen anything promising so far. Any help would be appreciated. Thank you!

Caeanis
 
From the version number it looks like you are running .Net 1.0 on the web server. Make sure .Net is installed on the server and that the virtual directory under IIS is configured to use the correct version.
 
That was it! I changed the version in IIS in the Web Sites properties in the ASP.NET tab and voila! Thank you!
 
Back
Top