Event ID - 331

Event Id331
SourceWMServer
DescriptionThe WMS Archive Data Writer plug-in could not archive to '%1'.
Event InformationAccording to Microsoft :
Cause :
The number of archived files in the archive directory has reached the limit of 20,000 files
To determine the number of files in the archive directory:
  1. On the Windows Media server, open Windows Media Services. To open Windows Media Services, click Start, point to Administrative Tools, and then click Windows Media Services.
  2. In the console tree, click the broadcast publishing point for which you are archiving data.
  3. In the details pane, click the Properties tab.
  4. In Category, click Archiving.
  5. In Plug-in, right-click WMS Archive Data Writer, and then click Properties.
  6. In the WMS Archive Data Writer Properties dialog box, on the General tab, note the archive directory path in Directory.
  7. In Windows Explorer, right-click the archive folder, and then click Properties.
  8. On the General tab, in Contains, view the number of files stored in the folder.
  9. If the folder contains 20,000 files, see the section titled "Make file space available for archive file storage."
Resolution :
Make file space available for archive file storage
Make additional file space available in the archive directory or change the archive path template to reference an archive directory that has sufficient file space.
Make space available in the current archive directory
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To make space available in the current archive directory:
  1. On the Windows Media server, open Windows Media Services. To open Windows Media Services, click Start, point to Administrative Tools, and then click Windows Media Services.
  2. In the console tree, click the broadcast publishing point for which you are archiving data.
  3. In the details pane, click the Properties tab.
  4. In Category, click Archiving.
  5. In Plug-in, right-click WMS Archive Data Writer, and then click Properties.
  6. In the WMS Archive Data Writer Properties dialog box, on the General tab, note the archive directory path in Directory.
  7. In Windows Explorer, remove files from the archive folder to make additional file space available, or perform the following procedure to specify a new archive directory that has sufficient file space.
Change the archive directory
To change the archive directory:
  1. On the Windows Media server, open Windows Media Services. To open Windows Media Services, click Start, point to Administrative Tools, and then click Windows Media Services.
  2. In the console tree, click the broadcast publishing point for which you are archiving data.
  3. In the details pane, click the Properties tab.
  4. In Category, click Archiving.
  5. In Plug-in, right-click WMS Archive Data Writer, and then click Properties.
  6. In the WMS Archive Data Writer Properties dialog box, on the General tab, in Directory, click Browse to select a new directory for archive file storage.
Cause :
The Network Service account does not have appropriate permissions for the archive directory
To determine the Network Service account permissions for the archive directory:
  1. On the Windows Media server, open Windows Media Services. To open Windows Media Services, click Start, point to Administrative Tools, and then click Windows Media Services.
  2. In the console tree, click the broadcast publishing point for which you want to archive data.
  3. In the details pane, click the Properties tab.
  4. In Category, click Archiving.
  5. In Plug-in, right-click WMS Archive Data Writer, and then click Properties.
  6. In the WMS Archive Data Writer Properties dialog box, on the General tab, note the archive directory path in Directory.
  7. In Windows Explorer, right-click the archive folder, and then click Properties.
  8. On the Security tab, in the Group or user names area, click NETWORK SERVICE.
  9. In the Permissions for NETWORK SERVICE area, view the permissions allowed for the Network Service account.
  10. If the Network Service account does not have Read, Write, and Modify permissions to the archive directory, see the section titled "Specify Network Service account permissions for archiving."
Resolution :
Specify Network Service account permissions for archiving
Windows Media Services uses the Network Service account to archive files in %systemdrive%\WMPub\WMArchive and its subdirectories. By default, the Network Service account has Read, Write, and Modify permissions to the WMArchive directory and its subdirectories.
If the specified archive folder does not reside in %systemdrive%\WMPub\WMArchive or in one of its subdirectories, you must specify permissions on the alternate archive folder for the Network Service account.
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To specify Network Service account permissions for archiving:
  1. On the Windows Media server, open Windows Media Services. To open Windows Media Services, click Start, point to Administrative Tools, and then click Windows Media Services.
  2. In the console tree, click the broadcast publishing point for which you want to archive data.
  3. In the details pane, click the Properties tab.
  4. In Category, click Archiving.
  5. In Plug-in, right-click WMS Archive Data Writer, and then click Properties.
  6. In the WMS Archive Data Writer Properties dialog box, on the General tab, note the archive directory path in Directory.
  7. In Windows Explorer, right-click the archive folder, and then click Properties.
  8. On the Security tab, click Edit.
  9. In the Permissions for <Object name> dialog box, click Add.
  10. In the Select Users, Computers, or Groups dialog box, in Enter the object names to select, type Network Service, and then click OK.
  11. In the Permissions for <Object name> dialog box, in the Group or user names area, click NETWORK SERVICE.
  12. In the Permissions for NETWORK SERVICE area, click the Allow check box for the following permissions: Read, Write, Modify.
  13. Click OK to save the changes.
Verify :
To verify that the output from your live broadcast is being archived correctly to a file in the archive directory, set up a Play While Archiving configuration in Windows Media Services to allow a test client to read from the archive file as the Windows Media server writes to it.
Reference LinksEvent ID 331 from Source WMServer

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.