﻿<?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 - V1 » Issues  » Unhandled Exception</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 13:57:28 GMT</lastBuildDate><ttl>20</ttl><item><title>Unhandled Exception</title><link>http://forum.strataframe.net/FindPost7503.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;&amp;nbsp;&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>Fri, 16 Mar 2007 10:35:39 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Unhandled Exception</title><link>http://forum.strataframe.net/FindPost7551.aspx</link><description>Great!&amp;nbsp; 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/FindPost7549.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:)&amp;nbsp;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&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.&amp;nbsp;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&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;&amp;nbsp;&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/FindPost7539.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.&amp;nbsp; 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.&amp;nbsp; 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>StrataFrame Team</dc:creator></item><item><title>RE: Unhandled Exception</title><link>http://forum.strataframe.net/FindPost7535.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/FindPost7533.aspx</link><description>What exactly is the timeout error?&amp;nbsp; Is it wrapped in an exception that was thrown by the ES itself and sent back over, or is it an HTTP&amp;nbsp;timeout exception?</description><pubDate>Thu, 15 Mar 2007 17:11:50 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Unhandled Exception</title><link>http://forum.strataframe.net/FindPost7531.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/FindPost7520.aspx</link><description>[quote]Would this make a difference? [/quote]&lt;/P&gt;&lt;P&gt;Yes.&amp;nbsp; 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/FindPost7517.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;&amp;nbsp; &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/FindPost7507.aspx</link><description>This generally occurs when the pre-shared key is not the same on both the server and the client.&amp;nbsp; 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;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- Establish Locals&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim loESDS As MicroFour.StrataFrame.Data.Enterprise.EnterpriseDataSourceItem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- Create the Enterprise Server data source item&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; loESDS = New Enterprise.EnterpriseDataSourceItem("", "My.Host.Name", 80, "", New SqlDataSourceItem(""))&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- Set the encryption and compression properties.&amp;nbsp; Refer to the documentation for more&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&amp;nbsp;&amp;nbsp; information about these settings.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; loESDS.IsEncrypted = True&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 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;&amp;nbsp;&amp;nbsp;&amp;nbsp; loESDS.EncryptionVector = New Byte() {1, 2,3,4,5,6,7,8}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; loESDS.IsCompressed = True&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- Manually add the ES data source&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 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.&amp;nbsp; 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).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&amp;nbsp;&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></channel></rss>