Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Suggested answer

Dynamics SL - new user issues- Could not find stored procedure 'CompanySearch'

Posted on by 290

Hello,

We added 2 new users to SL. One of them is an Administrator.  They both are getting a SQL Server Message 501  Could not find stored procedure 'CompanySearch'

How can I troubleshoot the issue.

Thanks!

  • NorK Profile Picture
    NorK 290 on at
    RE: Dynamics SL - new user issues- Could not find stored procedure 'CompanySearch'

    Hello, before I ran the sync, I deleted the user from SL and then checked SQL security and deleted the user from there and re-added.  I can try deleting the user again and adding again.  I did not set up a completely new domain account so we can try that.  Thanks!

  • Suggested answer
    Mark E Profile Picture
    Mark E 6,405 on at
    RE: Dynamics SL - new user issues- Could not find stored procedure 'CompanySearch'

    Had this recently for one user at a client site.  Could not figure out the problem with the domain acct rights.  Had to completely remove the user from SL and all traces of security in SQL at the databases and logins levels, and re-create the User in SL. Let the SL User setup process build the SQL rights, do not try to add to SQL manually.  In this case, we also went as far as setting up a completely new domain acct to resolve.

  • NorK Profile Picture
    NorK 290 on at
    RE: Dynamics SL - new user issues- Could not find stored procedure 'CompanySearch'

    Hello,  I ran the synch process and no luck.  We are on SL2011 FP1

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics SL - new user issues- Could not find stored procedure 'CompanySearch'

    That stored procedure exists in your system database.  I suspect that you are using Windows security for SL authentication and these new users have not been granted permission to that stored procedure (as well as others).  Try launching the Dynamics SL utility database administration found under the control panel / administrative tools, sign into the instance of your SQL database, switch to the update database tab and run the synchronize all database ownership & security step.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,570 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,683 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans