我的PetShop安装成功之后,http://localhost/MSPetShop可以访问,但其它页面都不能出现如下错误信息Server Error in '/MSPetShop' Application.
--------------------------------------------------------------------------------Value cannot be null.
Parameter name: assemblyString
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: assemblyStringSource Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: assemblyString]
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +2800707
System.Reflection.Assembly.Load(String assemblyString) +25
PetShop.DALFactory.Product.Create() +45
PetShop.BLL.Product.GetProductsByCategory(String category) +53
PetShop.Web.Category.PageChanged(Object sender, DataGridPageChangedEventArgs e) +182
PetShop.Web.Controls.SimplePager.OnPageIndexChanged(DataGridPageChangedEventArgs e) +22
PetShop.Web.Controls.SimplePager.OnLoad(EventArgs e) +108
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 小弟是新手,高手请赐教,谢谢!
--------------------------------------------------------------------------------Value cannot be null.
Parameter name: assemblyString
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: assemblyStringSource Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: assemblyString]
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +2800707
System.Reflection.Assembly.Load(String assemblyString) +25
PetShop.DALFactory.Product.Create() +45
PetShop.BLL.Product.GetProductsByCategory(String category) +53
PetShop.Web.Category.PageChanged(Object sender, DataGridPageChangedEventArgs e) +182
PetShop.Web.Controls.SimplePager.OnPageIndexChanged(DataGridPageChangedEventArgs e) +22
PetShop.Web.Controls.SimplePager.OnLoad(EventArgs e) +108
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 小弟是新手,高手请赐教,谢谢!
说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。 分析器错误信息: 未能加载类型“PetShop.Web.Global”。源错误:
行 1: <%@ Application CodeBehind="Global.asax.cs" Inherits="PetShop.Web.Global" %> 源文件: /MSPetShop/global.asax 行: 1
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.42