asp.net配置问题 [英] problem with asp.net configuration

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

问题描述

我一直在尝试为我的网站创建一个基本的用户系统,包括登录名和该页面附带的所有常见详细信息.我尝试使用ASP.NET工具来协助解决此问题,但是当我单击安全性"选项卡时,我立即遇到问题.

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

以下消息可能有助于诊断问题:
无法连接到SQL Server数据库.

我也安装了aspnet_regsql.exe,但是并没有帮助.

请尽快帮助我

I''ve been trying to create a basic user system for my website, including a login and all the common details that go along with such a page. I tried to use the ASP.NET tool to assist me with this but I immediately get a problem when i click on the Security tab.

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.

i install aspnet_regsql.exe too, but it hasn''t helped.

please help me as soon as posible

thanks a lot.

推荐答案

问题特别指出无法连接到SQL Server数据库".因此,请在Web.Config文件或您编写的代码中检查数据库连接字符串.
The Problem specifically said that "Unable to connect to SQL Server database." So check your database connection string on the Web.Config file or in the code where you have written.


这篇关于asp.net配置问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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