Exception when upgrading to asp.net 3.5

I get this exception when I upgrade to asp.net 3.5. I am using Dataphor 2.1.

Do you have any idea what may be going on?

Thanks,
Jason Workman

[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) +0
System.Reflection.Assembly.GetTypes() +105
CO.DAERegister.GetClasses() +119

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +350
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
Alphora.Dataphor.DAE.Schema.ClassLoader.GetClassList(Assembly AAssembly) +107
Alphora.Dataphor.DAE.Schema.ClassLoader.UnregisterAssembly(Assembly AAssembly) +62
Alphora.Dataphor.DAE.Schema.ClassLoader.RegisterAssembly(LoadedLibrary ALibrary, Assembly AAssembly) +435
Alphora.Dataphor.DAE.Server.LocalServer.ClassLoaderMissed(LocalProcess AProcess, ClassLoader AClassLoader, ClassDefinition AClassDefinition) +393
Alphora.Dataphor.DAE.Server.LocalProcess.ClassLoaderMissed(ClassLoader AClassLoader, ClassDefinition AClassDefinition) +59
Alphora.Dataphor.DAE.Schema.ClassLoaderMissedEvent.Invoke(ClassLoader AClassLoader, ClassDefinition AClassDefinition) +0
Alphora.Dataphor.DAE.Schema.ClassLoader.DoMiss(ClassDefinition AClassDefinition) +22
Alphora.Dataphor.DAE.Schema.ClassLoader.GetClass(ClassDefinition AClassDefinition) +37
Alphora.Dataphor.DAE.Server.Plan.CheckClassDependency(LoadedLibrary ALibrary, ClassDefinition AClassDefinition) +34
Alphora.Dataphor.DAE.Language.D4.Compiler.CompileCreateOperatorStatement(Plan APlan, Statement AStatement) +3241
Alphora.Dataphor.DAE.Language.D4.Compiler.InternalCompileStatement(Plan APlan, Statement AStatement) +2123

[CompilerException: Internal error: Unexpected exception encountered during compilation.]
Alphora.Dataphor.DAE.Server.ServerBatch.Alphora.Dataphor.DAE.IServerBatch.Execute(DataParams AParams) +288
Alphora.Dataphor.DAE.Server.ServerScript.Alphora.Dataphor.DAE.IServerScript.Execute(DataParams AParams) +124
Alphora.Dataphor.DAE.Server.LocalExpressionPlan.GetDataType() +326

[ServerException: Errors occurred while deserializing client cache time stamp (29).]
Alphora.Dataphor.DAE.Client.DAECursor.Open() +139
Alphora.Dataphor.DAE.Client.DAEDataSet.OpenCursor() +90
Alphora.Dataphor.DAE.Client.DAEDataSet.InternalOpen() +37
Alphora.Dataphor.DAE.Client.DataView.InternalOpen() +271
Alphora.Dataphor.DAE.Client.DataSet.Open() +49
Alphora.Dataphor.DAE.Client.DataView.Open(DataSetState AOpenState) +72
DataphorConnectedPage.GetDataView(String AExpression, DataSetState ADataSetState) in c:\src\C3\Website\App_Code\CashwiseOnlinePage.cs:200
DataphorConnectedPage.GetReadOnlyDataView(String AExpression) in c:\src\C3\Website\App_Code\CashwiseOnlinePage.cs:157
CashwiseOnlinePage.get_EstimatedOriginationDate() in c:\src\C3\Website\App_Code\CashwiseOnlinePage.cs:1779
NewLoan.InternalInit(EventArgs e) in c:\src\C3\Website\NewLoan.aspx.cs:133
NewLoan.OnInit(EventArgs e) in c:\src\C3\Website\NewLoan.aspx.cs:471
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

Assembly Loading

Hi Jason,

It may be that there is some dependency that the core DAE assemblies are using that has been updated in 3.5. With the release builds, the assemblies reference using strong names, so an updated assembly could result in a type load failure like this. Can you use the fusion log viewer to determine exactly which assembly is failing to load?

Regards,
Bryn Rhodes
Database Consulting Group LLC