简体   繁体   English

asp.net:正在处理wcf操作时调用asp页面

[英]asp.net: calling asp page while wcf operation is processing

I have a web application consists of several aspx pages + wcf service (one project) and a silverlight app. 我有一个Web应用程序,包含几个aspx页面+ wcf服务(一个项目)和一个silverlight应用程序。 I have the following problem: I open silverlight app, it does async call to my long wcf service operation. 我有以下问题:我打开silverlight应用程序,它对我的​​长wcf服务操作进行了异步调用。 While it is processing I can't request any other aspx page of my site. 在处理过程中,我无法请求网站的任何其他aspx页面。 Why it happens? 为什么会发生? Is it session locking? 它是会话锁定吗? I will be grateful for the tip. 我将不胜感激。 I can get any non asp page from server (iis6), but any aspx page can be processed only after wcf operation is done. 我可以从服务器(iis6)获取任何非asp页面,但是只有在执行wcf操作后才能处理任何aspx页面。

EDIT: I solved it by 编辑:我解决了

aspNetCompatibilityEnabled="false" aspNetCompatibilityEnabled =“ false”

Maybe your wcf ws is locking a database table also used by other aspx pages. 也许您的wcf ws正在锁定其他aspx页面也使用的数据库表。 Are you using synchronization locks ? 您是否正在使用同步锁? Serializable transactions ? 可序列化的交易? Or maybe you have a debugger attached. 或者,也许您附有调试器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM