Skip to main content

Notifications

Microsoft Dynamics SL (Archived)

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

(0) ShareShare
ReportReport
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!

*This post is locked for comments

  • 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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans