Monday, March 26, 2012

newbie 101

NT2003, .Net 2 - ran the test for it, too... just to be sure

none of the serious .net controls work... try on different machines.. same... but the calendar works

none of the samples work from the book... all the same type of error

<please help before I toss all this and go back to CLIPPER>

Parser Error

Description:Anerror occurred during the parsing of a resource required to servicethis request. Please review the following specific parse error detailsand modify your source file appropriately.

Parser Error Message:Couldnot load type System.Web.UI.WebControls.TreeViewTreeView from assemblySystem.Web, Version=1.0.5000.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a.

Source Error:

Line 1: <asp:TreeViewTreeView ID="TreeView1" Runat="server" Font-Underline="False"
Line 2: DataSourceId="XmlDataSource1"
Line 3: CollapseImageUrl="Images/CollapseImage.gif"


Source File: C:\Inetpub\vhosts\theplasticstore.com\httpdocs\test\nav.aspx Line: 1

Is the web site running ASP.NET 2.0 or is it running 1.1? You may have to set this in IIS so the pages are processed using the rigth framework if you have them installed side by side.


Yes, you can run all the .NET frameworks side by side on the same server. Open the properties for your web site and open the ASP.NET tab. Set teh ASP.NET version you wish to run. Here is a special note. Before you do this you will want to make sure you are in a separate APP Pool from any 1.1 applications or you will get worlds coliding. I create a new App Pool for each site on my servers so I can isolate them more and I think this is a good pratice to follow for many reasons. You can set the App Pool for a site in the Home Directory Tab, down at the bottom.

0 comments:

Post a Comment