Domanda

Ho un server Sybase ASE che sono in grado di connettersi a con ASE isql tutto bene. La definizione del database nel mio file sql.ini appare come:

[<NAME>]
master=TCP,<servername>,<port>

per connettersi con isql, posso fare la chiamata seguente riga di comando e funziona:

isql -U <username> -P <password> -S <NAME>

Il mio obiettivo finale è quello di utilizzare SQL Anywhere è la connettività ADO.Net Entity Framework per un servizio RIA che sto scrivendo. Sto cercando di connettersi ora utilizzando SQL Anywhere tramite Sybase Central (piuttosto che tramite Visual Studio), e non riesco a farlo funzionare. Nella scheda di identificazione, io uso e per le mie credenziali e lascio la metà inferiore come "Nessuno", sotto la scheda Database, specifico per il nome del server, e in Rete verifico "TCP / IP", e specificare come l'Ostia, e come il Porto. Ottengo il seguente errore:

Fri Nov 20 2009 13:10:10
13:10:10 Attempting to connect using:
UID=sa;ENG=<servername>;CON=SQL_DBC_15c95350;LOG=<log>;LINKS='TCPIP(IP=<servername>;PORT=<port>)'
13:10:10 Attempting to connect to a running server...
13:10:10 Trying to start TCPIP link ...
13:10:10 TCP using Winsock version 2.2
13:10:10 My IP address is 28.230.56.158
13:10:10 My IP address is 127.0.0.1
13:10:10     TCPIP link started successfully
13:10:10 Attempting TCPIP connection (no sasrv.ini cached address)
13:10:10 Looking for server with name <servername>
13:10:10 Trying to find server at address <servername>
13:10:10 Found server, verifying server name
13:10:10 TCP/IP link, function recv(), error code 0
13:10:10 Sending broadcast to find server
13:10:10 Using broadcast address of: 28.230.56.255:<port>
13:10:10 Using broadcast address of: 28.230.56.255:2638
13:10:10 Sending broadcast to find server
13:10:10 Using broadcast address of: 127.255.255.255:<port>
13:10:10 Using broadcast address of: 127.255.255.255:2638
13:10:11 Resending
13:10:12 Resending
13:10:13 Resending
13:10:14 Resending
13:10:15 Resending
13:10:16     Server not found (no reply received)
13:10:16 Failed to connect over TCPIP
13:10:16 Not attempting to autostart server
13:10:16 Cannot connect to server

Mi dispiace in anticipo se ho lasciato fuori dettagli significativi. Sono nuovo di Sybase, avendo un rigorosamente Oracle sfondo. Se ho lasciato fuori tutto quello che c'è da sapere, si prega di inviare un commento e io aggiornare la domanda. Grazie per l'aiuto di un newb Sybase.

È stato utile?

Soluzione

Non c'è modo di fare ciò che mi è stato chiesto (anche se potrebbe essere possibile con un tavolo proxy, che non è una soluzione auspicabile), quindi non ho intenzione di utilizzare il framework .Net RIA Services. Ho intenzione di scrivere un servizio Web standard ASP.Net.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top