ilkay ayas
|
| Posted: 11/27/2002, 10:00 AM |
|
I've been using Code Charge Studio Trial Version 1.0.7 and designed my personel pages in ASP 3.0 with templates format
Everything is OK When It is in my Win2K Adv. Server installed desktop computer. But, When I uploaded it in Brinkster(Free General User) It isn't working.
I've searched forum and found nothing. Are there any body tried to do that?? How can I solve my problem?
Thanks For All.
|
|
|
 |
DR
|
| Posted: 11/27/2002, 11:36 AM |
|
Hi,
Do you relly expect anyone to help you if you are unable to describe your problem?
|
|
|
 |
ali
|
| Posted: 11/27/2002, 11:54 AM |
|
hocam budur......bende advanced server kullanıyorum .....
When using an Access database and the project is published to a location other than the development machine, the Server side database connection has to be configured to reflect the location of the Access database on the server. In the case where you know the exact file system location of the database file, you can simple copy the design time connection string and paste it under the Server tab then change the file location. For instance, if the Access file is located at C:\Inetpub\databases\project1\database.mbd, the corresponding connection string would be:
Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=C:\Inetpub\databases\project1\database.mbd;Persist Security Info=False
However, it might be that you don't know the file system location of the database file since you are using a commercial host. In this case, you can make use of the VBScript Server.MapPath function to automatically retrieve the path to the file. To do so, you would need to edit the connection string within the common.asp file and include a call to the function. An example connection string using the Server.MapPath function would be:
ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=" & Server.MapPath("database.mdb") & ";Persist Security Info=False"
In the above case, the database file resides in the same location as the generated common.asp page. The Server.MapPath function retrieves the appropriate file system path and includes it in the connection string.
Note that if you are using an ODBC connection, you don't need to specify any path. You would simply create s similarly named ODBC DSN on your local system and use it for the Design time connection then specify the Server side connection to be the same as the Design connection.
|
|
|
 |
ilkay ayas
|
| Posted: 11/27/2002, 12:54 PM |
|
I've been looking for a people who are using CCS and Brinkster Free Servers! If you are one of them, you can understand what I am talking about!
Ali saolasın dostum ama onu bende denedim :))
|
|
|
 |
DS
|
| Posted: 11/27/2002, 1:04 PM |
|
I've used Brinkster with CC in past. But don't know what you're talking about
|
|
|
 |
tim
|
| Posted: 11/27/2002, 2:04 PM |
|
use reletive locations not full paths. More than likely you point to your db at c:\inetpub\wwwroot\..... that doesnt workk because you are probably on another drive like d: or e: so instead use a DSN connection. Ask brinkster what your dsn is and evrything should work.
|
|
|
 |
Yaie
|
| Posted: 05/10/2003, 2:38 AM |
|
Yes, I have came up with tht problem too. Its not the way you place the path in the server for the database which ilkay ayas is talking, but uploading the common.asp to the brinkster website. It says;
"On Error Resume Next Explained
This four word combination is used to tell the server to resume the next line of code if it finds an error. The situations you would want to use this in is when you are writing your own error trapping code and you want to display your error codes, not the ASP default ones.
Syntax:
Place "On Error Resume Next" in your code where you want the program flow to continue after it encounters an error. It is usually placed at the top of each page. *
By: Jared Stauffer
* Brinkster requires the use of "On Error GoTo 0" and the checking of the err object whenever you are using "On Error Resume Next". The use of the "On Error Resume Next" directive in combination with database connections, can result in server hang-ups and other server problems." -Brinkster Help articles-
This is what I have come up with too and am too using a free general user. Anybody got a comment for this?
pls replyyaie@msn.com
Thanks in advance
|
|
|
 |
|