Click here to Skip to main content
15,891,372 members
Home / Discussions / C#
   

C#

 
GeneralRe: rdbms trigger calling C# Pin
Mycroft Holmes15-May-09 13:39
professionalMycroft Holmes15-May-09 13:39 
QuestionC# User Account Question HELP! Pin
Serpendiem14-May-09 17:06
Serpendiem14-May-09 17:06 
AnswerRe: C# User Account Question HELP! Pin
N a v a n e e t h14-May-09 17:12
N a v a n e e t h14-May-09 17:12 
GeneralRe: C# User Account Question HELP! Pin
Serpendiem14-May-09 17:18
Serpendiem14-May-09 17:18 
GeneralRe: C# User Account Question HELP! Pin
N a v a n e e t h14-May-09 17:21
N a v a n e e t h14-May-09 17:21 
GeneralRe: C# User Account Question HELP! Pin
Serpendiem14-May-09 17:32
Serpendiem14-May-09 17:32 
GeneralRe: C# User Account Question HELP! Pin
OriginalGriff14-May-09 22:41
mveOriginalGriff14-May-09 22:41 
QuestionRemoting Permission problem AFTER signing assembly Pin
devvvy14-May-09 15:12
devvvy14-May-09 15:12 
hello

[sorry about long trace thought it may help]

I ran into this remoting permission problem after signing my dll's, any idea why signing has anything to do with this please? (I confirmed this has to do with signing because I restore my last good backup, then sign my util dll's and rerun test cases, which gives me this)

<br />
2009-05-15 09:07:01,578 [1] ERROR RemotingInterfaceInteractiveClient - xxxxx.Util.ApplicationException Exception context: xxxxx.Util.ApplicationExceptionContext, Subject: RemotingInterfaceInteractiveClient - RunCommandLoop error, Description: System.Runtime.Serialization.SerializationException: Because of security restrictions, the type xxxxx.Util.Command.AdminCommands.ApplicationContextRequestCmd cannot be accessed. ---> System.Security.SecurityException: Request failed.<br />
   at System.Runtime.Serialization.FormatterServices.nativeGetSafeUninitializedObject(RuntimeType type)<br />
   at System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(Type type)<br />
The action that failed was:<br />
Demand<br />
The type of the first permission that failed was:<br />
System.Security.PermissionSet<br />
The demand was for:<br />
<PermissionSet class="System.Security.PermissionSet"<br />
version="1"<br />
Unrestricted="true"/><br />
<br />
The only permitted permissions were:<br />
<PermissionSet class="System.Security.PermissionSet"<br />
version="1"><br />
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"<br />
version="1"<br />
Flags="SerializationFormatter"/><br />
</PermissionSet><br />
<br />
The method that caused the failure was:<br />
System.Runtime.Remoting.Channels.ServerProcessing ProcessMessage(System.Runtime.Remoting.Channels.IServerChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Channels.ITransportHeaders, System.IO.Stream, System.Runtime.Remoting.Messaging.IMessage ByRef, System.Runtime.Remoting.Channels.ITransportHeaders ByRef, System.IO.Stream ByRef)<br />
   --- End of inner exception stack trace ---<br />
<br />
Server stack trace: <br />
   at System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(Type type)<br />
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObject(ParseRecord pr)<br />
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Parse(ParseRecord pr)<br />
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)<br />
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)<br />
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()<br />
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)<br />
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)<br />
   at System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryRequestMessage(String objectUri, Stream inputStream, Boolean bStrictBinding, TypeFilterLevel securityLevel)<br />
   at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)<br />
<br />
Exception rethrown at [0]: <br />
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)<br />
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)<br />
   at xxxxx.Util.Command.CommandRunner.set_Commands(List`1 value)<br />
   at RemotingInterfaceInteractiveClient.Program.ProcessCommandFile(RemotingClientSetup& oSetup) in C:\dev\xxxxx\NET3.0\RemotingInterfaceInteractiveClient\Program.cs:line 163, StackTrace:    at xxxxx.Util.ApplicationException.Throw(String strSubject, String strSummary, String strDescription, Exception oInnerException) in C:\dev\xxxxx\NET3.0\Util\ApplicationException.cs:line 176<br />
   ... System.Runtime.Serialization.FormatterServices.nativeGetSafeUninitializedObject(RuntimeType type)<br />
   at System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(Type type)<br />


Many thanks!

dev

Answer... after digging around a bit Pin
devvvy14-May-09 17:29
devvvy14-May-09 17:29 
Questiona problem about timer and serialport in VC# [modified] Pin
zh.again14-May-09 15:11
zh.again14-May-09 15:11 
AnswerRe: a problem about timer and serialport in VC# Pin
Luc Pattyn14-May-09 15:24
sitebuilderLuc Pattyn14-May-09 15:24 
GeneralRe: a problem about timer and serialport in VC# Pin
zh.again14-May-09 15:53
zh.again14-May-09 15:53 
QuestionBBS Door Library in C# Pin
bigjoe11a14-May-09 13:29
bigjoe11a14-May-09 13:29 
AnswerRe: BBS Door Library in C# Pin
James Plotts5-Jul-14 6:59
James Plotts5-Jul-14 6:59 
AnswerRe: BBS Door Library in C# Pin
James Plotts5-Jul-14 7:00
James Plotts5-Jul-14 7:00 
QuestionConfigurationException and ConfigurationErrorException Pin
Dan Neely14-May-09 10:18
Dan Neely14-May-09 10:18 
AnswerRe: ConfigurationException and ConfigurationErrorException Pin
Dan Neely14-May-09 14:10
Dan Neely14-May-09 14:10 
QuestionHow to add Admin creds to my program ? Pin
partialdata14-May-09 10:14
partialdata14-May-09 10:14 
QuestionClick Once & Application Cache Pin
BlitzPackage14-May-09 9:46
BlitzPackage14-May-09 9:46 
AnswerRe: Click Once & Application Cache Pin
Graeme Bosworth26-Apr-10 20:35
Graeme Bosworth26-Apr-10 20:35 
Questionhelp Pin
Alex_xso14-May-09 9:23
Alex_xso14-May-09 9:23 
AnswerRe: help Pin
Anthony Mushrow14-May-09 9:32
professionalAnthony Mushrow14-May-09 9:32 
QuestionError 170:In correct Syntax- SQL Server and C# Pin
SilimSayo14-May-09 8:22
SilimSayo14-May-09 8:22 
AnswerRe: Error 170:In correct Syntax- SQL Server and C# Pin
Ian McCaul14-May-09 8:28
Ian McCaul14-May-09 8:28 
GeneralRe: Error 170:In correct Syntax- SQL Server and C# Pin
SilimSayo14-May-09 8:47
SilimSayo14-May-09 8:47 

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.