Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: 11 Jun 2006 23:22:02 -0700,    group: microsoft.public.dotnet.faqs        back       


Upgarding smart client application to .net 2.0   
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)
date: 11 Jun 2006 23:22:02 -0700   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us