Transferring from an old server to asphostportal asp.net

Transferring from an old server to asphostportal asp.net

NikcolasNikcolas Posts: 2Questions: 2Answers: 0

I had all my asp stuff working and in good order when I used to be with host centric. I havent changed over my DNS pointers yet, thank goodness!!! Because I am having trouble coding for the http://asphostportal.com server. The way I had laid out (with a lot of help) my old server, was to have a folder call connections, and a rule like this:

<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_autoaction_STRING
MM_autoaction_STRING = "Driver={Microsoft Access Driver (*.mdb)}; Dbq=\frigga\home\users\web\b1205\as.autoplazahouston\webautoaction.mdb;"
%>

This is what asphostportal has as their help

<% 'Sample Database Connection Syntax for ASP and SQL Server. Dim oConn, oRs Dim qry, connectstr Dim db_name, db_username, db_userpassword Dim db_server db_server = "whsql01.mesa1.secureserver.net" db_name = "your_dbname" db_username = "your_dbusername" db_userpassword = "your_dbpassword" fieldname = "your_field" tablename = "your_table" connectstr = "Driver={SQL Server};SERVER=" & db_server & ";DATABASE=" & db_name & ";UID=" & db_username & ";PWD=" & db_userpassword Set oConn = Server.CreateObject("ADODB.Connection") oConn.Open connectstr qry = "SELECT * FROM " & tablename Set oRS = oConn.Execute(qry) Do until oRs.EOF Response.Write ucase(fieldname) & ": " & oRs.Fields(fieldname) oRS.MoveNext Loop oRs.Close Set oRs = nothing Set oConn = nothing %>
I need to get my site up and running soon.... on their server....
Please help!! I am really really desperate!!!!

Answers

  • allanallan Posts: 63,761Questions: 1Answers: 10,510 Site admin

    Perhaps you could clarify what exactly this has to do with the DataTables library published on this site?

    I don't understand why you have posted for help about something that has (apparently) nothing to do with DataTables, in the DataTables forums?

    Allan

This discussion has been closed.