Hello all...
I have created an application that accesses to a SQL server. When I execute
it in my workplace it works perfectly, but if I install it to the end-user I
get this message:
Rrquest for the permission of type
System.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0,
Culture=neutral, PublicKey Token=b77a5c561934e089 failed.
But if I go to c:\Program Files\Microsoft Visual Sudio\Common\IDE\IDE98,
excute MSE.exe and run the program from inside this environment, all in the
end-user PC, the program works correctly.
Anyone has an idea of what might be happening? I have checked the
permissions in the SQL Server, and I believe that they are ok...
Thanks! 4 1516
Hi,
Are you running it from the network?
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Albert Valls Rovira" <Al***************@discussions.microsoft.com> wrote in
message news:B7**********************************@microsof t.com... Hello all...
I have created an application that accesses to a SQL server. When I execute it in my workplace it works perfectly, but if I install it to the end-user I get this message:
Rrquest for the permission of type System.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0, Culture=neutral, PublicKey Token=b77a5c561934e089 failed.
But if I go to c:\Program Files\Microsoft Visual Sudio\Common\IDE\IDE98, excute MSE.exe and run the program from inside this environment, all in the end-user PC, the program works correctly.
Anyone has an idea of what might be happening? I have checked the permissions in the SQL Server, and I believe that they are ok...
Thanks!
No, I am not. The program is running locally in the user's PC.
"Ignacio Machin ( .NET/ C# MVP )" wrote: Hi,
Are you running it from the network?
cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation "Albert Valls Rovira" <Al***************@discussions.microsoft.com> wrote in message news:B7**********************************@microsof t.com... Hello all...
I have created an application that accesses to a SQL server. When I execute it in my workplace it works perfectly, but if I install it to the end-user I get this message:
Rrquest for the permission of type System.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0, Culture=neutral, PublicKey Token=b77a5c561934e089 failed.
But if I go to c:\Program Files\Microsoft Visual Sudio\Common\IDE\IDE98, excute MSE.exe and run the program from inside this environment, all in the end-user PC, the program works correctly.
Anyone has an idea of what might be happening? I have checked the permissions in the SQL Server, and I believe that they are ok...
Thanks!
Have you check the caspol setting on the user machine?
-- Ricky Lee
==================================================
^o^ "When all doors are closed, God will open a Windows" ^o^
==================================================
"Albert Valls Rovira" <Al***************@discussions.microsoft.com> wrote in
message news:B7**********************************@microsof t.com... Hello all...
I have created an application that accesses to a SQL server. When I
execute it in my workplace it works perfectly, but if I install it to the end-user
I get this message:
Rrquest for the permission of type System.Data.SqlClient.SqlClientPermission, System.Data,
Version=1.0.5000.0, Culture=neutral, PublicKey Token=b77a5c561934e089 failed.
But if I go to c:\Program Files\Microsoft Visual Sudio\Common\IDE\IDE98, excute MSE.exe and run the program from inside this environment, all in
the end-user PC, the program works correctly.
Anyone has an idea of what might be happening? I have checked the permissions in the SQL Server, and I believe that they are ok...
Thanks!
caspol setting? What's that? :-?
"Ricky Lee" wrote: Have you check the caspol setting on the user machine?
-- Ricky Lee ================================================== ^o^ "When all doors are closed, God will open a Windows" ^o^ ================================================== "Albert Valls Rovira" <Al***************@discussions.microsoft.com> wrote in message news:B7**********************************@microsof t.com... Hello all...
I have created an application that accesses to a SQL server. When I execute it in my workplace it works perfectly, but if I install it to the end-user I get this message:
Rrquest for the permission of type System.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0, Culture=neutral, PublicKey Token=b77a5c561934e089 failed.
But if I go to c:\Program Files\Microsoft Visual Sudio\Common\IDE\IDE98, excute MSE.exe and run the program from inside this environment, all in the end-user PC, the program works correctly.
Anyone has an idea of what might be happening? I have checked the permissions in the SQL Server, and I believe that they are ok...
Thanks! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: ChrisWinterscheid |
last post by:
We are running DB2 8.1 on AIX 5.2.
DB2level shows:
DB21085I Instance "db2inst1" uses "32" bits and DB2 code release
"SQL08016"
with level identifier "02070106".
Informational tokens are "DB2...
|
by: Glenn |
last post by:
I have used this code successfully in a form application.
I tried to add the same code in a service and have not
been able to get the application to start. I have the
service starting with a local...
|
by: Stampede |
last post by:
Hi,
I write an application which waits for incomming files in a specified
directory. I thought, that using the FileSystemWatcher would be the best, as
it does exactly what I need.
But now I have...
|
by: Steven M. |
last post by:
Greetings...
I need desperate help with my problem.
I guess the solution is related in some way with the cookies getting
lost in the authentication process working with some web servers.
...
|
by: =?Utf-8?B?am8uZWw=?= |
last post by:
Hello All,
I am developing an Input Methop (IM) for PocketPC / Windows Mobile (PPC/WM).
On some
devices the IM will not start. The IM appears in the IM-List but when it is
selected from the...
|
by: mikelujan |
last post by:
Hi,
Our application starts an external application using System.Diagnostics.Process class and the Start() method, as per code snippet below.
This application run as a Windows service, and must...
|
by: Matik |
last post by:
Hi,
MSSQL 2000 booth servers. Booth running DTC.
Now, the client application, is starting in DB1 a procedure.
The connection open to db, is within the transation opened from
client.
In the...
|
by: Olivier Matrot |
last post by:
I have a problem with an ASP.NET 2.0 Application.
A client request is processed in parrallel by two threads.
After further analysis, it appears that :
- There is 2 disctinct session for the...
|
by: ropo |
last post by:
I have a .NET 2.0 app that at one point starts an old MFC App through
System.Diagnostics.Process.Start from a model form/
I then wait for it to finish by calling StartedProcess.WaitForExit();
...
|
by: V S Rawat |
last post by:
(bringing the discussion here for php.general)
I am on xpsp3, wampserver 2.0, having apache 2.2.8, php 5.2.6, MySQL
5.0.51b. http://localhost/ is E:\wamp\www\
I have put the first php script...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |