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
Given a C#.NET assembly, what information can you get?
I'm developing a proprietary system in C#.NET. The assembly is in a folder accessible by outside people. Since it's critical that others don't...
.NET General
Re: Unable to cast COM object of type 'ADODB.RecordsetClass' to class type 'System.Object[]'
"Scotty" <matthieu.sarthou@xxxxxx> schreef in bericht news:1b139922-a0c7-496c-b58d-cbe03f53ec7c@xxxxxx Hello Scotty just change Dim tmp() as...
.NET General
Display actual file type, not description of the type
Is it possible, in Windows Explorer Search, to display the actual type, rather than the description of the type? eg .mp3 rather than "MPEG...
Vista file management
Display the actual type, rather than the description of the type
Is it possible, in Windows Explorer Search, to display the actual type, rather than the description of the type? eg .mp3 rather than "MPEG...
Vista General
Locate MAC from IP with WMI
I have an IP and i want to get the assocaited MAC address to it. I'd like to do this with WMI so i can easily remote to systems but the IP address...
PowerShell
Unable to find type [Drawing.Image]: make sure that the assembly containing this type is loaded
what must i always do to avoid this common error : make sure that the assembly containing this type is loaded ?
PowerShell
Trouble when .NET Remoting needs to locate an assembly
I'm writing a PowerShell Provider that will expose the data from an existing application and server. The existing applcation has a shared DLL that...
PowerShell