按照本教程:http://aspalliance.com/1993_Replacing_ASPNET_Base_Pages_with_a_PageAdapter无法创建类型 - PageAdapter
它工作在我的测试项目,但在我的生产项目中,我得到以下错误:
Server Error in '/products' Application.
Unable to create type 'Photocreator.ThemedPageAdapter'.
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.Exception: Unable to create type 'Photocreator.ThemedPageAdapter'.
Source 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:
[Exception: Unable to create type 'Photocreator.ThemedPageAdapter'.]
System.Web.Configuration.HttpCapabilitiesBase.GetAdapter(Control control) +889
System.Web.UI.Control.ResolveAdapter() +214
System.Web.UI.Page.get_PageAdapter() +43
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +188
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.468
这个会出现在所有页面,这两个项目都使用框架V4。
任何想法?
你有没有想过解决你的问题? –
我这么认为,但是很久以前我真的不记得是什么修复了。 – cja100