Solved

Microsoft Dynamics Navision 2009 R2

Posted on 2014-01-14
1
1,321 Views
1 Endorsement
Last Modified: 2014-01-15
Hi all,
We have Microsoft Dynamics Navision 2009 R2 and I'm trying to figure out why I'm not able to
Import pictures in a 3'rd party addon for Navision called Trimit.

I've tried using processmon which doesn't give me anything usefull.
Examining the application eventlog it throws the message below

This is working when the user connection has local administrative rights on the server

Error message:
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLAutomationCreateException
SuppressMessage: False
FatalityScope: None
Message:
  This message is for C/AL programmers:
 
  Cannot create an instance of an Automation Server with CLSID = {F43AC43A-0422-44CB-A547-BD52DF1D2BC9}.
StackTrace:
     at Microsoft.Dynamics.Nav.Service.NSClientCallback.CreateAutomationObject(Guid classId, String licenseKey, Boolean newServer)
     at Microsoft.Dynamics.Nav.Runtime.NavAutomation.Create(DataError errorLevel, Boolean newServer, Boolean clientSide)
Source: Microsoft.Dynamics.Nav.Service
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLAutomationCreateException
SuppressMessage: False
FatalityScope: None
Message:
  This message is for C/AL programmers:
 
  Cannot create an instance of an Automation Server with CLSID = {F43AC43A-0422-44CB-A547-BD52DF1D2BC9}.
StackTrace:
     at Microsoft.Dynamics.Nav.Types.NavAutomationHelper.GetHumanReadableName(Guid classId, Boolean throwOnError)
     at Microsoft.Dynamics.Nav.Client.AutomationHandler.AskBeforeCreatingComObject(Guid classId)
     at Microsoft.Dynamics.Nav.Client.AutomationHandler.CreateAutomationObject(Guid classId, String licenseKey, Boolean newServer)
     at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass29.<CreateAutomationObject>b__28()
     at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass1.<RunClientRequest>b__0()
     at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.WaitForServerResponse(IAsyncResult asyncResult, ThreadCallbackContext threadEventContext)
Source: Microsoft.Dynamics.Nav.Types
1
Comment
Question by:AllanNoa
1 Comment
 

Accepted Solution

by:
AllanNoa earned 0 total points
ID: 39781904
I'll be closing this one because I've pinpointed what went wrong and it seems to be an error in the way it's coded.

It tries to write to another users user folder: C:\Users\XXXX\AppData\Local\Temp\XXX-XX-XX_TrimIT_PictureControl.log using the logged on uses credentials
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Default language / Timezone for an user 5 42
Microsoft Dynamic 2009 R2 migration 1 54
T-SQL:  Manipulating Rows 50 176
Crm iframe 6 97
On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question