Do not use on any
shared computer
September 5, 2008 03:27pm pdt
 
[x]
Attachment Details

SP Params not getting parsed by ColdFusion Driver

I have a very strange situation going on on my production server. We decided to use all stored procedures for this application and we built it in development using WIN2000, ColdFusion MX 7 version 7,0,2,142559 and SQL Server 2000 SP4.

Everything worked wonderfully in development. We moved it to our production server which is running WIN2003, ColdFusion MX 7 version 7,0,2,142559 and SQL Server 2000 SP4. When we try and run stored procedures that are passing params to the stored procedures. We get the same error. Does anyone have any idea why those params are not being processed on our production server? I can take the same code and it works fine on development. Stored procedures that are only doing select statements work fine.

[Macromedia][SQLServer JDBC Driver][SQLServer]Line 1: Incorrect syntax near '='.

The error occurred in D:\cfsites\jobapps\test.cfm: line 29

27 : <cfstoredproc procedure="dbo.validateAdmin" datasource="XXXXXXXX ">
28 : <cfprocresult name="result" resultset="1">
29 : <cfprocparam type="in" cfsqltype="cf_sql_varchar" dbvarname="username" value="7EC7A68326E4A1D2AD64D6F2A713ED43">
30 : </cfstoredproc>
31 : <cfdump var="#result#">



--------------------------------------------------------------------------------

SQL {call dbo.validateAdmin(username = (param 1) )}
DATASOURCE XXXXXXXX
VENDORERRORCODE 170
SQLSTATE HY000
Start your free trial to view this solution
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Question Stats
Zone: Software
Question Asked By: ghmurphy
Solution Provided By: ghmurphy
Participating Experts: 2
Solution Grade: B
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by _agx_

Rank: Wizard

Expert Comment by _agx_:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by _agx_

Rank: Wizard

Expert Comment by _agx_:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Accepted Solution by ghmurphy
Accepted Solution by ghmurphy:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by _agx_

Rank: Wizard

Expert Comment by _agx_:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by ghmurphy
Author Comment by ghmurphy:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Administrative Comment by Netminder
Administrative Comment by Netminder:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Administrative Comment by Vee_Mod
Administrative Comment by Vee_Mod:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Open Discussion
Open Discussion
 
Comment by Vee_Mod
Closed, 500 points refunded.
Vee_Mod
Experts Exchange Moderator
 
 
20080723-EE-VQP-34 / EE_QW_2_20070628