如何使用亚音速2.0?
我尝试使用亚音速 3.0,但我做不到。我决定使用 subsonic.2.0。所以我尝试做到这一点,但我不能:(
我的网络配置:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="SubSonicService"
type="SubSonic.SubSonicSection, SubSonic" requirePermission="false"/>
</configSections>
<connectionStrings>
<add name="AdventureWorks"
connectionString="Data Source=.;Database=eticaret;
Integrated Security=true; User ID=sa; Password=123456;"/>
</connectionStrings>
<SubSonicService defaultProvider="eticaret">
<providers>
<clear/>
<add name="eticaret" type="SubSonic.SqlDataProvider, SubSonic"
connectionStringName="eticaret"
generatedNamespace="eticaretDAL"/>
</providers>
</SubSonicService>
</configuration>
也看看这篇文章:什么是错误? http://www.codeproject.com/KB/database/SubsonicDAL.aspx
i try to use subsonic 3.0 but i can not do that. i decided to use subsonic.2.0. So i try to make it i can not :(
my Web Config :
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="SubSonicService"
type="SubSonic.SubSonicSection, SubSonic" requirePermission="false"/>
</configSections>
<connectionStrings>
<add name="AdventureWorks"
connectionString="Data Source=.;Database=eticaret;
Integrated Security=true; User ID=sa; Password=123456;"/>
</connectionStrings>
<SubSonicService defaultProvider="eticaret">
<providers>
<clear/>
<add name="eticaret" type="SubSonic.SqlDataProvider, SubSonic"
connectionStringName="eticaret"
generatedNamespace="eticaretDAL"/>
</providers>
</SubSonicService>
</configuration>
also look this article: what is error? http://www.codeproject.com/KB/database/SubsonicDAL.aspx
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在添加元素的“AdventureWorks”中更改您的连接字符串名称。就像这样:
Change your connectionStringName in "AdventureWorks" in the add element. Like so: