﻿<?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 / Installation / Update  / Production server / 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:45:44 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Production server</title><link>http://community.instantasp.co.uk/Topic5268-25-1.aspx</link><description>&lt;P&gt;Dear WellerEE,&lt;/P&gt;&lt;P&gt;I would like to suggest you to try adding the key below to your web.config:&lt;/P&gt;&lt;P&gt;&amp;lt;pages autoEventWireup="true" enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" /&amp;gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Wed, 06 Apr 2005 11:12:04 GMT</pubDate><dc:creator>Carlos Muniz</dc:creator></item><item><title>Production server</title><link>http://community.instantasp.co.uk/Topic5268-25-1.aspx</link><description>&lt;P&gt;I configured everything on my test servers to make sure I understood how everything worked.  Everything worked like a champ right after a little tweaking of the security.  &lt;/P&gt;&lt;P&gt;I then copied it out to our production server.  I set the web.config file to use impersonation and I used the aspnet_setreg utility to place the encrypted username and password in the registry.  Everything worked like a charm to a point.&lt;/P&gt;&lt;P&gt;It seems like the admin pages do not work properly.  I can login with the admin user but when I select an administrator to edit,  I get the error listed below.  The test server displays the user /editadministrator.aspx without the error.  &lt;/P&gt;&lt;P&gt;&lt;FONT size=1&gt;&lt;EM&gt;SIDE NOTE: The only way to actual see the error is by viewing the pages on the server via localhost.  When viewed via our true URL, an error page is displayed that says to check the "&lt;STRONG&gt;ExceptionLog.config"&lt;/STRONG&gt; file.  This file does not exist in the logging folder. &lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt; &lt;/P&gt;&lt;H2&gt;&lt;EM&gt;Object reference not set to an instance of an object.&lt;/EM&gt; &lt;/H2&gt;&lt;P&gt;&lt;FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Description: &lt;/FONT&gt;&lt;/B&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Exception Details: &lt;/FONT&gt;&lt;/B&gt;System.NullReferenceException: Object reference not set to an instance of an object.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Source Error:&lt;/FONT&gt;&lt;/B&gt; &lt;BR&gt;&lt;BR&gt;&lt;TABLE width="100%" bgColor=#ffffcc&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;CODE&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/CODE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Stack Trace:&lt;/FONT&gt;&lt;/B&gt; &lt;BR&gt;&lt;BR&gt;&lt;TABLE width="100%" bgColor=#ffffcc&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;CODE&gt;&lt;PRE&gt;[NullReferenceException: Object reference not set to an instance of an object.]   InstantKB.InstantKB_AdminManageAdministrators.BindData() +219   InstantKB.InstantKB_AdminManageAdministrators.Page_Load(Object sender, EventArgs e) +210   System.Web.UI.Control.OnLoad(EventArgs e) +67   System.Web.UI.Control.LoadRecursive() +35   System.Web.UI.Page.ProcessRequestMain() +731&lt;/PRE&gt;&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/FONT&gt;&lt;/P&gt;</description><pubDate>Wed, 06 Apr 2005 11:06:13 GMT</pubDate><dc:creator>WellerEE</dc:creator></item></channel></rss>