为新用户而不是sa用户连接.Net Application [英] Connect .Net Application for new user instead of sa user

查看:61
本文介绍了为新用户而不是sa用户连接.Net Application的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





如何创建sql用户并将其连接到Web应用程序而不是sa用户?



我试过了,但我得到了以下异常,



调用目标引发了异常。



内部异常:无法初始化ASP.NET Simple Membership数据库。有关详细信息,请参阅http://go.microsoft.com/fwlink/?LinkId=256588




请帮助我

Hi,

How to create sql user and connect it to web application instead of sa user?

I tried, but i got following exception,

Exception has been thrown by the target of an invocation.

Inner Exception : The ASP.NET Simple Membership database could not be initialized. For more information, please see http://go.microsoft.com/fwlink/?LinkId=256588


Please help me

推荐答案

这可能与SQL和sa用户无关 - 简单成员资格系统使用Access DB而不是SQL。



请按照错误消息中的链接进行操作,看看他们推荐的内容。当你开始投入生产时,你可能忘记执行必要的步骤。
This likely has nothing to do with SQL and the sa user - the Simple Membership system uses an Access DB rather than SQL.

So follow the link in the error message, and see what they recommend. The chances are that you forgot to perform a necessary step when you released to production.


这篇关于为新用户而不是sa用户连接.Net Application的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆