此应用程序无法启动,因为应用程序配置不正确。 [英] This application has failed to start because the application configuration is incorrect.

查看:176
本文介绍了此应用程序无法启动,因为应用程序配置不正确。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai,

运行我的应用程序时出现以下错误。

此应用程序无法启动,因为应用程序配置不正确。重新安装可能会解决此问题。请不要在没有安装Visual Studio的情况下给我建议这是怎么回事。



我使用的是Windows XP 32位操作系统



BR

Jessi

Hai,
I am getting the following error while running my application.
"This application has failed to start because the application configuration is incorrect. reinstalling may fix this problem ". Please advice me without installing Visual Studio how this possible.

I used "Windows XP 32 bit os"

BR
Jessi

推荐答案

不,这不是Visual Studio的问题。 您的应用程序有一个 * .exe.config 文件。这是某种XML文件。该文件出了问题。

通常从文件app.config在Visual Studio中构建应用程序时创建该文件。

所以只需重新构建你的应用程序。如果这不起作用,请仔细查看 app.config 文件。
No, that's not a problem of Visual Studio. Your application has a *.exe.config file. That's some kind of XML file. And something is wrong with that file.
The file is normally created when you build your application in Visual Studio from the file app.config.
So just re-build your application. If that does not work, take a closer look at the app.config file.


似乎问题出在您的配置文件中。你可以在这里粘贴你的配置文件内容吗?
Seems the problem is in your configuration file. Can you paste your config file content here?


你好,

你提到这个应用程序没有在任何没有安装Visual Studio的机器上运行,但是它运行在已安装VS的计算机上,因此可能意味着问题是由于某些缺少的vc ++重新分发而导致的。这些可重新分发的内容基本上是运行应用程序所需的库或其他代码,并且当Visual Studio安装在计算机上时默认安装,因此如果要在其他计算机上运行此应用程序,而不在其上安装Visual Studio,那么您需要下载此应用程序所需的vc ++可重新分发版本并将其安装在其他机器上。



在运行应用程序的机器的控制面板中,检查已经安装的vc ++ re-distributables的版本(在已安装的程序列表中),然后下载这些并将它们安装在没有安装Visual Studio的其他机器上。

你用vc8标记了这个问题所以此可再发行版必须是VS2005。

在此处查看下载vc ++重新分发 [ ^ ]



希望这有帮助!

you mentioned that this application is not running on any machine which does not have Visual Studio installed, but it runs on the machines which have VS installed so it can mean that the problem is caused due to some missing vc++ re-distributables. These re-distributables are basically libraries or additional code required to run the applictions and get installed by default when Visual Studio is installed on a machine, so if you want to run this application on other machines, without installing Visual Studio on them, then you need to download the vc++ re-distributable version required for this application and install them on those other machines .

In the control panel of a machine where application is running, check the version of vc++ re-distributables already installed (in the installed programs list), then download these and install them on the other machine which does not have Visual Studio installed .
You tagged the question with vc8 so this redistributable has to be of VS2005 .
look here for downloading vc++ re-distributables[^]

hope this helps !


这篇关于此应用程序无法启动,因为应用程序配置不正确。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆