I'm newbie user, installed nopcommerce 2.50 in my computer with source code. The site work's fine in http://localhost/ecommerce, but: how to access admin site? How to configure the admin site?
I remember the data form that fill in the page of configuration, but i don't enter to the admin site.
I don't speak english very well, I ask all the necessary apologies.
1. Could you please connect to your database, execute the following command and post the results here:
select * from CustomerRole
select * from Customer_CustomerRole_Mapping crm join CustomerRole cr on crm.CustomerRole_Id=cr.Id where cr.SystemName = N'Administrators'
select * from PermissionRecord_Role_Mapping prrm join PermissionRecord pr on prrm.PermissionRecord_Id = pr.Id where pr.SystemName = N'AccessAdminPanel'
2. Do you have ASP.NET MVC 4 installed? 3. Are you using Visual Studio to run the solution (source code version)? If yes, what version? Or are you using "no source code" version?
Everything seems to be OK. I think it's better to debug the application in order to know why you don't see the link. Have a look at CommonController (Nop.Web project) and HeaderLinks action method. Ensure that model.DisplayAdminLink property is set to "true". If it isn't set, then debug why (_permissionService.Authorize(StandardPermissionProvider.AccessAdminPanel)).
But if it's set to "true" and the link is not displayed, then please post your HTML markup (opened in a browser) here (HTML markup inside <div class="header-links"> tag)
Hi! I guess i have the same problem and here is how the debug of DisplayAdminLink looks like (if i have done it correctly) DisplayAdminLink = _permissionService.Authorize(StandardPermissionProvider.AccessAdminPanel), Invalid expression term ''
The login seems to work, but the Admin link is not shown, when entering wrong id it shows. Using: Windows 8, SQLEXPRESS and Visual studio 11Beta
Everything seems to be OK. I think it's better to debug the application in order to know why you don't see the link. Have a look at CommonController (Nop.Web project) and HeaderLinks action method. Ensure that model.DisplayAdminLink property is set to "true". If it isn't set, then debug why (_permissionService.Authorize(StandardPermissionProvider.AccessAdminPanel)).
But if it's set to "true" and the link is not displayed, then please post your HTML markup (opened in a browser) here (HTML markup inside <div class="header-links"> tag)
I debug the application...the property DisplayAdminLink is set to "false" and I don't no why. For now, I'll set the property to "true".
Do you have any ideas why the property set to "false"?
Thank's again !!!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.