Click here to Skip to main content
15,905,782 members
Home / Discussions / C#
   

C#

 
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
Questiondata grid - how to do copy/paste Pin
dineshdineshdinesh23-Jun-06 9:32
dineshdineshdinesh23-Jun-06 9:32 
QuestionAdvice Troubleshooting Memory Leaks Using PInvoke Pin
redfish3423-Jun-06 9:20
redfish3423-Jun-06 9:20 
AnswerRe: Advice Troubleshooting Memory Leaks Using PInvoke Pin
Dan Neely23-Jun-06 9:42
Dan Neely23-Jun-06 9:42 
Question2D in D3D Pin
_Comet_Keeper_23-Jun-06 9:15
_Comet_Keeper_23-Jun-06 9:15 
Questionsend a file Pin
waheed awan23-Jun-06 7:47
waheed awan23-Jun-06 7:47 
AnswerRe: send a file Pin
Jun Du23-Jun-06 7:58
Jun Du23-Jun-06 7:58 
GeneralRe: send a file Pin
waheed awan23-Jun-06 8:05
waheed awan23-Jun-06 8:05 
GeneralRe: send a file Pin
Jun Du23-Jun-06 8:31
Jun Du23-Jun-06 8:31 
Questionservice on window Pin
waheed awan23-Jun-06 7:40
waheed awan23-Jun-06 7:40 
AnswerRe: service on window Pin
Jun Du23-Jun-06 8:03
Jun Du23-Jun-06 8:03 
AnswerRe: service on window Pin
Dave Kreskowiak23-Jun-06 8:07
mveDave Kreskowiak23-Jun-06 8:07 
QuestionEmbedded Resources Pin
Atlantaazfinest23-Jun-06 7:30
Atlantaazfinest23-Jun-06 7:30 
AnswerRe: Embedded Resources Pin
Josh Smith23-Jun-06 8:18
Josh Smith23-Jun-06 8:18 
GeneralRe: Embedded Resources Pin
Atlantaazfinest23-Jun-06 8:30
Atlantaazfinest23-Jun-06 8:30 
QuestionForm Focus Pin
Cubzfan23-Jun-06 7:27
Cubzfan23-Jun-06 7:27 
QuestionRe: Form Focus Pin
Jun Du23-Jun-06 7:53
Jun Du23-Jun-06 7:53 
AnswerRe: Form Focus Pin
Cubzfan23-Jun-06 8:07
Cubzfan23-Jun-06 8:07 

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.