使用asp.net管理员工具时出错 [英] error using asp.net administrator tool

查看:63
本文介绍了使用asp.net管理员工具时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你告诉我如何使用asp.net管理工具
在vs 2005中,当我要使用它时.


在安全性"选项卡中如下图所示

您选择的数据存储存在问题.这可能是由于服务器名称或凭据无效或权限不足引起的.也可能是由于未启用角色管理器功能引起的.单击下面的按钮将重定向到您可以在其中选择新数据存储的页面.以下消息可能有助于诊断问题:无法连接到SQL Server数据库."


所以你能告诉我如何解决它吗

an u tell me how to use asp.net administration tool
in vs 2005 when i am going for it.


in security tab it is showing like below

"There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Unable to connect to SQL Server database."


so can u tell me how fix it

推荐答案

http ://msdn.microsoft.com/en-us/library/ms998314 [ ^ ]

希望以上信息对您有所帮助.如果您还有其他疑问,请告诉我.
http://msdn.microsoft.com/en-us/library/ms998314[^]

I hope the above information will be helpful. If you have more concerns, please let me know.


您看到的错误消息描述了您看到此错误的几种可能原因.
The error message you''re seeing describes several possible reasons that you''re seeing it. Only you can fix it at this point.


如果有人出现这种类型的错误,他应该像我现在所做的那样在下面做,现在是workung

1 ----首先您必须创建asp.net sqlserver安装向导

在Windows 7中手动或通过命令提示符转到C:\ Windows \ Microsoft.NET \ Framework \ v2.0.50727,然后单击
aspnet_regsql,然后将要求创建asp.net服务器步骤-下一步选择安装选项.选择第一个单选按钮-接下来提供服务器名称,身份验证(如Windows身份验证或sql server authenticatin和数据库名称)--然后单击下一步-下一步并完成
最后两次提示您可能只是检查一下.一旦到达那里,您就会知道如何完成

2 ---转到ur project -web.config并添加诸如
的连接字符串 删除名称="LocalSqlServer"
添加名称="LocalSqlServer" connectionstring =服务器=您的服务器名称;数据库=在ASP网络服务器设置时选择的数据库;集成安全性= true" providername ="System.Data.SqlClient"

现在可以显示作品了
您可以创建角色用户规则
那就是我所做的,对我有用


谢谢
希望对其他人有用
if for anybody this type of error comes he should do like below as i have done now it is workung

1----first u have to create asp.net sqlserver setup wizard

in windows 7 go to C:\Windows\Microsoft.NET\Framework\v2.0.50727 manualy or through command prompt then click on
aspnet_regsql then it will asked to create asp.net server steps-- next-select setup option. select first radio button--next give servername,authentication like windows authentication or sql server authenticatin and database name---then click next--next and finish
last two teps may very u just check it . once u got there u know how to finish it

2--- go to ur project -web.config and add conection string like
remove name="LocalSqlServer"
add name="LocalSqlServer" connectionstring="server=your srvername;database=database u selected in time of asp net server setup;integrated security=true" providername="System.Data.SqlClient"

now it show work
u can create roles users rules
thats what i do and it works for me


thanks
hope it may work for others


这篇关于使用asp.net管理员工具时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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