CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 I'm a noob...so don't laugh.

Print topic Send  topic

Author Message
ian

Posts: 1
Posted: 03/03/2004, 11:48 AM

I have created several databases using frontpage that connect to an Oracle database hosted on a server. I had to have the administrator create the DSN but once that was done they worked. Now I am trying to create the same database that is currently working in CodeCharge. I put my information in to connect to the database and it does. The test is successfull I am able to see the tables and select the rows I want. However when I publish the pages to the server I get the ugly "ORA-12154: TNS:could not resolve service name" error. Does anyone have any ideas as to what may be wrong? One last note I did re-do the database using strictly frontpage and it worked.
View profile  Send private message
DonB
Posted: 03/03/2004, 3:35 PM

When published, your application is running against the database (a) from
the server instead of your workstation and (b) using the webserver account
on the host. If you have a local database for development, then the server
is also hitting a different database. The TNSNAMEs fie has to be updated to
point to the database that the published code uses and you also need to
establish the userid and password info.

By "re-do" the database I assume that the above is not at issue here, but
review it to be sure.

It might be that you published with the "Same as Server" option on the
database connection, so it's trying to hit the DB on your development
system.
--
DonB

http://www.gotodon.com/ccbth


"ian" <ian@forum.codecharge> wrote in message
news:640463694595e1@news.codecharge.com...
> I have created several databases using frontpage that connect to an Oracle
database hosted on a server. I had to have the administrator create the DSN
but once that was done they worked. Now I am trying to create the same
database that is currently working in CodeCharge. I put my information in to
connect to the database and it does. The test is successfull I am able to
see the tables and select the rows I want. However when I publish the pages
to the server I get the ugly "ORA-12154: TNS:could not resolve service name"
error. Does anyone have any ideas as to what may be wrong? One last note I
did re-do the database using strictly frontpage and it worked.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


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

MS Access to Web

Convert MS Access to Web.
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.