2.0: "Debugging failed because integrated Windows authentication in not enabled."

R

R.A.M.

Hello,
I am writing my first ASP.NET application (I use .NET 2.0, Visual Web
Developer 2005 Express Edition and SQL Server 2005 Express Edition).
The application builds successfully but when I try to start debugging from
Visual Web Developer I receive message box:

Unable to start debugging on the web server. Debugging failed because
integrated Windows authentication in not enabled.

But I want to use forms authentication! Here is my web.config (I use Polish
language so some letters look strange):
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

<appSettings>

<add key="ApplicationName" value="MIMMagazyn"/>

<add key="Wersja" value="0.1"/>

<add key="Domy˜lnaBaza" value="MIMMagazynDemo"/>

<add key="BazaDemo" value="MIMMagazynDemo"/>

<add key="UµytkownikDemo" value="demo"/>

<add key="IleMiesiCcyWLogu" value="1"/>

</appSettings>

<connectionStrings>

<add name="MIMMagazyn_Demo" connectionString="Data
Source=.\SQLEXPRESS;AttachDBFileName=|DataDirectory|\MIMMagazynDemo.mdf;Initial
Catalog=MIMMagazynDemo;uid=sa;pwd=sqlserver"
providerName="System.Data.SqlClient" />

<add name="SqlServices" connectionString="Data
Source=.\SQLEXPRESS;AttachDBFileName=|DataDirectory|\aspnetdb.mdf;uid=sa;pwd=sqlserver"
/>

</connectionStrings>

<system.web>

<roleManager enabled="true" />

<compilation debug="true"/>

<profile defaultProvider="SqlProvider">

<providers>

<clear />

<add name="SqlProvider"

type="System.Web.Profile.SqlProfileProvider"

connectionStringName="SqlServices"

applicationName="MIMMagazyn" />

</providers>

<properties>

<add name="ImiCINazwisko" type="String" />

<add name="Domy˜lnyKodSkˆadu" type="String" />

<add name="Domy˜lnyKodGrupy" type="String" />

<add name="AdministracjaUµytkownikami" type="Boolean" defaultValue="False"
/>

<add name="Konfiguracja" type="Boolean" defaultValue="False" />

<add name="Uwagi" type="String" />

</properties>

</profile>

<authentication mode="Forms">

<forms name="MIMMagazyn" loginUrl="Logowanie.aspx" />

</authentication>

<authorization>

<deny users="?" />

</authorization>



<customErrors mode="RemoteOnly" defaultRedirect="Bˆ¡d.aspx">

</customErrors>

<sessionState mode="InProc"

cookieless="false"

timeout="20"/>

</system.web>

</configuration>

Could you help me please? Thank you!
/RAM/
 
M

Mr. Arnold

R.A.M. said:
Hello,
I am writing my first ASP.NET application (I use .NET 2.0, Visual Web
Developer 2005 Express Edition and SQL Server 2005 Express Edition).
The application builds successfully but when I try to start debugging from
Visual Web Developer I receive message box:

Unable to start debugging on the web server. Debugging failed because
integrated Windows authentication in not enabled.

<snipped>

The .NET IDE and its Debugger have nothing to do with Forms authentication
being used by an ASP.NET application and authentication of a user's access
rights within said application.

You should give the .NET IDE what it wants in order to circumvent the error
condition you're having when trying to debug the solution in the IDE.
 
R

R.A.M.

The .NET IDE and its Debugger have nothing to do with Forms authentication
being used by an ASP.NET application and authentication of a user's access
rights within said application.
Thanks.

You should give the .NET IDE what it wants in order to circumvent the
error condition you're having when trying to debug the solution in the
IDE.

I don't know how to solve the problem...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top