web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Access to the path \\OIOUBL\Sales\XSLT' is denied using OIOUBL Electroning Invoicing for Denmark AIF Ax2012

(0) ShareShare
ReportReport
Posted on by

Hi every one!

I have had a issue when i am using Filsystemadapter in AIF Out bound service .It's give me Access to the path \\ Path folder\XSLT is denied error I have already given AOS user's right's to folder.

 issue "Access to the path \\OIOUBL\Sales\XSLT' is denied using OIOUBL Electroning Invoicing for Denmark AIF Ax2012" I configure all things according to requirement . when i run AIF and batch job it's give me above error. I have already given AOS user account full right and all domain user also
But still issue comes.

Regards,

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,953 Most Valuable Professional on at

    What's the exact error message and from where is it thrown?

  • Aijaz Profile Picture
    on at

    Hi Martin,

    Following  two errors thrown when i run my out bound AIF  and run the job of it 

    1. Access to the path '\\file\Out\OI\Sales\XSLT' is denied.

    2. Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.   at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue)   at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.callReturn(Int32 rc, interpret* ip)   at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.CallStatic(String className, String methodName, Object[] parameters, Type[] types, Object[] varargs, Type[] varargsTypes)   at Dynamics.Ax.Application.XmlDocument.newFile(String filename)   at Dynamics.Ax.Application.EInvoiceFileTransform_OI.Readxmldocument(String _fileName) in EInvoiceFileTransform_OI.readXMLDocument.xpp:line 11   at Dynamics.Ax.Application.EInvoiceFileTransform_OI.Run() in EInvoiceFileTransform_OI.run.xpp:line 24   at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 50   at BatchRun::runJobStatic(Object[] )   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)   at BatchIL.taskThreadEntry(Object threadArg)

    Regards,

  • Ivan (Vanya) Kashperuk Profile Picture
    on at

    access is defined. You've set up sharing of the folder incorrectly

    to check, try give "Everyone" Read/Write access.

  • Aijaz Profile Picture
    on at

    Hi Martin,

    Another thing i am mentioning related to above issue i am going to configure and setup to run AIF for OIOUBL electronic invoicing for Denmark country. I have had already configure all thing according to this but still face same above issue

  • Aijaz Profile Picture
    on at

    Hi Ivan,

    I have already given full right's to every one and also for AOS user and shared folders.

    Regards,

  • Martin Dráb Profile Picture
    237,953 Most Valuable Professional on at

    Is \\file\Out\OI\Sales\XSLT the right file name to use? It sounds more like a folder name.

  • Aijaz Profile Picture
    on at

    Hi Martin,

    It's folder name. yes Microsoft mentions the setup configuration on this link http://technet.microsoft.com/EN-US/library/gg231394.aspx

  • Suggested answer
    Martin Dráb Profile Picture
    237,953 Most Valuable Professional on at

    All right, so that's the answer to why you're getting the Access denied error. Trying to load a folder name as XmlDocument makes no sense and must fail.

    I'm not familiar with this functionality; review your setup and if it doesn't help, review/debug the code to see why you're not getting any file name.

  • Verified answer
    Aijaz Profile Picture
    on at

    Hi Martin,

    Thanks for reply i have had reconfigure my all setup and specially XSLT folder up to XSL file path it's work  for me.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans