- •Table of Contents
- •1) Technical Support Specialist – Level 2
- •Qualification Requirements
- •2 ) Exceptions
- •3) Tier 2 Tools a) Solutions.24hourwebhostingsupport.Com
- •C) Linux Shell Commands
- •D) ipconfig
- •4) Absolute and Relative Paths a) Absolute Path
- •B) Relative Path
- •5) Possible Causes for Broken Sites
- •6) Installed Software:
- •7) Unix Services on the Hostopia Platform
- •A) cgi (Common Gateway Interface) faq
- •I.E. /services/webpages/h/o/hosting.Bluegenesis.Com/chat/chat.Log
- •B) Server Side Includes (ssi) faq
- •Can I use server-parsed image maps?
- •C) perl faq
- •How do I install and use Perl modules?
- •What is cpan?
- •What is supported by the jsp service?
- •What is a jsp file?
- •Where should my end users upload their jar files?
- •How do I Connect to an ms sql Database Source with .Jsp?
- •Upload appropriate libraries to your /public/web-inf/lib location
- •How do I Create a test .Jsp file?
- •Are there any potential issues ?
- •8) Windows® Services on the Hostopia Platform
- •A) Differences between Windows only Hosting and the Hybrid System
- •B) Functional Components
- •C) Non Functional Components
- •9) Asp 3.0 iis 6 (Active Server Pages)
- •A) asp Third Party Components
- •B) Server.MapPath()
- •C) The #include Directive
- •D) asp Coding Examples
- •1. Asp dsn connection for ms access
- •2. Asp dsn connection for MySql
- •3. Asp dsNless Connection for ms access
- •4. Asp dsnLess Connection To a MySql Database
- •5. Asp dsNless connection for ms sql
- •6. Defining Paths
- •7. AspMail Sample Code for Components
- •8. AspUpload Sample Code for Components
- •9. Cdonts Sample Code for Components
- •11. Sa Fileup Sample Code for Components
- •A) Features in asp.Net 2.0
- •B) asp.Net codebehind and Precompiled dll
- •C) Coding Considerations:
- •D) asp.Net codebehind and dll File Explanation
- •D) asp.Net ajax
- •E) Supported asp.Net File Extensions
- •F) Unsupported asp.Net file extensions:
- •G) Retrieving asp.Net Error Messages
- •H) asp.Net Coding Examples
- •11) ColdFusion 5 a) About ColdFusion 5
- •B) ColdFusion Applications
- •C) ColdFusion Tags
- •D) Supported ColdFusion Tags
- •E) Unsupported ColdFusion Tags
- •F) ColdFusion Error Messages
- •G) Custom ColdFusion Tags
- •H) ColdFusion Coding Examples
- •12) ColdFusion mx 7
- •13) Payment Gateways
- •13) Ssl (Secure Socket Layer)
- •A) Security Certificates
- •B) Common Issues with Installing a Custom ssl Certificate.
- •C) Creating Symbolic Links aka Symlink
- •Cd name_of_symlink
- •Rm name_of_link
- •Cd name_of_symlink
- •14) Databases a) ms access (Microsoft Access)
- •B) ms sql (Microsoft sql)
- •C) MySql
- •Import the dump.Sql file into a database:
- •15) Common Issues for Tier 2 a) Email
- •I. How to read Email Headers; Check for delays and Time Zone Discrepancies
- •II. How to Convert to utc (gmt)
- •1) Find the Time and Convert to utc!
- •2) Find the delay!
- •III. Bigfoot Mail System
- •IV. How to Test if the inbox is Corrupt
- •B) Formmail
- •2) Create a Test Form.
- •3) Copy and Paste Code into Form Non Secure Site
- •4) Verify that there is a cgi-bin.
- •6) Test the form. C) Sub Domains
- •D) Common Ports
- •E) Permissions
- •E) RealServer
- •F) EasySiteWizard 7
- •G) htaccess directives
- •H) Serrahost ProStores
- •I) FaxWire
- •J) Bell dns Remaps
D) asp Coding Examples
1. Asp dsn connection for ms access
Set conn = Server.CreateObject("ADODB.Connection") conn.open "DSN=prefix_domain_com”
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ASP DSN Connection To An Access Database</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<%
Dim conn
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "DSN=dsn_domain_com"
sqlquery = "SELECT * FROM TableName"
Set rs = conn.Execute(sqlquery)
do while not rs.eof
response.write( "<H3>" & "ASP DSN Connection To An Access Database: " & rs(0) & "</H3>" )
rs.movenext
loop
%>
</body>
</html>
2. Asp dsn connection for MySql
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "DSN=prefix_domain_com;UID=dbm.domain.com;PWD=password"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ASP DSN Connection To A MySQL Database</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<%
Dim conn
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "DSN=dsn_domain_com;UID=dbm.domain.com;PWD=password"
sqlquery = "SELECT * FROM TableName"
Set rs = conn.Execute(sqlquery)
'Response.Write "FieldName: <input type=text name="&TableName&" value="&FieldName&">"
do while not rs.eof
response.write( "ASP DSN Connection To A MySQL Database: " & rs(0) )
rs.movenext
loop
%>
</body>
</html>
3. Asp dsNless Connection for ms access
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" &Server.MapPath(“/databse.mdb”) mdbfile = "/stuff/sample.mdb" connstr = "Driver={Microsoft Access Driver (*.mdb)};DBQ=" &
Server.MapPath( mdbfile ) & ";"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ASP DSNLess Connection To An Access Database</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<%
Set conn = Server.CreateObject("ADODB.Connection")
DSNtemp="DRIVER={Microsoft Access Driver (*.mdb)}; "
DSNtemp=dsntemp & "DBQ=" & Server.MapPath("path/to/database.mdb")
conn.Open DSNtemp
sqlquery = "SELECT * FROM TableName"
Set rs = conn.Execute(sqlquery)
do while not rs.eof
response.write( "<H3>" & "ASP DSNLess Connection To An Access Database: " & rs(0) & "</H3>" )
rs.movenext
loop
%>
</body>
</html>
