marcwolf
Posts: 361
|
| Posted: 10/04/2004, 8:09 PM |
|
I've just upgraded from CCS 2.2 to 2.3 and have just started to use the Local/FTP system to upload new files to the server.
Previously I just changes the DSN in Connections/Design and re generated the Common.asp, then FPTed it up by hand.
But I decided to try the CCS system of havine the FPT details and the 2 different connectionss (one for Designand one for Server)
My issue is this.
When I change between the Design and the FTP - I can see the Site location in Common.asp change from LocalHost to http://xxx.com
BUT!!!
In all instances the database connection string in the Data class will be that of the Server.. not of the Design.
This means that it makes it very difficult to test the application as it will automatically want to use server which may be remote.
Am I wrong in assuming that the Design daabase is NOT the Testing/Local database as well?
Please help..
Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
|
 |
 |
peterr
Posts: 5971
|
| Posted: 10/05/2004, 1:54 AM |
|
Hi,
The Connections/Design is usually always the same (I never change it in my projects) and it not used in the generated programs. The generated code always uses Connections/Server, therefore when changing from Local to FTP you may also need to change Connections/Server configuration.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
|