I couldn't get the template (demo) application to work. Followed setup instructions. Kept getting asp.net yellow screens. Uninstalled.
I have SQL 2008 Dev (not express). I changed the connection string in the web config, but turns out sqlexpress is hard coded in utility.cs. You're welcome (for debugging your code).
Would be completely awesome if it was true. Just downloaded it, and unfortunately it was a MVC 1 (!) template. So it's useless to me... Needs an update ASAP!
Also, it was configured for .NET 3.5. Not a deal breaker this one, but it would be nice if they had a new version >_>
2 stars for effort now. If they update it to make it work as advertised - I'll rate it appropriately :)
UPD: the template was updated with proper MVC2 support... Tried it only managed to make it work after lots of cursing and trying.. The code has a connection string hardcoded in code, expects that you will use a sqlexpress database, will ONLY work in windows xp / server 2003 (in IIS7 the IIS app pool users don't have a home folder and cannot attach sql databases.. at least not with the default settings, apparently) etc etc etc..
Once you make it work - it's a nice simple example of how to implement open ID authentication in a website (although bloated way too much, if you ask me...)
As a VS online template - I think it should be a lot better :S
I can't open extension for my vs2010. I have error - "This extension in not installable on any currently installed products". I have the same error for vs2010 express, professional and vs11.
Can I get the template as the vs project?
your app is running fine out of the box with VS2010, using Firefox, but when i try it in IE9, after coming back from google or yahoo it shows an JS error in page "/Auth/PopUpReturnTo". The js alert dialog says "object Error" and then a warning the window is trying to close itself. If I select yes or no to that nothing happens.
But same app firefox is fine.
Btw i ran setup.aspx from IE9 fine. But after that can't use IE9 to login.
Thanks for you help.
Hi, I was trying to create the database following the simple instructions in Setup.aspx, when I click the button of create database (after entering a valid openid account) it throws an exception, it seems something about creation of database,or permissions in App_Data, but I don't how to set those permissions,I tried by using Configuration of ASP.NET but it's already set in "Everyone".
What's going on?
Here is the exception, (YES, it's in Spanish XD ):
Detalles de la excepción: System.Data.SqlClient.SqlException: Error al buscar el archivo "c:\users\enrique\documents\visual studio 2010\Projects\openIDsite\openIDsite\openIDsite\App_Data\openIDsite.mdf" en los directorios, error del sistema operativo: 5(failed to retrieve text for this error. Reason: 15105).
Error de CREATE DATABASE. No se pueden crear algunos de los archivos de la lista. Consulte los errores relacionados.
I'm using Windows 7 Starter, and compiled with Visual Studio 2010 Professional
Same advice I gave to @reidmeonce. Check your NTFS permissions -- not your ASP.NET permissions. NTFS permissions must grant the appropriate user account Change access to the APP_DATA directory.
With exception event found in event log
Process information:
Process ID: 2788
Process name: w3wp.exe
Account name: IIS APPPOOL\WebRP
Exception information:
Exception type: HttpException
Exception message: The remote host closed the connection. The error code is 0x80070057.
Hi reidmeonce, have you checked the NTFS permissions on your web site? Under VS, the web site runs under your own user account. But under IIS it runs under "NETWORK SERVICE" or some other account based on your system configuration. A quick way to test this is to temporarily allow "Everyone" to have Change access to see if it makes the problem go away.