IIS7 DotNetOpenAuth Custom LinkedInClinet Response

2019-09-16 04:05发布

问题:

I am using dotnetopneauth's Custom LinkedInClient available at following link:

DotNetOpenAuth LinkedIn Client github link

It works on my development machine. I hosted it on Windows Server 2008 R2 Enterprise (64-bit). It works fine there too. But I am switching it to another server with Windows Server 2008 R2 Standard (64-bit) and its creating problem here. On this server it gives me error "Response is not available in current context". Please see the attached image for stack trace.

I've tried the solution at following link:

Suggested solution on StackOverflow

But it didnt work for me.

回答1:

I downloaded and installed ASP.NET MVC 4 on my server and it worked for me. ASP.NET MVC 4 download link: Download Microsoft ASP.NET MVC 4