473,657 Members | 2,499 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to force a .net application to use .net 2.0 ?

how to force a .net application to use .net 2.0 ?
this windows service is about 4 years old and im pretty sure is using .net
1.x runtime. Is there soem setting in the installer that says to use .net
2.0 instead of .net 1.0? this windows service is developed in visual studio
2002
Sep 21 '07 #1
1 3825
Hi. As far as I know, the exe-files compiled to .net 1.x will always be tied
to that 1.x runtime.
Making the service run in 2.0 can be done, but why would you want to?
One way to do it would be to make a new service that depends on the former
exe-file and just simply uses the methods and such in that file as a wrapper
to force the 2.0 runtime to host it.

Another way could be to configure the exe to run in .net 2.0 though a
..config file.
I believe there's a <runtimeeleme nt which can be used to set this.

'Hans Olav.

"Daniel" <so************ *******@yahoo.c omwrote in message
news:eP******** ******@TK2MSFTN GP03.phx.gbl...
how to force a .net application to use .net 2.0 ?
this windows service is about 4 years old and im pretty sure is using
.net 1.x runtime. Is there soem setting in the installer that says to use
.net 2.0 instead of .net 1.0? this windows service is developed in visual
studio 2002

Nov 1 '07 #2

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

Similar topics

6
6944
by: Ray | last post by:
DB2 V7.2 Is it possible to list applications connected to a node by Auth ID? Is it possible to force applications connected to a node by Auth ID or am I forced to use App. Handle? Thanks, Ray
2
5859
by: Raquel | last post by:
FORCE APPLICATION command is valid only at the 'instance' level. Why is this so? An instance may contain many databases. So, what command do I give if I want to force applications from a particular database. Interestingly, LIST APPLICATIONS command does have a 'FOR DATABASE' option which means that I can find the list of applications for a particular database, but have no option to Force all the applications for that database. I have to...
2
9180
by: Tony Do | last post by:
I have the backup command BACKUP DATABASE NEST TO C:\\databases WITH 2 BUFFERS BUFFER 1024 $ How do I force all the user to disconnect? before running the above command
2
476
by: Toralf Kirsten | last post by:
Hi, we are using db2 8.1 on Linux. I'd like to close all open connection at a defined time point. Therfore I wrote a sql script including the command disconnect all or release all
5
6722
by: wyhang | last post by:
Hi, I have a "list applications show detail" item below. DB2INST1 db2bp 524825 GAAF2D07.FB44.0E0F58094019 0003 1 8 0 Disconnect Pending 08/28/2005 21:24:11.012683 JXCRM /db2data/db2inst1/NODE0000/SQL00001/ it has been hang there for more than 10 days. force application(appid) will not work.
10
3499
by: appdevtech | last post by:
A little background… We have multiple web servers in a farm and are starting to upgrade some applications to 1.1 by re-compiling in VS2003. One of the things out of our direct control is the framework version on the application directory. I'm worried that in the future some directories could be reverted back to 1.0 on all or some of the servers. I was hoping I could force the applications I choice to always use 1.1 by putting this in...
5
2964
by: toddles666 | last post by:
Hi- Is there any way of restricting access to a database by application & account? For example, I only want the application APP1 to access the database using the USER1 account. I've tried to use the DB2 Governor to do this, but it seems it always allows the the first query to be processed before forcing the connection. Here is my db2gov config file: --- start config
5
2282
by: Sridhar | last post by:
Hi, I have created a project which contains classes to read the data from the database. This project has an App.Config file which contains the SqlConnection String. when this code is called from a web application and if I need to read the connection string it is reading the connection string from the web.config of web application. I am not knowing how to change the Application domain so that it reads the App.config file instead of...
5
2771
by: Mike L | last post by:
If a newer version of the application exist, the user will receive a popup question that states, "Update Available. Application update. A new version of projectname is available. Do you want to download it now?" OK button and a Skip button are show on the popup question. I don't want the popup question to show up for the user. I don't see the option to disable this in the publish wizard.
2
2308
by: comp.lang.php | last post by:
class ReportGenerator { function ReportGenerator() {} /** * Generate the HTTP headers necessary for this file type. Can be called statically *
0
8310
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
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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
7333
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
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
4158
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...
1
2731
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1957
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1620
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.