I would suggest that the problem is with creating the mdf file in the D: \ Data folder. Can you verify that you have the permissions required for this place and that you have enough free space? Also, make sure that the mdf file with this name is no longer in this location.
source share