Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how to solve this issue

New Here ,
May 20, 2009 May 20, 2009

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>

TOPICS
Database access
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
May 20, 2009 May 20, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
May 22, 2009 May 22, 2009
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources