 | Programming FAQs |
1. Is it possible to install CDONTS mail component on an IIS server? It's my prefered email component.
2. Do you provide an ability to password-protect websites and/or allow for custom error pages?
3. Do your servers support asp.net , *.aspx scripts?
4. How to disable ASP.Net custom error?
5. How do I create custom 404 page?
6. Why after I installed FrontPage extensions, it still does not work? It says the extenstions are not installed?
7. Why it always shows "Coming Soon..." even I have already uploaded my home page?
8. How do I create a DSN-less connect to my Access database?
9. Do you have a sample SQL database connection string?
10. Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
1. Is it possible to install CDONTS mail component on an IIS server? It's my prefered email component.
| | We have both CDONTS and ASPmail installed. We will install free component for free and custom component for $10 one time installation fee. |
2. Do you provide an ability to password-protect websites and/or allow for custom error pages?
| | Yes, we provide password-protected directory and custom error pages. |
3. Do your servers support asp.net , *.aspx scripts?
| | Yes, we do support ASP.NET |
4. How to disable ASP.Net custom error?
| | <configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
This tag should then have its "mode" attribute set to "Off". |
5. How do I create custom 404 page?
| | Create 404.asp inside your wwwroot. |
6. Why after I installed FrontPage extensions, it still does not work? It says the extenstions are not installed?
| | Make sure that there's no FrontPage Web installed. If you are uncertain, you should delete the file \_vti_pvt\services.cnf or rename it to "services.org", and try to uninstall and reinstall FrontPage from control panel |
7. Why it always shows "Coming Soon..." even I have already uploaded my home page?
| | Delete default.html if you use other default page. |
8. How do I create a DSN-less connect to my Access database?
| | - Upload your .mdb file to the Data folder parallel to the wwwroot folder.
- Create the server connection object:
Set adoCon = Server.CreateObject("ADODB.Connection")
- Define the path:
strDbPath = "d:\websites\yourdomain.com\data\yourdatabase.mdb"
- Define the driver and connection:
strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & strDbPath
Note: Your database can reside anywhere inside your domain; placing it in the Data folder outside of the wwwroot folder is more secure. If your database resides in different folder under your wwwroot, adjust the path to: strDbPath = "d:\websites\yourdomain.com\wwwroot\datafolderpath\yourdatabase.mdb" |
9. Do you have a sample SQL database connection string?
| | db_server = "<SQL server name/IP>,<Port No>"
db_user = "username"
db_pass = "password"
db_name = "database name"
conn_str = "Provider=SQLOLEDB;Data Source=" & db_server & ";User ID=" & db_user & ";Password=" & db_pass & ";Initial Catalog=" & db_name |
10. Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
| | The folder where you stored the database has to have read/write permission. |
|