CodeSmith Community
Your Code. Your Way. Faster!

Security Exception in Console -> NetTiers -> SQLDataProvider Senario.

Latest post 04-18-2007 5:21 AM by mavrj. 0 replies.
  • 04-18-2007 5:21 AM

    • mavrj
    • Not Ranked
    • Joined on 04-18-2007
    • Posts 1
    • Points 5

    Security Exception in Console -> NetTiers -> SQLDataProvider Senario.

    Hello, 

    I'm having a simple Console Application that call Business Logic Class Services. Those services interact with th SQL server using NetTiers. I'm facing an SecurityException every time I try to run the application:

    "Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."

    I've googled for this and I always facing answer about "trust" issues.

    I've set the .Net 2.0 Runtime Security Policy to "full trust" for both My Computer and Local Intranet.

    I can figure out how to get rid of this exception.

    Any idea? I would appreciate your suggestion or solution

    Mavrj

    Filed under: , ,
    • Post Points: 5
Page 1 of 1 (1 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems