Solved

Error when upgrading Microsoft CRM 3.0 to Microsoft CRM 4.0

Posted on 2008-10-16
18
836 Views
Last Modified: 2012-06-22
When trying to upgrade MS CRM from 3.0 to 4.0, I get the message below.
Following this, the install doesn't rollback, so I have to uninstall 4.0,
and reinstall CRM 3.0 + Rollups and start again. Any ideas?

System.Exception: Action
Microsoft.Crm.Setup.Server.ConfigureHelpVirtualDirAction failed. Cannot
create a file when that file already exists. (Exception from HRESULT:
0x800700B7)

0
Comment
Question by:swakyn
  • 8
  • 5
  • 3
  • +1
18 Comments
 
LVL 5

Assisted Solution

by:bmosoftware
bmosoftware earned 50 total points
ID: 22729803
This looks like it is as a result o$f the Virtual directories / Web sites for CRM still existing in IIS. If you remove these you should be able to succesfully install again.
0
 
LVL 1

Author Comment

by:swakyn
ID: 22730042
Thanks for responding so quickly. It is an upgrade to a current 3.0 implementation that I am running, so I would think that removing the website would cause an issue.
0
 
LVL 5

Expert Comment

by:bmosoftware
ID: 22730219
Is the error occuring when you perform the CRM 4 upgrade or the reinstall of CRM 3.0?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 11

Accepted Solution

by:
rakeshAgarwal earned 100 total points
ID: 22730231
HI  Please  try this out

http://support.microsoft.com/kb/947997

Regards
Rakesh agarwal
www.dynamicsexchange.com 
0
 
LVL 1

Author Comment

by:swakyn
ID: 22730390
Hi,

The error is when I try to perform the CRM 4 upgrade.

947997 relates to reinstalling CRM 3 which I have done successfully.

Any other ideas?

Regards

Steve
0
 
LVL 5

Expert Comment

by:bmosoftware
ID: 22730478
Are you deploying to the Default web site or creating a new website on port 5555 for example.
0
 
LVL 1

Author Comment

by:swakyn
ID: 22730497
The upgrade deploys to the existing CRM 3 website.
0
 
LVL 15

Assisted Solution

by:WilyGuy
WilyGuy earned 350 total points
ID: 22730572
If the Upgrade fails, the likelihood is that you will have to Re-Install CRM 3.0 (unless it completed (you ignored the error) and you can open CRM from the web)

Uninstall CRM 4.0 (there may be a partial install)

Restore your databases (the 3.0 databases) and reinstall CRM 3.0 pointing to the existing databases (you may have to remove registry entries (HKLM | Software | Microsoft | MSCRM) the Program Files\Microsoft Dynamics CRM to do this.  I would suggest removing or re-porting the existing website.

For the Upgrade, Have you got any custom pages or Virtual Directories?
Also, what Rollup had you applied in 3.0?  You may want to apply Rollup 2 at a minimum before upgrade.

The error does appear to be related to the creation of an existing virtual directory.  Did you have a previous failed attempt?
0
 
LVL 1

Author Comment

by:swakyn
ID: 22730783
I have been through this process and CRM 4 just failed to install with the same message.

Regarding the virtual directory, CRM 3 was installed on the default web site (port 80). I got involved after the first upgrade attempt, which failed due to the incorrect organisation being entered. To restore back to CRM 3 I had to disable the site, and let the install create a new site (on port 80).

So I now have 2 'Microsoft CRM v3.0' sites on port 80, one which is stopped. I suspect I should delete the stopped site before trying again. Also there is an admin site for 'frontpage extensions 2002' and another for 'Web User Interface for Microsoft Windows Server administration' both on different ports could these be causing a problem?
0
 
LVL 15

Assisted Solution

by:WilyGuy
WilyGuy earned 350 total points
ID: 22730912
So CRM 3.0 was in Inetpub before? on port 80.  (if the other sites aren't on 80, shouldn't be a problem)  When you reinstall 3.0 you might let it go to port 5555 and put the web files in the PF\CRM directory. (you can then reconfigure the CRM Web Site to port 80)

Yes, you should delete the stopped site.

Are you saying you just did this again?

on the DB server, is there an MSCRM_CONFIG database?  (that is specific to CRM 4 and should be deleted before you attempt to upgrade again.

0
 
LVL 1

Author Comment

by:swakyn
ID: 22731213
Yes, originally CRM 3 was in INETPUB. However the directory that the running site is pointing to is C:\Program Files\Microsoft CRM\CRMWeb, and the stopped one is c:\inetpub\wwwroot, so I can't see how the file already exists unless it is stored in a shared location somewhere?
0
 
LVL 15

Assisted Solution

by:WilyGuy
WilyGuy earned 350 total points
ID: 22731534
Assume that CRM 3.0 works as you have configured it?  What about the Rollup?

What is going on in /LM/W3SVC/<website#>/ROOT?

Delete the original site that points to INETPUB.

Can you attach your setuplog?
0
 
LVL 1

Author Comment

by:swakyn
ID: 22731837
CRM 3.0 is running OK after the reinstall.
Rollup 2 is installed.
I don't know what /LM/W3SVC/<website#>/ROOT is?
I have attached my setuplog
crm40svrsetup.log
0
 
LVL 15

Assisted Solution

by:WilyGuy
WilyGuy earned 350 total points
ID: 22732301
so the HELP Virtual Directory should be here :
C:\Program Files\Microsoft Dynamics CRM\CRMWeb\Help

Or an equivalent within INETPUB.  Not sure why it would not "upgrade" it.

Make sure there is no MSCRM_CONFIG database on your SQL (and no MDF or LDF files same name).  that may be significant as you seem to get an error about it every time you begin the upgrade.

0
 
LVL 15

Expert Comment

by:WilyGuy
ID: 22757716
Any progress swakyn?
0
 
LVL 1

Author Comment

by:swakyn
ID: 22757954
I have not had an opportunity to try again yet, I'm hoping to schedule downtime over the next couple of weeks. Unfortunately I can't try it in a dev environment first!
0
 
LVL 1

Author Comment

by:swakyn
ID: 23137185
Apologies for my lack of response, I have not been able to recreate my issue in a dev environment, so have not been able to move this on. Users are OK continuing with version 3 for the time being, and I want to minimise downtime. When I can schedule some downtime in the production environment I can try some of these solutions, with a backup plan of rebuilding the server then installing the software and upgrading.

If any of these solutions work, I would like to flag it as a solution, but by closing the issue now, I wont have this opportunity.
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

770 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