locked
Change DSN var connection to DSN Less RRS feed

  • Question

  • User-2043182749 posted

    I need help with changing this  DSN to   a DSN less var connection .whenever  i use the dsnless connection i get  an error since  the  String connTaftPrjPic is reused in the code.The Objective is to change to a DSN Less connection without  affecting the connTaftPrjPic.


    <%
    // FileName="Connection_odbc_conn_dsn.htm"
    // Type="ADO"
    // DesigntimeType="ADO"
    // HTTP="false"
    // Catalog=""
    // Schema=""
    var MM_connTaftPrjPic_STRING = "dsn=connTaftPrjPic;"
    %>

    Monday, January 17, 2011 3:14 AM

Answers

  • User-821857111 posted

    Your question appears to relate to developing with classic ASP (pages end in .asp), whereas this forum covers ASP.NET development. Classic ASP and ASP.NET are completely different technologies. I recommend that you repost your question to a classic ASP forum, such as this one: http://forums.iis.net/1032.aspx. That site uses the same membership as this one, so you can simply log in with your existing username and password.

    It looks like you are using JavaScript as your server-side programming language, so you might want to mention that as well, otherwise you are likely to get VBScript code samples in replies.

    There was only one site that offered tutorials for classic ASP in JavaScript that I can ever remember seeing. It might have something for you. Here it is: http://www.coveryourasp.com/default.asp


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 1, 2011 5:53 PM

All replies

  • User3866881 posted

    Well, can you elebrate your question? 

    Monday, January 24, 2011 12:20 AM
  • User-821857111 posted

    Your question appears to relate to developing with classic ASP (pages end in .asp), whereas this forum covers ASP.NET development. Classic ASP and ASP.NET are completely different technologies. I recommend that you repost your question to a classic ASP forum, such as this one: http://forums.iis.net/1032.aspx. That site uses the same membership as this one, so you can simply log in with your existing username and password.

    It looks like you are using JavaScript as your server-side programming language, so you might want to mention that as well, otherwise you are likely to get VBScript code samples in replies.

    There was only one site that offered tutorials for classic ASP in JavaScript that I can ever remember seeing. It might have something for you. Here it is: http://www.coveryourasp.com/default.asp


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 1, 2011 5:53 PM