HomeHome Product Discus... Product Discus...SmithCartSmithCartBuyNow installation error when installing SmithCartBuyNow installation error when installing SmithCart
Previous
 
Next
New Post
4/14/2011 8:00 AM
 
First off, let me say that I am relatively new to DNN and am still working through a lot of things I don't understand, so if I phrase things poorly, I am sorry.

I have a error when trying to install that I am getting on multiple DNN installs. The background on this is that we wanted a faster way to launch DNN sites, so we created a base line install that we have been copying to separate hosting for new sites. (We now realize there are issues with this that we are having problems with.)

The error we are getting looks to be related to the System.Data.SqlClient or database owner settings in web.config or possibly permissions in the actual DB (Again, I am only guessing here).

Below is a small sample of the error we are getting for reference, the error is about 50 times the size of the sample, thus I don't want to include the entire thing. It looks to be going through every field in the DB for some reason and not being able to find/update them.

Error Sample:
System.Data.SqlClient.SqlException: Cannot find the object 'Smith_DeleteCustomer', because it does not exist or you do not have permission. Cannot find the object 'GetTabModules', because it does not exist or you do not have permission. Cannot find the object 'GetTabPanes', because it does not exist or you do not have permission. Cannot find the object 'UpdateSkinControl', because it does not exist or you do not have permission. Cannot find the object 'DeletePortalDesktopModules', because it does not exist or you do not have permission. Cannot find the object 'Smith_GetCustomer', because it does not exist or you do not have permission. Cannot find the object 'CalculatePagingInformation', because it does not exist or you do not have permission. Cannot find the object 'UpdateEventLogPendingNotif', because it does not exist or you do not have permission.

If there is anyone that can give some guidance without host access, that would be appreciated. If there is a Dev that wants Host access, I can provide that.

We are using DNN 5.6.1 and SmithCard 4.26 Trial

Thanks in advance,
Jeremy Close
 
New Post
4/14/2011 1:29 PM
 
In your other forum post here: http://www.smith-consulting.com/Forums/forumid/1/threadid/7088/scope/posts.aspx you indicated that you fixed your database connection string issue in your web.config. Is this a duplicate post or are you still having issues with your DB connection string?

Kevin
 
New Post
4/14/2011 1:34 PM
 
This is a separate install with a different issue. I looked to see if it is related, but it isn't.

I believe this to be a DB owner config issue, but haven't been able to track it down exactly due to not really knowing what I am doing.

Any help would be appreciated.

Thanks,
Jeremy
 
New Post
4/14/2011 2:04 PM
 
What type hosting do you have for your DNN site? If you want to post your database connection strings I will take a look. Make sure you type xxxxxxxx over your userid and password.

Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
4/15/2011 6:36 AM
 
We use shared hosting on 3essentials.com

Here is the connection string:
connectionString="Data Source=DB2.3ESSENTIALS.COM;Initial Catalog=hickoryriverdog_dnn;User ID=XXXXXXXXX;Password=XXXXXXXXX" providerName="System.Data.SqlClient"

Let me know if you need any other info.

Thanks
 
New Post
4/15/2011 2:09 PM
 

You should have an additional database connection string in the <appSettings> section of your web.config.  Can you post it as well and include the opening and closing tags as follows so we can help figure out what the issue is.

<connectionStrings>

</connectionStrings>

<appSettings>
    
</appSettings>

 


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
4/16/2011 6:16 PM
 

 

I would like to see the very first error, but it looks like you are in the wrong database or have incorrect permissions for some strange reason.

 

Do you have access to SQL Server Management Studio? If so, login to your database, using the credentials provided, and click New Query. (If not, login as host and select host|sql. You can run these examples, but not fix the problems easily.)

 

select db_name()

 

Click execute. What database is returned? If this is not the correct database, then you should assign the default database to the user.

 

Connection|Security|Logins, right click user, properties. Under general, select the default database.

 

Under User mapping, .select the database, then scroll down the roles and ensure db_owner is selected. Select ok.

 

To verify the user has  db_owner execute this

 

exec  sp_helprolemember

 

This proper SQL setup must be working before installing DNN.

 

As far as automating installation, simply drop smithcart into the ~\Install\Modules folder before installing DNN. When DNN is installed (or manually using domain\install.aspx?mode=install) any zip files (modules) will be installed automatically.

 
New Post
4/18/2011 6:57 AM
 
I do not have SQL Server Management Studio access working currently. I will forward this onto our hosting company who is also looking into this.

Thank you for the detailed response, this is similar to the last response from our host, but different enough to possibly solve the problem.

Jeremy
 
New Post
4/18/2011 8:17 AM
 

DNN/SQL problems are often caused by mixing improper credentials. What many people do is try it first, then fix the problems as they appear. This does not work well with DNN/NTFS/SQL/IIS because they are inter-related and have installation requirements in a specific sequence. As a user you can drop files into a folder, but running under the context of a web application pool may not have similar permissions. Adjusting folder or SQL permissions AFTER seeing error messages, does not reapply the scripts or steps that caused the error.

With DNN you can get yourself in a real mess if it is not configured properly BEFORE firing up the website and installing modules.

Please keep us posted and if you require further assistance just let me know.

 
New Post
4/19/2011 1:50 PM
 
This was a database/db_owner permissions error that could not be solved by our host. We just started over with fresh installs of DNN. Thank you for your assistance.
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartBuyNow installation error when installing SmithCartBuyNow installation error when installing SmithCart