Put a trim() and val() around the url.productId. Perhaps some whitespace is getting in there.
From: "Richard Cooper" <[EMAIL PROTECTED]> > I've recently been getting some odd occurrences when using <cfqueryparam>. > For instance I've have a table products. Everything was fine until > recently when a product was updated via a CMS system. > Each product that was edited after this point had this error when > attempted to view in a listing: > [code] > [Macromedia][SQLServer JDBC Driver]Value can not be converted to requested > type. > The error occurred in W:\inetpub\wwwroot\testsite\www\untitled.cfm: line 4 > 2 : SELECT * > 3 : FROM products > 4 : WHERE productID = <cfqueryparam value="#URL.productID#" > cfsqltype="cf_sql_integer" /> > 5 : </cfquery> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249991 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

