Re: Anyone seen this error before
From: Matt Milner (matt.milner_at_m3technologypartners)
Date: 01/17/05
- Next message: jwessling: "including ALL end-points in Deployment Binding.xml file"
- Previous message: Matt Milner: "Re: Help needed on NullPartException"
- In reply to: KalyanT: "Anyone seen this error before"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 17 Jan 2005 13:41:58 -0600
I am assuming that you have WSS installed on this server, but have excluded
the path for your web service. If that is the case, then the root
web.config for your site is setup to run the site in medium or low trust (I
think it is actually a custom WSS level). You will need to change this, or
override it in your web.config for the web service to a level that allows
SQL permissions.
Matt
"KalyanT" <KalyanT@discussions.microsoft.com> wrote in message
news:F95A2C20-9015-42C7-A271-18858EAD47A8@microsoft.com...
> Hi,
> I have a simple orchestration calling webservice to get some data. Web
> service fails to fetch data throwing this error. I am running my
> application
> on Windows2003 server which has BizTalk Server installed, trying to access
> database located on same server.I tried giving full trust to my assembly
> using .Net configuration Tool, still I am seeing the same error. Any
> suggestions are welcome.
>
> Here is the error
>
> System.Security.SecurityException: Request for the permission of type
> System.Data.SqlClient.SqlClientPermission, System.Data,
> Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. at
> System.Security.SecurityRuntime.FrameDescHelper(FrameSecurityDescriptor
> secDesc, IPermission demand, PermissionToken permToken) at
> System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken,
> CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 checkFrames,
> Int32 unrestrictedOverride) at
> System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap,
> StackCrawlMark& stackMark) at
> System.Security.CodeAccessPermission.Demand()
> at System.Data.SqlClient.SqlConnectionString.Demand(SqlConnectionString
> constr) at System.Data.SqlClient.SqlConnection.Open() at
> DWRWebServices.DWROrderDetail.GetOrderDetail(String req) in
> e:\kalyanbiztalk\dwrwebservices\dwrorderdetails.asmx.cs:line 85
> --
> Kalyan
- Next message: jwessling: "including ALL end-points in Deployment Binding.xml file"
- Previous message: Matt Milner: "Re: Help needed on NullPartException"
- In reply to: KalyanT: "Anyone seen this error before"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|