ASP.NET Configuration

0

Przerabiam sobie książkę "ASP.NET Web Forms" i pojawił się pewien problem, mianowicie:

Tworzę strone do logowania i po przejściu do "ASP.NET Configuration" w zakładce zabezpieczenia dostaje błąd:

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.

plik Web.config:

<configuration>
    <system.web>
      <compilation debug="true" targetFramework="4.5" />
      <httpRuntime targetFramework="4.5" />
    </system.web>
  <appSettings>
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
  </appSettings>

</configuration>

plik default.aspx:

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width:100%;">
        <tr>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
                <asp:Login ID="Login1" runat="server" CreateUserText="Zarejestruj się" 
                    CreateUserUrl="~/Rejestracja.aspx" OnAuthenticate="Login1_Authenticate" 
                    PasswordRecoveryText="Nie pamiętam hasła" 
                    PasswordRecoveryUrl="~/OdzyskiwanieHasla.aspx" VisibleWhenLoggedIn="False">
                </asp:Login>
            </td>
        </tr>
    </table>
</asp:Content>

W czym może być problem?
Pozdrawiam.

0

The following message may help in diagnosing the problem: Unable to connect to SQL Server database.

Nie ma ConnectionStringa do bazy danych.
Usunąłeś/ w ogóle nie została utworzona.

1 użytkowników online, w tym zalogowanych: 0, gości: 1