运行两个并发LS应用程序失败 [英] Running two concurrent LS apps fails

查看:73
本文介绍了运行两个并发LS应用程序失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我遇到了以下问题:

我们有一个Web服务器(Windows 2008 R2和IIS 7),该服务器运行两个不同的网站,每个网站都有自己的唯一IP地址.这些网站托管着多个ASP.Net应用程序,每个应用程序也都具有相同的LightSwitch(管理员)应用程序. LS应用程序使用 表单身份验证.

we have a web server (Windows 2008 R2 and IIS 7) that runs two different web sites, each on its own unique IP address. The websites host several ASP.Net applications and each also the same LightSwitch (Administrator) application. The LS app uses forms authentication.

麻烦的是,一次只能访问LS应用程序之一;同时访问另一个将失败.超时(我相信一个小时)后,可以访问另一个,但是第一个将失败.它是 有时也会失败.

The weard thing is that only one of the LS applications can be accessed at a time; simultaneous access to the other one will fail. After a time out (I believe one hour) the other one can be accessed but then the first one will fail. It is also possible to have both fail sometimes.

如果访问失败,则会在屏幕上显示以下错误:已向服务器提出授权请求."请与网络管理员联系".用提琴手登录会显示第一个错误,提示类似域服务" 例外".接下来是/Microsoft.LightSwitch.Client;component/screens/screenpresentation/internalframework/resources/resources/x.png上的404错误,但我相信这是由第一个错误引起的.

In case the access fails the following error is displayed on the screen: "An authorized request was made to the server.  Please contact a network administrator". Logging with fiddler shows a first error saying something like "a domain services exception". Next is a 404 error on /Microsoft.LightSwitch.Client;component/screens/screenpresentation/internalframework/resources/resources/x.png but I believe that this is caused by the first error.

如前所述,两个LS应用程序完全分开:不同的IP地址,不同的URL,不同的机器密钥,不同的目录.但是,他们必须分享一些东西,但我不知道是什么.有人对此有任何想法吗?任何线索在哪里看 在吗?

As said, both LS apps are completely seperated: different IP address, different URL, different machine keys, different directory. Nevertheless, they must share something but I can't figure out what. Does anyone has any idea on this? Any clue where to look at?

这个错误使我发疯,我真的希望有人可以帮助我.

This error is driving me crazy, I really hope someone can help me with this. thx.

推荐答案

只有一个问题.您为每个应用程序运行哪种口味的SQL Server?如果是Express,可以给出答案.只是一个想法.
Only a question at the mo'. What flavour SQL Server are you running for each app? May give the answer if it's Express. Just a thought.


这篇关于运行两个并发LS应用程序失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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