If it was working fine before
Check the required permission on your application pool. Try to locate any other domain on same server and see if create object working fine or not
for more
Not working before
In this case installed the required plugin.
https://www.microsoft.com/en-in/download/
https://www.microsoft.com/en-in/download/details.aspx?id=3988