CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Merging Project

Print topic Send  topic

Author Message
tamer

Posts: 7
Posted: 05/09/2005, 12:58 PM

Hello,

I was trying to merg 2 projects (The store example and another project that I have developed) using code charge studio personel edition 2.3.2.24

I have changed the connection name. However, When I published the project, it gives me an error.
"Error Type:
Microsoft VBScript runtime (0x800A01F4)
Variable is undefined: 'clsDBInternetDB'
/Store/StoreHeader_events.asp, line 13
"
Any suggestions woulb be greatly appreciated.

Regards,
Tamer

View profile  Send private message
Nicole

Posts: 586
Posted: 05/10/2005, 6:37 AM

Tamer,
Merged projects utilize the same common files, namely the single Common.asp file. It happens that your new project doesn’t have InternetDB database connection and so there’s no corresponding clsDBInternetDB class in Common.asp, that’s causing the error.
You need to add database connection(s) used in both projects into your new united project.

_________________
Regards,
Nicole
View profile  Send private message
tamer

Posts: 7
Posted: 05/10/2005, 6:44 AM

Hello Nicole,

Thank you for replying to my e-mail.
Actualy I have changed the connection to point to the new database, The problem is some of the pages already can recognise the database(R/W)
I already checked Common.asp, It's already recognizing the new connection.
some pages that gives me this error.

I was under the impression that when I change the connnection to point to a different database that have the same structure, That will be reflected on all pages in any single project. However, That did not happen.

Regards,
Tamer



Quote Nicole:
Tamer,
Merged projects utilize the same common files, namely the single Common.asp file. It happens that your new project doesn’t have InternetDB database connection and so there’s no corresponding clsDBInternetDB class in Common.asp, that’s causing the error.
You need to add database connection(s) used in both projects into your new united project.

View profile  Send private message
peterr


Posts: 5971
Posted: 05/10/2005, 10:42 PM

You cannot change a connection name. You can only point to a different database as you wrote in your last message. Thus what you described in your 1st message is not OK. What you described in your second message is OK.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
tamer

Posts: 7
Posted: 05/11/2005, 8:29 AM

Hello Peter,
Thank you for replying to me.

What you mentioned means that the CCS version that I have will not work as it allows for only one connection per project.

I'm merging two projects. Each project has different connection name and different database.
I changed one of the two databases to be the same structure as the other one.
I want to merge the two projects to be a single project.

If I can not changes the connection name, At the same time i can not create a new connection( because of the restriction on the version that I'm using), One of the two projects will still point to a connection that does not exsist in the new merged project.

Any suggestion will be appreciated.

Regards,

Tamer




Quote peterr:
You cannot change a connection name. You can only point to a different database as you wrote in your last message. Thus what you described in your 1st message is not OK. What you described in your second message is OK.
View profile  Send private message
peterr


Posts: 5971
Posted: 05/11/2005, 10:43 AM

You can change the connection name, but it's more work. After you change it then you'll need to go through every page & form, and manually change the old/non-existing connection to the new one that you created. CCS doesn't know that you removed previous DB connection (by changing it's name), therefore it's a manual task to change it wherever it was used.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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