Upgarding smart client application to .net 2.0

A

arun.goel

Hi All,

I have recently upgraded a smartclient application to .net 2.0. What
really baffles me is that the app works fine in debug/release mode. But
when I create a setup package or try to run the .exe the offline
application block throws an exception on the following line of code...

offlineBlockInstance = OfflineBlockBuilder.Instance;

Following is the debug trace, I know I am missing something very basic
here, but I can't figure out what, has someone else faced a similar
problem??

Thanks,
Arun

Event Type: Error
Event Source: ExceptionManagerPublishedException
Event Category: None
Event ID: 0
Date: 07/06/2006
Time: 20:10:47
User: N/A
Computer:
Description:

General Information
*********************************************
Additional Info:
ExceptionManager.MachineName:
ExceptionManager.TimeStamp: 07/06/2006 20:10:47
ExceptionManager.FullName :
Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.1.0.0,
Culture=neutral, PublicKeyToken=null
ExceptionManager.AppDomainName: Exertrack Exerlence Advisor.exe
ExceptionManager.ThreadIdentity :
ExceptionManager.WindowsIdentity: SANDEEP-SHIKHA\Sandeep

1) Exception Information
*********************************************
Exception Type: System.Exception
Message: The XML configuration document is invalid, the ScavengingInfo
section defines a type (assembly: '
Microsoft.ApplicationBlocks.Cache,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null',
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()

2) 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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top