Skip to main content
Known Participant
May 20, 2009
Question

how to solve this issue

  • May 20, 2009
  • 2 replies
  • 1305 views

Hi i am calling stored procedure and it works fine before but noe i am getting error as

[Macromedia][SQLServer JDBC Driver][SQLServer]Login failed for user 'sam'.(when i use username and password attributes in cfstoredproc)

[Macromedia][SQLServer JDBC Driver][SQLServer]Could not find stored procedure 'getData'(when i removed usename and password fields from cfstoredproc)

my cfsoredproc consists of

<cfstoredproc procedure="getData" datasource="#dba#"  username="sam" password="password"></cfstoredproc>

This topic has been closed for replies.

2 replies

Participating Frequently
May 22, 2009

Assuming that you have a user and password assigned in ColdFsuion Administrator for the DSN, what do you get if you try it this way?

<cfstoredproc procedure="sam.getData" datasource="#dba#"></cfstoredproc>

Phil

Participating Frequently
May 21, 2009

Make sure that you can login to the database with the user and the

password you specified and that user has the right to execute the

stored procedure (you can check that by logging in to your db with a

program like EMS MS Manager).

Mack