首页 新闻 会员 周边

.NET Reactor加密后iis运行报错,急阿。

0
悬赏园豆:5 [已关闭问题] 关闭于 2010-12-26 16:24

加密后,每打开页面,前两三次运行总是会报错。

错误:

当应用程序不是以 UserInteractive 模式运行时显示模式对话框或窗体是无效操作。请指定 ServiceNotification 或 DefaultDesktopOnly 样式,以显示服务应用程序发出的通知。

堆栈:

[InvalidOperationException: 当应用程序不是以 UserInteractive 模式运行时显示模式对话框或窗体是无效操作。请指定 ServiceNotification 或 DefaultDesktopOnly 样式,以显示服务应用程序发出的通知。]
   System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp) +2661926
   System.Windows.Forms.MessageBox.Show(String text) +37
   7SZlve7mc83sJMlY2r.f3QgBSM16uasWtfj80.icnhWvt0MG6hB() +36
   AliPay.getcode..ctor() +12
   ASP.getcode_aspx..ctor() in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7c301644\4c86fad\App_Web_2wbiwknq.1.cs:0
   __ASP.FastObjectFactory_app_web_2wbiwknq.Create_ASP_getcode_aspx() in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7c301644\4c86fad\App_Web_2wbiwknq.2.cs:0
   System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
   System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) +37
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +307
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


NND,竟然给我加密后成了messagebox,我晕。
大家帮忙看一下是怎么回事。

问题补充: 晕,说了那些东西是在进行dll加密后报的错。 dll加密后加上去的东西。我怎么设置阿? .NET Reactor加密后出现的问题,我在哪里设置? 请赐教。
graymaster的主页 graymaster | 初学一级 | 园豆:7
提问于:2010-12-20 13:55
< >
分享
所有回答(1)
0

将SystemInformation.UserInteractive属性改为true

Astar | 园豆:40805 (高人七级) | 2010-12-20 16:21
楼主你的问题解决没,我也遇到与你相同的问题,很急人。望指点。
支持(0) 反对(0) Miidy | 园豆:204 (菜鸟二级) | 2011-06-10 09:55
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册