VC ++发布问题 [英] VC++ Release problem

查看:72
本文介绍了VC ++发布问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了关于发布的问题。如果有人能给我一个帮助,我真的很感动。


问题是当我在另一台电脑上运行时。将显示应用程序已生成无法处理的异常的异常。你知道是什么原因引起的。


另一个奇怪的事情是当我将它粘贴到另一台PC上,然后我运行它,它工作。但是当我从网络上分享它时,它没有用。


任何想法。


谢谢

解决方案


我遇到了有关Release的问题。如果有人能给我一个帮助,我真的很感动。


问题是当我在另一台电脑上运行时。将显示应用程序已生成无法处理的异常的异常。你知道是什么原因引起的。


另一个奇怪的事情是当我将它粘贴到另一台PC上,然后我运行它,它工作。但是当我从网络上分享它时,它没有用..


任何想法。


谢谢


检查文件和资源名称 - 我的猜测是你已经为本地机器编写了一些东西而没有使用网络或绝对路径名。


您正在编译和分发可执行文件,对吗?或者你是在为每台机器编译吗?



检查文件和资源名称 - 我的猜测是你为本地机器和没有使用网络或绝对路径名。


您正在编译和分发可执行文件,对吗?或者你在为每台机器编译?



您好sicarie;

感谢您的帮助。

我将整个发布文件复制到网络中(P :),一旦我在电脑上运行程序,抱歉。我从P:运行它,出现以下异常。

异常''System.Security。在SolarPanelTest(我的小程序名称)中发生了Policy.PolicyException''

而且,有三个可能的调试器让我选择:

GSM- Microsoft VC ++ [design0] - Form.h:Visual Studio.NET 2003

Microsoft CLR Debugger 2003的新实例

Visual Studio.NET 2003的新实例"

然后,让我选择一个调试器。

我相信它不是第一个,因为它是另一个称为GSM的程序。但无论我选择第二个还是第三个,它都不起作用。

当我选择第二个时,发生以下错误:

无法验证的汇编P:\。当我选择第三个时,一个新的窗口出来了,让我选择我想要调试的程序类型(CLR,以及...}:SolarCharger \SolarPanelTest.exe" fa iled policy check

原生,脚本)默认是前两个。

但是当我点击确定时,第一个出现同样的错误。


另外,当我复制时对于其他机器,我不需要再次填写。

我直接跑了。



您好sicarie;

感谢您的帮助。

我将整个发布文件复制到网络(P :),一旦我在计算机上运行程序,抱歉。我从P:运行它,出现以下异常。

异常''System.Security。在SolarPanelTest(我的小程序名称)中发生了Policy.PolicyException''

而且,有三个可能的调试器让我选择:

GSM- Microsoft VC ++ [design0] - Form.h:Visual Studio.NET 2003

Microsoft CLR Debugger 2003的新实例

Visual Studio.NET 2003的新实例"

然后,让我选择一个调试器。

我相信它不是第一个,因为它是另一个称为GSM的程序。但无论我选择第二个还是第三个,它都不起作用。

当我选择第二个时,发生以下错误:

无法验证的汇编P:\。当我选择第三个时,一个新的窗口出来了,让我选择我想要调试的程序类型(CLR,以及...}:SolarCharger \SolarPanelTest.exe" fa iled policy check

原生,脚本)默认是前两个。

但是当我点击确定时,第一个出现同样的错误。


另外,当我复制时对于其他机器,我不需要再次填写。

我直接跑了。



该用户是否可以访问所需的一切 - 是否允许用户在本地计算机上运行该程序或访问其需要访问的内容?


I got a problem about Release. I really appericiate if anyone could give me a help.

The problem is when I ran it in another computer. an exception will be displayed "application has generated an exception that could not be handled". Do you know what caused this.

Another strange thing is when I paste it to another PC, then I run it, it worked. But when I share it from the network, it did not work..

any ideas.

Thanks

解决方案

I got a problem about Release. I really appericiate if anyone could give me a help.

The problem is when I ran it in another computer. an exception will be displayed "application has generated an exception that could not be handled". Do you know what caused this.

Another strange thing is when I paste it to another PC, then I run it, it worked. But when I share it from the network, it did not work..

any ideas.

Thanks

Check file and resource names - my guess is you''ve coded something for the local machine and not used a network or absolute pathname.

You are compiling and distributing the executable, correct? Or are you compiling per machine?


Check file and resource names - my guess is you''ve coded something for the local machine and not used a network or absolute pathname.

You are compiling and distributing the executable, correct? Or are you compiling per machine?

Hi sicarie ;
Thanks for help.
I copied the whole release file to the network(P: ), once I ran the progrmming on my computer,sorry. I ran it from P:, the following exception came up.
"An exception '' System.Security. Policy.PolicyException'' has occurred in SolarPanelTest(my little programme''s name)
And, there were followinng three Possible debuggers letting me choose:
"GSM-Microsoft VC++[design0]- Form.h:Visual Studio.NET 2003
New instance of Microsoft CLR Debugger 2003
New instance of Visual Studio.NET 2003"
Then, asked me to select one of the debugger.
I am sure it is not the first one, as it is another programing called GSM. But whatever I selected the second or the third, it did not work.
when I chose the second, the following error occured:
Unverifiable assembly"P:\...\SolarCharger\SolarPanelTest.exe"fa iled policy check
when I chose the third, a new windows came out, and let me choose the progrma types that I want to debug(CLR, Native, Script) default is the first two.
but when I click ok, the same error with the first one occured.

additionally, When I copy to other machines, I do not need to compilling again.
I ran directly.


Hi sicarie ;
Thanks for help.
I copied the whole release file to the network(P: ), once I ran the progrmming on my computer,sorry. I ran it from P:, the following exception came up.
"An exception '' System.Security. Policy.PolicyException'' has occurred in SolarPanelTest(my little programme''s name)
And, there were followinng three Possible debuggers letting me choose:
"GSM-Microsoft VC++[design0]- Form.h:Visual Studio.NET 2003
New instance of Microsoft CLR Debugger 2003
New instance of Visual Studio.NET 2003"
Then, asked me to select one of the debugger.
I am sure it is not the first one, as it is another programing called GSM. But whatever I selected the second or the third, it did not work.
when I chose the second, the following error occured:
Unverifiable assembly"P:\...\SolarCharger\SolarPanelTest.exe"fa iled policy check
when I chose the third, a new windows came out, and let me choose the progrma types that I want to debug(CLR, Native, Script) default is the first two.
but when I click ok, the same error with the first one occured.

additionally, When I copy to other machines, I do not need to compilling again.
I ran directly.

Does that user have access to everything it needs - is it a user permitted to run that program, or access whatever it needs to access, on the local machines?


这篇关于VC ++发布问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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