<?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>Unhandled Exception occurred during processing</title><link>https://communities.bentley.com/communities/other_communities/licensing_cloud_and_web_services/w/wiki/26624/unhandled-exception-occurred-during-processing</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Unhandled Exception occurred during processing</title><link>https://communities.bentley.com/communities/other_communities/licensing_cloud_and_web_services/w/wiki/26624/unhandled-exception-occurred-during-processing</link><pubDate>Sat, 06 Feb 2016 00:22:53 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e1150b03-f7e3-468f-88cb-205d6048fb88</guid><dc:creator>Jeremy Hoesly</dc:creator><comments>https://communities.bentley.com/communities/other_communities/licensing_cloud_and_web_services/w/wiki/26624/unhandled-exception-occurred-during-processing#comments</comments><description>Current Revision posted to Licensing, Cloud and Web Services Wiki by Jeremy Hoesly on 2/6/2016 12:22:53 AM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:#dce5f0 0px solid;" border="0"&gt;
&lt;tbody&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;SELECTserver&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;N/A&amp;nbsp;&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:&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:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Administration&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:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Nightly Processing&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;Error or Warning Message&lt;/h1&gt;
&lt;p&gt;The Message Center displays the following error message several days in a row for the Usage Log Processing task:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Unhandled Exception occurred during processing&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Upon examining the SS-UsageLogProcessingService.log file in C:\Program Files\Bentley\SELECTserver\Logs, the following error string is found multiple times:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ERROR - Shared - &amp;nbsp; System.Data.SqlClient.SqlException (0x80131904): Could not allocate space for object&lt;/code&gt;&lt;/p&gt;
&lt;h1&gt;Explanation&lt;/h1&gt;
&lt;p&gt;The license database used by SELECTserver has reached the maximum size permitted by an instance of SQL Server Express. All versions of SELECTserver include an Express edition of Microsoft SQL Server which imposes either a 4 GB (SQL Server 2005) or 10 GB (SQL Server 2008) limit. The error indicates that no further data can be written to the database unless some existing data is removed first.&lt;/p&gt;
&lt;h1&gt;How to Avoid&lt;/h1&gt;
&lt;h3&gt;Option 1: Create a new license database&lt;/h3&gt;
&lt;p&gt;If historical usage data is not needed, the easiest and most straightforward solution is to simply &lt;a href="/products/licensing/w/licensing__wiki/12237.how-to-create-a-new-license-database" target="_BLANK"&gt;create a new license database&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Option&amp;nbsp;2: Adjust the Data Retention settings&lt;/h3&gt;
&lt;p&gt;For users of SELECTserver 09.00.xx.xxx, a Data Retention setting can be adjusted to remove old usage data&amp;nbsp;and reduce the size of the database. Use the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the SELECTserver administration site.&lt;/li&gt;
&lt;li&gt;Choose Server Settings from the Administration drop-down menu along the top edge.&lt;/li&gt;
&lt;li&gt;Locate the Data Retention setting at the very bottom.&lt;/li&gt;
&lt;li&gt;Ensure that Data Retention is enabled, and adjust the timeframe as needed.&lt;/li&gt;
&lt;li&gt;Choose Manage Services from the Administration drop-down menu along the top edge.&lt;/li&gt;
&lt;li&gt;Locate the SELECTserver Tasks section.&lt;/li&gt;
&lt;li&gt;Click on the Run Now button next to Usage Log Processing to apply the new Data Retention settings.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Option 3: Move the database to a Standard or Enterprise edition of SQL Server&lt;/h3&gt;
&lt;p&gt;Standard or Enterprise editions of SQL Server impose a much higher maximum limit to databases. Administrators that have access to one of these editions which requires a license from Microsoft, can &lt;a href="/products/licensing/w/licensing__wiki/24864.migrating-a-license-database-using-sql-server-management-studio" target="_BLANK"&gt;move the license database&lt;/a&gt; and &lt;a href="/products/licensing/w/licensing__wiki/7018.database-setup-tool-configuration-and-explanation-faq" target="_BLANK"&gt;reconfigure the SELECTserver Database Setup utility&lt;/a&gt; to use it in its new location.&lt;/p&gt;
&lt;h3&gt;Option 4: Migrate to Bentley CONNECT SELECTservices&lt;/h3&gt;
&lt;p&gt;Bentley offers a free online licensing solution that eliminates the need to handle database administration issues like this. The following &lt;a href="/products/licensing/w/licensing__wiki/17090.selectserver-online-migration-faq" target="_BLANK"&gt;FAQ&lt;/a&gt; provides more information about this licensing option.&lt;/p&gt;
&lt;p&gt;&lt;img style="border-width:0px;" alt=" " src="http://communities.bentley.com/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" height="60" /&gt;&lt;/p&gt;
&lt;table style="background-color:#dce5f0;border:#dce5f0 0px solid;" border="0"&gt;
&lt;tbody&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;Jeremy Hoesly&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: connect, Nightly Processing, Administration, en, SELECTserver, SELECTsupport&lt;/div&gt;
</description></item><item><title>Unhandled Exception occurred during processing</title><link>https://communities.bentley.com/communities/other_communities/licensing_cloud_and_web_services/w/wiki/26624/unhandled-exception-occurred-during-processing/revision/1</link><pubDate>Sat, 06 Feb 2016 00:18:20 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e1150b03-f7e3-468f-88cb-205d6048fb88</guid><dc:creator>Jeremy Hoesly</dc:creator><comments>https://communities.bentley.com/communities/other_communities/licensing_cloud_and_web_services/w/wiki/26624/unhandled-exception-occurred-during-processing#comments</comments><description>Revision 1 posted to Licensing, Cloud and Web Services Wiki by Jeremy Hoesly on 2/6/2016 12:18:20 AM&lt;br /&gt;
&lt;table style="border-top:#dce5f0 0px solid;border-right:#dce5f0 0px solid;border-bottom:#dce5f0 0px solid;border-left:#dce5f0 0px solid;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&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;SELECTserver&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;N/A&amp;nbsp;&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:&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:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Administration&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:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Nightly Processing&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;Error or Warning Message&lt;/h1&gt;
&lt;p&gt;The Message Center displays the following error message several days in a row for the Usage Log Processing task:&lt;/p&gt;
&lt;p&gt;Unhandled Exception occurred during processing&lt;/p&gt;
&lt;p&gt;Upon examining the SS-UsageLogProcessingService.log file in C:\Program Files\Bentley\SELECTserver\Logs, the following error string is found multiple times:&lt;/p&gt;
&lt;p&gt;ERROR - Shared - &amp;nbsp; System.Data.SqlClient.SqlException (0x80131904): Could not allocate space for object&lt;/p&gt;
&lt;h1&gt;Explanation&lt;/h1&gt;
&lt;p&gt;The license database used by SELECTserver has reached the maximum size permitted by an instance of SQL Server Express. All versions of SELECTserver include an Express edition of Microsoft SQL Server which imposes either a 4 GB (SQL Server 2005) or 10 GB (SQL Server 2008) limit. The error indicates that no further data can be written to the database unless some existing data is removed first.&lt;/p&gt;
&lt;h1&gt;How to Avoid&lt;/h1&gt;
&lt;h3&gt;Option 1: Create a new license database&lt;/h3&gt;
&lt;p&gt;If historical usage data is not needed, the easiest and most straightforward solution is to simply &lt;a href="https://communities.bentley.com/products/licensing/w/licensing__wiki/12237.how-to-create-a-new-license-database" target="_BLANK"&gt;create a new license database&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Option&amp;nbsp;2: Adjust the Data Retention settings&lt;/h3&gt;
&lt;p&gt;For users of SELECTserver 09.00.xx.xxx, a Data Retention setting can be adjusted to remove old usage data&amp;nbsp;and reduce the size of the database. Use the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the SELECTserver administration site.&lt;/li&gt;
&lt;li&gt;Choose Server Settings from the Administration drop-down menu along the top edge.&lt;/li&gt;
&lt;li&gt;Locate the Data Retention setting at the very bottom.&lt;/li&gt;
&lt;li&gt;Ensure that Data Retention is enabled, and adjust the timeframe as needed.&lt;/li&gt;
&lt;li&gt;Choose Manage Services from the Administration drop-down menu along the top edge.&lt;/li&gt;
&lt;li&gt;Locate the SELECTserver Tasks section.&lt;/li&gt;
&lt;li&gt;Click on the Run Now button next to Usage Log Processing to apply the new Data Retention settings.&lt;/li&gt;&lt;/ol&gt;
&lt;h3&gt;Option 3: Move the database to a Standard or Enterprise edition of SQL Server&lt;/h3&gt;
&lt;p&gt;Standard or Enterprise editions of SQL Server impose a much higher maximum limit to databases. Administrators that have access to one of these editions which requires a license from Microsoft, can &lt;a href="https://communities.bentley.com/products/licensing/w/licensing__wiki/24864.migrating-a-license-database-using-sql-server-management-studio" target="_BLANK"&gt;move the license database&lt;/a&gt; and &lt;a href="https://communities.bentley.com/products/licensing/w/licensing__wiki/7018.database-setup-tool-configuration-and-explanation-faq" target="_BLANK"&gt;reconfigure the SELECTserver Database Setup utility&lt;/a&gt; to use it in its new location.&lt;/p&gt;
&lt;h3&gt;Option 4: Migrate to Bentley CONNECT SELECTservices&lt;/h3&gt;
&lt;p&gt;Bentley offers a free online licensing solution that eliminates the need to handle database administration issues like this. The following &lt;a href="https://communities.bentley.com/products/licensing/w/licensing__wiki/17090.selectserver-online-migration-faq" target="_BLANK"&gt;FAQ&lt;/a&gt; provides more information about this licensing option.&lt;/p&gt;&lt;img style="border-left-width:0px;border-right-width:0px;border-bottom-width:0px;border-top-width:0px;" alt=" " src="http://communities.bentley.com/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" height="60" /&gt; 
&lt;table style="border-top:#dce5f0 0px solid;border-right:#dce5f0 0px solid;border-bottom:#dce5f0 0px solid;border-left:#dce5f0 0px solid;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&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;Jeremy Hoesly&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: connect, Nightly Processing, administration, en, SELECTserver, SELECTsupport&lt;/div&gt;
</description></item></channel></rss>