473,395 Members | 1,403 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,395 software developers and data experts.

The type initializer for 'NAMESPACE.CLASS' threw an exception

Shenno
59
hiz all,
i have made an applicaion on my desktop using VS2008 and after i've finished i copied the app. to projects directory on my laptop and tried to build the app on my laptop and it's succ. built... but faild to debug :/

and throw an exception :
"The type initializer for 'reservation.BigFather' threw an exception"

i have just copied the fils from pc project directory to laptop project directory..

i have tried to load another form instance and it worked perfictly, then problem accurs when i try to creat new instance or Bigather form class only,

this class contain registry modification functions..

can any help? THX
Nov 11 '10 #1
2 2240
Shenno
59
i did solve this issue, jus run VS2008 as administrator :D
Nov 13 '10 #2
BigFather??? Cool
Nov 15 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

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,...
1
by: Kris | last post by:
Hey everyone, I am trying to make a multi-project web application in visual studio that uses the server.transfer method in C# to get to the different aspx pages. However, when I call out to the...
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...
0
by: =?Utf-8?B?YmlqYXk=?= | last post by:
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...
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...
3
by: =?Utf-8?B?RnJlZHJpayBLcm9uYW5kZXI=?= | last post by:
Hi, I have an ASP.NET application that uses a static class for caching xml document and compiled xsl transforms. This has been working fine up until now when I'm trying to install it to an...
1
by: paul snow | last post by:
I'm having this System.TypeInitializerException problem but only during runtime in a separate environment than its own build environment. Win7x64 is the build environment. I'm testing the project...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
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
marktang
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,...
0
Oralloy
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,...
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...

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.