Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    Auto Connessione SQL Server tramite ASP

    Ho un problema a colegarmi al server SQL di aruba....
    ho un sito web che si appoggia su DB SQL...

    nel global.asa ho impostato questi valori:

    Application("Connection_ConnectionString") = "Provider=sqloledb;Data Source=62.149.153.13;database=MSSql12868;uid=MSSql xxxx;pwd=xxxx;"


    poi


    Sub Session_OnStart

    dim conn
    set conn = server.CreateObject("ADODB.Connection")

    conn.open "Provider=sqloledb;Data Source=62.149.153.13;database=MSSql12868;User ID=MSSqlxxxx;pwd=xxxxx;"
    End Sub

    Sub Session_OnEnd

    conn.Close
    set conn = nothing

    End Sub


    l'errore è:

    Microsoft OLE DB Provider for SQL Server (0x80004005)
    [DBNETLIB][ConnectionOpen (Connect()).]Server SQL inesistente o accesso negato

    nella riga della CONN.OPEN

  2. #2

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.