<?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>"Startup main error location: 21 ... object variable or with block variable not set" on opening gINT</title><link>https://communities.bentley.com/products/geotechnical1/w/wiki/21674/startup-main-error-location-21-object-variable-or-with-block-variable-not-set-on-opening-gint</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>"Startup main error location: 21 ... object variable or with block variable not set" on opening gINT</title><link>https://communities.bentley.com/products/geotechnical1/w/wiki/21674/startup-main-error-location-21-object-variable-or-with-block-variable-not-set-on-opening-gint</link><pubDate>Fri, 29 May 2015 15:50:01 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7baa7db6-3e37-445f-bdcf-f10e58ce5dc2</guid><dc:creator>Kathleen Holcomb</dc:creator><comments>https://communities.bentley.com/products/geotechnical1/w/wiki/21674/startup-main-error-location-21-object-variable-or-with-block-variable-not-set-on-opening-gint#comments</comments><description>Current Revision posted to gINT | Keynetix Wiki by Kathleen Holcomb on 5/29/2015 3:50:01 PM&lt;br /&gt;
&lt;div class="content-scrollable-wrapper"&gt;
&lt;p style="padding:0;margin:0;"&gt;&lt;/p&gt;
&lt;table border="0" align="left"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&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&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&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&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&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&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;gINT Logs, gINT&amp;nbsp;Professional, gINT Professional Plus&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;8.2 and older&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&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&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Area:&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&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&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&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Kathleen Holcomb, Bentley Technical Support Group&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&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;/tbody&gt;
&lt;/table&gt;
&lt;p style="padding:0;margin:0;"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&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;h1&gt;Error or Warning Message&lt;/h1&gt;
&lt;p&gt;&lt;code&gt;&amp;quot;Startup main error location: 21&lt;br /&gt;number: 91&lt;br /&gt;Description: object variable or with block variable not set&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;h1&gt;Explanation&lt;/h1&gt;
&lt;p&gt;This is almost always a permissions problem.&lt;/p&gt;
&lt;h1&gt;How to Avoid&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;Sometimes the user settings file goes bad. Do a search of the C drive for the setup.gsh file. Rename to setup.bak. Try to open gINT. If this is the problem, gINT will open and create a new setup.gsh. If it doesn&amp;#39;t, rename it back to setup.gsh.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you can, upgrade gINT. This has been fixed in 8.3 V8i releases (SS1) or newer.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you cannot upgrade, grant user full control to the 2 folders where gINT is installed. &amp;nbsp;User will need full control for all the sub-folders, except for the BIN folder. The path will vary, depending on the build of gINT and the operating system.&lt;/p&gt;
&lt;p&gt;The first folder will be found in one of these places:&lt;/p&gt;
&lt;p style="margin-left:30px;"&gt;&lt;code&gt;C:\Program Files\Bentley\gINT or&amp;nbsp;&lt;code&gt;C:\Program Files (x86)\Bentley\gINT or&amp;nbsp;&lt;/code&gt;&lt;code&gt;C:\Program Files\gINT or&amp;nbsp;&lt;/code&gt;&lt;code&gt;C:\Program Files (x86)\gINT&lt;/code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This is the second place users need full control:&lt;/p&gt;
&lt;p style="margin-left:30px;"&gt;&lt;code&gt;C:\Program Files\Common Files\gINT Software or&amp;nbsp;&lt;/code&gt;&lt;code&gt;C:\Program Files (x86)\Common Files\gINT Software&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>