I have SQL Server 2014 installed as a default instance MSSQLSERVER
. My computer's name is DHAVAL-PC
.
So I used to connect SQL Server database engine with DHAVAL-PC
.
Coming to DNN 8 Installation, I used to type my server name as DHAVAL-PC
and the empty database that I have created. But I am getting the following error:
Even I tried with MSSQLSERVER
, DHAVAL-PC/MSSQLSERVER
, ./MSSQLSERVER
, .
.
None of the server names worked.
What identity is your site running under? Assuming you are using IIS look at the identity field of your application pool. If it is an application pool identity make sure you have granted owner permission on the database to that application pool.
To do that, add
IIS APPPOOL\<application_pool_name>
as a user/logon in sql server