2

I have look through a few answers on SO for a solution to this. I have tried everything on the question page HERE but to no avail. Once I change the user to something else, it will work and show the page, but my web-app is unable to make a connection to the database as any other user is unauthorised to access the DB in my dev-environment.

I have tried copying the settings from another person on the dev-team who it works for but it still doesn't work.

Community
  • 1
  • 1

2 Answers2

1

IIS:

  1. Did you install ASP.NET 4 run-time component? Check in "windows Components > IIS".
  2. Check frameworks (installed .Net 4) in "windows Components > IIS"

SQL:

  1. Check you connection string, Named and Default instances of SQL.
  2. Check permission to access SQL from network (SQL Server configuration Manager)
  3. Check you Firewall Settings.
  • The DB is fine as it is on a shared server for the team to access the information. They are all currently able to connect, so I believe it is a IIS problem. –  Jan 04 '16 at 12:08
0

Try logging into IIS and change your Identity to your user account but with your new password that you use to login. You will need to do this everything you change your login password.

The reason it was working before is because it was running with your old credentials but not your new ones, which took effect on the restarting of your computer.

Note

I think the link you provided, the first answer actually says this, but does not make reference to the user login password being changed affecting the Identity in the IIS. Might just be the wording.

Tomaltach
  • 913
  • 1
  • 11
  • 30
  • Tried putting the credentials with the newer password and it worked fine. Thanks. –  Jan 04 '16 at 12:09