• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1469
  • Last Modified:

Microsoft Dynamics Navision 2009 R2

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
AllanNoa
Asked:
AllanNoa
1 Solution
 
AllanNoaAuthor Commented:
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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now