NewbieRob
|
Posted: 12/09/2003, 6:01 PM |
|
I'm having trouble getting a very simple CCS website to load locally for testing. I have XP-Pro computer which has IIS 5.1 loaded. I think I need tips on setting up the server db connection, publishing it properly, etc. Please help as client needs this asap.
|
|
|
ryan
|
Posted: 12/09/2003, 10:12 PM |
|
Normally I would prefer all files published on c:\Inetpub\wwwroot
Say your CCS project is inside c:\Inetpub\wwwroot\project1CCS
It's logical that your web files are inside c:\Inetpub\wwwroot\project1WWW
Therefore on projectsettings the server path is c:\Inetpub\wwwroot\project1WWW
And the live URL is http://localhost/project1WWW
This is local testing, for CCS, and WWW files when your page moved to a live site then you edit SERVERUrl of common.asp to something like
http://123.45.6.89/project1WWW
Regarding ServerDB if it's SQL let CCS handle it or find the connection string on common.asp then simply edit the datasource.
If it's an mdb, then use a server variable instead of coding d:/..... or c:/....
Normally I would use something like
Dim dbpath_
dbpath_ = Request.ServerVariables("APPL_PHYSICAL_PATH") & "\project1WWWyourmdb.mdb;"
ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&dbpath_&"Persist Security Info=False"
Please experiment with this connection
|
|
|
|