产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

pageadmin一定要安装在根目录下面么? [复制链接]

1#
pageadmin安装在子目录下面,会出现以下状况。
请问一定要安装在根目录下面么?
Server Error in '/design' 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.]
   PageAdmin.Install.Next_1(Object src, EventArgs e) +83
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
分享 转发
TOP
2#

是的,asp.net开发的网站必须在跟目录下
TOP
3#

回复 2# xiyou 的帖子

哦,谢谢!
TOP
4#

我的也是这样请帮忙解决 谢谢
!!!
Server Error in '/sg' 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.]
   PageAdmin.Conn.Constr() +25
   PageAdmin.lanmu.Page_Load(Object sender, EventArgs e) +492
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +45
   System.Web.UI.Control.OnLoad(EventArgs e) +98
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4310




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
TOP
5#

我的也是这个问题啊.我有一个服务器,在iis的默认网站下建立了一个虚拟目录作为我的网站,不在根目录啊,安装时第一步不行,然后点击"安装pageadmin网站管理系统"出现了这样的问题.
TOP
6#

哈哈,都是同样的问题呀!PA不能虚拟目录,只能在根目录下运行。
TOP
发新话题 回复该主题