FORUMS

c360 Forums
 Home        Members    Calendar    Who's On

Welcome Guest ( Login | Register )
      



All ControlsExpand / Collapse
Message
Posted 10/2/2006 9:45:52 PMPost #652
 

c360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guru
Overview

 This very simple sample includes one of every c360 web control on one page. This sample is great to get familiar with all the controls included in the SDK. This sample demonstrates the following:

  • Edit page to enfore the CRM look and feel but hide the menu bar and button bar
  • Use a ‘LeftNav’ control to mimic the Microsoft left navigation menu
  • Use the ‘TabBar’ control to mimic the Microsoft CRM tabs on the edit page
  • Insert one of every type of c360 control in one of the tabs

Installation

Step 1 – Edit ISV.config This sample must be added as a new link under a “top level” menu (i.e.: a pull down menu on the top menu bar at the top of the main CRM window). Therefore we need to edit the “CustomMenus” section in Microsoft CRM’s ISV.config file like so:

<Menu Title="Testing c360 SDK">

     <MenuItem Title="All Controls"

         Url="http://localhost:5517/c360Sdk/Samples/AllControls/AllControls.aspx"

         WinMode="0"

         Client="Web,OutlookWorkstationClient"

         AvailableOffline="false" />

</Menu>

Note: you will need to adjust the url in the above sample to match your environment.

Step 2 – Copy files In your Visual Studio 2005 project, make sure you have a folder called “Samples” and create a sub-folder called “AllControls”. In this new folder, copy the ASPX page and its corresponding code behind file:

  • AllControls.aspx
  • AllControls.aspx.cs

Screenshots



Jeremie Desautels

VP, Product Marketing

c360 Solutions

  Post Attachments 
AllControls.zip (168 views, 2.35 KB)

Posted 1/29/2007 6:20:46 PMPost #1070
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
I'm having trouble viewing the All Controls Sample. I've modified the ISV.config and the aspx page is set up in the same hierarchy as your screen shot here. I'm using a VPC image - i created a differencing disk on top of Microsoft's CRM 3.0 VPC image that they have most recently distributed. There are many websites in IIS on this image, but the website url would be the same as the Microsoft CRM 3.0 website? Here is the error that i'm getting when i attempt to browse to the All Controls.aspx page within VS 2005:

Server Error in '/c360SDK' Application.
--------------------------------------------------------------------------------

Failed to map the path '/c360/'.

any ideas?

Thanks,
Melissa
Posted 1/30/2007 2:27:57 PMPost #1071
 

c360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guru
Failed to map the path '/c360/'. 

This is a very common problem which is due to the fact that the SDK was not properly configured. Specifically, there is a key called c360Location that is missing from your web.config.

If you have other installation issues, I suggest you search the forum dedicated to installation issues. I also create a simple "step-by-step" document that explains exactly what you need to do to get this up and running and I even recorded a video to demonstrate how to do it.

Jeremie Desautels

VP, Product Marketing

c360 Solutions

Posted 1/30/2007 4:19:44 PMPost #1072
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
Thanks, Jeremy!

i'm still a bit confused, though because i've created the VS 2005 Web Site in this directory: “C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\c360Sdk”

and i've edited the web.config file with this line: just as the instructions say. I thought that this configuration may be the cause of the issue, so i've changed the value to "/" (even though this is wrong) to see if it changed the error message at all, but there was no change (even after resetting IIS). Could this error have anything to do with another configuration? Any other ideas? Let me know if you need more info...


Thanks,
Melissa
Posted 1/30/2007 4:39:00 PMPost #1073
 

c360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guru
i'm still a bit confused, though because i've created the VS 2005 Web Site in this directory: “C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\c360Sdk”

the value of this key must indicate the name of the virtual directory (as opposed to the physical folder) therefore it should look something like this:

<add key="c360Location" value="/MyCustomApp" />

Could this error have anything to do with another configuration?

No. Definitely not. It's the web.config in your custom solution. Make sure you are not editing Microsoft CRM's web.config or any other config file.

Jeremie Desautels

VP, Product Marketing

c360 Solutions

Posted 1/31/2007 4:35:45 PMPost #1083
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
ok.... i took the line out of the MS CRM web.config file and found 2 other web.config files (one in /Visual Studio 2005/WebSites/doc/ and one in /Visual Studio 2005/WebSites/MWS) i added the key to both of these?? and i am still getting the same error message. which web.config file are you talking about?

thanks for your help!
Melissa

Thanks,
Melissa
Posted 1/31/2007 4:57:32 PMPost #1084
 

c360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guru
Melissa,

There is one and only one web.config file that needs to be modified. It's the one in the root folder of your custom application which may or may not already be present in your folder depending on how you created your custom application.

Please take the time to watch the video I recorded. I have spcifically simulated this problem in the video (you can fast forward to the 8 minute 40 seconds mark to witness the error message) and I show you how to solve this problem.

Jeremie Desautels

VP, Product Marketing

c360 Solutions

Posted 1/31/2007 5:43:53 PMPost #1085
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
i've found it.... Sorry about the confusion. I forgot about VS 2005 having the configuration site (makes it much easier). thanks for all your help!

Thanks,
Melissa
Posted 1/31/2007 6:18:49 PMPost #1086
 

c360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guru
I'm glad you fixed it!

Jeremie Desautels

VP, Product Marketing

c360 Solutions

« 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: Jeremie Desautels, john.gravely, kanika.jackson, Arvind Raman, Ken Champion

PermissionsExpand / Collapse

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

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