Click here to Skip to main content
15,922,584 members
Home / Discussions / C#
   

C#

 
GeneralRe: run c# project Pin
stancrm23-Jun-06 22:25
stancrm23-Jun-06 22:25 
GeneralRe: run c# project Pin
Tamimi - Code23-Jun-06 21:37
Tamimi - Code23-Jun-06 21:37 
AnswerRe: run c# project Pin
ZHENG.YANG.POINTER24-Jun-06 12:06
professionalZHENG.YANG.POINTER24-Jun-06 12:06 
Questiondesign pattern Pin
fmardani23-Jun-06 19:48
fmardani23-Jun-06 19:48 
AnswerRe: design pattern Pin
Michael P Butler23-Jun-06 21:02
Michael P Butler23-Jun-06 21:02 
AnswerRe: design pattern Pin
Jun Du24-Jun-06 2:42
Jun Du24-Jun-06 2:42 
QuestionDragDrop Registration didn't succeed (HELP PLEASE) Pin
Saamir23-Jun-06 19:00
Saamir23-Jun-06 19:00 
AnswerRe: DragDrop Registration didn't succeed (HELP PLEASE) Pin
Mike Poz23-Jun-06 21:36
Mike Poz23-Jun-06 21:36 
QuestionRe: DragDrop Registration didn't succeed (HELP PLEASE) Pin
Saamir25-Jun-06 6:45
Saamir25-Jun-06 6:45 
AnswerRe: DragDrop Registration didn't succeed (HELP PLEASE) Pin
Mike Poz25-Jun-06 19:37
Mike Poz25-Jun-06 19:37 
QuestionConverting to Multilingual Support in C# Pin
majidbhutta23-Jun-06 18:33
majidbhutta23-Jun-06 18:33 
AnswerRe: Converting to Multilingual Support in C# Pin
ChandruIT23-Jun-06 20:19
ChandruIT23-Jun-06 20:19 
QuestionIE Toolbar not moving Pin
Ranjan Banerji23-Jun-06 17:32
Ranjan Banerji23-Jun-06 17:32 
AnswerRe: IE Toolbar not moving Pin
Ranjan Banerji23-Jun-06 17:43
Ranjan Banerji23-Jun-06 17:43 
QuestionRectangle onclick event Pin
reshsilk23-Jun-06 15:43
reshsilk23-Jun-06 15:43 
AnswerRe: Rectangle onclick event Pin
Jun Du23-Jun-06 16:15
Jun Du23-Jun-06 16:15 
Questionis there a size limit for a mdi child window? Pin
User 309585923-Jun-06 15:02
User 309585923-Jun-06 15:02 
QuestionDetermining if string user input is file path, URL, or network path. [modified] Pin
llamaindustries23-Jun-06 12:43
llamaindustries23-Jun-06 12:43 
QuestionBytes Array to Bitmap Pin
Jailan23-Jun-06 12:02
Jailan23-Jun-06 12:02 
JokeRe: Bytes Array to Bitmap Pin
Jun Du23-Jun-06 12:21
Jun Du23-Jun-06 12:21 
AnswerRe: Bytes Array to Bitmap Pin
Corinna John23-Jun-06 12:38
Corinna John23-Jun-06 12:38 
QuestionSending byte arrays using sockets Pin
Steven M Hunt23-Jun-06 11:31
Steven M Hunt23-Jun-06 11:31 
AnswerRe: Sending byte arrays using sockets Pin
Jun Du23-Jun-06 12:26
Jun Du23-Jun-06 12:26 
AnswerRe: Sending byte arrays using sockets Pin
Nader Elshehabi24-Jun-06 3:07
Nader Elshehabi24-Jun-06 3:07 
QuestionError while running CLR Stored Procedure. Pin
AJAIN123-Jun-06 9:57
AJAIN123-Jun-06 9:57 
CREATE PROCEDURE MasterProc
@className nchar , --Class Name to load.
@pList nchar
AS
EXTERNAL NAME MasterClassAssembly.MasterClass.CallClassSP

EXEC MasterProc 'PInfo','1'


CallClassSP is a method in MasterClass(regitered as SQL Server assembly) which dynamically loads a class based upon the parameter passed in the Stored Procedure.

When trying to run a CLR Stored Procedure, I am gettting the following error.

Msg 6522, Level 16, State 1, Procedure MasterProc, Line 0
A .NET Framework error occurred during execution of user defined routine or aggregate 'MasterProc':
System.Security.SecurityException: Stack walk modifier must be reverted before another modification of the same type can be performed.
System.Security.SecurityException:
at System.Security.CodeAccessSecurityEngine.Assert(CodeAccessPermission cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Assert()
at MasterClass.CallClassSP(String className, String sList)

Thanks for the help

Anurag Jain

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.