FORUMS

c360 Forums
 Home        Members    Calendar    Who's On

Welcome Guest ( Login | Register )
      



Step-by-step InstallationExpand / Collapse
Message
Posted 10/11/2006 1:42:10 PMPost #693
 

c360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guru
The training guide contains a section about how to install and configure our SDK and I also recorded a video to make it even easier but I notice that a lot of people are still experiencing problems when installating. In an effort to make the process even simpler, I have compiled the following notes and step by step instructions:

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/” />

 

 

Posted 10/11/2006 5:40:03 PMPost #698
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
Jeremie,

Thank you for this article. This solve my problem. One line of code for the licensing issue I missed:  <pages validateRequest="false" />.

Thanks again to you and the whole c360 crew!

John

« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: kanika.jackson, Ken Champion

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 2:00pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.266. 11 queries. Compression Enabled.