lacostabr / socialauth-net

Automatically exported from code.google.com/p/socialauth-net
0 stars 0 forks source link

500.21 Error in Classic Pipeline mode #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Integrated mode works fine.

What steps will reproduce the problem?
1. Run the demo app in Classic pipeline mode, IIS 7
2. Click on Google, goes to /login.sauth?p=google

Error message:
HTTP Error 500.21 - Internal Server Error
Handler "socialAuth.NET" has a bad module "ManagedPipelineHandler" in its 
module list

Original issue reported on code.google.com by tauno.no...@gmail.com on 4 Aug 2011 at 8:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi,

To use SocialAuth.NET on IIS7 running in classic mode, change httphandler 
configuration  (under System.WebServers) as following:
  <system.webServer>
...
    <add name="socialAuth.NET" verb="*" path="*.sauth" modules="IsapiModule" type="Brickred.SocialAuth.NET.Core.CallbackHandlers"  scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" />
...

note: scriptprocessor should correctly point to path where your 
aspnet_isapi.dll of relevant .NET framework resides.

Thanks for pointing it. We'll get it added to wiki.

regards,
Deepak

Original comment by tsg.bric...@gmail.com on 10 Aug 2011 at 6:24