用WebMatrix做的网站(cshtml)页面和SQL CE数据库发布以后不能用
用WebMatrix做的网站(cshtml)页面和SQL CE数据库发布以后不能用紧急求助各位大虾
默认页面是Default.cshtml
web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="Default.cshtml" />
</files>
</defaultDocument>
</system.webServer>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="error.htm">
<error statusCode="403" redirect="error.htm" />
<error statusCode="404" redirect="error.htm" />
</customErrors>
</system.web>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SqlServerCe.4.0" />
<add invariant="System.Data.SqlServerCe.4.0" name="Microsoft SQL Server Compact 4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
</DbProviderFactories>
</system.data>
</configuration>
--------------------编程问答-------------------- 404 地址不对 --------------------编程问答-------------------- 所有的*.cshtml页面都打不开 --------------------编程问答-------------------- 紧急求助 --------------------编程问答-------------------- 这应该是配置不对吧 --------------------编程问答-------------------- 求具体解决方法 --------------------编程问答-------------------- 用WebMatrix做的网站(cshtml)页面和SQL CE数据库发布以后不能用
补充:.NET技术 , ASP.NET