Hi All,
I'm trying to install DNN 4.03 in a hosted environment. Unfortunately the SQL login created by our host contains a '-', for example my-sql_login. Do you know of any reason this would cause the install to fail? I get the message:
ERROR: Could not connect to database specified in connectionString for SqlDataProviderSystem.Data.SqlClient.SqlException: Line 19: Incorrect syntax near '-'. Line 32: Incorrect syntax near '-'. Line 40: Incorrect syntax near '-'. Line 46: Incorrect syntax near '-'. ....... and so on...
One other thing I thought to mention, which I guess could be somehow tied to this issue, the SQL login I'm using doesn't have DBO permissions so I configured the web.config as
... name="SqlDataProvider" type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider" connectionStringName="SiteSqlServer" upgradeConnectionString="" providerPath="~\Providers\DataProviders\SqlDataProvider\" objectQualifier="" templateFile="DotNetNuke_template.mdf" databaseOwner="my-sql_login" ...
The Sql Login has all the necessary permissions other than DBO
- db_datareader
- db_datawriter
- db_ddladmin
- db_securityadmin
My host is complaining that they dont want to change this login since its part of their naming standards forming a prefix of my domain/account name!
Is this a known issue with DNN 4.03? Having spent some time looking around I couldn't find anything so far?
Thanks in advance for any assistance.
Matty