I have an MVC application that is using a mix of windows and forms. The database is on a hosted server and I’m using my local IIS (5.1).
Everything works fine until I try using IsInRole(“role”) – I get:
The trust relationship between this workstation and the primary domain failed.
I suspect this may be OK when the application is deployed as it will be all on an intranet but I need to check roles in development.
The users and roles do exist in my aspnet tables in the Db and as I say it works if I use my local DB for development too.
Any ideas appreciated.
Thanks in advance
Davy
For now, I have set a loca version of the membership table to manage roles. This is not ideal but allows me to fake the roles for development.
It would be great if these could be on the shared DB server too.