NAV Extension: Publish NAV App with Power shell ISE

zohaibu95@hotmail.com
Member Posts: 223
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
I got this error:

I have tried many approaches, searched on google but unfortunately no luck.
Please help i will be thankful to you
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

Best Regards
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.
0
Best Answer
-
Issue resolved by myself.
Issue is of Caption ML, there was some invalid characters in it.
If anyone face this error, make sure to use Event viewer.Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.0
Answers
-
@mohana_cse06 if you can help?Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.0 -
Please use below parameter to identify the issues
-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.0 -
I tried @mohana_cse06 with the log file as well. But in this case log file is not generating. What to do now?Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.0 -
Did you try double quotes in Path? "C:\......"?
may be also for ServerInstance0 -
@mohana_cse06 i did for both unfortunately no luck.Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.0 -
@mohana_cse06 do you know how to fix this?Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.0 -
@mohana_cse06 i have looked into event viewer and see this exception
- <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>Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.0 -
Issue resolved by myself.
Issue is of Caption ML, there was some invalid characters in it.
If anyone face this error, make sure to use Event viewer.Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions