I am trying to get a Mach II application off the ground and am having
trouble accessing my database.  I am accessing the database just fine
via a CFC using ORM.  Does anyone know what the problem may be?  Any
help is greatly appreciated.

Mach-II Exception

Message

Error Executing Database Query.

Detail

[Macromedia][SQLServer JDBC Driver]Invalid parameter binding(s).



Here is the function that is trying to access the database:

<cffunction name="authenticateUser" output="false" access="public"
returntype="void"
                hint="I am a boilerplate function">
                <cfargument name="event" type="MachII.framework.Event"
required="true" />
                <!--- Put logic here. --->

        <!--- Form field validation --->
        <cfparam name="form.email" type="email">
        <cfparam name="form.password" type="string">

        <!--- Auth logic --->
        <cfquery name="getUser" datasource="ezco">
                SELECT UserKey, FirstName, LastName, Email, Password
            FROM Users
        </cfquery>

        <cfdump var="getUser"><cfabort>

</cffunction>

-- 
Come see Team Mach-II at OpenCFSummit - Feb 21-23, Dallas, TX - 
http://www.opencfsummit.org/

To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to