Creating a Development Environment for CRM 4

Posted on 2009-02-17
Last Modified: 2013-12-12
I need to create a development envirnoment for the CRM version 4 installation, but don't know how.

My purpose for this is to test my code changes, updates and patches without having to affect my production environment.  
Question by:dmudgett
    LVL 10

    Accepted Solution

    Creating DEV environment for CRM can be simple, or VERY complex, depending on exactly how you want to proceed.  Here are some thoughts:

    You can create a Virtual PC (or Virtual Server) image that has all the software you need to test most of your customizations.  You can export all of your customizations as XML from your PROD instance, and import them into your DEV instance, and test them from there.  Assuming you have appropriate MSDN licenses, you can do this without additional licensing fees.

    You can create this image from "scratch" by installing all the necessary software.  You can also download the VPC image available from Microsoft (WARNING1: The current image is scheduled to expire in April;  WARNING2: you'll need to make sure you have the same rollups and hotfixes installed on your VPC image, otherwise you will not be able to properly import your customizations).


    You'll need to ask yourself some important questions:
    * Do you need to have a complete DEV environment, including Exchange?
    * What kind of items will you be testing and how will they migrate over to PROD?  Depending on how you're referencing custom entities, workflows, users and other important parts of CRM, your customizations might not migrate over correctly (for example, if you have a workflow that generates an email alert to a user, the workflow tracks a GUID for the user ... this GUID is going to be different in your DEV and PROD environments)

    This level of complexity is way too much to try to answer here.  Use the resources below if you want to go this route.

    MORE INFORMATION: If you're developing for CRM, you should consult these resources whether you take the simple or complex path:

    * : This is really a developer's guide and it has some excellent tips on setting up a CRM DEV environment.  Highly recommended (no, I'm not the author, but I did sleep in a Holiday Inn Express last night).

    *!.aspx  : An excelleng blog entry on the topic.  Again, I'm not the author, but this guy does have some very good material.  
    LVL 15

    Expert Comment

    A nice technet article that talks about this as well as the use and misuse of multi-tenancy

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    A list of useful business intelligence software.
    If your app took Google’s lash recently, here are the 5 most likely reasons.
    The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
    After watching the Introduction to GIMP this tutorial will show you additional tools to use in GIMP.

    761 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

    8 Experts available now in Live!

    Get 1:1 Help Now