FAQ about ASP
When I try to run ASP scripts on my website, the code is not interpreted and is being displayed in plain text.
You probably do not have the ASP feature enabled on your virtual server. ASP is supported on packages starting from ThePromoter and above. If you have purchased either of those, do not hesitate to contact the Technical Support team to have this installed. If you are going to use MSAccess database with ASP, also mention that in your request to save yourself time.
I am trying to enter my MS Access database management using The Console, but I am getting "Page cannot be displayed" error.
This is because you are using Internet Explorer with the recent security patch. Microsoft has implemented a new restriction on the browser, which prevents access to URLs containing the username and password. The link from The Console's Database section points to http://username:password@domain.com/database/ .
To overcome this problem, go directly to the stats folder on your website. i.e.
http://www.domain.com/database/
NOTE: Replace "domain.com" with your actual website address.
Since I switched to the ASP server, I cannot publish my website using Microsoft Frontpage.
This is most likely because you have subwebs in the website which you are trying to publish. Chilisoft ASP does not handle dynamic subwebs. To solve this problem, simply contact the Technical Support team by e-mail and provide all of the subweb folder names that you are trying to publish. We will set them up for you and advise to publish the website accordingly.
I am getting "ASP Service Disabled" Error on my ASP scripts.
Refresh the page. This message comes up when the ASP service is restarting on the server. This occurs when we detect that the ASP page performance drops below acceptable levels. The disruption lasts less than a minute on average and 2 minutes maximum. This mechanism is in place to ensure that the server does not crash and cause longer downtime.
I am trying to connect to my MSAccess database, but getting ODBC error.
You MUST connect using the DSN string which we provide. If you have already uploaded your database, the DSN string will be available to you via The Console's Database section. There is sample connection code available there as well for your convenience.
The locale settings change to US from the AU format as I input data into my MsAccess database on ASP.
You cannot reset the date outside the locale paramaters unless it's .NET. Web Secure currently does not support .NET. The workaround is you can recast the date as a string and back into a date, where it will swap the value yet again. Set the date in ISO format which is recognised by US and AU locales (YYYY-MM-DD). This format means that it is still a valid date in both US and AU locales and there is no locale or SQL confusion about the date format. Sample code:
if (Request.QueryString("cost_date") <> "") Then
cost_date = Request.QueryString("cost_date") cost_date = IsoDate(cost_date) end if
Function IsoDate(dteDate)
If IsDate(dteDate) = True Then
DIM dteDay, dteMonth, dteYear
dteDay = Day(dteDate)
dteMonth = Month(dteDate)
dteYear = Year(dteDate)
IsoDate = dteYear & "-" & Right(Cstr(dteMonth + 100),2) & "-" &
Right(Cstr(dteDay + 100),2)
Else IsoDate = Null End If
End Function
What is the default limit for HTTP upload (ChiliUpload) file in MegaBytes?
One (1) MB. You can override this limit by using the following:
Response.Expires = 0
Set fbase = Server.CreateObject("Chili.Upload.1")
fbase.SizeLimit = 10000
fbase.SaveToFile("Server.mapPath("/") & "/" & "test.dat")
Note: the size limit is in Bytes.
How can I stop my script from looping whilst displaying query results and eventually timing out? (difference in IIS vs Chilisoft).
If you are using "set cc = server.createobject("ADODB.Connection")"
Use RecordSet instead. i.e.
set cc = server.createobject("ADODB.RecordSet")
If you continue having problems, contact Technical Support team.
Inserting a Site Seal for SSL Certificate.
For secure.Web Secure.net, the code below is inserted in your site files:
<script src="https://siteseal.thawte.com/cgi/server/thawte_seal_generator.exe"> </script>
I developed using ASP and MSAccess on win2000 and IIS. When I test on your servers, the $ signs are converted to pounds.
Server defaults to the UK locale settings. The Australian locale does not work well enough in Chilisoft yet, so we suggest to use the US or NZ locale, if you require the dollar symbol.
|