asp.net-mvc


DotNetOpenAuth 4 Sample MVC provider throws exception


I'm using the sample provider and relying party applications that come in the DotNetOpenAuth v4.0.0.12084 zip download and getting a protocol exception within the provider.
The web.config files provided in the samples don't appear to be valid as they try to use ASP.NET MVC 3 with .NET framework 3.5 (2). So I've updated them to use .NET framework 4.
These test URLs are unfortunately on my desktop and not available over the internet.
The provider is running on:
http://login.puffin.mediaburst.co.uk/
Relying party on:
http://testlogin.puffin.mediaburst.co.uk/
OpenID url used when logging in to the relying party:
http://login.puffin.mediaburst.co.uk/user/bob
I get the following error when submitting the OpenId using the relying party:
Error while reading message 'DotNetOpenAuth.OpenId.Messages.CheckIdRequest'
parameter 'openid.claimed_id' with value
'http://login.puffin.mediaburst.co.uk/user/bob'.
Invalid cast from 'System.String' to 'DotNetOpenAuth.OpenId.Identifier'.
(Contact: , Reference: )
I've enabled log4net and have put the provider logfile on pastebin
To test the relying party I've authenticated against google and it works fine, suggesting the request format is correct.
Does anybody have any suggestions on stopping this invalid cast exception?
Yours is the second report for this bug. I've filed issue #109 to track this.
Incidentally, I believe the samples are correct, since MVC 3 works fine on .NET 3.5, as far as I can tell. Although a known bug was that if MVC 4 is also installed on your machine that you build the samples on, they incorrectly bind to MVC 4 DLLs and result in a runtime failure.

Related Links

RowAction styles lost while sorting Telerik extension grid
Nuget Requirement Conflict
how Use ActionLink in Folder App_Code Mvc6 Asp.Net
MVC application Performance
ASP.NET MVC date string slash being converted to dash in Safari input fields
File upload formatting in Bootstrap MVC
ChildAction in MVC not rendering
Using Html.DropDownListFor and selecting a value inside the SelectList will not work together
multiple ajax beginform in one page
Umbraco Lucene Index Device not ready
Single Sign On between Azure website and website hosted in Azure VM
Why can't I allow '*' characters in webapi routes safely? (or, if it can, how?)
Runtime Error using Redis Cache Session State Provider
What's the benefits of asp.net MVC routing?
MVC Controller.File returns blank pdf
Allowing commas in decimal values using Fluent Validation

Categories

HOME
html5-canvas
opencv
embedded-linux
servlets
haskell-stack
backand
datetime
geolocation
chronicle
xamarin.forms-listview
normalization
tsql
logback
vsix
box
application-cache
format
hyperion
condor
monaco-editor
aerospike
curve-fitting
media-source
polynomials
sax
background-subtraction
digital-logic
php-carbon
italic
azure-redis-cache
mathdotnet
jtable
nested-loops
flatbuffers
sql-server-2014-express
magento2.0.2
photo-gallery
deep-copy
api-doc
presto
mask
powerbuilder-conversion
increment
msal
apartment-gem
bezier
rights-management
solid-principles
otroslogviewer
azure-management-api
es6-promise
nexus-5
using
mediawiki-api
gretl
dependency-management
simplesamlphp
abbyy
dwr
jawr
flying-saucer
mapr
sizing
sqlite-net
hard-drive-failure
mysql-notifier
evaluate
mit-scheme
directsound
facebook-audience-network
xnamespace
xendesktop
activity-diagram
file-management
finalcut
vlc-android
isapi-rewrite
asp.net-webpages
multer
coldfusion-10
telescope
maven-cargo
ppl
structured-programming
antiforgerytoken
theorem-proving
excel-charts
mklink
laravel-validation
imaging
textselection
requiredfieldvalidator
declspec
junit-runner
android-lru-cache
external-dependencies
flash-cs4
sugar.js
mms-gateway
jquery-data
sparc
adlds
argumentexception
chromeless
domain-mapping
applaud
libavg
springboard
spquery
help-authoring
nhaml
shareware

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App