|
Hello
I have a simple ntier test application on a Win7 64bit with IIS 7.5 installed. I am trying to get Windows Authentication to work but keep getting the following error when I trying to fetch anything:
"The current user is not authorized, and guest access is not allowed."
Here is my current web.config:
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="ideablade.configuration" type="IdeaBlade.Core.Configuration.IdeaBladeSection, IdeaBlade.Core"/>
</configSections>
<connectionStrings>
<add name="ClassEntities" ..../> </connectionStrings>
<ideablade.configuration version="6.00" xmlns="http://schemas.ideablade.com/2010/IdeaBladeConfig" >
<logging logFile="log\DebugLog.xml" shouldLogSqlQueries="true"/>
<objectServer>
<serverSettings allowAnonymousLogin="false" useAspNetSecurityServices="true"/>
</objectServer>
</ideablade.configuration>
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"
multipleSiteBindingsEnabled="false" />
</system.serviceModel>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<authentication mode="Windows"/>
</system.web>
</configuration>
Here is the pertinent part of the app.config: <ideablade.configuration version="6.00" xmlns="http://schemas.ideablade.com/2010/IdeaBladeConfig">
<logging logFile="DebugLog.xml"/>
<objectServer remoteBaseURL="http://localhost" serverPort="9009" serviceName="EntityService.svc" >
<clientSettings isDistributed="true" />
</objectServer>
</ideablade.configuration>
Here is a shot of the web server Authentication section: 
I have even called the Authenticator as such: Authenticator.Instance.DefaultAuthenticationContext = Authenticator.Instance.Login(null);
I still get the same error. Any ideas? Thanks! Robert
|