产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

【【求教】Server Error in '/' Application。SELECT 子... [复制链接]

1#
网站地址:[url]www.futak.cn[/url]
原先好好的,突然就打不开了。提示如下:
Server Error in '/' Application.

SELECT 子句中包含一个保留字、拼写错误或丢失的参数,或标点符号不正确。

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.Data.OleDb.OleDbException: SELECT 子句中包含一个保留字、拼写错误或丢失的参数,或标点符号不正确。

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

还有很长一部分的“Stack Trace”刚复制了帖子提示发不出,麻烦登网站帮我看看好吗。。这方面完全不懂呢。。。求救求救。。。网站地址:[url]www.futak.cn[/url]
分享 转发
TOP
2#

你改了模型代码后出现的错误对吧?这个要进后台才能帮你看的。或者你把模型代码发出来。
TOP
3#

[b]回复 [url=http://bbs.pageadmin.net/showtopic-30779.aspx#121054]2楼[color=olive]scstjcy[/color]的帖子[/url][/b]

嗯嗯应该是,,,谢谢亲回复。。
@import url(/e/css/comm.css);


/*网站基础样式*/
body,div,ul,li,dl,dd,table,p,h1,form,legend,fieldset,input button,select,textarea,button{margin:0px;padding:0px;font-family:inherit;font-size:inherit;}
table{border-collapse:collapse}
ul,li{list-style:none;}
a{color333333;text-decoration:none;}
a:hover{text-decoration:underline;}

body{word-wrap:break-word;text-align:center;font:12px/1.6em Verdana,Helvetica,Arial,sans-serif;color333333;}
.page_style{width:1000px;margin:1px;text-align:center;background:url(/e/upload/s1/fck/image/2014-11/7.jpg);overflow:hidden;}
.left{float:left}
.right{float:right}
.clear{display:block;clear:both;font-size:0px;height:0px;line-height:0px;width:0px;margin:0 0 0 0;padding:0 0 0 0;overflow:hidden}

/*menu样式*/
.menu_box{clear:both;border:0 solid #cccccc;}
.menu_box_logo{float:left;text-align:left;padding:0px 0 0px 0}
.menu_box_top{float:right;text-align:right;padding:5px 0 5px 0}
.menu_box_lanmu{text-align:left;height:35px;background:url(images/menu_bg.gif) repeat 0 0;border:0 solid #dddddd;border-width:0 1px 0 1px;}

.menu_style_first{float:left;width:100px;text-align:center;padding:9px 0 0 0;}
.menu_style{float:left;width:100px;text-align:center;padding:9px 0 0 0;background:url(images/menu_style.gif) no-repeat left top;}

a.menunk{color333333;text-decoration: none;font-weight:normal;}
a.menu:visited {color333333;text-decoration:none;font-weight:normal;}
a.menu:hover {color333333;text-decoration:underline;font-weight:normal;}

a.menu_current{color333333;text-decoration:none;font-weight:bold;}

/*banner样式*/
.banner{clear:both;padding:0 0 0 0;margin:2px 0 0 0;}
.smallbanner{clear:both;padding: 0 0 0 0;margin:0 0 0px 0;text-align:left}

/*栏目布局样式*/

.lanmu_box{clear:both;margin:5px 0 0 0;height:100%;overflow:hidden;}

.lanmu_box_style1{clear:both;margin:5px 0 0 0;height:100%;overflow:hidden;background:url(images/lanmu_nav_bg.gif) repeat-y left top;}
.lanmu_box_style1_left{float:left;width:210px;margin:0 10px 0 0;overflow:hidden;text-align:left;border:0 solid #cccccc;border-width:1px 0 0 0;}
.lanmu_box_style1_right{float:right;width:680px;margin:0 0 0 0;overflow:hidden;text-align:left;}

.lanmu_box_style2{clear:both;margin:5px 0 0 0;overflow:hidden;height:100%;overflow:hidden;background:url(images/lanmu_nav_bg.gif) repeat-y right top;}
.lanmu_box_style2_left{float:left;width:680px;margin:0 10px 0 0;overflow:hidden;text-align:left;}
.lanmu_box_style2_right{float:right;width:210px;margin:0 0 0 0;padding:0 0 0 0;overflow:hidden;text-align:left;border:0 solid #cccccc;border-width:1px 0 0 0;}


.lanmu_box_style3{clear:both;margin:5px 0 0 0;height:100%;overflow:hidden;background:url(images/lanmu_nav_bg.gif) repeat-y left top;}
.lanmu_box_style3_left{float:left;width:210px;margin:0 10px 0 0;overflow:hidden;text-align:left;border:0 solid #cccccc;border-width:1px 0 0 0;}
.lanmu_box_style3_middle{float:left;width:460px;margin:0 0 0 0;overflow:hidden;text-align:left;}
.lanmu_box_style3_right{float:right;width:210px;margin:0 0 0 10px;overflow:hidden;text-align:left;}


/*栏目导航样式*/
.nav_box{clear:both;width:100%;margin:0 0 10px 0;overflow:hidden;}
.nav_sign{float:left;text-align:left;padding:5px 0 0 25px;}
.nav_more{float:right;font-weight:normal;paddingpx 10px 0 10px;margin:0 0 0 0;}
.nav_more a{font-size:10px;line-height:15px}
.nav_title{font-weight:bold;border:0 solid #cccccc;border-width:0 0 0 0;height:25px;text-align:left;color333333;background:url(images/nav_title_bg.gif) no-repeat 0 0;overflow:hidden;cursor:pointer;}
.nav_header{text-align:left;padding:0 0 0 0;margin:0 0 0 0}

.nav_content{margin:0 0 0 0;padding:5px 5px 5px 10px;border:0px solid #cccccc;text-align:left;}

.nav_menu{margin:0 0 0 0;padding:5px 5px 5px 10px;text-align:left;}

.nav_menu ul li{clear:both;text-align:left;padding:0 0 0 10px;}
.nav_menu ul li a{line-height:25px;font-size:13px}
.nav_menu ul li a.current{colorcc0000;}

.nav_menu ul li ul li{text-align:left;background-image:none;padding:0 0 0 0;}
.nav_menu ul li ul li a{line-height:20px;font-size:12px}
.nav_menu ul li ul li a.current{colorcc0000}

.nav_menu ul li ul li ul{padding:0 0 0 15px;}
.nav_menu ul li ul li span.node{float:left;height:20px;width:15px;cursor:pointer;background:url(images/node_open.gif) no-repeat 0 center;}
.nav_menu ul li ul li span.node_close{float:left;height:20px;width:15px;cursor:pointer;background:url(images/node_close.gif) no-repeat 0 center;}
.nav_menu ul li ul li span{float:left;height:20px;width:15px;background:url(images/subnav.gif) no-repeat 0 center;}

/*模块布局样式*/
.module_box{clear:both;margin:0 0 5px 0;border:0 solid #cccccc;overflow:hidden;}                 /*模块整行布局样式*/
.module_box_layout_left{float:left;margin:0 0 5px 0;border:0 solid #cccccc;overflow:hidden;}  /*模块左布局样式*/
.module_box_layout_right{float:none!important;float:right;margin:0 0 5px 0;border:0 solid #cccccc;overflow:hidden;}   /*模块右布局样式*/

.module_box_1{clear:both;text-align:center;padding:5px 0 5px 0;border:0px solid #cccccc;overflow:hidden;height:100%;}/*整行内容样式*/
.module_box_1_layout_left{clear:both;text-align:center;margin:0 10px 0 0;padding:5px 0 5px 0;border:0px solid #cccccc;overflow:hidden;height:100%;} /*左模块内容样式*/
.module_box_1_layout_right{clear:both;text-align:center;margin:0 0 0 0;padding:5px 0 5px 0;border:0px solid #cccccc;overflow:hidden;height:100%;} /*右模块内容样式*/

.module_title{margin:0 0 0 0;height:25px;text-align:left;border:0 solid #cccccc;border-width:0 0 1px 0;background:url(images/template_title_bg.gif) no-repeat 5px 8px;}
.module_title_layout_left{clear:both;margin:0 10px 0 0;height:25px;text-align:left;border:0 solid #cccccc;border-width:0 0 1px 0;background:url(images/template_title_bg.gif) no-repeat 5px 8px;}
.module_title_layout_right{clear:both;margin:0 0 0 0;height:25px;text-align:left;border:0 solid #cccccc;border-width:0 0 1px 0;background:url(images/template_title_bg.gif) no-repeat 5px 8px;}

.module_sign{float:left;text-align:left;padding:5px 0 0 24px;font-weight:bold}
.module_more{float:right;font-weight:normal;paddingpx 10px 0 10px;margin:0 0 0 0;}
.module_more a{font-size:10px;line-height:15px}
.module_header{text-align:left;padding:0 0 0 0;margin:0 0 0 0}

.module_content{margin:0 0 0 0;padding:0 10px 0 10px;text-align:left;}

.module_footer{clear:both;height:1px;overflow:hidden;background-colorcccccc;display:none}
.module_footer .l{float:left;}
.module_footer .r{float:right}

/*栏目内容样式*/
#lanmupage .current_location{display:none}
.current_location{clear:both;border:1px solid #cccccc;border-width:0 0 1px 0;text-align:left;height:25px;}
.current_location_1{float:left;padding:5px 0 0 5px;}
.current_location_2{float:right;display:none}

.sublanmu_box{text-align:left;padding-bottom:10px;}
.sublanmu_content{text-align:left;padding:10px 0 0 0;}
.sublanmu_page{clear:both;text-align:center;margin:15px 0 10px 0;font-size:12px;font-family:宋体;}
.sublanmu_page a{vertical-aligniddle;zoom:1;height:15px;line-height:15px;padding:2px 8px 2px 8px;border:1px solid #cccccc;}
.sublanmu_page a.c{border:0px solid #cccccc;border-color999999;font-weight:bold;padding:0 2px 0 2px;}

#Content{line-height:180%}
.sublanmu_pn{font-size:13px;margin:15px 0 5px 0}
.sublanmu_pn li{colorD33506}

/*评论*/
.comments_box{text-align:left;border:1px solid #cccccc;margin:10px 5px 10px 10px;}
.comments_box .title{padding:2px 0 0 10px;height:20px;font-weight:bold;background-colorececec}
.comments_box ul li{padding:5px 0 5px 25px;}
.comments_box .textarea{width:520px;height:100px;border:1px solid #cccccc;border-color000000 #cccccc #cccccc #000000;}

.comments_list{padding:5px 5px 0 10px;border:0px solid #cccccc;overflow:hidden}
.comments_list .title{display:block;padding:2px 0 3px 5px;height:18px;width:100%;font-weight:bold;}
.comments_list .item{clear:both;margin:0 0 10px 0;overflow:hidden}
.comments_list .header{padding:3px 0 0 10px;height:22px;background-coloreeeeee}
.comments_list .header .floornum{font-size:12px;font-style:Italic;font-weight:bold}
.comments_list .header .left{float:left}
.comments_list .header .right{float:right;padding-right:10px}
.comments_list .quote{display:block;color999999;padding:5px 5px 5px 10px;border:1px solid #ececec}
.comments_list .content{padding:5px 5px 5px 15px}
.comments_list .reply{background:url(public/reply.gif) no-repeat 5px 5px;border:1px dashed #cccccc;padding:2px 5px 2px 25px;margin:2px 0 5px 0;colorD33506}

.comments_page{clear:both;vertical-aligniddle;text-align:right;background-colorffffff;margin:10px 0 10px 0;font-family:宋体;}
.comments_page a{height:15px;line-height:15px;vertical-aligniddle;zoom:1;padding:2px 8px 2px 8px;border:1px solid #cccccc;font-size:12px}
.comments_page span{vertical-aligniddle;padding:2px 3px 2px 3px;font-weight:bold;font-size:12px}

/*bottom样式*/
.bottom_box{clear:both;padding:0 0 0 0;border:0 solid #666666;margin:0 0 5px 0;text-align:left;width:100%}


/*幻灯片样式*/
.slide_box{position:relative;}
.slide_item{position:absolute;bottom:0px;right:0px;}
.slide_item li{float:left;width:22px;height:16px;overflow:hidden;background:url(public/f_off.gif) no-repeat;cursor:pointer;colorfff;text-align:center;font-family:Arial;font-size:11px}
.slide_item li.current{background-image:url(public/f_on.gif)}
.slide_image{border:0 solid #cccccc;}
a.slide_title{font-weight:bold;margin:3px 0 2px 0;}


/*登陆界面*/
.loginbox_item{height:20px;padding:0 0 0 0;padding:0 5px 5px 0;text-align:left;font-size:9pt;}
.loginbox_textbox{width:100px;height:15px;border:0 solid #CCCCCC;border-width:1px 1px 1px 1px}
.loginbox_textbox_yzm{width:40px;height:15px;border:0 solid #CCCCCC;border-width:1px 1px 1px 1px}
.loginbox_submit{width:60px;height:20px;border:0 solid #333333;border-width:0 1px 1px 0;background-colordddddd;cursor:pointer;}
a.logined_hrefnk{font-size:9pt;colorFF0000;text-decoration:underline}
a.logined_href:visited{font-size:9pt;colorFF0000;;text-decoration:underline}
a.logined_href:hover{font-size:9pt;colorFF0000;text-decoration:underline}


/*其他样式*/
.textarea{border:1px solid #cccccc;border-color000000 #cccccc #cccccc #000000;}
.button{width:55px;font-size:9pt;height:19px;cursor:pointer;background-image:url(public/button.gif);background-position: center center;border-top: 0px outset #eeeeee;border-right: 0px outset #888888;border-bottom: 0px outset #888888;border-left: 0px outset #eeeeee;padding-top: 2px;background-repeat: repeat-x;}
.tb{border:1px solid #cccccc;border-color000000 #cccccc #cccccc #000000;}
.bt{height:22px;width:70px;font-size:9pt;background-image:url(public/bt.gif);padding-top:2px;cursor:pointer;border-width:0px;}
TOP
4#

。。。有的自己变表情了。。晕。。。。。
TOP
5#

拜托,这个是css样式文件,不关他们的事情。是你改模型代码的时候产生的错误,sql语句有误。
TOP
6#

[b]回复 [url=http://bbs.pageadmin.net/showtopic.aspx?forumpage=1&topicid=30779&page=end&jump=pid#121059]5楼[color=olive]scstjcy[/color]的帖子[/url][/b]

不好意思噢不懂模型代码在哪看呢。。。亲可以加一下您QQ吗。。。
TOP
7#

我的qq732364265。
TOP
8#

[b]回复 [url=http://bbs.pageadmin.net/showtopic.aspx?forumpage=1&topicid=30779&page=end&jump=pid#121062]7楼[color=olive]scstjcy[/color]的帖子[/url][/b]

加了噢,麻烦亲通过验证一下。。谢谢。。
TOP
发新话题 回复该主题