Click here to Skip to main content
15,908,175 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: application form size for different OS Pin
darkelv5-Jun-08 4:46
darkelv5-Jun-08 4:46 
Questiondelegates and effect in c++ com server Pin
dtranter4-Jun-08 3:50
dtranter4-Jun-08 3:50 
QuestionHow can I get the user session ID/Token? Pin
MeNot4-Jun-08 2:39
MeNot4-Jun-08 2:39 
AnswerRe: How can I get the user session ID/Token? Pin
Member 765555715-Feb-11 13:54
Member 765555715-Feb-11 13:54 
GeneralRe: How can I get the user session ID/Token? Pin
Prasanta_Prince14-Apr-11 0:25
Prasanta_Prince14-Apr-11 0:25 
QuestionTrying to access Oracle DB from web service... errors after erros - pls help Pin
dsfdsfsdf3-Jun-08 21:46
dsfdsfsdf3-Jun-08 21:46 
AnswerRe: Trying to access Oracle DB from web service... errors after erros - pls help Pin
dsfdsfsdf4-Jun-08 7:17
dsfdsfsdf4-Jun-08 7:17 
Question.net remoting security problem Pin
Tokes Erno3-Jun-08 20:38
Tokes Erno3-Jun-08 20:38 
I have two applications which communicates trough remoting. when I try to set a property of a remote object a get the following exception and donno what to do. please help Confused | :confused:

System.Runtime.Serialization.SerializationException: Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed. ---> System.Security.SecurityException: Request failed.
at System.Runtime.Serialization.FormatterServices.nativeGetSafeUninitializedObject(RuntimeType type)
at System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(Type type)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.SecurityPermission
The first permission that failed was:
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="Infrastructure"/>

The demand was for:
<PermissionSet class="System.Security.PermissionSet"
version="1">
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="Infrastructure"/>
</PermissionSet>

The only permitted permissions were:
<PermissionSet class="System.Security.PermissionSet"
version="1">
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="SerializationFormatter"/>
</PermissionSet>


the client code:

ChannelServices.RegisterChannel(new IpcClientChannel(), false);
Manager manager = (Manager)Activator.GetObject(typeof(Manager), "ipc://channelname/Services");
manager.AddService(new ServiceProcess(new Setting("service", Setting.Status.Started, Setting.StartupType.Automatic, 30, "db conn")));

the server code:

IpcServerChannel ipc = new IpcServerChannel("channelname");
ChannelServices.RegisterChannel(ipc, false);
RemotingConfiguration.RegisterWellKnownServiceType(typeof(Manager), "Services", WellKnownObjectMode.Singleton);
RemotingServices.Marshal(RemoteManager, "Services", typeof(Manager));
AnswerRe: .net remoting security problem Pin
leppie4-Jun-08 2:15
leppie4-Jun-08 2:15 
GeneralRe: .net remoting security problem Pin
Tokes Erno4-Jun-08 2:37
Tokes Erno4-Jun-08 2:37 
GeneralRe: .net remoting security problem Pin
leppie4-Jun-08 4:36
leppie4-Jun-08 4:36 
QuestionCould we have VS.NET 2005 and 2008 onthe same machine (pc or notebook) ? [modified] Pin
bug_aonz3-Jun-08 18:36
bug_aonz3-Jun-08 18:36 
AnswerRe: Could we have VS.NET 2005 and 2008 onthe same machine (pc or notebook) ? Pin
John Ad3-Jun-08 18:57
John Ad3-Jun-08 18:57 
AnswerRe: Could we have VS.NET 2005 and 2008 onthe same machine (pc or notebook) ? Pin
Tariq A Karim9-Jun-08 16:49
Tariq A Karim9-Jun-08 16:49 
QuestionMultiple instances of NTService process [modified] Pin
malharone3-Jun-08 10:36
malharone3-Jun-08 10:36 
AnswerRe: Multiple instances of NTService process Pin
Mike Dimmick3-Jun-08 13:59
Mike Dimmick3-Jun-08 13:59 
GeneralRe: Multiple instances of NTService process Pin
malharone3-Jun-08 21:37
malharone3-Jun-08 21:37 
QuestionRegistering an windows Application to a URL Protocol Pin
asma_panjabi3-Jun-08 3:27
asma_panjabi3-Jun-08 3:27 
QuestionC# Console Program Issue Pin
Verghese2-Jun-08 4:27
Verghese2-Jun-08 4:27 
AnswerRe: C# Console Program Issue Pin
Ray Cassick2-Jun-08 4:49
Ray Cassick2-Jun-08 4:49 
GeneralRe: C# Console Program Issue Pin
Verghese2-Jun-08 5:57
Verghese2-Jun-08 5:57 
GeneralRe: C# Console Program Issue Pin
tasumisra3-Jun-08 19:58
tasumisra3-Jun-08 19:58 
AnswerRe: C# Console Program Issue Pin
Prasanta_Prince14-Apr-11 0:27
Prasanta_Prince14-Apr-11 0:27 
QuestionHow can i know from the keyboard scan code what is the real key that pressed? Pin
Yanshof1-Jun-08 20:26
Yanshof1-Jun-08 20:26 
AnswerRe: How can i know from the keyboard scan code what is the real key that pressed? Pin
Alan N2-Jun-08 3:09
Alan N2-Jun-08 3:09 

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.