asp.net mvc - Scripts and styles are not not working in claims based identity -
i asp.net mvc application uses claims based identity. created security token service (sts) authentication. mvc application hosted on iis default website. application working perfectly. scripts not working. have disabled anonymous authentication (which requirement). thank you.
error message:
finally got solution.
for claims based identity, have configure on webconfig follows:
<modules> <remove name="formsauthentication" /> <add name="wsfederationauthenticationmodule" type="system.identitymodel.services.wsfederationauthenticationmodule, system.identitymodel.services, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089" precondition="integratedmode" /> <add name="sessionauthenticationmodule" type="system.identitymodel.services.sessionauthenticationmodule, system.identitymodel.services, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089" precondition="integratedmode" /> </modules>
it work.
thank all.............
Comments
Post a Comment