AuditWizard - Troubleshooting - .ERROR Files

From Layton Support
(Difference between revisions)
Jump to: navigation, search
(Implemented new numbered list format, added alternative method to determine service account)
m (Minor text changes)
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
<p align="right">[[File:btn_back_up.png|link=User Guide for AuditWizard]] [[User Guide for AuditWizard|<u>Back to Contents</u>]]</p>
+
<p align="right">[[File:btn_back_up.png|link=AuditWizard - Troubleshooting - Audit Files Not Uploading]] [[AuditWizard - Troubleshooting - Audit Files Not Uploading|<u>Back</u>]]</p>
 
=Overview=
 
=Overview=
When ''.ERROR'' is appended to the ADF file name, this typically means that the account under which the AuditWizard service is running does not have permissions to access the database.  Essentially the "null object" in the log is the (failed) database connection.
+
When ''.ERROR'' is appended to the ADF file name, this typically means that the account under which the AuditWizard service is running does not have permissions to access the database.
  
 
=Fix=
 
=Fix=
#In AuditWizard, go to Administration > General > AuditWizard Services.<br /><br /><p>[[File:Aw_admin_gen_aw_svcs.png|link=]]</p><br />
+
#In AuditWizard, go to ''Administration > General > AuditWizard Services''.<br /><p>[[File:Aw_admin_gen_aw_svcs.png|link=]]</p><br />
#Click the ''Service Control'' button. The following dialog will be displayed:<br /><br /><p>[[File:Aw_admin_gen_aw_svc_ctrl.png|link=]]</p><br />
+
#Click the ''Service Control'' button. The following dialog will be displayed:<br /><p>[[File:Aw_admin_gen_aw_svc_ctrl.png|link=]]</p><br />
 
#Note the account in the ''Username'' field being used to run the service.
 
#Note the account in the ''Username'' field being used to run the service.
#Alternatively, if you can't launch AuditWizard, open the Services console and get Properties on the ''AuditWizardService'' service. Click the ''Log On'' tab to view the account setting:<br /><br /><p>[[File:Aw awsvc prop.png|link=]]</p><br />
+
#Alternatively, if you can't launch AuditWizard, open the Services console and get Properties on the ''AuditWizardService'' service. Click the ''Log On'' tab to view the account setting:<br /><p>[[File:Aw awsvc prop.png|link=]]</p><br />
 
#Launch SQL Server Management Studio.
 
#Launch SQL Server Management Studio.
 
#Expand ''Server > Databases > AuditWizard > Security > Users''.
 
#Expand ''Server > Databases > AuditWizard > Security > Users''.
#If the service account is not present, add it. If it is present, right-click it and select ''Properties''.<br /><br /><p>[[File:Aw db role memship.png|link=]]</p><br />
+
#If the service account is not present, add it. If it is present, right-click it and select ''Properties''.<br /><p>[[File:Aw db role memship01.png|link=]]</p><br />
#Ensure that ''db_owner'' is checked in ''Database role membership''.
+
#Click the ''Owned Schemas'' page and ensure that ''db_owner'' is checked.<br /><p>[[File:Aw db role memship02.png|link=]]</p><br />
<p align="right">[[File:btn_back_up.png|link=User Guide for AuditWizard]] [[User Guide for AuditWizard|<u>Back to Contents</u>]]</p>
+
#Click the ''Membership'' page and ensure that ''db_owner'' is checked.<br /><p>[[File:Aw db role memship03.png|link=]]</p><br />
 +
#The ''.ERROR'' files can be renamed to ''.ADF'' files and uploaded.
 +
<p align="right">[[File:btn_back_up.png|link=AuditWizard - Troubleshooting - Audit Files Not Uploading]] [[AuditWizard - Troubleshooting - Audit Files Not Uploading|<u>Back</u>]]</p>

Latest revision as of 01:47, 8 July 2020

Btn back up.png Back

[edit] Overview

When .ERROR is appended to the ADF file name, this typically means that the account under which the AuditWizard service is running does not have permissions to access the database.

[edit] Fix

  1. In AuditWizard, go to Administration > General > AuditWizard Services.

    Aw admin gen aw svcs.png


  2. Click the Service Control button. The following dialog will be displayed:

    Aw admin gen aw svc ctrl.png


  3. Note the account in the Username field being used to run the service.
  4. Alternatively, if you can't launch AuditWizard, open the Services console and get Properties on the AuditWizardService service. Click the Log On tab to view the account setting:

    Aw awsvc prop.png


  5. Launch SQL Server Management Studio.
  6. Expand Server > Databases > AuditWizard > Security > Users.
  7. If the service account is not present, add it. If it is present, right-click it and select Properties.

    Aw db role memship01.png


  8. Click the Owned Schemas page and ensure that db_owner is checked.

    Aw db role memship02.png


  9. Click the Membership page and ensure that db_owner is checked.

    Aw db role memship03.png


  10. The .ERROR files can be renamed to .ADF files and uploaded.

Btn back up.png Back

Personal tools
Namespaces

Variants
Actions
Main Page
Online User Guides
General Support
Release Notes
Toolbox