Skip to Content.
Sympa Menu

internetworkers - RE: [internetworkers] ASP/access works locally but not on ISP

internetworkers AT lists.ibiblio.org

Subject: Internetworkers: http://www.ibiblio.org/internetworkers/

List archive

Chronological Thread  
  • From: Marcia <msmartin AT ccbeunet.br>
  • To: kurt AT kurtschlatzer.com, "Internetworkers: http://www.ibiblio.org/internetworkers/" <internetworkers AT lists.ibiblio.org>
  • Cc:
  • Subject: RE: [internetworkers] ASP/access works locally but not on ISP
  • Date: Thu, 4 Dec 2003 16:07:53 -0200

I'll go research some more. And take a look at http://www.aspin.com/

Thanks for your help anyway Kurt!

-Marcia


Quoting Kurt Schlatzer <kurt AT kurtschlatzer.com>:

> internetworkers-bounces AT lists.ibiblio.org wrote:
> > It tells me "The page cannot be displayed".
> > Is that still javascript or is it VBscript?
> >
> > I simply substituted:
> >
> > <%@LANGUAGE="javascript"%>
> > <%
> > Dim DBConn, Recordset1, SQLQuery
> > Set DBConn = server.createobject ("ADODB.Connection") DBConn.open
> > "DSN=receitas;" Recordset1 = Server.CreateObject("ADODB.Recordset")
> > SQLQuery = "SELECT * FROM tb_tipo ORDER BY tipo_nome"
> > Recordset1.Open SQLQuery, DBConn,1,2
> > %>
> >
> >
> > for
> >
> >
> > <%@LANGUAGE="javascript"%>
> > <%
> > Dim DBConn, Recordset1, SQLQuery
> > Set DBConn = server.createobject ("ADODB.Connection") DBConn.open
> > "DSN=receitas;" Recordset1 = Server.CreateObject("ADODB.Recordset")
> > SQLQuery = "SELECT * FROM tb_tipo ORDER BY tipo_nome"
> > Recordset1.Open SQLQuery, DBConn,1,2
> > %>
> >
> > And yes, "receitas" is tha name of my DSN.
> >
> > Thanks again!
> > -Marcia
>
> Marcia,
>
> You have to use <%@LANGUAGE="VBScript"%> You can't use Javascript to perform
> the server-side tasks. Make sure your pages have the .asp suffix.
>
> If you want to use Javascript in your pages, do it this way:
>
> <script language="JavaScript" type="text/JavaScript">
> your Javascript code here
> </script>
> <noscript>
> your no script code here
> </noscript>
>
> Before you go any further, I recommend you spend a few dollars at the
> bookstore or a few days here:
> http://www.aspin.com/
>
> Kurt
> www.kurtschlatzer.com
>
> ---
> Come and play at the InterNetWorkers Web site!
> http://www.ibiblio.org/internetworkers/
> You are currently subscribed to InterNetWorkers mailing list
> To unsubscribe visit
> http://lists.ibiblio.org/mailman/listinfo/internetworkers
>



-------------------------------------------------
WebMail Litoral Internet
www.litoral.com.br





Archive powered by MHonArc 2.6.24.

Top of Page