nga96() ,可不可以给多点建议?
解决方案 »
- 列表页绑定如何实现这种效果
- 向返回的xml中填写数据
- 关于Entity Framework 操作的一个问题
- 用C#做winform程序,右键点击TreeView控件,如何判断是否点击了一个节点?
- 开发中,用三方控件和自己写那个更合算?
- 谁能解释这个问题?为什么dataset不被释放
- 关于数据库问题!大家帮忙看看!
- 用VS2013 4.0框架发布出来的exe文件在XP中为何无法安装
- DropDownList和GridView的两个小问题
- 初学ASP.NET,问个问题先
- 在页面中加了个个HTMLTABLE,运行时说"object reference not set to an instance of an object",这是为什么?如何解决?在线立结
- 請教原因何在???在線等待
2,如果remoting延时是必须的,则考虑使用异步执行,简单的办法是:
a,前端调用只是写一条调用请求的记录到数据库(sessionid,functionname,其他必须数据)
b,webserver 使用webservice或其他程序,定时检测数据库,发现有调用请求则使用remoting取得结果写回数据库。
c,前端代码设定5分钟后刷新一次,(使用javascript:settimeout),发现有结果就显示结果,没有发现就报错或其他处理。
http://www.dotnet247.com/247reference/msgs/21/106511.aspxWell, I might as well reply to my own question. Maybe someone else will
find it usefull. After some walking around in the config files
(machine.config) I found this:<processModel enable="true" timeout="Infinite" idleTimeout="Infinite"
shutdownTimeout="0:00:05" requestLimit="Infinite" requestQueueLimit="5000"
restartQueueLimit="10" memoryLimit="60" webGarden="false"
cpuMask="0xffffffff" userName="machine" password="AutoGenerate"
logLevel="Errors" clientConnectedCheck="0:00:05"
comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate"
responseRestartDeadlockInterval="00:09:00"
responseDeadlockInterval="00:03:00" maxWorkerThreads="25"
maxIoThreads="25"/>Just change responseDeadlockInterval to 00:10:00 like this:<processModel enable="true" timeout="Infinite" idleTimeout="Infinite"
shutdownTimeout="0:00:05" requestLimit="Infinite" requestQueueLimit="5000"
restartQueueLimit="10" memoryLimit="60" webGarden="false"
cpuMask="0xffffffff" userName="machine" password="AutoGenerate"
logLevel="Errors" clientConnectedCheck="0:00:05"
comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate"
responseRestartDeadlockInterval="00:09:00"
responseDeadlockInterval="00:10:00" maxWorkerThreads="25"
maxIoThreads="25"/>And the case is closed...One small tip: If you have to change this to work in a multiuser
environment, there is something wrong with your code and/or your
application's architecture. I used it to be able to write a dbase
synchronisation module... (full dbase, between Access and SQL-Server)Regards,
Tim Musschoot
置于Database则是Web Server和AI Server都会访问的,但问题不在这台服务器,所以我就没有怎么提它。谢谢各位的关注!