473,405 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

The type initializer MS.AB.Cache threw an exception.

The type initializer for 'Microsoft.ApplicationBlocks.Cache.CacheService'
threw an exception.

We migrated our windows application from 1.1 to 2.0. The debug and Release
mode of the application work fine with some tweaking. But when the setup
project is migrated to 2.0 the installation gives the follwing error:

- <ExceptionInformation>
<AdditionalInformationProperty ExceptionManager.MachineName="TestDev"
ExceptionManager.TimeStamp="2/7/2007 1:06:36 PM"
ExceptionManager.FullName="Microsoft.ApplicationBl ocks.ExceptionManagement,
Version=1.0.1913.30369, Culture=neutral, PublicKeyToken=null"
ExceptionManager.AppDomainName="sst.exe" ExceptionManager.ThreadIdentity=""
ExceptionManager.WindowsIdentity="TRADERPUBDEV\use r" />
- <Exception ExceptionType="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)"
Source="Microsoft.ApplicationBlocks.Cache">
<StackTrace>at
Microsoft.ApplicationBlocks.Cache.Scavenging.LruSc avenging.Microsoft.ApplicationBlocks.Cache.IScaven gingAlgorithm.Init(CacheService
cachingService, ICacheStorage cacheStorage, ICacheMetadata cacheMetadata,
XmlNode configSection)</StackTrace>
</Exception>
</ExceptionInformation>
- <ExceptionInformation>
<AdditionalInformationProperty ExceptionManager.MachineName="TestDev"
ExceptionManager.TimeStamp="2/7/2007 1:06:40 PM"
ExceptionManager.FullName="Microsoft.ApplicationBl ocks.ExceptionManagement,
Version=1.0.1913.30369, Culture=neutral, PublicKeyToken=null"
ExceptionManager.AppDomainName="Sales Studio.exe"
ExceptionManager.ThreadIdentity=""
ExceptionManager.WindowsIdentity="TRADERPUBDEV\use r" />
- <Exception ExceptionType="System.Exception" Message="The XML configuration
document is invalid, the ScavengingInfo section defines a type (assembly:
'Microsoft.ApplicationBlocks.Cache', type
'Microsoft.ApplicationBlocks.Cache.Scavenging.LruS cavenging') which an
instance can't be created." Data="System.Collections.ListDictionaryInternal"
TargetSite="Microsoft.ApplicationBlocks.Cache.ISca vengingAlgorithm
CreateInstance(Microsoft.ApplicationBlocks.Cache.C acheService,
Microsoft.ApplicationBlocks.Cache.ICacheStorage,
Microsoft.ApplicationBlocks.Cache.ICacheMetadata)"
Source="Microsoft.ApplicationBlocks.Cache">
<StackTrace>at
Microsoft.ApplicationBlocks.Cache.ScavengingInfo.C reateInstance(CacheService
cacheService, ICacheStorage cacheStorage, ICacheMetadata cacheMetadata) at
Microsoft.ApplicationBlocks.Cache.CacheService..ct or()</StackTrace>
- <Exception ExceptionType="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)"
Source="Microsoft.ApplicationBlocks.Cache">
<StackTrace>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)</StackTrace>
</Exception>
</Exception>
</ExceptionInformation>

Feb 8 '07 #1
0 1960

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Colin | last post by:
Hi there, I have wrote a simple console app in C# to get the dimensions for a jpeg file /*** Image img = Image.FromFile(@"C:\TEMP\PvFile\1036437.jpg", true); LogEvent("Height = " +...
0
by: Jonathan G. | last post by:
I'm writing my first windows service. I have a class called 'mainprocess' whose constructor is called by the service class. Within mainprocess, I declare an instance of another class I wrote,...
0
by: mm | last post by:
All I am a newbie to VB.net I define 2 classes and a module with a sub main When I run the program I get this : The type initializer for 'ExpCnv.mainModule1' threw an exception. Any idea Any...
1
by: ibiza | last post by:
Hi all, I have this class: Public Class KanaConverter Private Shared kana As ArrayList Private Shared romanji As ArrayList Shared Sub New() kana = New ArrayList
0
by: batista | last post by:
Hello All, I have windows server 2003 with IIS 6.0.. I have a webservice that is using a vc7 dll which in turn is using a com dll...now.... there is a function there in that vc7 dll that is...
0
by: Rod | last post by:
I've got Crystal Reports XI Release 2, for development with Visual Studio ..NET 2005. I've taken a VS .NET 2003 WinForms application that I wrote in C#, and upgraded it to VS .NET 2005. It has...
4
by: =?Utf-8?B?YmlqYXk=?= | last post by:
We migrated our windows application from 1.1 to 2.0. The debug and Release mode of the application work fine with some tweaking. But when the setup project is migrated to 2.0 the installation gives...
0
by: Schadrach | last post by:
I'm having a strange problem, I have a small executable that runs a backup for a some data nightly, and as of September 22, 2007 it has ceased to function with the following error: Unhandled...
2
by: tshad | last post by:
I got the following error message when I had set a static string value to "" or " "; "The type initializer for "theSettings" threw an exception." "The path is not of a legal form." The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.