Hi,
I created a web project in vs. 2005. Later moved to vs. 2008 and it converted it. Also changed it from .net 2.0 to 3.5.
The Solution contains the main webforms project, a bol base project, and a bol project. The solution compiles fine and I can publish and run it to my XP testing server.
But when I publish it to the production windows 2003 server then I get the error below. Any suggestions on what gives?
Thanks
Server Error in '/testschool_awa' Application.
Could not load type 'MicroFour.StrataFrame.Business.FieldPropertyDescriptor`1' from assembly 'MicroFour StrataFrame Business, Version=1.6.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7'.
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.TypeLoadException: Could not load type 'MicroFour.StrataFrame.Business.FieldPropertyDescriptor`1' from assembly 'MicroFour StrataFrame Business, Version=1.6.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7'.
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:
[TypeLoadException: Could not load type 'MicroFour.StrataFrame.Business.FieldPropertyDescriptor`1' from assembly 'MicroFour StrataFrame Business, Version=1.6.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7'.] AESWebAccess.BOL.AWASchoolInfoBO..cctor() in E:\_VS2008Projects\DEV\AES\AESWebAccess.BOL\AESWebAccess.BOL\AWASchoolInfoBO.Designer.vb:765 [TypeInitializationException: The type initializer for 'AESWebAccess.BOL.AWASchoolInfoBO' threw an exception.] [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +86 System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230 System.Activator.CreateInstance(Type type, Boolean nonPublic) +67 MicroFour.StrataFrame.UI.Web.BasePage.InitializeBusinessObjects(PropertyInfo[] PropertyInfos) +152 MicroFour.StrataFrame.UI.Web.BasePage.Page_PreLoad(Object sender, EventArgs e) +25 System.Web.UI.Page.OnPreLoad(EventArgs e) +111 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +554
|
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082