[ ax2012 ] Request for the permission of type ‘FileIOPermission’ failed.

Problem :

Request for the permission of type 'FileIOPermission' failed.
(S)\Classes\FileIOPermission\demand
(S)\Classes\WinAPIServer\getTempPath - line 13
(S)\Classes\TaxGSTAuditFileGenerateXMLFromDataset_MY\initXmlWriter - line 41
(S)\Classes\TaxGSTAuditFileGenerateXMLFromDataset_MY\generateXMLFromDataStructure - line 16
(S)\Classes\TaxGSTAuditFileGenerationService_MY\generateGAFXml - line 32
(S)\Classes\DictClass\callObject
(S)\Classes\SysOperationServiceController\runOperation - line 93
(S)\Classes\SysOperationServiceController\runServiceOperation - line 22
(S)\Classes\DictClass\callStatic
(S)\Classes\SysDictClass\invokeStaticMethod - line 26
(S)\Classes\SysDictClass\invokeStaticMethodIL - line 39
(S)\Classes\SysOperationRPCFrameworkService\runServiceOperation - line 5
(C)\Classes\SysOperationServiceController\runOperationWithRunAs - line 7
(C)\Classes\SysOperationServiceController\run - line 34
(C)\Classes\SysOperationController\startOperation - line 10
(C)\Classes\SysOperationServiceController\startOperation - line 16
(C)\Classes\TaxGSTAuditFileGenerationController_MY\main - line 13

Solution :

File > Tools > Options > Development > General > Execute business operations in CIL : <— this has to be ticked

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s