This must be some kind of permissions issue, but I'm not sure where it is - and it's probably simple.
We are in the process of moving our DB app to some new servers.
I did a full backup of the Database on the old server and a restore on the new server.
I configured IIS and reinstalled my aspx files, and my web app is viewable and making a db connection - all the menus and gridviews etc. are being populated.
Everything seems to work well except that my app has code in it to recognize who is logged into the current session, and makes certain display choices based on that. If my app doesn't recognize a network user, it shows "not logged in". And so now it's doing that all the time, presumably because there is something amiss with the user logins.
2 things don't make sense.
1. I did the same backup/restore procedure about 3 months ago to create a test environment on a different server based on data in the production environment, and I didn't have this problem.
2. in visual studio, if I run my app in debug mode, it recognizes my user name and everything works normally.
So what does that all mean? where does the problem lie? is it a permissions/logins/user issue or not? I checked all the mappings and they seem to be right, pointing to the correct database, etc.
I did change the name of the Database from what it was on the old server. I figured that might have messed up stuff, so I tried
but the script failed saying that the accounts already exist.
What to do next????
We are in the process of moving our DB app to some new servers.
I did a full backup of the Database on the old server and a restore on the new server.
I configured IIS and reinstalled my aspx files, and my web app is viewable and making a db connection - all the menus and gridviews etc. are being populated.
Everything seems to work well except that my app has code in it to recognize who is logged into the current session, and makes certain display choices based on that. If my app doesn't recognize a network user, it shows "not logged in". And so now it's doing that all the time, presumably because there is something amiss with the user logins.
2 things don't make sense.
1. I did the same backup/restore procedure about 3 months ago to create a test environment on a different server based on data in the production environment, and I didn't have this problem.
2. in visual studio, if I run my app in debug mode, it recognizes my user name and everything works normally.
So what does that all mean? where does the problem lie? is it a permissions/logins/user issue or not? I checked all the mappings and they seem to be right, pointing to the correct database, etc.
I did change the name of the Database from what it was on the old server. I figured that might have messed up stuff, so I tried
but the script failed saying that the accounts already exist.
What to do next????