域名为:http://www.haoweishiye.com,
用的是vs2008 开发的,连接数据库为虚拟主机上的mysql数据库
发布上去,现在打开首页就报错,显示是web.config配置出错。
不清楚是什么原因?
我在本地发布的时候都是正常的。
求解答!谢谢了
用的是vs2008 开发的,连接数据库为虚拟主机上的mysql数据库
发布上去,现在打开首页就报错,显示是web.config配置出错。
不清楚是什么原因?
我在本地发布的时候都是正常的。
求解答!谢谢了
解决方案 »
- asp.net网站管理工具创建用户后如何修改密码?
- 我sqlserver2005中的存储过程被加锁了,如何才能修改其中的语句
- 调用复合控件中的子控件
- HttpWebRequest 问题
- 请教asp/asp.net 实现两个数据库中的两个表合并的问题。
- 求救!!!!!!在线等急!!!!拜托了!!!!
- 一个SQL语句的问题?
- xtrareports 导出pdf文件中文显示乱码
- 请大家看看这个错误日志
- 用asp.net将网页输入项保存
- 事务(进程 ID 109)与另一个进程被死锁在 锁 _ 通信缓冲区 资源上,并且已被选作死锁牺牲品。请重新运行该事务.
- DataTable 数据和图片导出 急 急 急
web.config 种的数据库连接字符串要配置到服务器的IP地址
<link href="http://www.haoweishiye.com/css/layout.css" rel="stylesheet" type="text/css" />
CSS引用都已经这样写了 还会出错?
一般不会的,虚拟主机就是放网站的,如果连css都不能正确解析,那谁还用啊。
一般情况下,都是自己的问题
使用IE6.0就会出现兼容性问题
使用IE8.0或者FireFox就能正常显示了,怎样同时兼容IE6.0 IE8.0 FireFox?
有高手能帮我CSS改一下吗?
使它能同时兼容IE8.0和IE6.0@charset "utf-8";
body { font-family:Verdana;
font-size:12px; /*documentС*/
margin:0;
line-height:150%;}#container {margin:0 auto;
width:950px;}
#header { height:150px;
background:#6cf;
margin-bottom:5px;}
#menu {
}
.menu{
height:30px;
margin-bottom:5px;
background-image : url(../images/header_bg.gif);
background-repeat : repeat-x;
color : #ffffff;
text-align:center;
line-height:30px;
overflow:hidden;
align:center;
width:950px;
height:30px;
font-size:13px;
font-weight:700;
padding:0px;
margin:0px;
position:relative;
z-index:99;
}
.menu ul ul {visibility:hidden;position:absolute;left:3px;top:23px; z-index:100;}
.menu table {position:absolute; top:0; left:0; z-index:100;}
.menu ul li:hover ul,.nav ul a:hover ul{visibility:visible;}
.menu ul{ padding:0px; margin:0px;list-style-type:none;}
.menu a{ color:#333; text-decoration:none; display:block;}
.menu a:hover{ color:#360; text-decoration:none;}
.one{
width:135px;
height:35px;
line-height:35px;
padding-bottom:2px;
text-align:center;
color:#fff;
float:left;
}.one a{
color:#fff;
}
.one a:hover{
color:#333;
text-decoration:none;
}
#mainContent {}
.sidebar { float:left;
width:220px;
margin-bottom:5px;
border:0px solid #6699cc;
}
.sidebar_Border{
border: 1px solid #6699cc;
margin:0 auto;
}.adminsidebar { float:left;
width:150px;
margin-bottom:5px;
border:0px solid #6699cc;
}
.adminsidebar_Border{
border: 1px solid #6699cc;
margin:0 auto;
}
.content { float:right;
width:720px;
background:#cff;
margin:0 auto;
margin-bottom:5px;
margin:0 auto;
border:1px solid #6699cc;
}/*Ϊǹ̶ȣҸЧie 3bug*/
.admincontent { float:right;
width:780px;
background:#cff;
margin:0 auto;
margin-bottom:5px;
margin:0 auto;
border:1px solid #6699cc;
}/*Ϊǹ̶ȣҸЧie 3bug*/#footer {
background:#6cf;
width:100%;
}
.clearfloat { clear:both;
height:0;
font-size: 1px;
line-height: 0px;}
.div_Title{
text-valign:middle;
background-image : url(../images/header_bg.gif);
background-repeat : repeat-x;
color : #ffffff;
text-align:left;
height:30px;
line-height:30px;
overflow:hidden;
}
/*ģΧ߿*/
.div_Border{
border: 1px solid #6699cc;
margin:0 auto;
width:675px;
}.div_body ul,ol{
padding:4px 0;
margin:0;
overflow:hidden;
}.div_body ul li{
list-style:none;
margin-left:0px;
padding:0;
}
a{
text-decoration:none;
}
/*ʽ*/
a:link{
text-decoration:none;}
/*ʽ*/a:hover{
text-decoration:underline;
}