在IIS中发布网站时出现问题 [英] Problem while publish website in IIS
问题描述
你好朋友
我已经在IIS中发布了网站,并且可以正常工作,但是主要的问题是,当我执行与ajax或其他相关的任何操作时,都会出现类似..
的错误.
"Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application."
请帮我解决.
Hello Friends
I have published website in IIS and its working fine, but the main problem is that, when I am doing anything related to ajax or something other, it gives error like..
"Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application."
Please help me to solve that.
推荐答案
在这里,您的问题解决方法: ^ ]
步骤:
1.控制面板->管理工具->服务
2.右键单击您的服务->属性->登录标签
3.选择本地系统帐户"->允许服务与桌面交互
Here, your issues resolution: Showing a modal dialog box or form ...[^]
Steps:
1. Control Panel -> Administrative Tools -> Services
2. Right click on your service -> Properties -> Logon tab
3. Select ''Local System Account'' -> Allow service to interact with desktop
如果您在项目中使用过AjaxControlToolkit.dll,则将其复制并粘贴到bin文件夹中,然后尝试.
If you have used AjaxControlToolkit.dll in your project then copy and paste it in your bin folder and then try it.
这篇关于在IIS中发布网站时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!