Installation
1. Download the SDK from our download center: www.c360.com
2. Obtain the licenses.
· If you are using the Adventure Works Cycle demo system, you can download free licenses from our web site: www.c360.com/Licenses.aspx
· If you are developing on a system with a different organization name, evaluating deploying to a production environment, request evaluation licenses: ww.c360.com/Evaluation.aspx
· If you are deploying to a production environment, purchase the licenses on our eStore: http://c360.stores.yahoo.net/ and we will email you the licenses automatically. Please allow 24-48 hours.
3. In Visual Studio 2005 create a new “Web site”; select “ASP.NET web site” as your template; select the appropriate language (either C# or VB.NET) and specify the location. Visual Studio 2005 will offer a default name for this site such as “WebSite1”, but you will want to change this name to something more descriptive, like “c360Sdk”
4. Extract the SDK zip file to the location where your new web site was created. By default, this should be “C:\Documents and Settings\<user name>\My Documents\Visual Studio 2005\WebSites\c360Sdk”
5. Move the exercises out of the .NET 2.0 sub-folder to the root of your new web site if you are interested in the samples otherwise, it’s safe to delete the .NET 2.0 folder. NOTE: if you want to use Visual Studio 2003 and .NET 1.1, please use the exercises and samples from the .NET 1.1 folder.
6. Add the “c360Location” key in your web.config to indicate the name of the virtual directory where you intend to run your custom application. See page 13 in the training manual for more details. For example, if you used the name “c360Sdk” when you created your Visual Studio 2005 web site, your key would look like this:
<add key=”c360Location” value=”/c360Sdk” />
7. Edit the “WebServicesUrl” key in the c360.config to indicate where the Microsoft CRM are accessible. If your crm web site is located at a URL such as: http://mycrmserver and assuming that is has been configured to listen to IP port 5555, the key would look like this:
<add key=”WebServicesUrl” value=”http://mycrmserver:5555/mscrmservices/” />
8. Copy the license you obtained from c360 to the “Licenses” folder under the root folder of your new web site.
9. Edit the web.config to disable ASP.NET ‘request validation’ in order to avoid the following error: “A potentially dangerous error Request.Form value was detected from the client”:
<system.web>
<pages validateRequest="false" />
</system.web>
10. If your CRM server is on a different machine than your development machine, you need to perform two additional steps:
i. Configure the user, password and domain information that the SDK will use when connecting to the Microsoft CRM web services. You do this by adding three new keys to your c360.config file:
<add key=”ImpersonationUser” value=”johndoe” />
<add key=”ImpersonationPasswordToEncrypt” value=”123MySecurePassword456” />
<add key=”ImpersonationDomain” value=”mydomain” />
ii. Add the “CrmUrl” key in your c360.config to indicate the URL where the SDK will find CRM web pages:
<add key=”CrmUrl” value=”http://mycrmserver:5555/” />