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. Problem when publishing website.

Problem when publishing website.

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netsql-serverhosting
5 Posts 3 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.
  • Y Offline
    Y Offline
    yesterday305
    wrote on last edited by
    #1

    Dear Expert, My website worked fine on local machine but throw an exception when running on hosting. Please look at following exception. Some infomations about my site: - Asp.net 2.0. - Used Eucalypto open source, dll file (NHibernate). - MsSql 2005. Any help is appreciate! Exception here: NHibernate.MappingException: Could not compile the mapping document: Eucalypto.Forum.Message.hbm.xml. System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Thanks, Nhan

    N A 3 Replies Last reply
    0
    • Y yesterday305

      Dear Expert, My website worked fine on local machine but throw an exception when running on hosting. Please look at following exception. Some infomations about my site: - Asp.net 2.0. - Used Eucalypto open source, dll file (NHibernate). - MsSql 2005. Any help is appreciate! Exception here: NHibernate.MappingException: Could not compile the mapping document: Eucalypto.Forum.Message.hbm.xml. System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Thanks, Nhan

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Try setting the trust level[^] to FULL. If that is not working, I believe you need to contact the hosting provider. :)

      Navaneeth How to use google | Ask smart questions

      Y 1 Reply Last reply
      0
      • N N a v a n e e t h

        Try setting the trust level[^] to FULL. If that is not working, I believe you need to contact the hosting provider. :)

        Navaneeth How to use google | Ask smart questions

        Y Offline
        Y Offline
        yesterday305
        wrote on last edited by
        #3

        Thanks Navaneeth, thank you for your replying quickly. I tried to set trust level to FULL but it was not work. And I contacted with the hosting provider, the problem was solved :-D. Nhan

        1 Reply Last reply
        0
        • Y yesterday305

          Dear Expert, My website worked fine on local machine but throw an exception when running on hosting. Please look at following exception. Some infomations about my site: - Asp.net 2.0. - Used Eucalypto open source, dll file (NHibernate). - MsSql 2005. Any help is appreciate! Exception here: NHibernate.MappingException: Could not compile the mapping document: Eucalypto.Forum.Message.hbm.xml. System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Thanks, Nhan

          A Offline
          A Offline
          Anshumas
          wrote on last edited by
          #4

          all the permission has been set in containing folder?

          Anshuman Singh

          1 Reply Last reply
          0
          • Y yesterday305

            Dear Expert, My website worked fine on local machine but throw an exception when running on hosting. Please look at following exception. Some infomations about my site: - Asp.net 2.0. - Used Eucalypto open source, dll file (NHibernate). - MsSql 2005. Any help is appreciate! Exception here: NHibernate.MappingException: Could not compile the mapping document: Eucalypto.Forum.Message.hbm.xml. System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Thanks, Nhan

            A Offline
            A Offline
            Anshumas
            wrote on last edited by
            #5

            please use level="[Full]" originUrl="URL" processRequestInApplicationTrust = "[True]" />

            Anshuman Singh

            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