Solved

Microsoft Dynamics Navision 2009 R2

Posted on 2014-01-14
1
1,331 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Microsoft Dynamics GP 2013 9 64
Office 365 and Exchange 5 28
CRM 2011 Client for Outlook 2010 won't connect to CRM Server 7 78
snapshot of lead status on a daily basis 5 162
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.
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I

856 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