Hi guys i am trying to create extension for Dynamics NAV 2017 using Delta files approach. I have successfully developed the package. Now when i try to publish the app using
Publish-NAVApp -ServerInstance MDC-Test -Path 'C:\EIE\MDC\x_ZA\Extensions Testing\VAKS.navx' -SkipVerification -Verbose
I got this error:
I have tried many approaches, searched on google but unfortunately no luck.
Please help i will be thankful to you
Answers
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
-LogPath<String>
Specifies the path where you want to save the log file for any potential publication errors. If the file exists, any errors are added to the log file.
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
may be also for ServerInstance
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft.Dynamics.Nav.Management.dll" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2017-07-25T17:28:38.087873100Z" />
<EventRecordID>591272</EventRecordID>
<Channel>Application</Channel>
<Computer>integration</Computer>
<Security />
</System>
- <EventData>
<Data>Type: System.AggregateException Message: <ii>One or more errors occurred.</ii> StackTrace: at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally) at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body) at Microsoft.Dynamics.Nav.Model.Tools.ReadWriteModelTool.<>c__DisplayClass13_0.<WriteApplicationObjects>b__0(IProgressLogger progress) at Microsoft.Dynamics.Nav.Model.Tools.ReadWriteModelTool.WriteApplicationObjects(IEnumerable`1 objects, String fileSpec, OutputType outputType) at Microsoft.Dynamics.Nav.Model.Tools.ModelChangeTool.UpdateApplicationObject(String[] target, String[] delta, String result, String targetName, String deltaName) at Microsoft.Dynamics.Nav.Apps.Management.Installation.AmuToolsInterop.UpdateApplicationObjects(String baselineDirectory, String packageFilesDirectory, String modifiedFilesDirectory) at Microsoft.Dynamics.Nav.Apps.Management.Installation.AppPublisher.<>c__DisplayClass0_0.<PublishAppFromPackage>b__13(SqlDatabaseSandbox sandbox) at Microsoft.Dynamics.Nav.Apps.Utility.ResultExtensions.OnSuccessUse[TIn](Result`1 input, Func`2 successApplicator) at Microsoft.Dynamics.Nav.Apps.Management.Installation.AppPublisher.PublishAppFromPackage(String packageFilePath, DatabaseConnectionInfo databaseConnectionInfo, Boolean overwrite, Int32 sqlTimeout, String logFile, String serviceAccount, DatabaseConnectionInfo destinationDatabaseConnectionInfo, String navIdeValue) at Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.PublishNavApp.<>c__DisplayClass18_1.<Publish>b__3(DatabaseConnectionInfo sandboxInfo) at Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.PublishNavApp.Publish() at Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.PublishNavApp.InternalProcessRecord() at Microsoft.Dynamics.Nav.Management.NavCommand.ProcessRecord() Source: mscorlib HResult: -2146233088
Type: System.InvalidOperationException Message: <ii>Unable to parse DAN="Sælgernavn ENG=Sales Person Name as MLText. Open " found after language identifier DAN</ii> StackTrace: at Microsoft.Dynamics.Nav.Model.TypeSystem.ModelTextHelper.<MLTextSplitter>d__6.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext() at Microsoft.Dynamics.Nav.Model.TypeSystem.ModelTextHelper.<MLTextFormatter>d__7.MoveNext() at Microsoft.Dynamics.Nav.Model.IO.Txt.TxtExporter.WriteEmbracedProperty(IElement element, PropertyType propertyType) at Microsoft.Dynamics.Nav.Model.IO.Txt.TxtExporter.ExportPropertiesAndTriggers(IElement element, InlineItem[] inlineProperties, Char startWith, Int32 propIndent) at Microsoft.Dynamics.Nav.Model.IO.Txt.TxtExporter.<>c__DisplayClass24_0.<ExportContainment>b__0() at Microsoft.Dynamics.Nav.Model.IO.Txt.TxtExporter.WriteSection(String name, Action action) at Microsoft.Dynamics.Nav.Model.IO.Txt.TxtExporter.ExportParentElement(IElement element) at Microsoft.Dynamics.Nav.Model.IO.Txt.TxtExporter.<>c__DisplayClass12_0.<ExportObject>b__0() at Microsoft.Dynamics.Nav.Model.IO.Txt.TxtExporter.WriteSection(String name, Action action) at Microsoft.Dynamics.Nav.Model.IO.Txt.TxtExporter.ExportObject(ApplicationObject ao) at Microsoft.Dynamics.Nav.Model.IO.Txt.TxtExporter.ExportObjects(IEnumerable`1 applicationObjects, Stream stream, Action progressAction) at Microsoft.Dynamics.Nav.Model.Tools.ReadWriteModelTool.WriteApplicationObject(ApplicationObject appObj, String fileName, IProgressLogger progress) at Microsoft.Dynamics.Nav.Model.Tools.ReadWriteModelTool.<>c__DisplayClass13_1.<WriteApplicationObjects>b__1(ApplicationObject o) at System.Threading.Tasks.Parallel.<>c__DisplayClass42_0`2.<PartitionerForEachWorker>b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object ) Source: Microsoft.Dynamics.Nav.Model.TypeSystem HResult: -2146233079</Data>
</EventData>
</Event>
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
Issue is of Caption ML, there was some invalid characters in it.
If anyone face this error, make sure to use Event viewer.
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.