[Last Call] Learn how to a build a cloud-first strategyRegister Now

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

Migrating .NET web sites

Hi Everyone,

I'm trying to migrate a whole bunch of web sites from IIS 6.0 to IIS 7.5.  HTML, Cold Fusion, ASP, SQL, etc.  Mostly copying over the source files, creating the new web sites in IIS, and mostly going fine.  The only ones giving me headaches are the .NET websites.

What's the best way to migrate the .NET ones?  Backup/restore, migration tools, etc?  I've tried Web Deploy 2.0 and nothign but problems.

Thanks in advance,

Theo
0
Theodosios
Asked:
Theodosios
1 Solution
 
dj_alikCommented:
0
 
TheodosiosAuthor Commented:
Thanks, but I tried that tool.  It was a nightmare.

Theo
0
 
Jesse HouwingScrum Trainer | Microsoft MVP | ALM Ranger | ConsultantCommented:
If you don't like the tool, then it's mostly a manual migration.

What kind of issues are you seeing?
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
RovastarCommented:
Yeah what are the problems?

Are you keeping the same version(s) of .net? What are you using I hope not .net 1.1 because you may well have problems .......


0
 
TheodosiosAuthor Commented:
Hi, now I get this mesage when I load the home page.  No errors in the App event log though.

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.
 

Detailed Error Information
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions  
Config File \\?\D:\Inetpub\vhosts\internalsystemtest.com\httpdocs\web.config

Requested URL http://internalsystemtest.com:80/ 
Physical Path  
Logon Method Not yet determined
Logon User


Thanks,
Theo
0
 
Steve BinkCommented:
Check the application pool identity for the site's pool.  Make sure that user has read access down to and including the site's web.config file.  Also make sure it has read access to the framework's machine.config.

If that fails, use procmon to discover the actual cause of the failure:

http://live.sysinternals.com/Procmon.exe
0
 
Steve BinkCommented:
Also, when I say "...read access down to...", I mean that if your site root is at d:\webroot\mysite, the user needs read/traverse access to d:\, d:\webroot, and d:\webroot\mysite, as well as read access for d:\webroot\mysite\web.config.
0
 
TheodosiosAuthor Commented:
Sorry, I'm not sure how to check access and permissions for Appl pools.  I click on the App pool in IS, but I dont; see the option in BAsic , Default, or Advanced settings.  How can I verify this?   Or are you referring the the associated IUSER_websitename account?

Thanks,

Theo

0
 
Steve BinkCommented:
I am referring to the "Identity" of the application pool.  This is the user account under which the pool will run.  Whichever user is running the pool will also need NTFS permissions to the directories and files for the site.  You can access these permissions by right-clicking the target in Windows Explorer, selecting "Properties", and adding/modifying the entries on the Security tab.

These are basic server administration skills.  If you are unfamiliar with them, you should probably look into hiring a server administrator.
0
 
TheodosiosAuthor Commented:
Oh, okay.  I didn't realize you were referring to basic NTFS, I thought maybe there was something else specific to IIS and app pools.

Thanks,

Theo
0
 
TheodosiosAuthor Commented:
Okay, I think we're getting somewhere.  I gave the the IIS_USRS and Network Service Read access to all the folders.  Now when I load the home page, I get a prompt for a username and password??  What username is it asking for?  The sites not https, and the local admin can;t login.

Thanks,

Theo
0
 
TheodosiosAuthor Commented:
It works.   The above users needed to be manually added to a lot of the site folders.  No clue why just this site, other .NET sites migrated fine.  Also, doesn't work on Firefox 4.0 unless you close the browser (clearing cache doesn't work).

Thanks for all your help Everyone.

Theo
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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