Troubleshoot: Code 3005 in Profiles.ProfileContext
ravikanth | October 21, 2009Some times, when you try to load the Commerce Site you may receive an ASP.Net Warning followed by Commerce Server Error 3005. The Commerce Server Error (below) didn’t really gave me much to start with. but ASP.Net Warning shows that the error has happened at commerce server profiles:
|
Here is ASP.NET 2.0 Warning Information Event code: 3005 Process information: Exception information: Thread information: Here is Commerce Server Error
The description for Event ID ( 16389 ) in Source ( Commerce Server ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: . |
Using Commerce Server Manager I double checked and found that the connections to the database are correct, and that the application pool is running under an identity which has access to the database.
After some investigation what I found is – If you are accessing the “Internal” site using Windows Authentication, then your user account needs access to the CS databases. When I gave SQL permission to the windows account, the error is fixed. The approach you should take is to create an Active directory group for CS users, and grant it the same SQL permissions as the CSRunTime user according to the CS deployment document. The “External” site, with anonymous access, will use the App Pool account (e.g. CSRunTime) for SQL DB access. If you are attempting to access the external site, be sure to validate CSRunTime has the correct SQL DB access per the CS deployment document.
Hello,
This sounds very like an issue that we have recently released a fix for.
Error message when you open a Commerce Server 2009 Web site that is integrated into SharePoint when the SQL Server and the Commerce Server are installed on different computers: “Server Error in ‘/’ Application”
http://support.microsoft.com/kb/975603
I think this might also resolve your issue and would mean that you do not need to give users permissions on the database.
Thanks,
Finbar