服务器上的不同行为 [英] Different behavior on the server

查看:78
本文介绍了服务器上的不同行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个话题出现了很多次,但这似乎是一个不同的情况,到目前为止,我已经尝试了所有的建议而没有运气。

I know this topic has come up quite a few times, but this seems to be a different circumstance, and I've tried all of the suggestions with no luck so far.

我得到"查询GetAuthenticationInfo的加载操作失败"加载应用程序时出错。

I get the "Load operation failed for query GetAuthenticationInfo" error when loading the application.

我已经使用Fiddler获取更多信息,结果如下:

I've used Fiddler to get more information and the result is given below.

应用程序运行正常本地PC,以及安装了IIS 7的Windows 7 PC和运行在服务器上的同一数据库。 我在所有机器上运行.NET Framework 4.0.3。

The application runs fine on the local PC, and on a Windows 7 PC with IIS 7 setup and the same database running that is on the server.  I have .NET Framework 4.0.3 runningon all machines.

Fiddler输出:

Fiddler Output:

HTTP / 1.1 200 OK

缓存控制:私有

内容长度:769

内容类型:application / msbin1

服务器:Microsoft-IIS / 7.5

X-AspNet-Version:4.0.30319

X-Content-Type-Options:nosniff

X-Powered-By: ASP.NET

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 769
Content-Type: application/msbin1
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Content-Type-Options: nosniff
X-Powered-By: ASP.NET

http://schemas.microsoft.com/ ws / 2005/05 /信封/无

 无法加载一个或更多请求的类型。有关更多信息,请检索LoaderExceptions属性


。 @ Detail @ DomainServiceFault  DomainServices    


http://www.w3.org/2001/XMLSchema -instance

ErrorCod ErrorMessage:无法加载一个或多个请求的

类型。检索LoaderExceptions属性以获取更多信息。

IsDomainException



StackTrace    在System.ServiceModel。 DomainServices.Server。 DomainService。 DefaultDomainServiceFactory。 CreateDomainService(类型domainServiceType,DomainServiceContext context)

  在System.ServiceModel。 DomainServices.Hosting。 DomainOperationInvoker。 GetDomainService(Object instance)   

http://schemas.microsoft.com/ws/2005/05/envelope/none
 Unable to load one or more of the requested types. Retrieve the LoaderExceptions property
for more information. @ Detail@ DomainServiceFault  DomainServices    
http://www.w3.org/2001/XMLSchema-instance
ErrorCod ErrorMessage:Unable to load one or more of the requested
types. Retrieve the LoaderExceptions property for more information.
IsDomainException

StackTrace     at System.ServiceModel.DomainServices.Server.DomainService.DefaultDomainServiceFactory.CreateDomainService(Type domainServiceType, DomainServiceContext context)
   at System.ServiceModel.DomainServices.Hosting.DomainOperationInvoker.GetDomainService(Object instance)   

Brian Watts

Brian Watts

推荐答案

嗨Brian,

Hi Brian,

我有几个问题/建议来解决这个问题:

I have a couple of questions / suggestions to troubleshoot this issue:

- 这是一个HTML LightSwitch应用程序还是Silverlight LightSwitch应用程序?我认为HTML客户端不会发送与GetAuthenticationInfo相关的查询。

- Is this an HTML LightSwitch Application or a Silverlight LightSwitch Application? I don't think the HTML Client send out query related to GetAuthenticationInfo.

- 您能获得GetAuthenticaionInfo请求的完整URL吗?

- Can you get the full URL of the GetAuthenticaionInfo request?

- 如果您可以访问服务器计算机上的web.config并将customErrors模式更改为

    &NBSP;&NBSP;&NBSP; < customErrors mode =" Off" />,
$
您可以使用上面的完整网址启动IE,并希望显示完整的错误,以便我们猜出发生了什么。

- If you can access the web.config on the Server machine and change customErrors mode to
        <customErrors mode="Off" />,
you can launch IE with the full URL above, and hopefully the full errors will be shown so we can guess what happened.

- 如果您可以将调试器(本地或远程)连接到服务器计算机,请告诉我们,我们可以尝试附加到IIS进程并获得第一次机会异常。

- If you can attach a debugger (local or remote) to the server machine, please let me know and we can try to attach to the IIS process and get the first chance exception.

祝你好运,

Huy Nguyen

Huy Nguyen


这篇关于服务器上的不同行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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