Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Old Forums
 CLOSED - General SQL Server
 could not find stored procedure ???
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

metalyric
Starting Member

1 Posts

Posted - 09/15/2005 :  21:44:49  Show Profile
hi all,

i had to re-install my sql server, so got my back-up of my database. today i restored it after re-installing sql server.

now it has every table and sp as before; but my app gives "could not find stored procedure <storedProcedureName>"

i checked the database, and sp is there. besides the ownership cannot be a problem, because i'm trying to connect to the database with the right username (who has the ownership for that sptored procedure)

i don't have any idea about that problem, do you?

thanks all.

Stalker
Yak Posting Veteran

Russia
80 Posts

Posted - 09/15/2005 :  23:47:40  Show Profile
can you execute your SP from Query Analyzer ?
Go to Top of Page

derrickleggett
Pointy Haired Yak DBA

USA
4184 Posts

Posted - 09/16/2005 :  00:12:19  Show Profile  Visit derrickleggett's Homepage  Send derrickleggett an AOL message  Send derrickleggett a Yahoo! Message
Have you tried running sp_change_users_login 'REPORT' to see if you have a user out of synch? If you do, you then need to run:
sp_change_users_login 'auto_fix', 'UserName'.

MeanOldDBA
derrickleggett@hotmail.com

When life gives you a lemon, fire the DBA.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000