InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


Production server Expand / Collapse
Author
Message
Posted 06/04/2005 11:06:13
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 30/03/2005 08:53:00
Posts: 1, Visits: 1

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. 

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.

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. 

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 "ExceptionLog.config" file.  This file does not exist in the logging folder.

 

Object reference not set to an instance of an object.

Description: 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.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

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.

Stack Trace:

[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

Post #5268
Posted 06/04/2005 11:12:04


Support Supremo

Support SupremoSupport SupremoSupport SupremoSupport SupremoSupport SupremoSupport SupremoSupport SupremoSupport Supremo

Group: Customers
Last Login: 13/11/2008 12:44:07
Posts: 568, Visits: 2,507

Dear WellerEE,

I would like to suggest you to try adding the key below to your web.config:

<pages autoEventWireup="true" enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" />

 

Post #5340
« Prev Topic | Next Topic »

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 9:05pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.031. 10 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.