Can't connect to MSSQL server from Linux
I'm running CentOS 7. I installed the Microsoft ODBC Driver 11 for SQL Server on Linux. I also installed the unixODBC package and dependencies. I can ping the SQL Server. I can telnet to the SQL server on port 1433. My config files read:
/etc/odbcinst.ini
[ODBC Driver 11 for SQL Server]
Description=Microsoft ODBC Driver 11 for SQL Server
Driver=/opt/microsoft/msodbcsql/lib64/libsmodbcsql-11-0.so.2270.0
Threading=1
UsageCount=1
/etc/odbc.ini
[baew-cms01]
Driver="ODBC Driver 11 for SQL Server"
Server=tcp:172.21.24.29,1433
Database=smnswr_certmgmt
~/.odbc.ini
[MSSQLTest]
Driver=ODBC Driver 11 for SQL Server
Server=tcp:baew-cms01,1433
[baew-cms01]
Driver="ODBC Driver 11 for SQL Server"
Server=tcp:172.21.24.29,1433
Database=smnsvr_certmgmt
When I run "sqlcmd -U <user> -S baew-cms01,1433" (substituting user name) I get a password prompt, then I get:
1>
So I assume I'm connected, but I'm not sure. However, when I run "isql -v baew-cms01 <user> <password>" again substituting user and password, I get:
[IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified
[ISQL]ERROR: Could not SQLConnect
Can anyone help me determine why I can't isql to the server?
Thanks,
Jack
I get a password prompt, then I get:
1>
So I assume I'm connected, but I'm not sure. However, when I run "isql -v baew-cms01 <user> <password>" again substituting user and password, I get:
Hello Jack,
Yes, when you get such a "1>" prompt, then you are connected to SQL Server.
Please note, isql is deprecated, better use SqlCmd. But if you want to use iSql, then you have to use the -S Parameter for the Server Name, not -v. See isql Utility for all
Parameters.
Olaf Helper
[ Blog] [ Xing] [ MVP]
Similar Messages
-
Suddenly the mSSQL-server has stopped working, and the application doesn't have any connection to it.
Also, I cant connect locally via SQL Server Management Studio.
Any ideas on where to start?
Have SQL Server 2008 R2Try DAC first:
http://technet.microsoft.com/en-us/library/ms178068(v=sql.105).aspx
If that fails, go to Configuration Manager and restart the server.
Kalman Toth Database & OLAP Architect
SQL Server 2014 Database Design
New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014 -
Can't connect to PC server from Mac after PC is put behind switch.NE ideas?
After adding a switch in my network i bumped into some network trouble.
Here's my new setup:
Airport Extreme
iBook via WIFI
Airport Express - LAN cable - SWITCH - PC/XBOX360/PS2
All computers have internet access, i can access PC via VNC on my iBook, but connecting to server on my PC (win XP) on iBook is not possible anymore
I used to have this set up:
Airport Extreme
iBook via WIFI
Airport Express - LAN cable - PC
Here I had no trouble at all.
Any hints and suggestions are highly appreciated.Resetted all devices and now it's up and running again. Solved
-
Can't connect to AFP server via Finder sidebar
Suddenly I can't connect to my server from the sidebar.
Guest access works. But my default user login returns "Connect failed".
I can connect via 'Connect to...' and type in the IP adres.
I can connect via iPad with a file sharing app (like ezShare)
The console returns:
Jul 29 04:54:39 myComputer NetAuthSysAgent[774]: AFP error -5014 mapped to EIO
Jul 29 04:54:39 myComputer Finder[282]: SharePointBrowser::handleEnumerateCallBack returned 5
I've tried temporary deleting the /Library/Preferences/SystemConfiguration folder... no help.
Any ideas?Try this:
Uncheck Remote Management
Check Screen sharing
Add user(s)
When finished check the remote management again.
It has something to do with updating / resetting the cache files...
It worked for me.
HIH
M.
(PS, i found it by coincidence. I had the same trouble and was "playing" with these settings
which resolved the other problem.. -
Can't connect to SQL Server 2000 from serlet
Hi,
I can connect to SQL Server 2000 from standalone program after set the classpath properly.
but I Can't connect to SQL Server 2000 from serlet, I am using Tomcat 4.1 and Win2K pro now. Do I need to set something for servlet just like CLASSPATH?
Any help will be appreciated.
package usingjsp;
import java.io.*;
import java.sql.*;
import javax.servlet.*;
public class JDBCServlet extends GenericServlet
protected Connection conn;
public void init()
try
// Make sure the JdbcOdbcDriver class is loaded
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
// Try to connect to a database via ODBC
conn = DriverManager.getConnection(
"jdbc:microsoft:sqlserver://hu:1433", "sa","");
catch (Exception exc)
// If there's an error, use the servlet logging API
getServletContext().log(
"Error making JDBC connection: ", exc);
public void service(ServletRequest request, ServletResponse response)
throws java.io.IOException
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<HTML>");
out.println("<BODY>");
out.println("<PRE>");
out.println("The JDBC connection is:");
out.println(conn);
out.println("</PRE>");
out.println("</BODY>");
out.println("</HTML>");i also have this problem..do u have any solution?
-
When I try to buy a movie from AppleTV it can't connect to the server. Any ideas?
No other good ideas ... since your signature block above says you're running iOS 5.1.1.
I assume you have a reasonable connection.
Here's Apple's troubleshooting reference: http://support.apple.com/kb/TS1368 -
New install issue-unable to connect to DB server from a remote client.
Hi experts,
I am new to setting up oracle server so pls bear with me...
I setup a db server (11g on top of 64bit Oracle Linux) at home (static 192.168.1.90). I verified that db, listener are up and running. However, I tried to connect to the server from a different client machine (192.168.1.108) within my home network but the server cannot be reached. I was able to ping both client and server using the IP addresses and hostnames. I followed the following steps to perform troubleshooting but was unable to move on beyond step 3, telnet-ing the server on port 1521. Can someone help me out what I should do make the port # (1521) is reachable by the client?
1. Check with "ping" using the IP address ("ping 198.11.34.43"
2. Check with "ping" using DNS name (e.g. "tnsping uranus")
3. Try telnet to the IP on port 1521 (telnet 1.2.3.4 1521)
4. Check with "tnsping" using TNS service name
5. Invoke SQL*Plus from the OS command line "sqlplus fred@flintstone". If this fails, check to ensure that your listener is the flintstone service defined.
6. Sign-on to SQL*Plus and connect with the TNS name ("connect fred/flintstome@service_name"
7. Within SQL*Plus, try a select from table@remote_db_link
thanks a lot in advance.user6391746 wrote:
Hi experts,
I am new to setting up oracle server so pls bear with me...
I setup a db server (11g on top of 64bit Oracle Linux) at home (static 192.168.1.90). I verified that db, listener are up and running. However, I tried to connect to the server from a different client machine (192.168.1.108) within my home network but the server cannot be reached. I was able to ping both client and server using the IP addresses and hostnames. I followed the following steps to perform troubleshooting but was unable to move on beyond step 3, telnet-ing the server on port 1521. Can someone help me out what I should do make the port # (1521) is reachable by the client?
1. Check with "ping" using the IP address ("ping 198.11.34.43"
2. Check with "ping" using DNS name (e.g. "tnsping uranus")
3. Try telnet to the IP on port 1521 (telnet 1.2.3.4 1521)
4. Check with "tnsping" using TNS service name
5. Invoke SQL*Plus from the OS command line "sqlplus fred@flintstone". If this fails, check to ensure that your listener is the flintstone service defined.
6. Sign-on to SQL*Plus and connect with the TNS name ("connect fred/flintstome@service_name"
7. Within SQL*Plus, try a select from table@remote_db_link
thanks a lot in advance.solution depends upon which ERROR is thrown.
Is COPY & PASTE broken for you?
It is really, Really, REALLY difficult to fix a problem that can not be seen.
use COPY & PASTE so we can see what you do & how Oracle responds. -
Can't connect to ASE 16 from SCC 3.3
Hello, I am using SAP ASE 16.0 Dev Edition for Linux (Ubuntu). I can connect to the server from terminal using isql, everything works, but when I want to use SCC 3-3 I can't authenticate the ASE Server, I am using the same user and password that I used on isql, the error given is: "Security error for 'servername' (SCC login sccadmin) connection refused. please verify if the host name and port number in the connection profile infromation is correct and the server is running'
some extra data:
1. the users for the database and the SCC are differents
2. I checked the ports are listening (5000 and 9999)
3. iptables is off
4. I check scc log and I did not find anything useful
my question is: what is happening? why i cant logon using isql nor SCC web interface?, how may I register and authenticate ASE server from SCC?I think it more likely an issue with Mavericks networking.
MOST IMPORTANT.
Do you have ipv6 set to link-local for the wireless client in the MBA??
This is now essential.. and automatic doesn't cut it. Set to the actual ipv6 requirement.
This is not unusual problem BTW..
http://support.apple.com/kb/TS4597
For mavericks I would also ensure your TC has all naming that is short, no spaces and pure alphanumeric. That includes the TC itself plus the wireless. -
Not able to get the connection to mssql server thro native sql
Dear Experts,
I have created a database connection to mssql server thro DBCO t.code.Am not able to get the connection when i am executing Native SQl for geting connection of mssql server.
DATA: CON_NAME LIKE DBCON-CON_NAME VALUE 'BIW'.
EXEC SQL.
CONNECT TO :con_name AS 'C1'
ENDEXEC.
Am always getting sy-subrc = 4. The user name and password i have given in dbcon table having full authorization to access mssql database. I am working SAP ecc 5.0. Also both servers are running in windows.
could anyone hlep me on this issue.
Thanks in advance.Hello, the submitted error must be analyzed according to the Syntaxis and characteristics of the MSSQL database. See explanation of error.
http://doc.ddart.net/mssql/sql2000/html/trblsql/tr_reslsyserr_1_1o1i.htm
Error 156
Severity Level 15
Message Text
Incorrect syntax near the keyword '%.*ls'.
Explanation
This error indicates that the syntax of a Transact-SQL statement is incorrect and that the syntax error was detected near the keyword specified in the error message. The most frequent causes for syntax errors are misspellings of Transact-SQL keywords or operators, and specifying the syntax of a Transact-SQL statement in the wrong order.
One of the more complicated causes for this error may be a compatibility level mismatch for the current database. If the current database has a compatibility level other than 70, Microsoft® SQL Serveru2122 will not recognize any of the keywords that a database with a compatibility level of 70 would recognize.
Action
First, check the Transact-SQL statement syntax near the keyword specified in the error message. Because Transact-SQL language syntax can be very complex, SQL Server may incorrectly report the position of the syntax error as later in the Transact-SQL statement than it actually occurred. Second, reexamine the entire Transact-SQL statement that generated the error. Verify the syntax order of the statement.
Ensure that the database does not have a compatibility level of 65 and has a compatibility level of 70. -
How can I connect to a database from ipaq with cldc??
how can I connect to a database from ipaq with cldc??
Hi Again
There is a library by Mimer which allows you do connect to a Mimer SQL Server, don't know must about it, but here is a link.
http://developer.mimer.com/
If that doesn't suit you, I suspect that you will have to use some sort of proxy solution. Either by creating a servlet to accept the sql string you want to send, or by creating your own custom proxy server running J2EE. The servlet or the proxy server must be able to receive an SQL String, do the query to the actual database and return the results in some sort of format to the mobile device. Maybe just a space delimited string.
Hope this helps
-Daur -
Error: Can't connect to auth server at /var/run/dovecot/auth-master: No such file or directory
error showing up, there is no auth-master file in /var/run/dovecot
this has just happnened over night
any ideas how to re-install dovecot
google search goes on about linux but barely any info about max osx serverauth-master is created when you start the mail service. Deleted if you stop the mail service. If that is not happening, you may have to re-install mail. Dovecot is the IMAP/POP part of the mail service. I am not sure what happens if you disable IMAP. I am guessing it is not there. But that is the extent of any tips I can offer. I suppose you could reinstall, but that seems a bit extreme to me.
-
My ipod touch connects to wifi but can't connect to the server.
Ok, so my ipod youch says it's connected to the wifi but when i try to get on the internet it says it can't connect to the server. I've looked and there's alot of answers but they're all soooooooooooooo complicated. I'm like 14, so whoever can answer this, please use small words.
I've noticed in alot of the answers they talk about your IP adress, if it's any consilation mine starts with 169. No matter where I go, if it's at home, or at starbucks or a hotel.
Thanks for your timeHave you tried restoring your iPod touch in iTunes?
You may just be trying to connect to "Printer Networks" that allow a company/residence to print something from their printer wirelessly, it would appear on your iPod touch just about the same as any other network, but you wouldn't be able to use internet while connected to that network...
If you are talking about "free wifi" in a Cafe, like Starbucks, you will usually need to open Safari. A Page will load and tell you how to connect to their internet, whether it's by paying, or just agreeing to their terms...
Like, I said, if that isn't the problem, try restoring your iPod touch in iTunes...
-Messymeese
Über Enbonpoint Pangolins FTW! -
I have the following issue after renewed the Lync internal and external certificates, Lync Mobile client get the following message when try to connect from internal or external network "can't connect to the server. it may be busy or temporarily
unavailable"
PS I tried a lot of solutions from different articles, but the same result.
presented below my environment:
Two Lync 2010 frontend servers with one pool.
Two edges server.
HW load balancer.
Log from Lync connectivity analyzer.
User Name: [email protected]
Logging test parameters:
SIP Uri: [email protected]
Discovery Type: Automatic Discovery
Network access: NetworkAccessExternal
Selected client: ApplicationLyncMobile2010
Starting Lync server autodiscovery
Please wait; this test may take several minutes to complete...
Starting automatic discovery for secure (HTTPS) internal channel
Sending HTTP request to
https://lyncdiscoverinternal.xxx.com/[email protected]
Exception encountered while sending an HTTP request to
https://lyncdiscoverinternal.xxx.com/[email protected]: An error occurred while sending the request.. Complete Exception: \r\nSystem.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to
connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 192.168.89.25:443
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
An error occurred while sending the request.
Unable to connect to the remote server
An attempt was made to access a socket in a way forbidden by its access permissions 192.168.89.25:443
For troubleshooting, try using a browser to open the server discovery URL
https://lyncdiscoverinternal.xxx.com/[email protected]
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden
by its access permissions 192.168.89.25:443
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendRequest>d__d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<TryNextUrl>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<StartDiscoveryJourney>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LyncConnectivityAnalyzerCore.Utilities.<RetrieveUserLocation>d__3e.MoveNext()
Server discovery failed for secured internal channel against
https://lyncdiscoverinternal.xxx.com/
Starting automatic discovery for unsecure (HTTP) internal channel
Sending HTTP request to
http://lyncdiscoverinternal.xxx.com/[email protected]
Exception encountered while sending an HTTP request to
http://lyncdiscoverinternal.xxx.com/[email protected]: An error occurred while sending the request.. Complete Exception: \r\nSystem.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to
connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 192.168.89.25:80
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
An error occurred while sending the request.
Unable to connect to the remote server
An attempt was made to access a socket in a way forbidden by its access permissions 192.168.89.25:80
For troubleshooting, try using a browser to open the server discovery URL
http://lyncdiscoverinternal.xxx.com/[email protected]
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden
by its access permissions 192.168.89.25:80
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendRequest>d__d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<TryNextUrl>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<StartDiscoveryJourney>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LyncConnectivityAnalyzerCore.Utilities.<RetrieveUserLocation>d__3e.MoveNext()
Server discovery failed for unsecured internal channel against
http://lyncdiscoverinternal.xxx.com/
Starting automatic discovery for secure (HTTPS) external channel
Sending HTTP request to
https://lyncdiscover.xxx.com/[email protected]
Exception encountered while sending an HTTP request to
https://lyncdiscover.xxx.com/[email protected]: An error occurred while sending the request.. Complete Exception: \r\nSystem.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect
to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 192.168.89.25:443
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
An error occurred while sending the request.
Unable to connect to the remote server
An attempt was made to access a socket in a way forbidden by its access permissions 192.168.89.25:443
For troubleshooting, try using a browser to open the server discovery URL
https://lyncdiscover.xxx.com/[email protected]
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden
by its access permissions 192.168.89.25:443
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendRequest>d__d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<TryNextUrl>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<StartDiscoveryJourney>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LyncConnectivityAnalyzerCore.Utilities.<RetrieveUserLocation>d__3e.MoveNext()
Server discovery failed for secured external channel against
https://lyncdiscover.xxx.com/
Starting automatic discovery for unsecure (HTTP) external channel
Sending HTTP request to
http://lyncdiscover.xxx.com/[email protected]
Exception encountered while sending an HTTP request to
http://lyncdiscover.xxx.com/[email protected]: An error occurred while sending the request.. Complete Exception: \r\nSystem.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect
to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 192.168.89.25:80
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
An error occurred while sending the request.
Unable to connect to the remote server
An attempt was made to access a socket in a way forbidden by its access permissions 192.168.89.25:80
For troubleshooting, try using a browser to open the server discovery URL
http://lyncdiscover.xxx.com/[email protected]
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden
by its access permissions 192.168.89.25:80
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendRequest>d__d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<TryNextUrl>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<StartDiscoveryJourney>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LyncConnectivityAnalyzerCore.Utilities.<RetrieveUserLocation>d__3e.MoveNext()
Server discovery failed for unsecured external channel against
http://lyncdiscover.xxx.com/
None, AutoInternalSecureD, AutoInternalUnsecureD, AutoExternalSecureD, AutoExternalUnsecureD, ManualDNSFail, ManualSecureD, ManualUnsecureD, AuthBrokerInternalLMXCheckGET, AuthBrokerInternalLMXCheckPOST, AuthBrokerExternalLMXCheckGET, AuthBrokerExternalLMXCheckPOST,
MobilityMCXInternalLMXCheckGET, MobilityMCXInternalLMXCheckPOST, MobilityMCXExternalLMXCheckGET, MobilityMCXExternalLMXCheckPOST, LMXSIPServerInternalDNS, LMXSIPServerExternalDNS, MobilityUCWAInternalCheckPOST, MobilityUCWAExternalCheckPOST
Automatic discovery of the Lync server failed. Please verify the server requirements at
http://go.microsoft.com/fwlink/?LinkId=278998 . Lync mobile apps do not require automatic discovery. You could enter the server FQDN manually and test connectivity again.
Microsoft Lync Connectivity Analyzer cannot analyze deployment readiness until a discovery test has completed successfully.Hi
Is that Port 443 opened? check the fire wall.
is that external Lync clients are logging in with out any issues.
by seeing the Log it is unable to connect on port 443
Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made
to access a socket in a way forbidden by its access permissions 192.168.89.25:443
For troubleshooting the Mobility issues follows this
http://blogs.technet.com/b/nexthop/archive/2012/02/21/troubleshooting-external-lync-mobility-connectivity-issues-step-by-step.aspx
Whenever you see a helpful reply, click on Vote As Helpful & click on Mark As Answer if a post answers your question. -
Error while connecting to SQL SERVER from OWB
HI All,
I got the following error while connecting to SQL SERVER from OWB(10gR2).
1). Created DSN with (GMSCADA)
2). tnsnames file is updated with the following information
GMSCADA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.60.29)(PORT = 1433))
(CONNECT_DATA =
(SERVICE_NAME = SA)
3). Tried to connect to SQL SERVER frm OWB
Username: sa
password: sa
host: 172.16.60.29
port: 1433
service name: GMSCADA
schema: sa
I got the following error, when I click Test Connection:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from OWB_3095
Regards,
Kumar.Hi David,
What is Gateway, How I have to setup, Please let me know.
I tried according to the Demo, But still I am facing the same problem. Which system IP I have to put in the host details.
Can u please let me know.
Regards,
Kumar. -
*URGENT* How can i get a website to load instead of saying "Can't connect to the server"
My computer is not loading a website. This is urgent for university work!! My computer keeps saying: "Can't connect to the server" no matter what internet browser i use, and other people with Mac's can use it fine! I need it for university work. PLEASE HELP ME!!
Power off the router. Unplug it from the wall. Wait few minutes.
Plug it back in. Power on the router.
Wait until all the lights are lit properly. It will take a while.
Restart the computer.
Start up in Safe Mode.
http://support.apple.com/kb/PH11212?viewlocale=en_US
Deselect Proxies if selected.
Safari > Preferences > Advanced > Proxies:
Click "Change Settings" button
The network preferences window for Proxies will will show up with "Proxies"
tab selected.
Under "Select Protocol", uncheck any box if selected.
Click "OK", then "Apply"
Maybe you are looking for
-
Unable to acess BPEL WSDL from OWSM Gateway
Hello all, I'm trying to register a BPEL Process as a service on a OWSM gateway. The BPEL WSLD is as follows: <definitions name="WR01" targetNamespace="http://xmlns.oracle.com/WR01"> − <types> − <schema attributeFormDefault="qualified" elem
-
Spinning ball while mail loads?
Is it normal in Mail for the beach ball to spin simply while it is loading new messages? If so, I have a new app to dump. I hope it is just a setting I need to adjust. Thanks
-
And i need help so If theres anyone out there that could give me a little info and help on how to fix it, please do
-
Installing iTunes on my server
When I want to install iTunes on my server (iTunes64Setup) the only message on my screen is tthat the program is calculating the amount of needed space, that's all
-
Cross Company code invoices.
Hi All, I want to creat a Cross Company code PO based invoices in MIRO. I have created 2 PO's with the same vendor and differenct company codes. But in MIRO it is taking only one PO to invoice. I am not aware of cross company code settings. Can any o