Kevin wrote:
Is this a fresh install of DNN 6.0?
The error appears to be related to the specification of the database connection string(s) in Web.Config. Please check this and if you are still having problems post the following:
1. DNN Version
2. Database - SQL Server or SQL Server Express
3. Connection string definition nodes from Web.Config. There are two connection strings, one under the
and the other under .
If you are attempting this setup on shared hosting/production server, be sure to change database passwords to "xxxxx" before posting.
Thanks,
DNN : 6.0 (not a fresh install.)
Database : SqlServer 2008 R2
3. web.conf
<connectionStrings>
<add connectionString="Data Source=xxx\DNNDB;Initial Catalog=DNN_ENT_dnn60_fresh;User ID=dnn60;Password=xxxx" name="SiteSqlServer" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="SiteSqlServer" value="Data Source=xxx\DNNDB;Initial Catalog=DNN_ENT_dnn60_fresh;User ID=dnn60;password=xxxx;" />
</appSettings>
<data defaultProvider="SqlDataProvider">
<providers>
<clear />
<add name="SqlDataProvider" type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider" connectionStringName="SiteSqlServer" upgradeConnectionString="SiteSqlServer" providerPath="~\Providers\DataProviders\SqlDataProvider\" objectQualifier="" databaseOwner="dnn60" />
</providers>
</data>
Progress:
First of all, I installed smithcart modules successfully with fresh dnn installation with "run as db owner" checked ("dbo" will be the schema name in this case) . but our current dnn database has a "dnn60" as schema name.
a. The "upgradeConnectionString" was set to "SiteSqlServer" which is a wrong value in our previous web.config. this setting caused the original exception being thrown "ExceptionSystem.Argument Eexception: Format of the initialization string does not conform to specification starting at index 0"
b. After I set "upgradeConnectionString"="" and I resotred my dnn database (no smithcart installation) and did smithcart installation again. got below error messages:
Those "cannot find"stored procedures exist in my dnn database with schema "dnn60" such as: dnn60.Messaging_UpdateMessage
SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Cannot find the object 'Messaging_UpdateMessage', because it does not exist or you do not have permission. Cannot find the object 'CreateStagedTabModule', because it does not exist or you do not have permission. Cannot find the object 'UpdateTabModule', because it does not exist or you do not have permission. Cannot find the object 'Commerce_Orders_PostLog_List', because it does not exist or you do not have permission. Cannot find the object 'GetSearchResultModules', because it does not exist or you do not have permission. Cannot find the object 'GetHtmlTextUser', because it does not exist or you do not have permission. Cannot find the object 'activesocial_Groups_ForumsList', because it does not exist or you do not have permission. Cannot find the object 'AddVendorClassification', because it does not exist or you do not have permission. Cannot find the object