Quote Originally Posted by gep13 View Post
Hello,

If it is installed on both, then it "should" just work, however, depending on whether you are fully overriding the setting for the Membership Provider in your web.config file, ASP.Net will fallback to using the settings contained within the machine.config in the .Net Framework folder on the machine.

To ensure that you have the correct connection string, you can look here:

http://connectionstrings.com/

Gary
I am so confused. I have an idea of how this is supposed to work, but it's not. Which is throwing doubts into this even more.

I started brand new project. My boss wanted me to change the UI anyway, so I just started a new project. Thankfully, the web app isn't all that large at the moment.

I started off with the MS template. So it had everything in place, the membership role and everything. All I did was create a user and a role in the ASP.NET Configuration tool. I copied the data to the server and got the same error.

But this time, I attached the database in VS and looked through the tables. It's all empty. There's no data to be found. However, when I log in in my local PC, it works fine.

So how is there no data in the database, but the log in works fine in my local PC? Does this mean that the app is defaulting to a different database?