Search code examples
owinrdlcvirtual-directory

OWIN Authentication in subdomains


For last 1 day, I'm trying to access a simple RDLC based project from my main project using virtual directories.

But this shows an error as,

error

Here, I don't want to mark <add key="owin:AutomaticAppStartup" value="true" /> as false. How can i overcome this issue?

Sharing authentication between two web applications


Solution

  • I added a seperate owin:AppStartup value for my child application, under appSettings as shown below:

    <add key="owin:AppStartup" value="SampleReport.Startup,SampleReport"/> which made this application accessible under my parent application.