Building client on 2005 - Microsoft.ApplicationBlocks.Cache
- From: mateipuiu@xxxxxxxxx <mateipuiu@xxxxxxxxx@discussions.microsoft.com>
- Date: Fri, 23 Jun 2006 06:32:01 -0700
When a try to run a client build on 2005, which uses the
Microsoft.ApplicationBlocks.Cache.dll reference, when using a
Microsoft.ApplicationBlocks.Cache.dll created on Debug mode, the client works
just fine, but when a use a Microsoft.ApplicationBlocks.Cache.dll created on
Release mode, the client doesn't work no more, and I get this error message:
*********************************************
1) Exception Information
*********************************************
Exception Type: System.TypeInitializationException
TypeName: Microsoft.ApplicationBlocks.Cache.CacheManager
Message: The type initializer for
'Microsoft.ApplicationBlocks.Cache.CacheManager' threw an exception.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.ApplicationBlocks.Cache.CacheManager GetCacheManager()
HelpLink: NULL
Source: Microsoft.ApplicationBlocks.Cache
2) Exception Information
*********************************************
Exception Type: System.TypeInitializationException
TypeName: Microsoft.ApplicationBlocks.Cache.CacheService
Message: The type initializer for
'Microsoft.ApplicationBlocks.Cache.CacheService' threw an exception.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.ApplicationBlocks.Cache.CacheService GetCacheService()
HelpLink: NULL
Source: Microsoft.ApplicationBlocks.Cache
StackTrace Information
*********************************************
at Microsoft.ApplicationBlocks.Cache.CacheService.GetCacheService()
at Microsoft.ApplicationBlocks.Cache.CacheManager..ctor()
at Microsoft.ApplicationBlocks.Cache.CacheManager..cctor()
3) Exception Information
*********************************************
Exception Type: System.Exception
Message: The XML configuration document is invalid, the ScavengingInfo
section defines a type (assembly: 'Microsoft.ApplicationBlocks.Cache', type
'Microsoft.ApplicationBlocks.Cache.Scavenging.LruScavenging') which an
instance can't be created.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.ApplicationBlocks.Cache.IScavengingAlgorithm
CreateInstance(Microsoft.ApplicationBlocks.Cache.CacheService,
Microsoft.ApplicationBlocks.Cache.ICacheStorage,
Microsoft.ApplicationBlocks.Cache.ICacheMetadata)
HelpLink: NULL
Source: Microsoft.ApplicationBlocks.Cache
StackTrace Information
*********************************************
at
Microsoft.ApplicationBlocks.Cache.ScavengingInfo.CreateInstance(CacheService
cacheService, ICacheStorage cacheStorage, ICacheMetadata cacheMetadata)
at Microsoft.ApplicationBlocks.Cache.CacheService..ctor()
at Microsoft.ApplicationBlocks.Cache.CacheService..cctor()
4) Exception Information
*********************************************
Exception Type: System.ArgumentNullException
Message: The cache storage cannot be null.
Parameter name: cacheStorage
ParamName: cacheStorage
Data: System.Collections.ListDictionaryInternal
TargetSite: Void
Microsoft.ApplicationBlocks.Cache.IScavengingAlgorithm.Init(Microsoft.ApplicationBlocks.Cache.CacheService,
Microsoft.ApplicationBlocks.Cache.ICacheStorage,
Microsoft.ApplicationBlocks.Cache.ICacheMetadata, System.Xml.XmlNode)
HelpLink: NULL
Source: Microsoft.ApplicationBlocks.Cache
StackTrace Information
*********************************************
at
Microsoft.ApplicationBlocks.Cache.Scavenging.LruScavenging.Microsoft.ApplicationBlocks.Cache.IScavengingAlgorithm.Init(CacheService
cachingService, ICacheStorage cacheStorage, ICacheMetadata cacheMetadata,
XmlNode configSection)
at
Microsoft.ApplicationBlocks.Cache.ScavengingInfo.CreateInstance(CacheService
cacheService, ICacheStorage cacheStorage, ICacheMetadata cacheMetadata)
*********************************************
I saw someone else from this forum has this same error message, so is there
a way to fix this ?
.
- Prev by Date: What is the naming convention for a string builder object?
- Next by Date: Re: What is the naming convention for a string builder object?
- Previous by thread: What is the naming convention for a string builder object?
- Next by thread: Mobile Device developmnet
- Index(es):
Relevant Pages
|