CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Cold Fusion & Oracle PLEASE HELP

Print topic Send  topic

Author Message
Steve
Posted: 10/25/2002, 10:29 AM

I am having trouble with Cold Fusion and Oracle

I can connect, run, execute the pages just fine using ASP

I can see the tables in code charge(ASP&CFM) just fine, the connection
works!

But when executing the Cold Fusion code it crashes with the following error:


Oracle Error Code = 12560

ORA-12560: TNS:protocol adapter error



SQL = "select M.COG as M_COG, M.FSC as M_FSC, M.ORD_POLICY as M_ORD_POLICY,
M.PART as M_PART, M.PLANNER as M_PLANNER, M.PO as M_PO, M.PRIORITY as
M_PRIORITY, M.PROJECT as M_PROJECT, M.QTY_ONHAND as M_QTY_ONHAND, M.QTY_REQD
as M_QTY_REQD, M.REMARKS as M_REMARKS, M.SHOP as M_SHOP, M.TARIFF_CODE as
M_TARIFF_CODE, M.UM as M_UM, M.VDESC as M_VDESC, M.WO as M_WO from MIR_VW M"

Data Source = "APPDEV.WORLD"


The error occurred while processing an element with a general identifier of
(CFQUERY), occupying document position (15:5) to (15:225) in the template
file E:\INETPUB\WWWROOT\MRPSHORTAGECFM\OPENRS.cfm.


RonB
Posted: 11/09/2002, 2:52 AM

Hi,

I think this is a connection problem. check your tnsnames.ora file and see
if your connectionstring is setup properly.
I dont know which OS you are working on but setting some env. variables also
could help.

Ron

"Steve" <groningasc@navair.navy.mil> schreef in bericht
news:apbv1n$s28$1@news.codecharge.com...
> I am having trouble with Cold Fusion and Oracle
>
> I can connect, run, execute the pages just fine using ASP
>
> I can see the tables in code charge(ASP&CFM) just fine, the connection
> works!
>
> But when executing the Cold Fusion code it crashes with the following
error:
>
>
> Oracle Error Code = 12560
>
> ORA-12560: TNS:protocol adapter error
>
>
>
> SQL = "select M.COG as M_COG, M.FSC as M_FSC, M.ORD_POLICY as
M_ORD_POLICY,
> M.PART as M_PART, M.PLANNER as M_PLANNER, M.PO as M_PO, M.PRIORITY as
> M_PRIORITY, M.PROJECT as M_PROJECT, M.QTY_ONHAND as M_QTY_ONHAND,
M.QTY_REQD
> as M_QTY_REQD, M.REMARKS as M_REMARKS, M.SHOP as M_SHOP, M.TARIFF_CODE as
> M_TARIFF_CODE, M.UM as M_UM, M.VDESC as M_VDESC, M.WO as M_WO from MIR_VW
M"
>
> Data Source = "APPDEV.WORLD"
>
>
> The error occurred while processing an element with a general identifier
of
> (CFQUERY), occupying document position (15:5) to (15:225) in the template
> file E:\INETPUB\WWWROOT\MRPSHORTAGECFM\OPENRS.cfm.
>
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.