Hi,
I'm using LINQ to call Stored procedure in WPF application but i'm getting the following error when i run it.
Error: "Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
Please anyone helpme out.
Thanks, kumar
|
| Author: Anuraj 22 Oct 2009 | Member Level: Diamond | Rating:  Points: 2 |
Check this link
http://social.msdn.microsoft.com/Forums/en-US/sqlnetfx/thread/1505d7e6-59dc-4997-b707-9e9736a1f978/
Thanks Anuraj THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS. BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT. dotnetthoghts
|
| Author: ABitSmart 23 Oct 2009 | Member Level: Diamond | Rating:  Points: 2 |
Can you explain what steps you have done?
- Create the stored proc - Drog/drop into the DBML file
These are the only two steps needed. The stored procedure will then be available as a method on the DataContext object
Kind regards, ABitSmart DNS Web-master, DNS MVM My blog Thoughts.exe
|