Welcome to MSDN Blogs Sign in | Join | Help

      Loosely Coupled Thinking

      SOA, BPM, Clouds &
      other trendy stuff...

News

  • Better Search:

    Tweets


      Reading

      About

      Not me but an incredibly realistic simulation.
      John Evdemon
      is an Architect
      at Microsoft.

      <legal-stuff>
      The views and opinions stated in this blog are mine and do not necessarily reflect those of Microsoft.
      Each posting on this blog is provided "AS IS" with no warranties, and confers no rights.
      </legal-stuff>


      Social

      View John Evdemon's profile on LinkedIn

      John Evdemon's Facebook profile





      Locations of visitors to this page

    Indigo Lesson Learned: System.ServiceModel and Trust

    Indigo's System.ServiceModel.dll assembly requires that it's callers be fully trusted. Installing SharePoint or other applications on a machine with the Indigo CTP may cause IIS to have its trust settings modified so that it does not run with full-trust.

    Here is the error we were getting:

    Error 1 Build (web):
    Type 'System.ServiceModel.ServiceBuildProvider,
    System.ServiceModel, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
    cannot be instantiated under a partially trusted security policy (AllowPartiallyTrustedCallersAttribute is not present on the target assembly).

    The problem went away once we added <trust level="full"/> to the local config file.

    More info on modifying trust settings for ASP.NET:
     
    http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_aspnetgenref/html/eeed0fd3-5aaa-4196-94af-e6baea70dded.asp
     http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_aspnetgenref/html/729ab04c-03da-4ee5-86b1-be9d08a09369.asp

    Posted: Friday, May 06, 2005 7:46 PM by jevdemon

    Comments

    No Comments

    New Comments to this post are disabled
    Page view tracker