Note that there are some explanatory texts on larger screens.

plurals
  1. POWindows Azure Turn off
    primarykey
    data
    text
    <p>I have been working on converting an asp.net application to a windows azure application. I managed to get it to work however I have been messing around with the webconfig so much that now I cannot get it back to working offline :P</p> <p>I configured it with ACS but I can't seem to have it disabled.</p> <p>EDIT:</p> <p>here is my web config:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --&gt; &lt;configuration&gt; &lt;configSections&gt; &lt;section name="microsoft.identityModel" type="Microsoft.IdentityModel.Configuration.MicrosoftIdentityModelSection, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=asdfasdfsdfsdf" /&gt; &lt;/configSections&gt; &lt;system.diagnostics&gt; &lt;trace&gt; &lt;listeners&gt; &lt;add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.7.0.0, Culture=neutral, PublicKeyToken=sadfasdfsadfasdf" name="AzureDiagnostics"&gt; &lt;filter type="" /&gt; &lt;/add&gt; &lt;/listeners&gt; &lt;/trace&gt; &lt;/system.diagnostics&gt; &lt;connectionStrings&gt; &lt;add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" /&gt; &lt;add name="DefaultConnection" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=aspnet_aa8d9cfe6be24b4aa01a7c093647b6df;Integrated Security=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" /&gt; &lt;/connectionStrings&gt; &lt;location path="FederationMetadata"&gt; &lt;system.web&gt; &lt;authorization&gt; &lt;allow users="*" /&gt; &lt;/authorization&gt; &lt;/system.web&gt; &lt;/location&gt; &lt;system.web&gt; &lt;httpRuntime requestValidationMode="2.0" /&gt; &lt;authorization&gt; &lt;deny users="?" /&gt; &lt;/authorization&gt; &lt;authentication mode="None" /&gt; &lt;compilation debug="true" targetFramework="4.0"&gt; &lt;assemblies&gt; &lt;add assembly="Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=asdfasdfsdafsdf" /&gt; &lt;/assemblies&gt; &lt;/compilation&gt; &lt;!--Commented out by FedUtil--&gt; &lt;!--&lt;authentication mode="Forms"&gt;&lt;forms loginUrl="~/Account/Login.aspx" timeout="2880" /&gt;&lt;/authentication&gt;--&gt; &lt;membership defaultProvider="DefaultMembershipProvider"&gt; &lt;providers&gt; &lt;clear /&gt; &lt;add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" /&gt; &lt;add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=asdfasdfsdafsdafasd" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" /&gt; &lt;/providers&gt; &lt;/membership&gt; &lt;profile defaultProvider="DefaultProfileProvider"&gt; &lt;providers&gt; &lt;clear /&gt; &lt;add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" /&gt; &lt;add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=asdfasdfsdafasd" connectionStringName="DefaultConnection" applicationName="/" /&gt; &lt;/providers&gt; &lt;/profile&gt; &lt;roleManager enabled="false" defaultProvider="DefaultRoleProvider"&gt; &lt;providers&gt; &lt;clear /&gt; &lt;add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" /&gt; &lt;add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" /&gt; &lt;add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=sadfsadfasdfasdfasdf" connectionStringName="DefaultConnection" applicationName="/" /&gt; &lt;/providers&gt; &lt;/roleManager&gt; &lt;sessionState mode="InProc" customProvider="DefaultSessionProvider"&gt; &lt;providers&gt; &lt;add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=asdfsdafsdafasdf" connectionStringName="DefaultConnection" applicationName="/" /&gt; &lt;/providers&gt; &lt;/sessionState&gt; &lt;/system.web&gt; &lt;system.webServer&gt; &lt;modules runAllManagedModulesForAllRequests="true"&gt; &lt;add name="WSFederationAuthenticationModule" type="Microsoft.IdentityModel.Web.WSFederationAuthenticationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=asdfsdafasdfasdf" preCondition="managedHandler" /&gt; &lt;add name="SessionAuthenticationModule" type="Microsoft.IdentityModel.Web.SessionAuthenticationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=sadfasdfsdfsdfasdf" preCondition="managedHandler" /&gt; &lt;/modules&gt; &lt;handlers&gt; &lt;add name="ChartHandles" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2009.2.826.20, Culture=neutral, PublicKeyToken=sadfasdfsdafsdafas" /&gt; &lt;add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" /&gt; &lt;/handlers&gt; &lt;/system.webServer&gt; &lt;appSettings&gt; &lt;add key="FederationMetadataLocation" value="https://timecontrol.accesscontrol.windows.net/FederationMetadata/2007-06/FederationMetadata.xml " /&gt; &lt;/appSettings&gt; &lt;microsoft.identityModel&gt; &lt;service&gt; &lt;audienceUris&gt; &lt;add value="http://127.0.0.1:81/" /&gt; &lt;/audienceUris&gt; &lt;applicationService&gt; &lt;claimTypeRequired&gt; &lt;!--Following are the claims offered by STS 'https://timecontrol.accesscontrol.windows.net/'. Add or uncomment claims that you require by your application and then update the federation metadata of this application.--&gt; &lt;claimType type="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" optional="true" /&gt; &lt;claimType type="http://schemas.microsoft.com/ws/2008/06/identity/claims/role" optional="true" /&gt; &lt;!--&lt;claimType type="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" optional="true" /&gt;--&gt; &lt;!--&lt;claimType type="http://schemas.microsoft.com/accesscontrolservice/2010/07/claims/identityprovider" optional="true" /&gt;--&gt; &lt;/claimTypeRequired&gt; &lt;/applicationService&gt; &lt;certificateValidation certificateValidationMode="None" /&gt; &lt;federatedAuthentication&gt; &lt;wsFederation passiveRedirectEnabled="true" issuer="https://timecontrol.accesscontrol.windows.net/v2/wsfederation" realm="http://127.0.0.1:81/" requireHttps="false" /&gt; &lt;cookieHandler requireSsl="false" /&gt; &lt;/federatedAuthentication&gt; &lt;issuerNameRegistry type="Microsoft.IdentityModel.Tokens.ConfigurationBasedIssuerNameRegistry, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=sdfsadfasdfasdfasd"&gt; &lt;trustedIssuers&gt; &lt;add thumbprint="sadfsdafasdfsdafasdfasdfasdfasdfasdfsdfasd" name="https://timecontrol.accesscontrol.windows.net/" /&gt; &lt;/trustedIssuers&gt; &lt;/issuerNameRegistry&gt; &lt;/service&gt; &lt;/microsoft.identityModel&gt; &lt;/configuration&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload