aspnet_regsql error
I am trying to run aspnet_sqlreg on my local database (on my machine).
aspnet_regsql -ssadd -sstype c -d "computername\localSqlserveNname" -E
And after it says "Start adding sesson state.", it says that, "An error开发者_开发技巧 has occured.... A network-related or instance-spcific eror occurred while establishing a connetion to SQL server. The server was not found or was not accessible." But, I am pretty sure i entered the correct name of the server and database.
Has anyone have similar error?
the error is on the name
aspnet_regsql.exe -ssadd -sstype c -d DATABASENAME -E
where DATABASENAME
is the name of your new database, eg try something like "SessionStateDB"
aspnet_regsql.exe -ssadd -sstype c -d SessionStateDB -E
精彩评论