NPetshop is old. NPetshop2 is more up to date. I doubt anyone has tried to compile NPetshop with VS2005. nstruts-config.xml isn't used. This is the exception I get when I launch the NPetshop website:
Exception : at NPetshop.Presentation.UserActions.CatalogAction..ctor(HttpContext context) at NPetshop.Web.UserControls.StartUp.Page_Load(Object sender, EventArgs e) in c:\projects\npetshop\npetshop.web\usercontrols\startup.ascx.cs:line 26 at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain() Error message : The type initializer for "NPetshop.Presentation.UserActions.CatalogAction" threw an exception. Inner Error message : The type initializer for "NPetshop.Service.CatalogService" threw an exception. Source : NPetshop.Presentation View : StartUp I suppose someone should bring the files up to date. --- "Russo, Gary" <[EMAIL PROTECTED]> wrote: > The NPetshop.Web's Web.config file has a reference to the > "nstruts-config.xml" file but this file is missing. > > > > => <add key="StrutsConfigFile" value="nstruts-config.xml"/> > > > > Also, I am getting a "Could not load type" error when I attempt to > build > in Visual Studio 2005. > > > > Error Details: > > Error 2 : Could not load type > 'NPetshop.Web.UserControls.Catalog.Product'. : > C:\code\NPetshop\code\NPetshop.Web\UserControls\Catalog\Category.ascx > 3 > > > > Any thoughts on a solution are much appreciated. > > > > Thanks in advance, > > Gary Russo > > > > > > ________________________________ > > Gary P. Russo > Wolters Kluwer - Corporate Legal Services > 111 Eighth Avenue > New York, NY 10011 > > Office: 212.590.9213 > Cell: 347.678.3261 > > Blog: http://spaces.msn.com/members/pocketxp/ > > MSN IM: [EMAIL PROTECTED] > > email: [EMAIL PROTECTED] > url: http://www.ctadvantage.com > > > >

