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

C#

 
GeneralMOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 15:19
Tyrus18210-Dec-04 15:19 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd10-Dec-04 16:28
Skynyrd10-Dec-04 16:28 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:03
Tyrus18210-Dec-04 17:03 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd10-Dec-04 17:07
Skynyrd10-Dec-04 17:07 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:15
Tyrus18210-Dec-04 17:15 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:14
Tyrus18210-Dec-04 17:14 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd10-Dec-04 17:17
Skynyrd10-Dec-04 17:17 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:29
Tyrus18210-Dec-04 17:29 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:44
Tyrus18210-Dec-04 17:44 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd10-Dec-04 19:10
Skynyrd10-Dec-04 19:10 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 19:54
Tyrus18210-Dec-04 19:54 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd11-Dec-04 2:08
Skynyrd11-Dec-04 2:08 
GeneralsqlCommand in C# Pin
John L. DeVito10-Dec-04 12:48
professionalJohn L. DeVito10-Dec-04 12:48 
GeneralRe: sqlCommand in C# Pin
Heath Stewart10-Dec-04 13:03
protectorHeath Stewart10-Dec-04 13:03 
GeneralCallContext SerializationException Pin
Skynyrd10-Dec-04 12:48
Skynyrd10-Dec-04 12:48 
GeneralRe: CallContext SerializationException Pin
Heath Stewart10-Dec-04 12:54
protectorHeath Stewart10-Dec-04 12:54 
GeneralRe: CallContext SerializationException Pin
Skynyrd10-Dec-04 13:12
Skynyrd10-Dec-04 13:12 
GeneralRe: CallContext SerializationException Pin
Heath Stewart10-Dec-04 14:28
protectorHeath Stewart10-Dec-04 14:28 
GeneralRe: CallContext SerializationException Pin
Skynyrd10-Dec-04 14:49
Skynyrd10-Dec-04 14:49 
GeneralRe: CallContext SerializationException Pin
Skynyrd10-Dec-04 19:17
Skynyrd10-Dec-04 19:17 
GeneralRe: CallContext SerializationException Pin
Heath Stewart10-Dec-04 20:27
protectorHeath Stewart10-Dec-04 20:27 
GeneralRe: CallContext SerializationException Pin
Skynyrd11-Dec-04 2:31
Skynyrd11-Dec-04 2:31 
GeneralRe: CallContext SerializationException Pin
Skynyrd11-Dec-04 4:20
Skynyrd11-Dec-04 4:20 
I've tried out explicit versioning but I still get the same exception: These are the remoting config files I'm using:

Server side:

<configuration>
<system.runtime.remoting>
<application>
<service>
<wellknown
type="Vigila.Remoting.DataLayerTool, Vigila.Remoting, Version=0.0.1.0, Culture=neutral, PublicKeyToken=caa4a15766f8ec1a"
objectUri="DataLayerTool.rem"
mode="SingleCall"
/>
</service>
<channels>
<channel
ref="tcp"
port="8086"
/>
</channels>
</application>
</system.runtime.remoting>
</configuration>

Client Side:

<configuration>
<system.runtime.remoting>
<application name = "Vigila client">
<client>
<wellknown
type = "Vigila.Objects.IDataLayerTool, Vigila.Objects"
url = "tcp://localhost:8086/DataLayerTool.rem" />
</client>
<channels>
<channel
ref="tcp"
port="0"
/>
</channels>
</application>
</system.runtime.remoting>
</configuration>

If I try to include Version, culture and public key info of the Vigila.Objects assembly in the client config file:

"Vigila.Objects.IDataLayerTool, Vigila.Objects, Version=0.0.1.0, Culture=neutral, PublicKeyToken=caa4a15766f8ec1a"

, I get the follwoing RemotingException telling me that Client WellKnow entries dont admit full names (version, culture and key)

!? dont know if this is normal. If u need details of exception I'll post them, but wont do it now because its too long.

Anyhow, when I run the app, I'm getting exactly the same exception I posted in the first message: SecurityExpection due to the CallContexData object I'm using (see my first post please). Am I supposed to include info of this object in the client and server remoting config files somehow? and if so, how? Or what am I missing?..all examples I see of CallContext are without strongnaming, and I know my code works perfectly in that case, but I cant find any examples where StrnongNaming is used with CallContext.
GeneralRe: CallContext SerializationException Pin
Heath Stewart11-Dec-04 22:14
protectorHeath Stewart11-Dec-04 22:14 
GeneralRe: CallContext SerializationException Pin
Skynyrd12-Dec-04 9:52
Skynyrd12-Dec-04 9:52 

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.