473,805 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

conflict between .net framework 1.1 and 2.0

I wrote my program with visual c#2005 so it s written with .net framework
2.0 but after that i take my code and compiled with visual studio .net 2003
it was working good until today.
Today i deleted the .net framework 2.0 and i took this error when my program
executed


An unhandled exception of type 'System.IO.File NotFoundExcepti on' occurred in
system.dll

Additional information:
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.40607 \aspnet_admin.e xe

here is the part of my code which gives the error

private System.Diagnost ics.FileVersion Info myinfo;

String dir = myproc[i].MainModule.Fil eName.ToString( );
if (dir[0] == 'C' || dir[0] == 'D' || dir[0] == 'E' || dir[0] == 'F' ||
dir[0] == 'G' || dir[0] == 'H')
{
myinfo = System.Diagnost ics.FileVersion Info.GetVersion Info(dir);
}



what can be the problem
Nov 16 '05 #1
1 1321
any idea?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 16 '05 #2

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

Similar topics

0
2294
by: keefah | last post by:
Hi, I'm writing a C# web app that uses Outlook to send email. I use a reference to the Microsoft Outlook 11.0 Object Library, but it's giving me problems. I tracked down some stuff on the Net about the global assembly cache (GAC) and primary interop assemblies (PIA) and so forth, and did all the recommendations, in terms of tweeking Office, installing the .NET Office stuff for framework 1.1, etc. I got it to the point where it compiles ok,...
3
1157
by: David Gildea | last post by:
Hi All, I am having a problem with IIS 5.1 when opening new web projects on VS2003. I have recently installed VS 2005 on the same machine. Is anyone aware of a conflict between them. The error is "HTTP/1.1 500 Server Error" Thanks Dave
4
1302
by: Problem doesn't solve | last post by:
Hello. I'm having a big problem with asp .net. Initially, when I create a new web applicaction and I try to open an aspx page, I get an error message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error:
0
1253
by: Steve Franks | last post by:
Every time I rebuild my ASP.NET site (2005 beta 2) I get the following warning, and I cannot figure out where it is coming from and how to resolve it: Warning 1 The type 'myquicktest' in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files\mysite\eaba3506\7d38a89a\6caxsuep.9.cs' conflicts with the imported type 'myquicktest' in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET...
2
1917
by: hzgt9b | last post by:
Situation: I've been using VS .NET 2003 to develop apps w no problems. So, today, my manager had me install VS 2005 (& with it the .NET 2.0 framework) so now my machine has VS .NET 2003 (.NET Framework 1.1) and VS 2005 (.NET Framework 2.0). Issue: A program that I developed in VS .NET 2003 now gets a run time exception when executing the program outside the VS 2003 development environment (when I execute the program through VS 2003 the...
14
3550
lotus18
by: lotus18 | last post by:
Hello World I have a problem in detecting the conflict schedule (Day and Time). Day 1. M 2. T 3. W 4. TH 5. F
14
6910
lotus18
by: lotus18 | last post by:
Hello all I have these records on my Day Table for my complete database table please click here 1. M 2. T 3. W 4. TH 5. F 6. S
4
1483
by: C.W. | last post by:
I have run into a really bizzare problem on my windows xp machine running asp.net 1.1 and asp.net 2.0 simultaneously. One of my asp.net 1.1 web application recently suddenly stopped running. I repeated get the following error: aspnet_wp.exe could not be started. The error code for the failure is 80004005. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure...
14
3332
by: adversus | last post by:
Good afternoon, Byte'rs! I'm running into an annoyance that, utilizing the framework I am, has been causing me grief. In a nutshell: -Access 2003 Compiled ADE application -SQL Server 2005 backend -15 concurrent users Normally our application has very specific workflows that handle how users get assigned specific records they're responsible for updating. This works well, because it pushes criteria to a Stored Proc that runs on the...
0
9716
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10609
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10366
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10105
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7646
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5542
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.