Unfortunately the wss_logging database doesnt exist in my spfarm environment. and now when I try to run the sp 2013 SP1 and april 2017 CU , it throws an error saying,

database not found and login failed for user mdomain\myfarmuser.

is it possible to recover / recreate the wss_logging database. i tried to run the config wizard multiple times, but it was stuck with the below message"

CanUpgrade [SPUsageDatabase Name=WSS_Logging] failed. (EventID:ajxme)

Exception: Cannot open database "WSS_Logging" requested by the login. The login failed.Login failed for user 'mydomain\myspfarmuser11c'. (EventID:ajxme)

Cannot upgrade [SPUsageDatabase Name=WSS_Logging]. (EventID:ajxnf)


1 Answer 1


Dis you configure the usage and health service? That is time when logging db created, if it is provisioned try to unprovision if not being used or try to re provision.

  • May I know how to re-provision the usage health service. Should I stop that service from manage services from server? N Start again ? Or any power shell cmd to re-privision the same?
    – samolpp2
    Jun 19, 2017 at 5:14
  • 1
    try this one: c-sharpcorner.com/blogs/…
    – Waqas Sarwar MVP
    Jun 19, 2017 at 13:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.