您的位置:程序门 -> .net技术 -> asp.net



server error in "/" application.


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


server error in '/' application.
发表于:2007-04-18 09:52:02 楼主
server   error   in   '/ '   application.
--------------------------------------------------------------------------------

the   resource   cannot   be   found.  
description:   http   404.   the   resource   you   are   looking   for   (or   one   of   its   dependencies)   could   have   been   removed,   had   its   name   changed,   or   is   temporarily   unavailable.     please   review   the   following   url   and   make   sure   that   it   is   spelled   correctly.  

requested   url:   /index.aspx
  在本地运行好好的   放到服务器上就出现上面的错误.请问是什么问题?如何解决?谢谢了
发表于:2007-04-18 09:53:271楼 得分:0
好像是你要访问的页面不存在!!检查一下!!
发表于:2007-04-18 11:08:012楼 得分:0
加入.net权限或iis权限,在程序根目录下
发表于:2007-04-18 11:12:413楼 得分:0
这样看根本检查不出来。
发表于:2007-04-18 11:17:294楼 得分:0
文件系统权限问题
发表于:2007-04-18 13:07:105楼 得分:0
上面的问题已经解决   是没有文件.
可是又有新问题   就是有的页面能打开   有的就不能打开   出现的错误是
server   error   in   '/ '   application.
--------------------------------------------------------------------------------

runtime   error  
description:   an   application   error   occurred   on   the   server.   the   current   custom   error   settings   for   this   application   prevent   the   details   of   the   application   error   from   being   viewed   remotely   (for   security   reasons).   it   could,   however,   be   viewed   by   browsers   running   on   the   local   server   machine.  

details:   to   enable   the   details   of   this   specific   error   message   to   be   viewable   on   remote   machines,   please   create   a   <customerrors>   tag   within   a   "web.config "   configuration   file   located   in   the   root   directory   of   the   current   web   application.   this   <customerrors>   tag   should   then   have   its   "mode "   attribute   set   to   "off ".


<!--   web.config   configuration   file   -->

<configuration>
        <system.web>
                <customerrors   mode= "off "/>
        </system.web>
</configuration>
 

notes:   the   current   error   page   you   are   seeing   can   be   replaced   by   a   custom   error   page   by   modifying   the   "defaultredirect "   attribute   of   the   application 's   <customerrors>   configuration   tag   to   point   to   a   custom   error   page   url.


<!--   web.config   configuration   file   -->

<configuration>
        <system.web>
                <customerrors   mode= "remoteonly "   defaultredirect= "mycustompage.htm "/>
        </system.web>
</configuration>
 
也可以访问http://hwj99.com
发表于:2007-04-18 13:13:316楼 得分:0
加.net权限或iis权限 你有没有指向主机头(也就是域名)
发表于:2007-04-18 13:20:117楼 得分:0
楼上的   请问怎么加iis权限   为什么有的页面能访问   有的就不能访问出错呢?能不能说的再明白点?谢谢了!!!!
发表于:2007-04-18 14:42:188楼 得分:0
没人知道吗?


快速检索

最新资讯
热门点击