App.config connectionstring不适用于Setup Exe文件 [英] App.config connectionstring Not working for Setup Exe file

查看:127
本文介绍了App.config connectionstring不适用于Setup Exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨专家,



我是Uday Satardekar,



在我的winform项目中,我有使用 Class 文件存储和访问 connectionstring



对于正常运行和Exe安装程序。





现在我已经使用 app.config 文件进行连接字符串。所有更换已经完了。



项目工作正常,连接字符串正常工作。





现在我已经使用正确的exe文件创建了安装文件。



但现在它工作不正常。



并且它给出了以下异常,



Hi Expert,

I am Uday Satardekar,

In my winform project,i have used Class file to store and access connectionstring.

And is working fine for me for both normal running and Exe Setup.


Now today i have used app.config file for connectionstring.All replacement has been finished.

And Project is working ok, connection string is working ok.


Now i have created Setup File, with proper exe file.

But its not working fine now.

And it gives below exception ,

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.





请帮助我。



提前致谢。



抱歉英语不好。



Please Help me.

Thanks in advance.

And sorry for poor english.

推荐答案

MSDN JIT帮助 [ ^ ]我会帮到你。



以下是一些参考 [ ^ ]。



祝你好运,

OI
MSDN JIT Help[^] will help you I think.

Here are some more references[^].

Good luck,
OI


你好Uday,



在app.config文件中包含以下编码并查看。



Hi Uday,

Include the below coding in your app.config file and check it out.

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>





i希望这可以帮助/解决你的错误。



i hope this may help/ resolve your bug.


这篇关于App.config connectionstring不适用于Setup Exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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