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

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 SQL SERVER 2005 and Windows 7

Author  Topic 

azamsharp
Posting Yak Master

201 Posts

Posted - 2010-01-23 : 12:09:33
I am using SQL SERVER 2005 with Windows 7. I have restored the production database on my local machine. There is a stored procedure named "azamsharp.getlatestarticles" but I cannot execute it. I cannot even change the properties of the stored procedure when I right click. I ran the orphan user sproc and saw that there was one user called "azamsharp" which was orphan. I ran few other scripts and that solved the issue. But still when I right click on the procedure it does not show me properties.

Mohammad Azam
www.azamsharp.net

Kristen
Test

22859 Posts

Posted - 2010-01-23 : 12:16:02
If you are SA on your local server you ought to be able to view anything!

(Unless the Sproc is encrypted)
Go to Top of Page

azamsharp
Posting Yak Master

201 Posts

Posted - 2010-01-23 : 12:18:30
I think I am SA on my local machine. I restored the database on my local machine from production. I can execute queries against tables like "select top 10 * from azamsharp.news" but I cannot execute the sproc like this: exec azamsharp.usp_getlatestnews. I cannot even see the properties option when I right click on the sproc.

Mohammad Azam
www.azamsharp.net
Go to Top of Page
   

- Advertisement -