Error: System.NullReferenceException
Thanks for writing this nice DNN programming book. I was surprised that I didn't spend a lot time and was able to create, complie, and run the example GuestbookCS on my local workstation. It works great. I was about to show this to my manager. Anyway, I went to a coworker's workstation, and typed in the link. Oops, IE gave me the following error. I had no problem to test my other ASP.NET applications from his workstation. Am I missing something here? Do I need to change settings on web.config? Any suggestion will be greatly appreciated.
Thanks.
Luke
************ Start Error info *****************
Server Error in '/DotNetNuke' Application.
--------------------------------------------------------------------------------
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.]
DotNetNuke.Entities.Portals.PortalSettings..ctor(I nt32 tabID, PortalAliasInfo objPortalAliasInfo) +48
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginReq uest(Object s, EventArgs e) +2969
System.Web.SyncEventExecutionStep.System.Web.HttpA pplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +75
|