大家好,我的网站在本地机上可以打开,上传到空间无法打开,请问是什么原因啊?打开时有以下提示:
“/”应用程序中的服务器错误。
在应用程序未以UserInteractive模式运行的情况下显示有模式对话框或窗体是无效的操作。请指定ServiceNotification或DefaultDesktopOnly样式,以显示服务应用程序发出的通知。
说明:执行当前Web请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息:System.InvalidOperationException:在应用程序未以UserInteractive模式运行的情况下显示有模式对话框或窗体是无效的操作。请指定ServiceNotification或DefaultDesktopOnly样式,以显示服务应用程序发出的通知。
源错误:
执行当前Web请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[InvalidOperationException:在应用程序未以UserInteractive模式运行的情况下显示有模式对话框或窗体是无效的操作。请指定ServiceNotification或DefaultDesktopOnly样式,以显示服务应用程序发出的通知。]
System.Windows.Forms.MessageBox.ShowCore(IWin32Windowowner,Stringtext,Stringcaption,MessageBoxButtonsbuttons,MessageBoxIconicon,MessageBoxDefaultButtondefaultButton,MessageBoxOptionsoptions)+645
System.Windows.Forms.MessageBox.Show(Stringtext,Stringcaption)+18
Haozhou.Public.SiteInfo.GetSitePath()+120
Haozhou.ADE.Controls.HzAnimate.Render(HtmlTextWriteroutput)+476
System.Web.UI.Control.RenderControl(HtmlTextWriterwriter)+243
System.Web.UI.Control.RenderChildren(HtmlTextWriterwriter)+72
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriterwriter)+44
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriteroutput)+262
System.Web.UI.Control.RenderControl(HtmlTextWriterwriter)+243
System.Web.UI.Control.RenderChildren(HtmlTextWriterwriter)+72
System.Web.UI.Control.Render(HtmlTextWriterwriter)+7
System.Web.UI.Control.RenderControl(HtmlTextWriterwriter)+243
System.Web.UI.Page.ProcessRequestMain()+1926
请问,应如何处理。谢谢!
域名:http://ykkjfw.com
?