Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I have deployed a application for testing. It uses a stored procedure to Insert data into a db. It works fine on the pc i am using but when i install it on another machine it says it cannot find the stored procedure. I have given the user of the machine "EXC" rights in the db but it still does not find it. Any help will be appreciated:confused:
  • *Experts*
Posted

Have you run a SQL trace to see how/if the user is connecting? Is the connection string using the user's credentials? If so, make sure that user has access to the DB AND has the EXEC rights.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

Yip thxs the problem was i created the SP on my machine it set the SP owner as 'My Name'.Even though i had given the relevant permissions it still didnt work. When i changed it to dbo it worked on all the client machines. Thanks for the help.

 

SET QUOTED_IDENTIFIER ON

GO

SET ANSI_NULLS ON

GO

 

setuser N'dbo' --this was set to myname

GO

 

CREATE PROC ****

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...