web store

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/27/2008 1:49:15 AM
Gravatar
Total Posts 9

web store

Hi,I 've got a problem .Please help me .
 

2008-09-27 14:36:51,593 [1032] ERROR mojoPortal.Web.mojoBasePage [(null)] - 127.0.0.1-zh-CN - /WebStore/AdminStoreSettings.aspx?pageid=-1&mid=3
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 WebStore.UI.AdminStoreSettingsPage.LoadSettings()
在 WebStore.UI.AdminStoreSettingsPage.Page_Load(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) 位置 E:\Chandler\MojoPortal\truck\mojoportal\Web\Components\mojoBasePage.cs:行号 287
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2008-09-27 14:36:51,625 [1032] ERROR mojoPortal.Web.Global [(null)] - 127.0.0.1-zh-CN - /WebStore/AdminStoreSettings.aspx?pageid=-1&mid=3
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 WebStore.UI.AdminStoreSettingsPage.LoadSettings()
在 WebStore.UI.AdminStoreSettingsPage.Page_Load(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) 位置 E:\Chandler\MojoPortal\truck\mojoportal\Web\Components\mojoBasePage.cs:行号 287
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2008-09-27 14:36:51,625 [1032] ERROR mojoPortal.Web.Global [(null)] - 127.0.0.1-zh-CN - /WebStore/AdminStoreSettings.aspx?pageid=-1&mid=3
System.Web.HttpUnhandledException: 引发类型为“System.Web.HttpUnhandledException”的异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 WebStore.UI.AdminStoreSettingsPage.LoadSettings()
在 WebStore.UI.AdminStoreSettingsPage.Page_Load(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) 位置 E:\Chandler\MojoPortal\truck\mojoportal\Web\Components\mojoBasePage.cs:行号 287
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- 内部异常堆栈跟踪的结尾 ---
在 System.Web.UI.Page.HandleError(Exception e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
在 System.Web.UI.Page.ProcessRequest()
在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
在 System.Web.UI.Page.ProcessRequest(HttpContext context)
在 ASP.webstore_adminstoresettings_aspx.ProcessRequest(HttpContext context) 位置 c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\faa910f5\2355ccab\App_Web_faycsk-o.6.cs:行号 0
在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 

9/27/2008 1:05:16 PM
Gravatar
Total Posts 18439

Re: web store

If you provide steps to produce this error I will look into it.

The WebStore feature should be considered experimental, though I am using it and I am not getting this error.

Best,

Joe

9/27/2008 7:41:39 PM
Gravatar
Total Posts 9

Re: web store

Thanks for your response

I have downloaded the latest codes from svn,installation  is ok,then I create a webstore ,it shows "Sorry, this store is currently closed. "and when I chick Store Manager-- Store Settings, this error happened.

 

异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。

源错误:


行 285: protected override void OnLoad(EventArgs e)
行 286: {
行 287: base.OnLoad(e);
行 288: if (
行 289: (Request.IsAuthenticated)
 

源文件: E:\Chandler\MojoPortal\truck\mojoportal\Web\Components\mojoBasePage.cs 行: 287

9/29/2008 6:37:21 AM
Gravatar
Total Posts 18439

Re: web store

I cannot reproduce this error. Perhaps related to configuration or environment on your machine. Is your machine up to date on all service paks and windows updates?

Since you are using source code why don't you set a break point and step through the code and find out exactly what is null. I would set a break point in AdminStoreSettings.aspx.cs and/or in mojoBasePage.cs

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.