This project is read-only.

ERROR: Could not load type 'DOTSS.Core.ServerLocator' from assembly 'DOTSS.Core'.

Nov 11, 2008 at 12:31 PM
Edited Nov 11, 2008 at 12:32 PM
 Hi, Getting this error when using the dll files... any help will be appreciated..

Server Error in '/Dotts' Application.

Could not load type 'DOTSS.Core.ServerLocator' from assembly 'DOTSS.Core'.

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 'DOTSS.Core.ServerLocator' from assembly 'DOTSS.Core'.

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 'DOTSS.Core.ServerLocator' from assembly 'DOTSS.Core'.]
System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +64
System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58
System.Type.GetType(String typeName, Boolean throwOnError) +59
Microsoft.Practices.Unity.Configuration.UnityTypeResolver.ResolveType(String typeName) +75
Microsoft.Practices.Unity.Configuration.UnityTypeElement.get_Type() +58
Microsoft.Practices.Unity.Configuration.UnityTypeElement.Configure(IUnityContainer container) +152
Microsoft.Practices.Unity.Configuration.UnityContainerElement.Configure(IUnityContainer container) +392
Dotss.Core.Container.InitializeContainer() +144
Dotss.Core.Container..ctor() +37
Dotss.Core.Container.get_Instance() +113
Dotss.Core.ClientProxy.SetLocator() +75
Dotss.Core.ClientProxy.get_ServerLocator() +35
Dotss.Core.ClientProxy.get_Server() +31
Dotss.Client.Client.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) +34
System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +853
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +216
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +120
Nov 24, 2008 at 12:52 AM
Do you have the Unity entries in your web.config file?

Unity must be configured for Dotss to know how to load the default serverlocator object.