﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / Enterprise Server / Issues  / Unhandled Exception / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Fri, 29 Aug 2008 19:54:41 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Unhandled Exception</title><link>http://forum.strataframe.net/Topic7503-25-1.aspx</link><description>Great!  Glad you got it going!</description><pubDate>Fri, 16 Mar 2007 10:35:39 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Unhandled Exception</title><link>http://forum.strataframe.net/Topic7503-25-1.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Ben,&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Thanks for the timeout hint… It’s working now:) &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;It turned out that it was the client that couldn’t reach the ES server because of a configuration error in the host header value in IIS. I was spinning my wheels trying to figure what could be preventing the ES server from seeing the SQL server. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;-Larry&lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;</description><pubDate>Fri, 16 Mar 2007 10:28:57 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Unhandled Exception</title><link>http://forum.strataframe.net/Topic7503-25-1.aspx</link><description>hrm... that could mean that either the enterprise server itself it timing out against SQL Server, or your EnterpriseDataSourceItem is not reaching the enterprise server.  Put Timeout=10; on the end of your SQL Server connection string within the ES configuration and if you get a different response after only 10 seconds, then you'll know that the ES cannot reach SQL Server.  However, if it still takes 30 seconds to come back, and you get the same message, then your client cannot reach the ES.</description><pubDate>Fri, 16 Mar 2007 08:43:19 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>RE: Unhandled Exception</title><link>http://forum.strataframe.net/Topic7503-25-1.aspx</link><description>This is what comes back after a long wait.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/4e8d68f8-eddb-439c-9eda-c83e.png"&gt;</description><pubDate>Thu, 15 Mar 2007 17:54:42 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Unhandled Exception</title><link>http://forum.strataframe.net/Topic7503-25-1.aspx</link><description>What exactly is the timeout error?  Is it wrapped in an exception that was thrown by the ES itself and sent back over, or is it an HTTP timeout exception?</description><pubDate>Thu, 15 Mar 2007 17:11:50 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>RE: Unhandled Exception</title><link>http://forum.strataframe.net/Topic7503-25-1.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;When I think of host name I think of the server host name, not the DNS name of the website. Anyway I’ve got that fixed and now I’m getting timeout errors. The only thing I can think of is the connection string in the data source which looks okay. I dropped a plain old client/server SF application on the ES server and it can connect to the database server so I know the DB server is reachable from the ES server. What next?&lt;/SPAN&gt;</description><pubDate>Thu, 15 Mar 2007 16:58:31 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Unhandled Exception</title><link>http://forum.strataframe.net/Topic7503-25-1.aspx</link><description>[quote]Would this make a difference? [/quote]&lt;/P&gt;&lt;P&gt;Yes.  Since the hostname is part of the license file then the host name provided must match what is shown in the Server Status page under Server Hostname.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/db93c653-f9ad-4978-9111-1447.jpg"&gt;</description><pubDate>Thu, 15 Mar 2007 14:30:56 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Unhandled Exception</title><link>http://forum.strataframe.net/Topic7503-25-1.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;I checked the keys and they match. I also tried setting the client and server to IsEncryped = False and IsCompressed = False and received the same error.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;I’ve installed ES under the server’s default website. The hostname in the server license is“my.host.name” while it’s “my.host.name/StrataFrameES” in the EnterpriseDataSourceItem. Would this make a difference? I’ve made sure to restart IIS after any changes. &lt;/SPAN&gt;</description><pubDate>Thu, 15 Mar 2007 13:33:38 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Unhandled Exception</title><link>http://forum.strataframe.net/Topic7503-25-1.aspx</link><description>This generally occurs when the pre-shared key is not the same on both the server and the client.  If you go to the server status page, make sure that you are initializing the client connection with the same key.&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;BR&gt;    '-- Establish Locals&lt;BR&gt;    Dim loESDS As MicroFour.StrataFrame.Data.Enterprise.EnterpriseDataSourceItem&lt;/P&gt;&lt;P&gt;    '-- Create the Enterprise Server data source item&lt;BR&gt;    loESDS = New Enterprise.EnterpriseDataSourceItem("", "My.Host.Name", 80, "", New SqlDataSourceItem(""))&lt;BR&gt;&lt;BR&gt;    '-- Set the encryption and compression properties.  Refer to the documentation for more&lt;BR&gt;    '   information about these settings.&lt;BR&gt;    loESDS.IsEncrypted = True&lt;BR&gt;    loESDS.EncryptionKey = New Byte() {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}&lt;BR&gt;    loESDS.EncryptionVector = New Byte() {1, 2,3,4,5,6,7,8}&lt;BR&gt;    loESDS.IsCompressed = True&lt;BR&gt;&lt;BR&gt;    '-- Manually add the ES data source&lt;BR&gt;    DataBasics.DataSources.Add(loESDS)[/codesnippet]&lt;/P&gt;&lt;P&gt;When you get the message "Bad Data" it means that the server and the client connection are not talking with the same handshake.  You can also get this message when you add a license file and do not restart the application pool (just restarting IIS will restart the pool also).  &lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Thu, 15 Mar 2007 12:56:23 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Unhandled Exception</title><link>http://forum.strataframe.net/Topic7503-25-1.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;I’ve got the ES server set up on Windows Server 2003 Web Edition with SP1. I’m able to access the ES status page but when it try to run a client application I get the following exception. Any suggestions on what I may have missed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;-Larry&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/d649ff6a-ccda-4722-b944-95b3.png"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;</description><pubDate>Thu, 15 Mar 2007 12:08:02 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item></channel></rss>