Getting Depressed : Changing the Initialization Services

Topics: CAB & Smart Client Software Factory
Feb 6, 2007 at 2:20 AM
Hello All,

I am trying to implement my own IAuthentificationService in a separate assembly that will be loaded by my client through the use of the app.config.

For that, I have followed the instructions in the CAB Help : "Changing the Initialization Services".

No way to make it matter what I put in the app.config, it does not seem to work. Even if I mistape the assembly name and/or the namespace, I do not have any error raised during the startup...

Below my changes:

In the App.Config:

<section name="compositeUI" type="Microsoft.ApplicationBlocks.CompositeUI.Configuration.SettingsSection, Microsoft.ApplicationBlocks.CompositeUI"
allowExeDefinition="MachineToLocalUser" />
<add serviceType="Microsoft.ApplicationBlocks.CompositeUI.Services.IAuthenticationService,
instanceType="Indigo.Module1.Services.Class1, Module1" />


Then, I have created a foundational module named Module1 and have added a service which namespace is Indigo.Module1.Services. The service name is Class1.

Class1 implement the IAuthenticationService, with a very simple Authenticate() method that is just performing a MessageBox.Show();.

Can anybody help???


Feb 6, 2007 at 2:46 PM
Ok, forget it :-) I had an assembly versionning pb :-)