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.LruS cavenging')
which an instance can't be created.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.ApplicationBlocks.Cache.IScavengingAlgor ithm
CreateInstance(Microsoft.ApplicationBlocks.Cache.C acheService,
Microsoft.ApplicationBlocks.Cache.ICacheStorage ,
Microsoft.ApplicationBlocks.Cache.ICacheMetadata)
HelpLink: NULL
Source: Microsoft.ApplicationBlocks.Cache
StackTrace Information
*********************************************
at
Microsoft.ApplicationBlocks.Cache.ScavengingInfo.C reateInstance(CacheService
cacheService, ICacheStorage cacheStorage, ICacheMetadata cacheMetadata)
at Microsoft.ApplicationBlocks.Cache.CacheService..ct or()
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.IScavengingAlgor ithm.Init(Microsoft.ApplicationBlocks.Cache.CacheS ervice,
Microsoft.ApplicationBlocks.Cache.ICacheStorage ,
Microsoft.ApplicationBlocks.Cache.ICacheMetadata, System.Xml.XmlNode)
HelpLink: NULL
Source: Microsoft.ApplicationBlocks.Cache
StackTrace Information
*********************************************
at
Microsoft.ApplicationBlocks.Cache.Scavenging.LruSc avenging.Microsoft.ApplicationBlocks.Cache.IScaven gingAlgorithm.Init(CacheService
cachingService, ICacheStorage cacheStorage, ICacheMetadata
cacheMetadata, XmlNode configSection)
at
Microsoft.ApplicationBlocks.Cache.ScavengingInfo.C reateInstance(CacheService
cacheService, ICacheStorage cacheStorage, ICacheMetadata cacheMetadata) 1 2588
By looking at the error it is basically a null exception. Beware of your new
keyword somewhere.
chanmm
<ar*******@gmail.com> wrote in message
news:11**********************@f6g2000cwb.googlegro ups.com... 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.LruS cavenging') which an instance can't be created. Data: System.Collections.ListDictionaryInternal TargetSite: Microsoft.ApplicationBlocks.Cache.IScavengingAlgor ithm CreateInstance(Microsoft.ApplicationBlocks.Cache.C acheService, Microsoft.ApplicationBlocks.Cache.ICacheStorage , Microsoft.ApplicationBlocks.Cache.ICacheMetadata) HelpLink: NULL Source: Microsoft.ApplicationBlocks.Cache
StackTrace Information ********************************************* at Microsoft.ApplicationBlocks.Cache.ScavengingInfo.C reateInstance(CacheService cacheService, ICacheStorage cacheStorage, ICacheMetadata cacheMetadata) at Microsoft.ApplicationBlocks.Cache.CacheService..ct or()
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.IScavengingAlgor ithm.Init(Microsoft.ApplicationBlocks.Cache.CacheS ervice, Microsoft.ApplicationBlocks.Cache.ICacheStorage , Microsoft.ApplicationBlocks.Cache.ICacheMetadata, System.Xml.XmlNode) HelpLink: NULL Source: Microsoft.ApplicationBlocks.Cache
StackTrace Information ********************************************* at Microsoft.ApplicationBlocks.Cache.Scavenging.LruSc avenging.Microsoft.ApplicationBlocks.Cache.IScaven gingAlgorithm.Init(CacheService cachingService, ICacheStorage cacheStorage, ICacheMetadata cacheMetadata, XmlNode configSection) at Microsoft.ApplicationBlocks.Cache.ScavengingInfo.C reateInstance(CacheService cacheService, ICacheStorage cacheStorage, ICacheMetadata cacheMetadata) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Zach Martin |
last post by:
Working on developing a smart client application and I am trying to get past
one nasty stumbling block. Hoping someone with previous smart client
deployment experience can steer me in the right...
|
by: Jeff |
last post by:
Please note this is NOT a rant or complaint! And yes, I'm over-simplifying,
but intentionally. Here goes...
With ASP.NET Web applications I like that I can access data from anywhere
without...
|
by: HM |
last post by:
Hi,
I have an existing web application in ASP/VB which uses OCX controls. I want
to replace them with a Smart client solution, but I do not want to change the
whole application at the first go....
|
by: Uma |
last post by:
Dear all,
I have a problem while running a smart client application which was
installed through CD-ROM. After installing the smart client setup the
application is running properly. When running...
|
by: Pieter Coucke |
last post by:
Hi,
What's in general the most performant for a VB.NET Windows Forms (2.0)
application:
- a fat client (everything one the client, the server hosts only the
database)
- a smart client (an...
|
by: arun.goel |
last post by:
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...
|
by: Avi |
last post by:
Hi there,
Sorry, newbie, learning my way around ...
I understand that ASP.Net is built on the assumption that the client
does not run the .net framework, and that when you can assume that the...
|
by: Rasheed |
last post by:
We are building a smart client application (.NET 2.0) which uses Web Services
to access the business objects.
Services: The Web Services have been secured by brokered authentication
using X509...
|
by: java |
last post by:
Hey there,
I just removed an elderly PHP4-Installation from my Windows-Box and
installed PHP 5.2.1. I used the PHP4-Module as local batchfile-
interpreter by
E:\ersDHCP>php ./extractLog.php
...
|
by: Ekart Laszlo |
last post by:
Hi, there
We have currently a Java Applet based solution that we would like to
rewrite to a .NET solution.
The scenario is the following:
1. Starter Client application opens up a web browser...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |