Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Thinktecture IdentityManager.AspNetIdentity & Remote/Existing SQL DB

$
0
0

Hey All,

I am trying to make use of the IdentityManager from Thinktecture in an existing asp.net 4.5 web forms application. I used the Database first registration code example kicking around when I first launched the web app to create a couple of test accounts and everything is working well.

I now need to get into the guts a bit more and secure things with more users and roles. I really haven't got time to create from scratch a user management system and the IdentityManager seemed like a nice replacement for the old website administration tool that visual studio used to have.

Has anyone got the IdentityManager to work with an existing remote sql server? I changed the web.config file connection string to this.

<add name="AspId" connectionString="Data Source=source;Initial Catalog=catelog;Persist Security Info=True;User ID=user;Password=password" providerName="System.Data.SqlClient" />

And the defaultConnectionFactory to this.

<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"><parameters><parameter value="Data Source=.; Integrated Security=True; MultipleActiveResultSets=True" /></parameters></defaultConnectionFactory>

I run the solution and I get no errors, but when I click 'All Users', or try to register a new user or any other action I just get a red box with this text in it.

An error has occurred.

I have no idea what the issue is since there is no details to the error at all. Any suggestions or recommendations?

Thanks,


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>