Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Error "unable to find a version of the runtime to run this application .net framework"
August 20, 2012
I have develop one application in "Visual Studio 2008" and create exe of that application. that exe i run on windows server 2003,and i have install "dot net framework 4.0".
when i run application it gives me initialization error "unable to find a version of the run-time to run this application .net framework"
Please give me solution for this.
Thanks and Regards.
Posted Date: August 22, 2012 Points: 20
I found One Solution, add App.Config file in your project and insert
<?xml version="1.0" encoding="utf-8" ?>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
<supportedRuntime version="v2.0.50727" />
<supportedRuntime version="v1.0.3705" />
<supportedRuntime version="v1.1.4322" />
this code and build in release mode,
it will work on every Framework.
Thanks And Regards.
To post reply
Related Questions Related Questions
While running ASP.NET in IE it shows error like this
How to access triggers error message in asp.net..
Error at reading xml data in C#.NET
Error while running on IIS
Error In Encryption
Error in Web Setup Project while using Installer Class aError in Web Setup Project while using Installer Class and Custom Actions "Object reference not set to an instance of an object"nd Custom Actions "Object reference not set to an instance
ASP.NET - Error throwing or logging
Create new Database connection error
Error creates when install the SQL Server
Latest Forum Questions From The Same Category
To Achieve draw wave form from speaker outputs.
How to display the text in the second ck editor with strikes while extracting from database
Mail is working but I want send two excel file to each different person
how to display child nodes with headers and keeping the child nodes in a table
In DataGrid I have Two Dropdownlist, One in Header template and Item Template
Display data directly from database table to PDF using stored procedures in asp.net C#
How to install and use Dev Express ?
Dialogbox Custom Control
Custom Control in Winforms
I just started learning c#.net console application
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend