Test connection failed for resource(s): AD: == No route to host\n
Hi, First of all I would like to tell you that the application was running fine few days back, this issue has come suddenly.
I am getting following error while doing connection test for AD with SUN IDM:
Test connection failed for resource(s): AD: ==> No route to host\n
and when I try to open the detail for windows active directory arrow mark from the resource tab, Its giving me below error:
Error iterating over objects ==> com.waveset.util.WavesetException: ==>java.net.NoRouteToHostException: No route to host
I tried to google on this but all are pointing to some network/firewall problem.
Can anybody suggest me the correction ways to resolve this problem. Any idea how I can proceed further.
Thanks,
Jimmy
First of all, I dont know if you even done the proper fault elimination
No route to host is indicative of a network problem that could be based on several different faults.
Simplest way to check, log in to the system running your IdM.
first check if your nameservice is working
nslookup <your fully qualified hostname for the AD gateway>
idmmgr@unix103a:$ nslookup idm-gw.company.com
Server: 139.188.2.1
Address: 139.188.2.1#53
idm-gw.company.com canonical name = win050a.company.com.
Name: win050a.company.com
Address: 171.39.88.145if you get the right response there
try pinging the returned address
idmmgr@unix103a:$ ping 171.39.88.145
171.39.88.145 is aliveIf you have a routing problem it will probably show above...
if the route to the gateway works, it might be the gateway that cant talk to the AD
Just follow the track manually and if it stops working from one point, go past that point (if you can) and see if it works beyond it.
Either way, whatever resource is pointed out in the connectinfo in the pertinent adaptor or connector should work from the prompt of the system running it, if not, then you can start unraveling it from there.
Similar Messages
-
Test Connection fails for VC system of type Web Service
Hi All
I ve created a VC system of the type Web Service in Portal. In this VC system, I have given Url of the Enterprise Service that I want to use in VC.
(for eg: http://erp.esworkplace.sap.com/sap/bc/srt/wsdl/sdef_ECC_SALESORDER002QR/wsdl11/ws_policy/document?sap-client=800)
In the next step, I did user mapping for the VC user that will be consuming this Enterprise Service.
The system was created successfully but when I did Connection Tests , I got the following exception:
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure that Single Sign-On is configured correctly
Do I need to do any more configurations before I can use such ES portal system in my VC work studio ?
I understand that I have provided little information about the exception thrown by Portal.
I kindly request you to feel free in asking any other details about the same.
Regards
Kapil S KambleHi Natty
thanks for your immediate reply.
I followed your instructions and created iView of the type URL and set the fetch mode property to 'server side' as told.
Initially, I gave 'http://www.sap.com' as the Url and I was successful in opening the site.
Later, when I gave Enterprise Service url and tried to preview the iView, I got the following exception:
*'http://erp.esworkplace.sap.com/sap/bc/srt/wsdl/sdef_ECC_SALESORDER002QR/wsdl11/ws_policy/document?sap-client=800
Error # 401'*
I ll need to give username and password. But how do i give them as parameters?
Please note, these parameteres are appended to the Url. So, I fear that if url of Enterprise service is changed, then it wont open.
what do you think ?
Kapil -
Portal Test Connection Failed for JDBC Connector
Hi,
We are trying to create a JDBC system in EP to connect SQL Server 2005 database. Our aim is to build a model in VC using data services from SQL Server 2005.
We deployed the Driver file sqljdbc.jar and connection was successful when tested by creating a data source in Visual Administrator-> JDBC Connector
We have created a system in EP with user mapping type (admin,user) and user mapping also done for system alias with the SQL Server administrator user id and password. UME is maintained in ABAP Stack. When we try for test connection with the system created in EP for JDBC connection, the system throws an error message like Connection failed. Make sure user mapping is set correctly and all connection properties are correct
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the back end application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
The following are the URL and driver class name:
URL: jdbc:sqlserver://<host_name>:1433;DatabaseName=db_ name
Driver class name: com.microsoft.sqlserver.jdbc.SQLServerDriver
Is there any other setting to be maintained in the Visual Administrator or in the Portal?
Kindly let us know any clue to overcome this issue.
Quick response highly appreciated.
Regards
Saravanan.rHi Saravanan and Sathish,
not sure how far you got with this. I had the same problem or at least a very similar one with access to MS SQL Server 2005 and solved it. I followed essentially very similar steps with a couple of minor twists:
1) copied the sqljdbc.jar file to the storyboard server and set the classpath environment variable to point to it.
2) I did not create a data source, just created a new driver "SQLServer".
3) Under Connector Container I cloned SDK_JDBC as "SDK_SSQL".
4) The Visual Composer property vc.bi.sqlEditor Enabled should be set to true for you to be able the SQL Editor in the Data Service in VC.
In the portal I created a system of type BI_JDBC from a template.
The connection url and driver class were as in the thread:
URL: jdbc:sqlserver:ipaddress:1433;DatabaseName=name
Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
ConnectionFActoryClass as above under 3.
User rights: admin,user
The user mapping to the system alias should be as described.
This should allow you to use the data service in VC to access SQL Server tables. If access to stored procedures (sometimes quite useful) is required, this would need to utilise the p9sqlserver.jar file already on the server.
Best Regards
Felix Logemann -
Jdeveloper 10.1.3.4 Test Connection failed for BPEL Process Manager.
Application Server: OK
BPEL Process Manager Server: FAILED
ESB Server: OK
Verified and tried below steps:
1. hw_services and orabpel and deploy_services are up and running
2. Jdeveloper and Oracle SOA Suite Version is 10.1.3.4
3. Tools->Preferences -> Web Browser and Proxy is disabled.
4. Restarted hw_services and orabpel via Application server control for OC4J_SOA > hw_services/orabpel
5. Able to connect the bpel process manager(BPELConsole) from Browser.
6. But Not able deploy using ant tool as well as with Jdev Deploy option(no domains are displayed under deploy option in Jdev)
7. Ant deployment throws error,
A problem occured while connecting to server "testinstance.com" using port "7777": <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL /integration/services/deploy/deployHttpClientProcess.jsp was not found on this server.<P>
<HR>
<ADDRESS>Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server Server at testsoa.art.com Port 7777</ADDRESS>
</BODY></HTML>
Went thru many threads under soa/bpel forums and couldn't find it worked.
Appreciate your helpApplication Server Test Passed
BPEL Identity Service Failed
BPEL Domains Not Run
BPEL Server Mode Not Run
BPEL Notification Service Not Run
BPEL TaskManager Service Not Run
ESB Connection Passed
When I select "BPEL Identity Service Failed" the error displayed as is below. But for the Not Run components it says "Not Executed".
java.lang.Exception:Exception not handled by the Collaxa Cube system.
An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-10555
Identity Service Configuration error.
Identity Service Configuration file has error.
at oracle.tip.pc.services.identity.config.ISConfiguration.load(ISConfiguration.java:277)
at oracle.tip.pc.services.identity.config.ISConfiguration.<clinit>(ISConfiguration.java:94)
at oracle.bpel.services.workflow.task.impl.WorkflowUtil.setUserNameCaseSensitiveFlagOnServer(WorkflowUtil.java:1193)
at oracle.bpel.services.workflow.task.impl.TaskService.<init>(TaskService.java:196)
at oracle.bpel.services.workflow.task.impl.TaskService.<clinit>(TaskService.java:153)
at oracle.bpel.services.common.InitializeServlet.init(InitializeServlet.java:56)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2379)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4830)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4754)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4942)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1144)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
at com.evermind.server.Application.getHttpApplication(Application.java:586)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:291)
at oracle.tip.pc.services.identity.config.ISConfiguration.parseDocument(ISConfiguration.java:339)
at oracle.tip.pc.services.identity.config.ISConfiguration.load(ISConfiguration.java:259)
... 23 more
Exception: ORABPEL-10555
Identity Service Configuration error.
Identity Service Configuration file has error.
Handled As: oracle.tip.pc.infra.exception.PCRuntimeException -
IDM Demo always reports connection failed for Solaris target
I'm setting up the IDM Demo, using the Setup Wizard, using a Solaris 10 container as
the target system. For this demo, I'm using telnet directly as root, which seems to be
the only method available. This succeeds when I run telnet by hand from the IDM host
to the target host. When I test the connection from the wizard, after a long delay, it
always reports that the test connection failed. However, the console log on the target
system shows a successful login. The Details button says that it was looking for `_.)#+(:',
regardless of what I specify as the `Login Prompt'. (I assume this really means the shell
prompt.) I've tried changing the shell prompt by setting PS1 in /.profile and tried suppressing
the banner by creating a /.hushlogin file. Still, the test button always reports that the
connection failed. What's wrong here?ah, familiar territory :)
the string _.)#+(: is something that the adapter uses as a suffix to check whether the previous command executed has changed state or not. The assumption being that _.)#+(: will not be encountered as output of any command on Solaris.
1. Try connecting as root
2. Whats your IDM version?
3. Try this: login as root over putty, and paste whatever strings you get into the adapter configuration page on IM (for say, prompt, etc.)
4. Tracing the following variables can give you better details regarding where its getting stuck:
com.waveset.adapter.SolarisResourceAdapter
com.waveset.adapter.SVIDResourceAdapter
com.waveset.adapter.ScriptedConnection
Hope this helps!
Ankush -
Hi Folks, I am sure that their have been a million questions on this subject on the Test Connection failing when testing your connection to the host.
I am not sure if a solution has been found. I am having this problem and need a solution. I would like to publish through the iWeb FTP page as this is a very simple process. I tried to publish via Cyberduck and this worked ok. However the simplicity of the iWeb publisher is what intrest's me.
Does anybody know of a solution?
Many thanks
PaulYes, there are a million questions about this.
This is the usual answer :
When iWeb tests the connection, it tries to write a file on the server based on the server settings you provide.
When it can write, the test is ok.
It does not mean that it is the right location where you should publish your webpages. Only that the location is writable.
If the test fails, it's usually the pathname that is wrong or incomplete. See the FAQ where you host your website to learn what the correct pathname is.
If you already have a website, check the settings of that website and use those. -
this problem is eating my sys log up, all my services seem to be working it would seem that this problem has happened to others i have seen no real
good answers to the question it would seem like a configuration problem here are the services i am running
address book
afp
dhcp
dns
firewall
ical
ichat
nat
open directory
print
push notification
smb
web
software just installed and the system was just setup as a gate way
net config :
Automatic:
Active Location: Yes
Services:
Ethernet 1:
Type: Ethernet
BSD Device Name: en0
Hardware (MAC) Address: 00:17:f2:02:75:22
IPv4:
Addresses: 173.11.2*0.***
Configuration Method: Manual
Router: 173.11.210.210
Subnet Masks: 255.255.255.252
IPv6:
Configuration Method: Automatic
DNS:
Server Addresses: 68.87.**.98, 68.**.69.**
Proxies:
Exceptions List: *.local, 169.254/16
FTP Passive Mode: Yes
SMB:
NetBIOSName: extremenet
WINSAddresses:
Workgroup: WORKGROUP
Ethernet 2:
Type: Ethernet
BSD Device Name: en1
Hardware (MAC) Address: 00:17:f2:02:75:23
IPv4:
Addresses: 192.168.1.1
Configuration Method: Manual
Subnet Masks: 255.255.255.0
IPv6:
Configuration Method: Automatic
DNS:
Server Addresses: 192.168.1.1
Proxies:
Exceptions List: *.local, 169.254/16
FTP Passive Mode: Yes
SMB:
NetBIOSName: extremenet
WINSAddresses:
Workgroup: WORKGROUP
AirPort:
Type: IEEE80211
BSD Device Name: en2
Hardware (MAC) Address: 00:17:f2:96:76:60
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
Proxies:
Exceptions List: *.local, 169.254/16
FTP Passive Mode: Yes
IEEE80211:
Join Mode: Automatic
PowerEnabled: 0
PreferredNetworks:
SecurityType: WPA2 Personal
SSID_STR: Airport Extreme
Unique Network ID: F3922B59-58B2-4E25-8BFA-8924012125FD
Unique Password ID: A2F3E2B9-DE2F-4B1F-960E-9F740F30F392
SMB:
NetBIOSName: extremenet
WINSAddresses:
Workgroup: WORKGROUP
Bluetooth DUN:
Type: PPP
IPv4:
Configuration Method: PPP
IPv6:
Configuration Method: Automatic
Proxies:
FTP Passive Mode: Yes
PPP:
ACSP Enabled: No
Display Terminal Window: No
Redial Count: 1
Redial Enabled: Yes
Redial Interval: 5
Use Terminal Script: No
Dial on Demand: No
Disconnect on Fast User Switch: Yes
Disconnect on Idle: Yes
Disconnect on Idle Timer: 600
Disconnect on Logout: Yes
Disconnect on Sleep: Yes
Idle Reminder: No
Idle Reminder Time: 1800
IPCP Compression VJ: Yes
LCP Echo Enabled: No
LCP Echo Failure: 4
LCP Echo Interval: 10
Log File: /var/log/ppp.log
Verbose Logging: No
SMB:
NetBIOSName: extremenet
WINSAddresses:
Workgroup: WORKGROUP
FireWire:
Type: FireWire
BSD Device Name: fw0
Hardware (MAC) Address: 00:16:cb:ff:fe:6e:28:18
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
Proxies:
Exceptions List: *.local, 169.254/16
FTP Passive Mode: Yes
SMB:
NetBIOSName: extremenet
WINSAddresses:
Workgroup: WORKGROUP
syslog:
Jul 4 17:18:49 extremenet natd[38056]: failed to write packet back (No route to host)
Jul 4 17:18:54 extremenet natd[38056]: failed to write packet back (Host is down)
Jul 4 17:19:25: --- last message repeated 5 times ---
Jul 4 17:19:25 extremenet natd[38056]: failed to write packet back (No route to host)
Jul 4 17:19:30 extremenet natd[38056]: failed to write packet back (Host is down)
Jul 4 17:20:01: --- last message repeated 5 times ---
Jul 4 17:20:01 extremenet natd[38056]: failed to write packet back (No route to host)
Jul 4 17:20:06 extremenet natd[38056]: failed to write packet back (Host is down)
Jul 4 17:20:38: --- last message repeated 5 times ---
Jul 4 17:20:49 extremenet natd[38056]: failed to write packet back (No route to host)
Jul 4 17:20:52 extremenet com.apple.wikid.mailinglists[41461]: mail:status = "list-updated"
Jul 4 17:20:54 extremenet natd[38056]: failed to write packet back (Host is down)
Jul 4 17:21:25: --- last message repeated 5 times ---
Jul 4 17:21:25 extremenet natd[38056]: failed to write packet back (No route to host)
Jul 4 17:21:30 extremenet natd[38056]: failed to write packet back (Host is down)
Jul 4 17:22:01: --- last message repeated 5 times ---
Jul 4 17:22:01 extremenet natd[38056]: failed to write packet back (No route to host)
Jul 4 17:22:06 extremenet natd[38056]: failed to write packet back (Host is down)
Jul 4 17:22:37: --- last message repeated 5 times ---
Jul 4 17:22:37 extremenet natd[38056]: failed to write packet back (No route to host)
Jul 4 17:22:42 extremenet natd[38056]: failed to write packet back (Host is down)
Jul 4 17:23:12: --- last message repeated 5 times ---
Jul 4 17:23:13 extremenet natd[38056]: failed to write packet back (No route to host)
Jul 4 17:23:18 extremenet natd[38056]: failed to write packet back (Host is down)
Jul 4 17:23:49: --- last message repeated 5 times ---
Jul 4 17:23:49 extremenet natd[38056]: failed to write packet back (No route to host)
Jul 4 17:23:54 extremenet natd[38056]: failed to write packet back (Host is down)
Jul 4 17:24:25: --- last message repeated 5 times ---
Jul 4 17:24:25 extremenet natd[38056]: failed to write packet back (No route to host)
Jul 4 17:24:30 extremenet natd[38056]: failed to write packet back (Host is down)
Jul 4 17:25:01: --- last message repeated 5 times ---
Jul 4 17:25:01 extremenet natd[38056]: failed to write packet back (No route to host)
Jul 4 17:25:06 extremenet natd[38056]: failed to write packet back (Host is down)
Jul 4 17:25:38: --- last message repeated 5 times ---
Jul 4 17:25:49 extremenet natd[38056]: failed to write packet back (No route to host)
Jul 4 17:25:54 extremenet natd[38056]: failed to write packet back (Host is down)See "error -3259" here.
-
Test Connection failed in Crystal Reports for Eclipse using SQL Server 2008
I installed an SQL Server Express 2008 on my local PC (Window XP SP3). I downloaded sqljdbc4.jar to Crystal Reports for Eclipse
IDE library path and tried to Test Connection, but got the Ping failed message : The TCP/IP connection to the host localhost, port 1433 has failed. It said that check that an instance of SQL Server is running on the host (I saw SQL Server SQLEXPRESS is Running on my PC) and accepting TCP/IP connection at the port (I enabled TCP/IPin my PC's SQL Server Network Configuration),
and that no firewall is blocking TCP connection to the port(I turned OFF Window Firewall on my OC). Can anyone tell me how can I fix this problem ?Hi,
Check the below thread also:
http://scn.sap.com/thread/1634856
Thanks,
DJ -
LDAP access info in datasource xml file for multidomain Test Connect fails.
Hello SDN
I've gone through the video that explains how to setup the multidomain conf.
I have my service users but when it comes to enter the ldap access user I'm not sure what info to enter.
My ldap user is created at the company.com level not at the domain1.company.com level as is indicated in the video.
I entered the following values
ume.ldap.access.server_name> server1
ume.ldap.access.user> [email protected]
ume.ldap.access.base_path.user> CN=USERS,DC=COMPANY,DC=COM
ume.ldap.access.base_path.grup> CN=USERS,DC=COMPANY,DC=COM
And when I try to test connection I'm getting an error. So I have two questions:
Should the ldap account be created at the domain1.company.com level?
And how do I get the correct info to populate the base_path fields? Not sure where to get it, I just followed video.
Thanks for any help.
MRCouple of things.,
1. What LDAP you are using
2. What kind of hierarchy (flat or deep)
The hierachy will decide the user path and the group path.
Given you have all the right values then you populate the values for the foolowing.,
- Server Name or IP
- Server port number
- LDAP user name by (used for connectivity and access which should have enough rights)
- Password for the LDAP user
- User path
- Group path
With all the above given right the test connection should succeed.
Optionally SSL can be enabled for LDAP connectivity and can specify unique attribute for UME unique ID (this field will be uid for SUN LDAP and samaccountname for MS AD)
Regards,
Muthu Kumaran KG -
SQL Developer 1.5.1.54.40 Test Connections fail
Test connections are failing unless the connection is saved first..Is this a feature?
Not seen anything like that with a valid userid/pass being reported as incorrect when testing. Testing connections for me is correctly reporting invalid userid/pass when password is invalid and reporting success when password is valid. I also cannot connect if I have an invalid password.
It appears that the Connect has an implicit save, so without selecting Save they are still saved to disk in the standard connections file.
theFurryOne -
Test connection fail in windows 8 while installing Informatica 9.1 HF2
I had lot of issue hile installing with HF2 in windows 8.The test connection is failed everytime.I created a user and also granted previlages to it.Please help me with this.
Thanks in advance
kaushikI have found the reason for this... Actually i have ANT installed in my system prior to OIM installation... it was the culprit. Build was failing because i have two ANT's (one that comes with OIM and other ANT which is already installed)
I have removed the path and ANT_HOME environment variables.. .and my installation was successful -
Test connected failed in integration framework
Hi,
I received the below error when i try to test my database connection in SLD.
connect to <databse> (B1DI) failed
XCE001 Nested exception: java.rmi.RemoteException: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.rmi.NotBoundException: DiaAdapterProxy_XXX
Please advice.
Thank youHi Rajesh........
Are you sure that you you have give right B1iAdmin and its password......
Give it and then test connection
Regards,
Rahul -
My fresh-out-of-box MBA's Finder sees all the Windows machines on my network. I set username/password for a "registered user" for all of the Vista machines and for the WHS machine using "Connect As" and these operate as expected.
Despite showing the Win7 machine, clicking "Connect As" never gets to the authentication dialog. It just immediately pops a "Connection failed There was an error connecting to the server...check the server name or ip address... OK" error. It must have been a good server name/ip address as OS X found it on the network and told me about it not the other way around. Tried creating a new share on the Win7 side that was shared to everyone but still never get far enough to see any shared folders from the Win7 machine.
I find lots of other threads on the 'net about Win7 Connection Failed but these always seem to treat this as a network conenctivity problem not an authentication problem. Along with offering the server name up in the first place, the MAc pings the Win7 machine just fine. The Vista clients work fine with the Win7 shares.
Any help would be greatly appreciated.Defining the proper Workgroup on the Mac, which didn't matter for mounting any non-Win7 machine mattered for mounting the Win7 machine. This was entirely counterintuitive since Workgroup has become about completely irrelevant in Win7. Go figure.
-
Bonjour Connections Fail For One user
Our Mac is connected to a wireless network with some other Windows computers using Bonjour. I set up the connection a few years ago (that was on another Mac but I used the migration assistant to transfer everything without any hitches). Now the connection from my wife's account on the Mac to the Bonjour drives will not work, and I cannot figure out why. The computers show up in my wife's sidebar when "Bonjour computers" is checked in the sidebar preferences. But when you click on any of them the connection fails, and the only error message is "Connection failed." There is no other information. If you click "Connect As," nothing happens. No new error message, no connection, no dialogue box, nothing.
I checked the Network, Sharing, and Security settings in the System Preferences, and could not find anything different in my wife's account, although it is possible I'm missing something.
I tried the "Connect to Server" method in Finder and that also fails.
In my account, and at least one other, clicking on the servers in the sidebar connects automatically, so the problem is only in this account, but I am at a loss how to fix it.Any information about my issue?
-
Hello,
I have configured BizTalk Services Hybrid Connection between Standard Azure Website and SQL Server 2014 on premise.
Azure Management portal shows the status of Hybrid Connection as established.
However, the website throws an error when trying to open a connection
<
addname="DefaultConnection"
connectionString="Data
Source=machine name;initial catalog=AdventureWorks2012;Uid=demouser;Password=[my password];MultipleActiveResultSets=True"
providerName="System.Data.SqlClient"
/>
(The same website, with the same connection string deployed on SQL Server machine works correctly).
I tried various options with the connections sting (IP address instead of machine name, Trusted_Connection=False, Encrypt=False, etc. the result is the same
[Win32Exception (0x80004005): The certificate chain was issued by an authority that is not trusted]
[SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.
I tried various machines - on premise and a clean Azure VM with SQL Server and it results in the same error - below full stack
The certificate chain was issued by an authority that is not trusted
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ComponentModel.Win32Exception: The certificate chain was issued by an authority that is not trusted
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[Win32Exception (0x80004005): The certificate chain was issued by an authority that is not trusted]
[SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5341687
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +546
System.Data.SqlClient.TdsParserStateObject.SNIWritePacket(SNIHandle handle, SNIPacket packet, UInt32& sniError, Boolean canAccumulate, Boolean callerHasConnectionLock) +5348371
System.Data.SqlClient.TdsParserStateObject.WriteSni(Boolean canAccumulate) +91
System.Data.SqlClient.TdsParserStateObject.WritePacket(Byte flushMode, Boolean canAccumulate) +331
System.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec, FeatureExtension requestedFeatures, SessionData recoverySessionData) +2109
System.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, String newPassword, SecureString newSecurePassword) +347
System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) +238
System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) +892
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) +311
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData) +646
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +278
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +38
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +732
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +85
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1057
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +78
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +196
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +146
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +16
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +94
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +110
System.Data.SqlClient.SqlConnection.Open() +96
System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +44
[EntityException: The underlying provider failed on Open.]
System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +203
System.Data.EntityClient.EntityConnection.Open() +104
System.Data.Objects.ObjectContext.EnsureConnection() +75
System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) +41
System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() +36
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +369
System.Linq.Enumerable.ToList(IEnumerable`1 source) +58
CloudShop.Services.ProductsRepository.GetProducts() +216
CloudShop.Controllers.HomeController.Search(String SearchCriteria) +81
CloudShop.Controllers.HomeController.Index() +1130
lambda_method(Closure , ControllerBase , Object[] ) +62
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +193
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
System.Web.Mvc.Async.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41() +28
System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +10
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32
System.Web.Mvc.Async.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() +58
System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +225
System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) +10
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34
System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +23
System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +99
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +14
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +39
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +29
System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +25
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +31
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9651188
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36213
Regards,
Michal
Michal MorciniecSame issue here, looking for more information !
Maybe you are looking for
-
SYS PACKAGE DBMS_DEFER_IMPORT_INTERNAL NOT ACCESSIBLE
We are trying to import a dmp file to Oracle 10.2.0.1 database. This is a full import and ignore=y has been given. We found the following error for one particular user ORA-06550: line 2, column 5: PLS-00302: component 'DBMS_DEFER_IMPORT_INTERNAL' mus
-
Downloaded Oracle8i Not Installing on SuSE 7.2
I tried downloading Oracle's 8i server onto a SuSE 7.2 box with 224MB of memory and 500MB swap space. I tried running runInstaller with the failure: Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/
-
How to turn off the Automatic link update in InDesign CS5.5?
We have a problem with the Automatic link update in InDesign CS5.5 vers. 7.6 We want to see which images have been updated / modified (ie, marked with the yellow triangle in the links panel). We want to be able to update the links manually. Q1: Altho
-
Fixing a 'line' in a VHS transfer
I have a VHS I need to transfer to DVD and it has a white line running through parts of it (drop out or crease or something of that ilk). I'm wondering what the best way to fix it is. A search has come up with a few filters (such as one in the TMTS F
-
Hi.. What is the different between Volumetric Amount and Fixed Amount? How to find the Premise volumetric and fixed amount with respect to Posting date,Rate Category and Cal. Year/Quarter Could you please proved is there any table or any transaction