Click here to Skip to main content
15,910,981 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem instantiating form classes created in other C# project Pin
Henry Minute14-May-09 3:50
Henry Minute14-May-09 3:50 
GeneralRe: Problem instantiating form classes created in other C# project Pin
Jacobus0114-May-09 3:57
Jacobus0114-May-09 3:57 
GeneralRe: Problem instantiating form classes created in other C# project Pin
Henry Minute14-May-09 4:02
Henry Minute14-May-09 4:02 
GeneralRe: Problem instantiating form classes created in other C# project Pin
Jacobus0114-May-09 4:08
Jacobus0114-May-09 4:08 
QuestionHow to enable tollbar in windows taskbar Pin
Radzivil Vladimir14-May-09 2:25
Radzivil Vladimir14-May-09 2:25 
AnswerRe: How to enable tollbar in windows taskbar Pin
Henry Minute14-May-09 3:38
Henry Minute14-May-09 3:38 
QuestionLinq To Xml help Pin
Miroslav8814-May-09 2:00
Miroslav8814-May-09 2:00 
Questionremoting security/permissioning exception... Pin
devvvy14-May-09 1:55
devvvy14-May-09 1:55 
hello

I ran into this, apparently it has to do with remoting permissioning. I have no idea where to start and my brain is fried... it seems like it happens after I signed my assemblies but since there're many dll's I signed not sure if I want to unsign them to confirm this.

<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 Util.Command.CommandRunner.set_Commands(List`1 value)<br />
   at RemotingInterfaceInteractiveClient.Program.ProcessCommandFile(RemotingClientSetup& oSetup) in C:\...\RemotingInterfaceInteractiveClient\Program.cs:line 163 {Inner Exception: 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 />


Any suggestion how to approach this sort of problem?

Many thanks!

dev

QuestionHow to Create Crystal Report into Visual Studio 2008 (Windows Form) application? Pin
btough14-May-09 1:41
btough14-May-09 1:41 
QuestionPage indexing in c# Pin
Sajjad Leo14-May-09 1:39
Sajjad Leo14-May-09 1:39 
AnswerRe: Page indexing in c# Pin
musefan14-May-09 2:35
musefan14-May-09 2:35 
Questionnavigation among forms in windows application Pin
Aankur Bbansal14-May-09 1:07
Aankur Bbansal14-May-09 1:07 
AnswerRe: navigation among forms in windows application Pin
Samer Aburabie14-May-09 1:14
Samer Aburabie14-May-09 1:14 
AnswerRe: navigation among forms in windows application Pin
Anubhava Dimri14-May-09 1:35
Anubhava Dimri14-May-09 1:35 
Questionc# BHO Issues Pin
svt gdwl14-May-09 1:05
svt gdwl14-May-09 1:05 
AnswerRe: c# BHO Issues Pin
Dave Kreskowiak14-May-09 4:18
mveDave Kreskowiak14-May-09 4:18 
QuestionSocket Error Pin
mahesvs14-May-09 0:49
mahesvs14-May-09 0:49 
AnswerRe: Socket Error Pin
Rob Philpott14-May-09 0:54
Rob Philpott14-May-09 0:54 
GeneralRe: Socket Error Pin
Neezha15-May-09 3:26
Neezha15-May-09 3:26 
AnswerRe: Socket Error Pin
Programm3r14-May-09 1:08
Programm3r14-May-09 1:08 
QuestionAssembly probing - how to instruct to look under bin folder instead of GAC? Pin
devvvy14-May-09 0:49
devvvy14-May-09 0:49 
AnswerCheck out Pin
Ennis Ray Lynch, Jr.14-May-09 2:45
Ennis Ray Lynch, Jr.14-May-09 2:45 
GeneralRe: Check out Pin
devvvy14-May-09 2:49
devvvy14-May-09 2:49 
GeneralRe: Check out Pin
Ennis Ray Lynch, Jr.14-May-09 2:50
Ennis Ray Lynch, Jr.14-May-09 2:50 
GeneralRe: Check out Pin
devvvy14-May-09 2:55
devvvy14-May-09 2:55 

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.