Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

Moving asp.net 2.0 from IIS6 to IIS7

I have an asp.net 2.0 application our company has had for years, based on a sql server 2000 database. I am trying to move it to a development server to test upgrading the database to sql server 2005 or 2008. The development server is running Windows Server 2008 R2 and IIS7; while the production server is Windows Server 2003 R2 running IIS6. I have set the application up in IIS7 and copied the web directory to the development server. When I try to browse to the website on the development server, I get this error:

401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied.

I logged in with my normal domain user/password. They are both set to asp.net Classic and both have forms authentication. What else do I need to check/modify for this to open on the IIS7 development server?
0
Carla Romere
Asked:
Carla Romere
  • 3
1 Solution
 
Kamal KhaleefaInformation Security SpecialistCommented:
in IIS check the authentication and make sure you enable the correct one
0
 
Carla RomereDirector of Information TechnologyAuthor Commented:
I did that. It is forms authentication and that is the only one in IIS that I enabled.
0
 
pcsmitpraCommented:
If you are using a domain user, it should be Windows Auth. Please try that. HOW To

Also please check Auth Rule for that website, it should allow all users. Or you may add your user there.
Also if you are using any custom user account to execute th eapplication pool then you may check if that has required access on the web content directory.
0
 
Carla RomereDirector of Information TechnologyAuthor Commented:
I need to cancel this question - I have a developer coming in next week to help me get this working.
0
 
Carla RomereDirector of Information TechnologyAuthor Commented:
I need to cancel this question. I have hired a developer to come in next week to iron out these issues.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now