﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>InstantASP Community Forums / Old Forums / InstantKB.NET 1.x  / Configuration error / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>InstantASP Community Forums</description><link>http://community.instantasp.co.uk/</link><webMaster>sales@instantasp.co.uk</webMaster><lastBuildDate>Fri, 09 Jan 2009 10:49:13 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Configuration error</title><link>http://community.instantasp.co.uk/Topic11657-26-1.aspx</link><description>[quote][b]Charles (8/22/2007)[/b][hr]Our system continues to have this problem periodically despite very liberal permissions, and I think it's related to the fact that the website was installed under Plesk (not using a "normal" windows generated iusr account).&lt;P&gt;All other functionality works fine...&lt;/P&gt;&lt;P&gt;Simply opening and saving the file fixes the error instantly (probably forces an app restart) so I've created an ASP classic page that our support techs can run that simply opens and saves the file.&lt;/P&gt;&lt;P&gt;To avoid giving anonymous uses write on the file, I used a com object that can impersonate (ASPUpload). &lt;/P&gt;&lt;P&gt;Outrageously clunky workaround, but it does mean they don't have to call someone with an account on the server.[/quote]&lt;P&gt;You're quite right Charles, Plesk if not absolutely correctly configured can cause problems for all kinds of ASP.net apps, the main problem is the way Plesk handles the IIS Worker Pools and the IUSR accounts for each application. I would reccomend (if your plesk install supports this) to run InstantASP applications in their own dedicated app pool, with a nightly pool recycle scheduled in the application pool settings directly in IIS on that pool. This is not ideal, but less clunky than modifying files to keep things running.&lt;P&gt;Incidentally Plesk issues are amplified if the server is a Virtuozzo VPS.</description><pubDate>Mon, 24 Sep 2007 05:43:31 GMT</pubDate><dc:creator>James Trott</dc:creator></item><item><title>RE: Configuration error</title><link>http://community.instantasp.co.uk/Topic11657-26-1.aspx</link><description>Our system continues to have this problem periodically despite very liberal permissions, and I think it's related to the fact that the website was installed under Plesk (not using a "normal" windows generated iusr account).&lt;/P&gt;&lt;P&gt;All other functionality works fine...&lt;/P&gt;&lt;P&gt;Simply opening and saving the file fixes the error instantly (probably forces an app restart) so I've created an ASP classic page that our support techs can run that simply opens and saves the file.&lt;/P&gt;&lt;P&gt;To avoid giving anonymous uses write on the file, I used a com object that can impersonate (ASPUpload). &lt;/P&gt;&lt;P&gt;Outrageously clunky workaround, but it does mean they don't have to call someone with an account on the server.</description><pubDate>Wed, 22 Aug 2007 03:37:14 GMT</pubDate><dc:creator>Charles</dc:creator></item><item><title>RE: Configuration error</title><link>http://community.instantasp.co.uk/Topic11657-26-1.aspx</link><description>Hi Jaaboo, &lt;BR&gt;This error "can" occur if the virtual directory/application you are hosting the software in is not correctly configured for security, OR experiences an application pool problem/error, in such cases the ASPNET/Network Service accounts may try to perform extra operations to resolve the issue without crash/error, if they do not have the permissions required then the error you are seeing is displayed. I would check through your IIS Setup for the application RE: Security, Re-Apply all filesystem permissions, and extend the ASPNET/Network Service account's permissions, and then test to see if this improves things.&lt;/P&gt;&lt;P&gt;If not, if you wouldnt mind either opening a support ticket, or emailing &lt;a target="_blank" href="mailto:Support@InstantASP.co.uk"&gt;Support@InstantASP.co.uk&lt;/A&gt;, we'll do whatever we can to resolve the issue.</description><pubDate>Fri, 27 Jul 2007 05:16:54 GMT</pubDate><dc:creator>James Trott</dc:creator></item><item><title>RE: Configuration error</title><link>http://community.instantasp.co.uk/Topic11657-26-1.aspx</link><description>Hello,&lt;br&gt;&lt;br&gt;A bit of thread necromancy here, but we also have this problem on our installation of InstantKB.  The permissions are correct and the system works, but it will at random times revert to the error above.  An iisreset will get the system to work again, but I'd like to find a way to completely eliminate these errors.&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you!</description><pubDate>Thu, 26 Jul 2007 11:32:18 GMT</pubDate><dc:creator>jaaboo</dc:creator></item><item><title>RE: Configuration error</title><link>http://community.instantasp.co.uk/Topic11657-26-1.aspx</link><description>I have added all of the permissions, but the error has appeared within the knowledge base again. &lt;/P&gt;&lt;P&gt;The user that is running on my machine is NT AUTHORITY\NETWORK SERVICE.&lt;/P&gt;&lt;P&gt;I will post all of my users, to ensure that my permissions are correct:&lt;/P&gt;&lt;P&gt;Administrators: full control, modify, read &amp;amp; execute, list folder contents, read, write&lt;BR&gt;System: full control, modify, read &amp;amp; execute, list folder contents, read, write&lt;BR&gt;IIS_WPG: read &amp;amp; execute, list folder contents, read&lt;BR&gt;Internet Guest Account: read &amp;amp; execute, list folder contents, read. Deny: write, special permissions&lt;BR&gt;Network Service: modify, read &amp;amp; execute, list folder contents, read, write&lt;BR&gt;Users: read &amp;amp; execute, list folder contents, write.&lt;/P&gt;&lt;P&gt;To enable virtual directory, is the setting within Properties --&amp;gt; Directory Security --&amp;gt; Authentication and access control (select 'Edit...') then check the Enable anonymous access checkbox? If so, it is selected.&lt;/P&gt;&lt;P&gt;My knowledge base is now working again, but I'm not sure if my changes have made it work. I don't want to risk the error appearing when the knowledge base goes live.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Gemma</description><pubDate>Tue, 26 Sep 2006 04:07:29 GMT</pubDate><dc:creator>gemmal</dc:creator></item><item><title>RE: Configuration error</title><link>http://community.instantasp.co.uk/Topic11657-26-1.aspx</link><description>[quote][b]gemmal (9/12/2006)[/b][hr]My knowledge base has been taken over by the configuration error again, so I have been looking through my user permission settings. &lt;P&gt;The only user, which doesn't have read permissions in the Internet Guest Account. Do I have to grant read permissions to this user?&lt;/P&gt;&lt;P&gt;&lt;SPAN id=_ctl1_ctlTopic_ctlPanelBar_ctlTopicsRepeater__ctl2_lblPostSignature&gt;&lt;/SPAN&gt; [/quote]&lt;P&gt;Dear Gemmal,&lt;P&gt;The anonymous internet user account (usually named IUSR_MachineName, where MachineName is the name of the computer you are hosting the application on) needs to have read, read &amp;amp; execute, and list folder contents permissions on the root folder and all items within.  &lt;BR&gt;You must also have the virtual directory configured to allow anonymous access in IIS.  &lt;BR&gt;The ASP.NET worker process account (usually ASPNET or Network Service) need to have the same permissions as the anonymous internet user account.  &lt;BR&gt;It should also have Modify permission to the Attachments folder.&lt;BR&gt;I've attached a test page to this post.  Please place it in your InstantKB application folder and visit it using your browser.  It will tell you what windows user your application is impersonating.  That windows user will need the permissions I have described in a previous post to this ticket.&lt;BR&gt;</description><pubDate>Tue, 12 Sep 2006 14:24:24 GMT</pubDate><dc:creator>Carlos Muniz</dc:creator></item><item><title>RE: Configuration error</title><link>http://community.instantasp.co.uk/Topic11657-26-1.aspx</link><description>My knowledge base has been taken over by the configuration error again, so I have been looking through my user permission settings. &lt;/P&gt;&lt;P&gt;The only user, which doesn't have read permissions in the Internet Guest Account. Do I have to grant read permissions to this user?&lt;/P&gt;&lt;P&gt;&lt;SPAN id=_ctl1_ctlTopic_ctlPanelBar_ctlTopicsRepeater__ctl2_lblPostSignature&gt;&lt;/SPAN&gt; </description><pubDate>Tue, 12 Sep 2006 03:25:19 GMT</pubDate><dc:creator>gemmal</dc:creator></item><item><title>RE: Configuration error</title><link>http://community.instantasp.co.uk/Topic11657-26-1.aspx</link><description>[quote][b]gemmal (8/31/2006)[/b][hr]I am currently have problems with the error message below, taking over my entire knowledge base. It usually takes over the knowledge base for a couple of hours, then goes back to normal. I can't pin-point what is causing it, because it seems to do it for no reason. &lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face=Verdana&gt;&lt;STRONG&gt;&lt;FONT color=#ee0000&gt;Configuration Error!&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/STRONG&gt;The required application setting &lt;B&gt;InstantKB_ShowAdminTab&lt;/B&gt; cannot be found within the InstantKB.config configuration file.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;This setting must exist in the following format:&lt;/B&gt;&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;XMP&gt;&lt;InstantKB&gt;	&lt;ConfigValues&gt;		&lt;Name&gt;InstantKB_ShowAdminTab&lt;/Name&gt;		&lt;Value&gt;[REQUIRES VALUE HERE]&lt;/Value&gt;	&lt;/ConfigValues&gt;&lt;/InstantKB&gt;&lt;/XMP&gt;&lt;/FONT&gt;&lt;P&gt;As for the InstantKB_ShowAdminTab, a value is entered into the InstantKB.config file and that has never been changed either.&lt;/P&gt;&lt;P&gt;Has anyone else come across this error? I haven't been able to find anything else on the forum.&lt;/P&gt;&lt;P&gt;&lt;BR&gt;Gemma[/quote]&lt;P&gt;Dear Gemma,&lt;/P&gt;&lt;P&gt;We've already seen this problem when the ASPNET user did not have read permission to the InstantKB.config.  In this case, granting ASPNET (or whatever windows user your application is using) read permission will fix the problem.   &lt;/P&gt;&lt;P&gt;Another possibility that we've seen is that the InstantKB.config is not in the application root folder or its structure is not invalid.&lt;BR&gt;</description><pubDate>Tue, 05 Sep 2006 10:40:04 GMT</pubDate><dc:creator>Carlos Muniz</dc:creator></item><item><title>Configuration error</title><link>http://community.instantasp.co.uk/Topic11657-26-1.aspx</link><description>I am currently have problems with the error message below, taking over my entire knowledge base. It usually takes over the knowledge base for a couple of hours, then goes back to normal. I can't pin-point what is causing it, because it seems to do it for no reason. &lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face=Verdana&gt;&lt;STRONG&gt;&lt;FONT color=#ee0000&gt;Configuration Error!&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/STRONG&gt;The required application setting &lt;B&gt;InstantKB_ShowAdminTab&lt;/B&gt; cannot be found within the InstantKB.config configuration file.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;This setting must exist in the following format:&lt;/B&gt;&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;XMP&gt;&lt;InstantKB&gt;	&lt;ConfigValues&gt;		&lt;Name&gt;InstantKB_ShowAdminTab&lt;/Name&gt;		&lt;Value&gt;[REQUIRES VALUE HERE]&lt;/Value&gt;	&lt;/ConfigValues&gt;&lt;/InstantKB&gt;&lt;/XMP&gt;&lt;/FONT&gt;&lt;P&gt;As for the InstantKB_ShowAdminTab, a value is entered into the InstantKB.config file and that has never been changed either.&lt;/P&gt;&lt;P&gt;Has anyone else come across this error? I haven't been able to find anything else on the forum.&lt;/P&gt;&lt;P&gt;&lt;BR&gt;Gemma</description><pubDate>Thu, 31 Aug 2006 09:05:14 GMT</pubDate><dc:creator>gemmal</dc:creator></item></channel></rss>