当我想发布程序时,c#setup会生成错误 [英] c# setup generates error when I want to publish the program

查看:82
本文介绍了当我想发布程序时,c#setup会生成错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello,
 The soltion works correctly on my machine...
On a server, in the past I have copied .exe and .dll files, etc in the C:\program files folder of the server. The clients then just run the .exe from the server and all works fine...
Now I would like to create a setup.exe for each client...
 I have published the .exe and it's relevant .dlls onto a test server.
 On the client machine, I point to the test server to run the setup.exe
 At the end of the setup on the client, an error is given and when I trace the file to see the error, it has
 the following in it.

So the issue is that the setup program generates an error.
The client runs the setup.exe and right at the end it gives an error.
But can not find out what it is that is causing the error.

Do you know what is causing this error please?
 The only CLR related .dll I found on the application files which I added was "Microsoft.SqlServer.SqlClrProvider.dll"
 <pre lang="HTML">
 - <ProblemSignatures>
   <EventType>CLR20r3</EventType>
   <Parameter0>myTest.exe</Parameter0>
   <Parameter1>1.0.1.7</Parameter1>
   <Parameter2>53df8393</Parameter2>
   <Parameter3>myTest</Parameter3>
   <Parameter4>1.0.1.7</Parameter4>
   <Parameter5>53df8393</Parameter5>
   <Parameter6>8fb</Parameter6>
   <Parameter7>a</Parameter7>
   <Parameter8>System.IndexOutOfRangeException</Parameter8>
   </ProblemSignatures>

</pre>

推荐答案

请检查安装路径。


这篇关于当我想发布程序时,c#setup会生成错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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