Windows Vista Forums

Could not locate the assembly for type

  1. #1


    Jérôme Piquot Guest

    Could not locate the assembly for type

    Hello,

    Could not locate the assembly for type
    Krystal.CompanySchema.Store.CompanyDivision, Krystal.CompanySchema.Store,
    Version=0.1.0.0, Culture=neutral, PublicKeyToken=2fc2c8d260330d31 using
    Fusion rules.

    I have this error when setting the container property on the first created
    item, but not when setting container on the second item.

    When i do the SaveContextChanges() i have :{"The member returned by the
    provider not found in the schematized type."}

    When i browse shemas in WinFS Type Browser i can see the
    Krystal.CompanySchema assembly and the CompanyDivision object.
    (Krystal.CompanySchema, Version=0.1.0.0, Culture=neutral,
    PublicKeyToken=2fc2c8d260330d31).

    What is the difference between Krystal.CompanySchema and
    Krystal.CompanySchema.Core?

    For other object types in other assemblies everything works.

    --
    -------------------------------------------------------------
    Jérôme Piquot
    GEDIMAT Wolff-Catenne
    6, rue de la Gare
    67120 Ernolsheim sur Bruche
    FRANCE
    mail: jerome.piquot@wolff.fr
    http://www.gedimat.fr
    -------------------------------------------------------------



      My System SpecsSystem Spec

  2. #2


    Jérôme Piquot Guest

    Re: Could not locate the assembly for type

    Ok found it, i was thinking that the xxxx.Store.dll was generated by the add
    schema operation in winfs. the xxxx.Store.dll is in the same directory as
    schema xxxx.dll when adding the xxxx.Store.dll to the gac everything is ok.

    --
    -------------------------------------------------------------
    Jérôme Piquot
    GEDIMAT Wolff-Catenne
    6, rue de la Gare
    67120 Ernolsheim sur Bruche
    FRANCE
    mail: jerome.piquot@wolff.fr
    http://www.gedimat.fr
    -------------------------------------------------------------

    "Jérôme Piquot" <jerome.piquot@wolff.fr> a écrit dans le message de news:
    eCLcRhFZGHA.1192@TK2MSFTNGP03.phx.gbl...
    > Hello,
    >
    > Could not locate the assembly for type
    > Krystal.CompanySchema.Store.CompanyDivision, Krystal.CompanySchema.Store,
    > Version=0.1.0.0, Culture=neutral, PublicKeyToken=2fc2c8d260330d31 using
    > Fusion rules.
    >
    > I have this error when setting the container property on the first created
    > item, but not when setting container on the second item.
    >
    > When i do the SaveContextChanges() i have :{"The member returned by the
    > provider not found in the schematized type."}
    >
    > When i browse shemas in WinFS Type Browser i can see the
    > Krystal.CompanySchema assembly and the CompanyDivision object.
    > (Krystal.CompanySchema, Version=0.1.0.0, Culture=neutral,
    > PublicKeyToken=2fc2c8d260330d31).
    >
    > What is the difference between Krystal.CompanySchema and
    > Krystal.CompanySchema.Core?
    >
    > For other object types in other assemblies everything works.
    >
    > --
    > -------------------------------------------------------------
    > Jérôme Piquot
    > GEDIMAT Wolff-Catenne
    > 6, rue de la Gare
    > 67120 Ernolsheim sur Bruche
    > FRANCE
    > mail: jerome.piquot@wolff.fr
    > http://www.gedimat.fr
    > -------------------------------------------------------------
    >
    >




      My System SpecsSystem Spec


Could not locate the assembly for type
Similar Threads
Thread Forum
Re: Unable to cast COM object of type 'ADODB.RecordsetClass' to class type 'System.Object[]' .NET General
Display actual file type, not description of the type Vista file management
Display the actual type, rather than the description of the type Vista General
Unable to find type [Drawing.Image]: make sure that the assembly containing this type is loaded PowerShell
Trouble when .NET Remoting needs to locate an assembly PowerShell