473,395 Members | 1,823 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.

Common Language Runtime detected an invalid program

Hi,
I was trying to use the coding which was previously done by my senior from asp.net 1.0 and paste it into asp.net 2.0 and edit the program.

After i compiled it, the error came out like this: Common Language Runtime detected an invalid program

i don't know what has caused this problem...

Is anyone know how to solve this problem?

Thanks.
Jul 10 '07 #1
6 2607
kenobewan
4,871 Expert 4TB
That's why s/he gets paid the big bucks ;). Are you using VS? Please provide more info about your platform. Thanks.
Jul 10 '07 #2
yaya..i am using VB...NET 2.0 framework..
Jul 10 '07 #3
and using window XP..thxthx
Jul 10 '07 #4
kenobewan
4,871 Expert 4TB
When you say copy & pasted, you didn't try opening the application and use the conversion wizard or was it just part of the application?
Jul 10 '07 #5
nope..actually is not copy and paste work...actually it is changed to 2.0 manually..and the script got a bit diff, where all the script become more tidy...i am now trying to debug the function,maybe gt error inside, i saw in other forum stated tat "Common Language Runtime detected an invalid program" is related to compiler problem..is it true?
Jul 11 '07 #6
kenobewan
4,871 Expert 4TB
I have always used the VS conversion wizard so have not done it manually. You could try converting a backup version of the application through VS, to see if you get a better result. HTH.
Jul 11 '07 #7

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

Similar topics

0
by: Candi Suriano | last post by:
Help! I have a VB.Net dll that must be exposed to COM. The VB.Net program calls a C++ With managed extensions dll. When I try to reference the VB.Net dll from another VB.net program I get the...
0
by: Tony Johansson | last post by:
Hello Experts! I reading a book called programming with design pattern revealed by Tomasz Muldner and here I read something that sound strange. "Exception are divided into logic errors and...
22
by: larry | last post by:
I was just looking at a demo training that mindleaders has on .net training: http://www.mindleaders.com/products/democourse3.asp And I don't believe this is correct or at least is misleading...
5
by: Sahil Malik [MVP] | last post by:
Okay I installed the LINQ preview on Beta2, and anything I write gives me this error now. The documentation over here - http://msdn.microsoft.com/vs2005/currentreadme/default.aspx aptly tells...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
8
by: douglass_davis | last post by:
Some things i do not understand about CLR if any one could clear this up i would appreciate it. 1. When I compile a program in VB .NET 2003 and get an executable, does that executable contain...
2
by: drosophila1903 | last post by:
hello all, I have a problem with an application I have created. I built a program in vb.net and created a setup file for that. the program runs successfuly in my computer. however when I run the...
0
by: =?Utf-8?B?UkJlbGw=?= | last post by:
I have a VB .NET app that I've been working on for quite some time. The app has been working fine with no problems. I have recently been charged with Internationalizing the app. Since I have never...
2
by: Richy | last post by:
I'm getting the message: common language runtime detected an invalid program all too frequently in VB 2008 Express. I use edit-and-continue a lot and it usually happens after making a minor...
2
by: jimmy1087 | last post by:
I have using Visual Studio 2008 quite long but lately I am getting this message when I am developing an application in C#: "Common language runtime detected an invalid program" This happens...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
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...
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
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...

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.