|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Request for the permission of typeThe console app merely connection to SQL Server to retrieve information, processes it and send it back . But every time the code tries to connect to SQL: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral I am trying to run the compiled EXE file via a network UNC share (\\path\site\bin\debug\myfile.exe) (DEV server version) It doesn’t matter if I try to run this from our development server or our production server, I get the same error. I’ve tried running it both as a share (\\) and as local (C:\). Any help would be appreciated. Unfortunately, I don’t have easy access to the production box and I’m reading a lot about changing group policies. On the DEV box anyway I gave full permissions to ASPNET user account to the bin and debug folders and still got the same error. -- JP ..NET Software Developer Can you run it from within Visual Studio?
-- Show quoteHide quoteCarsten Thomsen "JP" <J*@discussions.microsoft.com> wrote in message news:FFFE0B3C-D6E9-4D92-BE78-F358FF59798C@microsoft.com... > I have a VERY basic C# console app in a solution with an ASPNET > application. > The console app merely connection to SQL Server to retrieve information, > processes it and send it back . But every time the code tries to connect > to > SQL: > > Request for the permission of type > 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, > Culture=neutral > > I am trying to run the compiled EXE file via a network UNC share > (\\path\site\bin\debug\myfile.exe) (DEV server version) > > It doesn’t matter if I try to run this from our development server or our > production server, I get the same error. I’ve tried running it both as a > share (\\) and as local (C:\). > > Any help would be appreciated. Unfortunately, I don’t have easy access to > the production box and I’m reading a lot about changing group policies. On > the DEV box anyway I gave full permissions to ASPNET user account to the > bin > and debug folders and still got the same error. > > -- > JP > .NET Software Developer
Using a Java Keytool created certificate in HTTPWebRequest.ClientCertificates
create exchange public folder contact Re: Code Access Security issue Don't understand System.Security.SecurityException 'Global\.net clr networking' is denied - via IPAddress.TryParse check a certificate in CRL Possible spyware problem IPsec in Vista brastk virus doesn't allow to visit legitimate web sites 256 k encryption |
|||||||||||||||||||||||