<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Error "A problem occurred connecting to community" occurs while login into eB Web</title><link>https://communities.bentley.com/products/assetwise/assetwise_platform/w/wiki/30496/error-a-problem-occurred-connecting-to-community-occurs-while-login-into-eb-web</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Error "A problem occurred connecting to community" occurs while login into eB Web</title><link>https://communities.bentley.com/products/assetwise/assetwise_platform/w/wiki/30496/error-a-problem-occurred-connecting-to-community-occurs-while-login-into-eb-web</link><pubDate>Tue, 30 Aug 2016 08:03:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b3cb8ec1-2c1a-4ba6-81a6-12065a217ad9</guid><dc:creator>Priyanka Kale</dc:creator><comments>https://communities.bentley.com/products/assetwise/assetwise_platform/w/wiki/30496/error-a-problem-occurred-connecting-to-community-occurs-while-login-into-eb-web#comments</comments><description>Current Revision posted to AssetWise ALIM - Wiki by Priyanka Kale on 8/30/2016 8:03:39 AM&lt;br /&gt;
&lt;table align="left" style="border:0px solid #dce5f0;width:500px;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;Applies To&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;eB Web, eB Director&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;ALL&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Installation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Priyanka Sawarkar, Bentley Product Advantage Group&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size:150%;"&gt;Problem Description :&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-01-63/7455.Capture.JPG"&gt;&lt;img width="699" height="724" style="width:472px;height:428px;" src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-01-63/7455.Capture.JPG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;User were not able to login into eB Web and getting error - &amp;quot;I&amp;#39;m sorry, but I could not log you in&amp;quot;. After selecting OK button it gives &amp;quot;Socket Connection was aborted ...&amp;quot; error message&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-01-63/Capture3.JPG"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-01-63/Capture3.JPG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Usually above error occurs when client - server communication doesn&amp;#39;t go well. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size:150%;"&gt;Solution :&lt;/span&gt; &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1) Open IIS manger and expand the server and select the appropriate site and Click on Authentication.&lt;span style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="color:#000000;font-weight:normal;"&gt;
&lt;p style="color:#000000;font-weight:normal;"&gt;Make sure that &amp;ldquo; ASP.NET Impersonation&amp;rdquo; and &amp;ldquo;Windows authentication&amp;rdquo; are enabled and rest are disabled&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-01-63/IIS.JPG"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-01-63/IIS.JPG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2) Also Make sure that &amp;ldquo;Trust for Delegation&amp;rdquo; on IIS AppPool account is set.To verify use following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click&amp;nbsp;&lt;strong&gt;Start&lt;/strong&gt;, click&amp;nbsp;&lt;strong&gt;Administrative Tools&lt;/strong&gt;, and then click&amp;nbsp;&lt;strong&gt;Active Directory Users and Computers&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Expand domain, and expand the Computers folder.&lt;/li&gt;
&lt;li&gt;In the right pane, right-click the computer name for the Web server, select&amp;nbsp;&lt;strong&gt;Properties&lt;/strong&gt;, and then click the&amp;nbsp;&lt;strong&gt;Delegation&lt;/strong&gt;tab.&lt;/li&gt;
&lt;li&gt;Click to select&amp;nbsp;&lt;strong&gt;Trust this computer for delegation to any service (Kerberos only)&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click&amp;nbsp;&lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:medium;"&gt; &lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-01-63/AD.JPG"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-01-63/AD.JPG" alt=" " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;3)&amp;nbsp; Verify that all the users are trusted for delegation.&lt;/p&gt;
&lt;p&gt;All users must be allowed to have their credentials delegated. This is true by default, but it will be worthwhile to verify that this is the case by checking in &amp;ldquo;Active Directory Users and Computers&amp;rdquo; that the setting &amp;ldquo;Account is sensitive and cannot be delegated&amp;rdquo; isn&amp;rsquo;t set. Refer below screenshot&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-01-63/24.JPG"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-01-63/24.JPG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4) Set UPN on client/server machine.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;If the application server is running as a specific user account (i.e. bob@acme.com) then you have to set the User Principal Name as the client endpoint identity. To do this add the following to the web.config file (under appSettings):&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt;&amp;lt;appSettings&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;add key=&amp;quot;Bentley.eB.DefaultTcpEndpointIdentity&amp;quot; value=&amp;quot;upn:bob@acme.com&amp;quot;&amp;gt;&amp;lt;/add&amp;gt;&lt;br /&gt;&amp;lt;/appSettings&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Note: to find the identity of the service you can look at the Wsdl file for the service e.g. type this in the browser: https://&amp;lt;server&amp;gt;/Bentley/eB/Service/ServiceRegistry?wsdl and you will see towards the bottom of the results:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt;&amp;lt;wsdl:port name=&amp;quot;NetTcpBinding_IServiceRegistry&amp;quot;binding=&amp;quot;tns:NetTcpBinding_IServiceRegistry&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;soap12:address location=&amp;quot;net.tcp://localhost:18377/Bentley/eB/Service/ServiceRegistry/Tcp&amp;quot; &amp;gt;&amp;lt;/soap12:address&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsa10:EndpointReference&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsa10:Address&amp;gt;net.tcp://localhost:18377/Bentley/eB/Service/ServiceRegistry/Tcp&amp;lt;/wsa10:Address&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Identityxmlns=&amp;quot;http://schemas.xmlsoap.org/ws/2006/02/addressingidentity&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Upn&amp;gt;bob@acme.com&amp;lt;/Upn&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Identity&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/wsa10:EndpointReference&amp;gt;&lt;br /&gt;&amp;lt;/wsdl:port&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Attached is the document Windows Authentication with eB web server.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://communities.bentley.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-01-63/D006964-_2D00_-Windows-Authentication-with-eB-Web-Server.docx"&gt;communities.bentley.com/.../D006964-_2D00_-Windows-Authentication-with-eB-Web-Server.docx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;~ Priyanka Sawarkar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>