Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirroring not working after applying TagsGroupkey #69

Open
harinarayanann opened this issue Jan 24, 2019 · 0 comments
Open

Mirroring not working after applying TagsGroupkey #69

harinarayanann opened this issue Jan 24, 2019 · 0 comments

Comments

@harinarayanann
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant