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



asp.net网站上传后无法显示


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


asp.net网站上传后无法显示
发表于:2007-04-02 10:53:09 楼主
上传到万网的服务器后   控件页面无法显示啊     不知道出了什么问题   请各位大侠指点
代码如下:      
  <%@   page   language= "c# "   autoeventwireup= "true "   codefile= "index.aspx.cs "   inherits= "front_index "   %>
<%@   register   tagprefix= "top "   tagname= "top "   src= "top.ascx "   %>
<%@   register   tagprefix= "left "   tagname= "login "   src= "login.ascx "   %>
<%@   register   tagprefix= "left "   tagname= "gonggao "   src= "gonggao.ascx "   %>
<%@   register   tagprefix= "right "   tagname= "brand "   src= "brand.ascx "   %>
<%@   register   tagprefix= "middle "   tagname= "recommend "   src= "recommend.ascx "   %>
<%@   register   tagprefix= "middle "   tagname= "weather "   src= "weather.ascx "   %>
<%@   register   tagprefix= "middle "   tagname= "research "   src= "research.ascx "   %>
<%@   register   tagprefix= "left "   tagname= "link "   src= "link.ascx "   %>
<%@   register   tagprefix= "bottom "   tagname= "down "   src= "bottom.ascx "   %>
<%@   register     tagprefix= "daohang "   tagname= "dh "     src= "~/top.ascx "   %>    
........
........
  <div       style= "   width:950   "   >
              <div   style= "z-index:   102;   left:   252px;   width:   948px;   position:   absolute;   top:   -4px;
                      height:   25px ">
        <daohang:dh   id= "daohang "     runat=server   />
              </div>
发表于:2007-04-02 10:56:281楼 得分:0
具体报什么错?
发表于:2007-04-02 10:58:442楼 得分:0
万网不能使用global.asa   你用了没有?
发表于:2007-04-02 22:08:453楼 得分:0
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------

运行时错误  
说明:   服务器上出现应用程序错误。此应用程序的当前自定义错误设置禁止远程查看应用程序错误的详细信息(出于安全原因)。但可以通过在本地服务器计算机上运行的浏览器查看。  

详细信息:   若要使他人能够在远程计算机上查看此特定错误信息的详细信息,请在位于当前   web   应用程序根目录下的“web.config”配置文件中创建一个   <customerrors>   标记。然后应将此   <customerrors>   标记的“mode”属性设置为“off”。


<!--   web.config   配置文件   -->

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

注释:   通过修改应用程序的   <customerrors>   配置标记的“defaultredirect”属性,使之指向自定义错误页的   url,可以用自定义错误页替换所看到的当前错误页。


<!--   web.config   配置文件   -->

<configuration>
        <system.web>
                <customerrors   mode= "remoteonly "   defaultredirect= "mycustompage.htm "/>
        </system.web>
</configuration>
 
发表于:2007-04-02 22:16:484楼 得分:0
你的.net是2.0的,   空间提供商的是不是1.1的.

这么重要的问题你考虑了没有?
发表于:2007-04-02 22:20:365楼 得分:0
你没有说出异常源,你提供的资料无法解决你的问题


快速检索

最新资讯
热门点击