Advertisement

03.21.2008 at 09:12AM PDT, ID: 23259982
[x]
Attachment Details

Cannot connect to sql database via my application when executable is on server and client is launching thorugh a shortcut

Asked by mlawrenceb in .Net Editors & IDEs, MS SQL Server, Microsoft Visual C#.Net

Tags: C# Desktop Application .NET 2.0, N/A - Desktop Application, Request for the permission of type "System.Data.SqlClient.SqlClientPermission, System.Data, Version =2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" failed

I have an application that I am trying to deploy.  The actual .exe is on a server, and users run the application via a shortcut to the application on the server.  Some security issue is not allowing the user to connect to the sql database, when the executable is on the server, and the user is trying to run the application form thier box.

The application does work fine however if I copy the .exe to the users box.
So it is something with the fact the .exe is on a server and not on the user's box.

Any help would be appreciated.
ThnanksStart Free Trial
[+][-]03.21.2008 at 10:48AM PDT, ID: 21181693

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.21.2008 at 11:16AM PDT, ID: 21181918

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.21.2008 at 02:59PM PDT, ID: 21183563

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.24.2008 at 04:59AM PDT, ID: 21192969

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.24.2008 at 08:08AM PDT, ID: 21194009

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.29.2008 at 12:20AM PDT, ID: 21235782

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Editors & IDEs, MS SQL Server, Microsoft Visual C#.Net
Tags: C# Desktop Application .NET 2.0, N/A - Desktop Application, Request for the permission of type "System.Data.SqlClient.SqlClientPermission, System.Data, Version =2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" failed
Sign Up Now!
Solution Provided By: mlawrenceb
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628