an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Installation > Enter Store Admin problems
Last Post 4/12/2008 9:33:13 PM By lukezy. 5 replies.
4/12/2008 8:08:38 PM
rampar
Posts: 32
Joined: 4/23/2008
Enter Store Admin problems

I can login to the website, but then when I click on Enter Store Admin at the top I get errors everywhere.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: The SELECT permission was denied on the object 'DSC_Parse_Ids', database 'AKDB', schema 'dbo'.

4/12/2008 8:13:53 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Enter Store Admin problems

http://support.dotshoppingcart.com/forums/Home/tabid/36/forumid/3/threadid/257/scope/posts/Default.aspx

DotShoppingCart Staff
4/12/2008 8:40:02 PM
rampar
Posts: 32
Joined: 4/23/2008
Re: Enter Store Admin problems

<font color="#0000ff" size="2"> How do I run these commands?

GRANT SELECT ON

 

[dbo].[DSC_Parse_Ids] <font color="#0000ff" size="2"><font color="#0000ff" size="2">TO [DSC_Public]

4/12/2008 8:46:58 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Enter Store Admin problems

Open SQL management studio and connect to the DB and run the following SQL script

ADD SIGNATURE <font color="#0000ff" size="2"><font color="#0000ff" size="2">TO [dbo].[DSC_Order_GetByDateRangeAndStatusList] <font color="#0000ff" size="2"><font color="#0000ff" size="2">BY CERTIFICATE dynamicCert <font color="#0000ff" size="2"><font color="#0000ff" size="2">WITH PASSWORD = <font color="#a31515" size="2"><font color="#a31515" size="2">'dsc dyn@mic2007'

DotShoppingCart Staff
4/12/2008 8:55:31 PM
rampar
Posts: 32
Joined: 4/23/2008
Re: Enter Store Admin problems

I ran that along with the GRANT SELECT ON to [DSC_Parse_Ids] and [DSC_Orders] and it works great.

Thanks!

4/12/2008 9:33:13 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Enter Store Admin problems

You don't need to grant Select to DSC_Order because they loosen the table DSC_Order  permission. Here is the complete fix.

<div style="margin: 0in 0in 0pt"><span style="font-size: 10pt; color: blue">GRANT SELECT ON </span><span style="font-size: 10pt"> [dbo].[DSC_Parse_Ids] <span style="color: blue">TO </span>[DSC_Public]</span> <div style="margin: 0in 0in 0pt"><span style="font-size: 10pt; color: blue">ADD </span><span style="font-size: 10pt">SIGNATURE <span style="color: blue">TO </span>[dbo].[DSC_Order_GetByDateRangeAndStatusList] <span style="color: blue">BY </span>CERTIFICATE dynamicCert <span style="color: blue">WITH </span>PASSWORD = <span style="color: #a31515">'dsc dyn@mic2007'</span></span>

 

DotShoppingCart Staff