zoukankan      html  css  js  c++  java
  • sliverlight Unhandled Error in Silverlight Application错误

    使用firebug控制台输出错误:

    Unhandled Error in Silverlight Application 查询“GetFlow_Process”的 Load 操作失败。远程服务器返回了错误: NotFound。 
    位于 System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error) 
    位于 System.ServiceModel.DomainServices.Client.LoadOperation.Complete(Exception error)
    位于 System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult) 位于 System.ServiceModel.DomainServices.Client.DomainContext.<>c__DisplayClass1b.<Load>b__17(Object )

    分析

    通过上述异常信息,只能够看出是调用 DomainServices 时发生了异常。为了获得详细的异常信息,必须直接访问 DomainServices,程序中的 DomainService 类名是 DefaultAuthSample.Web.AuthenticationService.svc,转换成 url 是 http://YourServer/DefaultAuthSample-Web-AuthenticationService.svc。访问后出现以下的错误信息:

    ------------------------

    IIS specified authentication schemes 'IntegratedWindowsAuthentication, Anonymous', but the binding only supports specification of exactly one authentication scheme. Valid authentication schemes are Digest, Negotiate, NTLM, Basic, or Anonymous. Change the IIS settings so that only a single authentication scheme is used.

    ------------------------

    看到这个异常信息

    解决

    在 IIS 中打开虚拟目录的属性页(见上图),把集成windows身份验证取消。

    如果sliverlight项目上还运行不起来的话,就检查iis是否设置一下几项:

    其次就是同一项目给不同客户,要求在不同网站下,最好将各个网站分布在不同的应用池下,如图:

  • 相关阅读:
    echarts
    联合省选2021游记
    高维 FWT 学习笔记
    Unicode简介
    mac安装brew
    原生JS实现分页跳转
    Kubernetes Pod Probes 探针解析
    Kubernetes Secrets
    Kubernetes Container lifecycle hooks
    个人作业1——四则运算题目生成程序(基于java)
  • 原文地址:https://www.cnblogs.com/wujilong/p/3103899.html
Copyright © 2011-2022 走看看