Solved

Moving asp.net 2.0 from IIS6 to IIS7

Posted on 2014-01-14
5
427 Views
Last Modified: 2014-01-21
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
Comment
Question by:Hers2keep
  • 3
5 Comments
 
LVL 16

Expert Comment

by:Kamal Khaleefa
ID: 39781320
in IIS check the authentication and make sure you enable the correct one
0
 

Author Comment

by:Hers2keep
ID: 39782277
I did that. It is forms authentication and that is the only one in IIS that I enabled.
0
 
LVL 15

Expert Comment

by:pcsmitpra
ID: 39782445
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
 

Accepted Solution

by:
Hers2keep earned 0 total points
ID: 39786643
I need to cancel this question - I have a developer coming in next week to help me get this working.
0
 

Author Closing Comment

by:Hers2keep
ID: 39796430
I need to cancel this question. I have hired a developer to come in next week to iron out these issues.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Get Reply from SSIS to intranet site when finished 3 34
Name space syntax error 12 44
convert html to string 6 22
Sweet32 Vulnerability in Microsoft IIS7.5 6 58
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now