Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error Installing when SQL login ID (UID) contains a Error Installing when SQL login ID (UID) contains a '-'
Previous
 
Next
New Post
5/13/2006 12:24 PM
 

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

 

 

 
New Post
5/14/2006 9:03 AM
 

Aha, I notice you can change all the dataprovider scripts to wrap the CREATE TABLE clauses with [].  Great! but whatever, I'm not going in that direction since I assume this will only cause future problems with new module installations etc.  Forget it, I want a simple life, so will go back to persuading my hosting provider to change the login id to something else instead!

Cheers,

Matty

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error Installing when SQL login ID (UID) contains a Error Installing when SQL login ID (UID) contains a '-'


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out