在IIS中发布网站时出现问题 [英] Problem while publish website in IIS

查看:72
本文介绍了在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.

推荐答案

在这里,您的问题解决方法:
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屋!

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