Skip to main content

Posts

Showing posts with the label domain

Hints and steps to install Ax 2012 in Windows 8

Following are the Hints and steps to install Ax 2012 in Windows 8 1.Installation is easy but first of all you have to be aware regarding prerequisites and the platform, where you are going to run AX. a)  Microsoft .NET Framework Most Microsoft Dynamics AX components, including the Setup wizard, require .NET Framework 3.5 with Service Pack 1. For those components that require.NET Framework 4.0, it is listed as an additional requirement in this document. b)         Microsoft Windows® Installer 3.1 or Windows Installer 4.0 c)Additional requirements ·         .NET Framework 4.0 with the hotfix from Knowledge Base article number 2390372. ·         Microsoft SQL Server 2008 Native Client 2.First of all if you want to make your system stand alone, then you need to attach a domain with your client. for that thing you need to install windows server 2008R2/Windows server 2012 R2, then you can connect with this. or if yo...

Set Folder,File read,write Permission from AX

To Set Folder,File read,write Permission from AX you can try below code . Just you need to pass Domain,Folder  parameter in function as root and stFolder as mention in function below. void setAccess(str root, str stFolder) { System.Security.AccessControl.DirectorySecurity DirectorySec; System.IO.DirectoryInfo dirInformaiton; System.Security.AccessControl.FileSystemAccessRule FilesysaccessRule; System.Security.AccessControl.FileSystemRights fileSysRights; System.Security.AccessControl.AccessControlType accessControlType; UserInfo UserInfo; SHRDocuFolder LtabSHRDocuFolder; System.Security.AccessControl.InheritanceFlags inheritFlags; System.Security.AccessControl.PropagationFlags propFlags; ; dirInformaiton = new System.IO.DirectoryInfo(_root); DirectorySec = dirInformaiton.GetAccessControl(); fileSysRights = System.Security.AccessControl.FileSystemRights::Write; inheritFlags = System.Security.AccessControl.InheritanceFlags::ObjectIn...