Skip to content

Mirroring not working after applying TagsGroupkey #69

@harinarayanann

Description

@harinarayanann

Hi,
We are using Geta Tags 2.1.13 from past 2 years in our EPiServer 9.2 application. Recently we applied TagsGroupKey. Below are the code,

 `  [TagsGroupKey("myTags")]
    [UIHint("Tags")]
    [Display(Name = "Tags", GroupName = SystemTabNames.Content, Order = 100)]
    public virtual string TagData { get; set; }

    [TagsGroupKey("myTags2")]
    [UIHint("Tags")]
    [Display(Name = "Tags2", GroupName = SystemTabNames.Content, Order = 101)]
    public virtual string TagsSecond { get; set; }`  

Before adding the GroupKey, Mirroring service does not required to have "Geta.Tags.ddl" in bin folder, and it use to work as expected.
After adding the GroupKey, mirroring service failing with error below,

Exception has been thrown by the target of an invocation. [ Error executing task "TestMirror": Initialize action failed for Initialize on class EPiServer.Initialization.ModelSyncInitialization, EPiServer, Version=9.2.0.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7 (Could not load file or assembly 'Geta.Tags, Version=2.1.13.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.) ]

To resolve the above error I have placed Geta.Tags.dll into bin folder, now I an getting new error below.

Mirroring job: 'TestMirror' Mirroring state: Failure during export The following errors occured: Object reference not set to an instance of an object. SourceService: Exported 0 pages TargetService: Imported 0 pages, moved 0 pages, deleted 0 pages including children

EPiServerLog Error,

2019-01-24 03:14:50,504 [13] ERROR EPiServer.MirroringService.Proxy.RuntimeMirroringProxy: StartMirroring Failed System.NullReferenceException: Object reference not set to an instance of an object. at EPiServer.Enterprise.DataExporter.CleanupPackage() at EPiServer.Enterprise.DataExporter.Export() at EPiServer.MirroringService.MirroringSourceService.MirroringExporter.SendPackage(DataExporter exporter, TypeOfPackage typeOfpackage) at EPiServer.MirroringService.MirroringSourceService.MirroringExporter.ExportPackages() at EPiServer.MirroringService.MirroringSourceService.MirroringExporter.Export() at EPiServer.MirroringService.Proxy.RuntimeMirroringProxy.StartMirroring(Guid contextId, ValidationContext validationContext)

Can anyone please help me in this regard to resolve it.

Thanks in Advance,
Hari

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions