Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi..

I am using remotely connected database and when i try to use the stored procedures getting the following error- Could not find stored procedure 'dbo.InsertUpdateLocation'.

I tried changing the schema name from dbo but the problem still exists and it works perfectly fine in local.

Can anyone please help me??

Thanks in advance.
Posted

When you moved this to your production database, did you remember to copy the stored procedure over? Because the error message is quite explicit - and if you haven't changed the code between local and production, then there is one obvious cause...
 
Share this answer
 
error- Could not find stored procedure 'dbo.InsertUpdateLocation' This type of error generate when you code not getting this store procedure.
So check you data base did you create this procedure.Or make sure match store procedure name properly.
 
Share this answer
 
Simplest way will be to execute script for stored procedure in server.
 
Share this answer
 
Comments
bhagyap 9-Jul-13 7:08am    
I have tried doing it.
Amol_B 9-Jul-13 8:13am    
oh... in that case you can check
select * from INFORMATION_SCHEMA.ROUTINES WHERE SPECIFIC_NAME = 'InsertUpdateLocation' OR ROUTINE_NAME = '_InsertUpdateLocation'

and check here if specific schema is DBO . if it is not then you can face this problem.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900