CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Tutorial gives error in CF

Print topic Send  topic

Author Message
Dave S.
Posted: 07/29/2002, 2:15 PM

When going through the tutorial on Page 15 I was asked to click on Live Page. When I did that it gave me an error at the bottom saying that I needed to specify the server connection. I went into the server connection for the tutorial "IntranetDB" and it looked okay but asked me when I clicked OK to specify the server data source name. As I was using the tutorial Access database, I shouldn't need to specify a server data source name. In any event, I tried fiddling around with these settings to no avail. Whenever I added a data source name to the server tab, when I ran the page it said that it couldn't connect to a DB2 database because of no drivers. This is because DB2 is the default database type on that tab.

I eventuall went into one of the common files an manually edited the database properties to say DB Type = ODBC and the Name was whatever my ODBC entry was called.

I think this is a big bug. What do you think?

-Dave
George L.
Posted: 07/29/2002, 7:05 PM

Why don't you report it to Yes Software?
Dave S.
Posted: 07/30/2002, 8:28 AM

Sounds good.
Ron
Posted: 07/31/2002, 7:21 AM

Dave,
every time you create site with CCS before generation and testing it in browser (or CCS live mode) please check server side connection settings for each connection. CCS cannot set up connection for you, because you can use different db for live site, it could have other type than design time db. Just keep it in mind and don't forget to check.
Why do you consider it a bug?
CC Support
Posted: 07/31/2002, 9:14 AM

Dave,

This is not a bug. The program purposely warns you that something is wrong with your database settings. Otherwise users could think it's a bug if something doesn't work and there is no explanation for it :-)
Therefore you should go to the Server Connection settings and change the database type to "ODBC", then select your database.
The server database is always needed because otherwise the program wouldn't know what type of code it needs to generate.
The design connection is only used by CodeCharge Studio itself during the design time, but the generated programs need to use some database connection as well.

Adam

   


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.