Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Web service partial trust problem

Web service partial trust problem

Scheduled Pinned Locked Moved ASP.NET
helpcsharpsysadminwindows-adminquestion
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bert delaVega
    wrote on last edited by
    #1

    I just deployed a c# web service from my notebook to my server. Worked fine locally but puked under IIS. Error Message: "That assembly does not support partially trusted callers". What I have is a web service assembly (strong name) that references my data access layer assembly (strong name). It seems that the DAL assembly is expecting full trust and the web service is partial trust. If I comment out creating the DAL object, the web service runs fine. Anyone know what I need to do to change the trust levels either on IIS, on the web service, assembly or otherwise? I'm on 3.0/3.5 Thanks!

    B 1 Reply Last reply
    0
    • B Bert delaVega

      I just deployed a c# web service from my notebook to my server. Worked fine locally but puked under IIS. Error Message: "That assembly does not support partially trusted callers". What I have is a web service assembly (strong name) that references my data access layer assembly (strong name). It seems that the DAL assembly is expecting full trust and the web service is partial trust. If I comment out creating the DAL object, the web service runs fine. Anyone know what I need to do to change the trust levels either on IIS, on the web service, assembly or otherwise? I'm on 3.0/3.5 Thanks!

      B Offline
      B Offline
      Bert delaVega
      wrote on last edited by
      #2

      I just had to think it through a bit more. If anyone's interested, you just change the trust level for the web service: In the web.config -

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups