﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>c360 Forums / SDK for Microsoft CRM / Version 3 Product Questions / Installation  / Sample App / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>c360 Forums</description><link>http://www.c360.com/Forums/</link><webMaster>support@c360.com</webMaster><lastBuildDate>Sat, 22 Nov 2008 14:31:09 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Sample App</title><link>http://www.c360.com/Forums/Topic683-40-1.aspx</link><description>[quote]c360 products require that currently authenticated user is impersonated[/quote]&lt;/P&gt;&lt;P&gt;This message means that windows integrated authentication is not enabled or that anonymnous connections are authorized and therefore our SDK is unable to determine the identity of the current user.&lt;/P&gt;&lt;P&gt;I know you said that you have already checked these settings but please double the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the IIS admin console, make sure that the "Allow anonymous connection" in the security properties of your virtual directory is unchecked.&lt;/LI&gt;&lt;LI&gt;In your web.config, make sure that the authentication method is set to windows: &amp;lt;authentication mode="Windows"/&amp;gt;&lt;/LI&gt;&lt;LI&gt;In your web.config, make sure that impersonnation is enabled: &amp;lt;identity impersonate="true"/&amp;gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The combination of these three settings will make sure that the credentials of the current user will be forwarded by the browser to IIS and threfore will be available to our SDK.&lt;/P&gt;&lt;P&gt;Please note that this will not work when you are developing on one machine and CRM is on another machine. In this situation, the credentatials are not forwarded and therefore our SDK doesn't have any credentials to reuse when making web service calls to CRM. You need to configure our SDK to use a username, password and domain. These three settings are explained in the "Post-Installation configuration" section in the training guide.</description><pubDate>Wed, 11 Oct 2006 13:18:56 GMT</pubDate><dc:creator>Jeremie Desautels</dc:creator></item><item><title>RE: Sample App</title><link>http://www.c360.com/Forums/Topic683-40-1.aspx</link><description>Okay, after several hours I think I've made some headway. I've transferred everything onto the CRM server. I have a virtual website on port 81. I have the following in the web.config "&lt;FONT color=#0000ff size=2&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;add&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;key&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;c360Location&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;value&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;/SroBoTime&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; /&amp;gt;&lt;/FONT&gt;". &lt;FONT color=#0000ff&gt;SroBoTime&lt;/FONT&gt; is the name of my virtual directory. I removed the CrmUrl from the c360.config as it's on the server. I've verified the CRM and RS URL's and they're correct. I'm getting the two errors in my Application event log which I hope will tell you everything along with the problem. Directory security is the same as CRM (Integration Windows Authentication) and Anonymous is turned off. &lt;/P&gt;&lt;P&gt;Event Type: Warning&lt;BR&gt;Event Source: c360&lt;BR&gt;Event Category: None&lt;BR&gt;Event ID: 0&lt;BR&gt;Date:  10/10/2006&lt;BR&gt;Time:  9:44:00 PM&lt;BR&gt;User:  N/A&lt;BR&gt;Computer: PINNACLECRM2&lt;BR&gt;Description:&lt;BR&gt;******[ BEGIN LOG RECORD ]*******&lt;/P&gt;&lt;P&gt;            Message: Licensing.GetLicense&lt;BR&gt;          Log Level: 900: WARNING&lt;BR&gt;          Timestamp: 10/10/2006 9:44:00 PM&lt;/P&gt;&lt;P&gt;       Source Class: c360.Toolkit.Licensing.c360LicenseProvider&lt;BR&gt;      Source Method: ᜀ&lt;BR&gt;    Source Assembly: c360.Toolkit, Version=3.0.6.175, Culture=neutral, PublicKeyToken=null&lt;BR&gt;               Code: &lt;/P&gt;&lt;P&gt;******[ EXCEPTION ]*******&lt;/P&gt;&lt;P&gt;Exception: c360.Toolkit.Common.FactoryException: Unable to create the specified component. Verify the entry for [SecurityPrincipal]. ---&amp;gt; c360.Toolkit.Common.FactoryException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.InvalidOperationException: c360 products require that currently authenticated user is impersonated.&lt;BR&gt;   at c360.Toolkit.Security.CRMSecurityPrincipal..ctor()&lt;BR&gt;   --- End of inner exception stack trace ---&lt;BR&gt;   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandle&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)&lt;BR&gt;   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)&lt;BR&gt;   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)&lt;BR&gt;   at System.Activator.CreateInstance(Type type, Boolean nonPublic)&lt;BR&gt;   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;BR&gt;   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;BR&gt;   at c360.Toolkit.Common.Factory.ᜀ(Type A_0, Object[] A_1)&lt;BR&gt;   --- End of inner exception stack trace ---&lt;BR&gt;   at c360.Toolkit.Common.Factory.ᜀ(Type A_0, Object[] A_1)&lt;BR&gt;   at c360.Toolkit.Common.ComponentFactory.ᜀ(String A_0, Object[] A_1)&lt;BR&gt;   --- End of inner exception stack trace ---&lt;BR&gt;   at c360.Toolkit.Common.ComponentFactory.ᜀ(String A_0, Object[] A_1)&lt;BR&gt;   at c360.Toolkit.Common.ComponentFactory.Create(String componentKey)&lt;BR&gt;   at c360.Toolkit.Security.SecurityProvider.ᜀ()&lt;BR&gt;   at c360.Toolkit.Security.ImpersonationStrategy.ᜀ()&lt;BR&gt;   at c360.Toolkit.Security.ImpersonationStrategy.ᜁ()&lt;BR&gt;   at c360.Toolkit.Licensing.c360LicenseProvider.GetOrganization()&lt;BR&gt;   at c360.Toolkit.Licensing.c360LicenseProvider.get_Organization()&lt;BR&gt;   at c360.Toolkit.Licensing.c360LicenseProvider.ᜀ(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3)&lt;/P&gt;&lt;P&gt;******[ EXCEPTION ]*******&lt;/P&gt;&lt;P&gt;Exception: c360.Toolkit.Common.FactoryException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.InvalidOperationException: c360 products require that currently authenticated user is impersonated.&lt;BR&gt;   at c360.Toolkit.Security.CRMSecurityPrincipal..ctor()&lt;BR&gt;   --- End of inner exception stack trace ---&lt;BR&gt;   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandle&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)&lt;BR&gt;   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)&lt;BR&gt;   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)&lt;BR&gt;   at System.Activator.CreateInstance(Type type, Boolean nonPublic)&lt;BR&gt;   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;BR&gt;   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;BR&gt;   at c360.Toolkit.Common.Factory.ᜀ(Type A_0, Object[] A_1)&lt;BR&gt;   --- End of inner exception stack trace ---&lt;BR&gt;   at c360.Toolkit.Common.Factory.ᜀ(Type A_0, Object[] A_1)&lt;BR&gt;   at c360.Toolkit.Common.ComponentFactory.ᜀ(String A_0, Object[] A_1)&lt;/P&gt;&lt;P&gt;******[ EXCEPTION ]*******&lt;/P&gt;&lt;P&gt;Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.InvalidOperationException: c360 products require that currently authenticated user is impersonated.&lt;BR&gt;   at c360.Toolkit.Security.CRMSecurityPrincipal..ctor()&lt;BR&gt;   --- End of inner exception stack trace ---&lt;BR&gt;   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandle&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)&lt;BR&gt;   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)&lt;BR&gt;   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)&lt;BR&gt;   at System.Activator.CreateInstance(Type type, Boolean nonPublic)&lt;BR&gt;   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;BR&gt;   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;BR&gt;   at c360.Toolkit.Common.Factory.ᜀ(Type A_0, Object[] A_1)&lt;/P&gt;&lt;P&gt;******[ EXCEPTION ]*******&lt;/P&gt;&lt;P&gt;Exception: System.InvalidOperationException: c360 products require that currently authenticated user is impersonated.&lt;BR&gt;   at c360.Toolkit.Security.CRMSecurityPrincipal..ctor()&lt;/P&gt;&lt;P&gt;******[ CONTEXT DATA ]*******&lt;/P&gt;&lt;P&gt;   Application Name: c360 Toolkit&lt;BR&gt;     Application ID: &lt;BR&gt;            User ID: &lt;BR&gt;     Transaction Id: &lt;BR&gt;           Sequence: 1&lt;BR&gt;       Host IP/Name: pinnaclecrm2&lt;BR&gt;      Instance Name: /LM/W3SVC/1664444132/Root/SroBoTime-2-128050046391169652&lt;BR&gt;         Process ID: 2112&lt;BR&gt;       Process Name: c:\windows\system32\inetsrv\w3wp.exe&lt;BR&gt;   Win 32 Thread ID: 4400&lt;BR&gt;          Thread ID: 4400&lt;BR&gt;Thread Authentication type: Negotiate&lt;BR&gt;    Thread Identity: SROBO\jmarx&lt;BR&gt;Process Authentication type: Negotiate&lt;BR&gt;  Process Identity: NT AUTHORITY\NETWORK SERVICE&lt;BR&gt;  Screen Resolution: 1280x1024&lt;BR&gt;  Web User Identity: SROBO\jmarx&lt;BR&gt;   Is Authenticated: True&lt;BR&gt;Server Machine Name: PINNACLECRM2&lt;BR&gt;  Request Timestamp: 10/10/2006 9:43:59 PM&lt;BR&gt;        HTTP Method: GET&lt;BR&gt;                URL: /SroBoTime/Default.aspx&lt;BR&gt;      User Hostname: 127.0.0.1&lt;BR&gt;  Secure Connection: False&lt;/P&gt;&lt;P&gt;*********** HTTP Headers *************&lt;/P&gt;&lt;P&gt;  Connection: Keep-Alive&lt;BR&gt;  Accept: */*&lt;BR&gt;  Accept-Encoding: gzip, deflate&lt;BR&gt;  Accept-Language: en-us&lt;BR&gt;  Host: localhost:81&lt;BR&gt;  User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)&lt;BR&gt;  UA-CPU: x86&lt;/P&gt;&lt;P&gt;**************************************&lt;/P&gt;&lt;P&gt;   Application Path: /SroBoTime&lt;BR&gt;            Browser: System.Web.Mobile.MobileCapabilities&lt;BR&gt;   Content Encoding: utf-8&lt;BR&gt;     Content Length: 0&lt;BR&gt;       Content Type: &lt;BR&gt;Execution File Path: /SroBoTime/Default.aspx&lt;/P&gt;&lt;P&gt;*********** HTTP Form Data *************&lt;/P&gt;&lt;P&gt;&lt;BR&gt;***********************************&lt;/P&gt;&lt;P&gt;*****[ END LOG RECORD ]*****&lt;/P&gt;&lt;P&gt;&lt;BR&gt;For more information, see Help and Support Center at &lt;A href="http://go.microsoft.com/fwlink/events.asp"&gt;http://go.microsoft.com/fwlink/events.asp&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR&gt;---&lt;/P&gt;&lt;P&gt;Event Type: Warning&lt;BR&gt;Event Source: ASP.NET 2.0.50727.0&lt;BR&gt;Event Category: Web Event &lt;BR&gt;Event ID: 1309&lt;BR&gt;Date:  10/10/2006&lt;BR&gt;Time:  9:44:00 PM&lt;BR&gt;User:  N/A&lt;BR&gt;Computer: PINNACLECRM2&lt;BR&gt;Description:&lt;BR&gt;Event code: 3005 &lt;BR&gt;Event message: An unhandled exception has occurred. &lt;BR&gt;Event time: 10/10/2006 9:44:00 PM &lt;BR&gt;Event time (UTC): 10/11/2006 1:44:00 AM &lt;BR&gt;Event ID: 16918940a8bd4ff6b0f6b7f87a5cb041 &lt;BR&gt;Event sequence: 4 &lt;BR&gt;Event occurrence: 1 &lt;BR&gt;Event detail code: 0 &lt;BR&gt; &lt;BR&gt;Application information: &lt;BR&gt;    Application domain: /LM/W3SVC/1664444132/Root/SroBoTime-2-128050046391169652 &lt;BR&gt;    Trust level: Full &lt;BR&gt;    Application Virtual Path: /SroBoTime &lt;BR&gt;    Application Path: C:\Websites\SroBoTime\ &lt;BR&gt;    Machine name: PINNACLECRM2 &lt;BR&gt; &lt;BR&gt;Process information: &lt;BR&gt;    Process ID: 2112 &lt;BR&gt;    Process name: w3wp.exe &lt;BR&gt;    Account name: NT AUTHORITY\NETWORK SERVICE &lt;BR&gt; &lt;BR&gt;Exception information: &lt;BR&gt;    Exception type: LicenseException &lt;BR&gt;    Exception message: Unable to create the specified component. Verify the entry for [SecurityPrincipal]. &lt;BR&gt; &lt;BR&gt;Request information: &lt;BR&gt;    Request URL: &lt;A href="http://localhost:81/SroBoTime/Default.aspx"&gt;http://localhost:81/SroBoTime/Default.aspx&lt;/A&gt; &lt;BR&gt;    Request path: /SroBoTime/Default.aspx &lt;BR&gt;    User host address: 127.0.0.1 &lt;BR&gt;    User: SROBO\jmarx &lt;BR&gt;    Is authenticated: True &lt;BR&gt;    Authentication Type: Negotiate &lt;BR&gt;    Thread account name: NT AUTHORITY\NETWORK SERVICE &lt;BR&gt; &lt;BR&gt;Thread information: &lt;BR&gt;    Thread ID: 1 &lt;BR&gt;    Thread account name: NT AUTHORITY\NETWORK SERVICE &lt;BR&gt;    Is impersonating: False &lt;BR&gt;    Stack trace:    at c360.Toolkit.Licensing.c360LicenseProvider.ᜀ(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3)&lt;BR&gt;   at c360.Toolkit.Licensing.c360LicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)&lt;BR&gt;   at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License&amp;amp; license, String&amp;amp; licenseKey)&lt;BR&gt;   at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License&amp;amp; license)&lt;BR&gt;   at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)&lt;BR&gt;   at c360.Toolkit.SDK.Pages.AreaPage..ctor()&lt;BR&gt;   at _Default..ctor()&lt;BR&gt;   at ASP.default_aspx..ctor() in C:\Websites\SroBoTime\Default.aspx.vb:line 912304&lt;BR&gt;   at __ASP.FastObjectFactory_app_web_rx5xlkhk.Create_ASP_default_aspx()&lt;BR&gt;   at System.Web.Compilation.BuildResultCompiledType.CreateInstance()&lt;BR&gt;   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)&lt;BR&gt;   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)&lt;BR&gt;   at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)&lt;BR&gt;   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)&lt;BR&gt;   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&lt;BR&gt;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&lt;BR&gt; &lt;BR&gt; &lt;BR&gt;Custom event details: &lt;/P&gt;&lt;P&gt;For more information, see Help and Support Center at &lt;A href="http://go.microsoft.com/fwlink/events.asp"&gt;http://go.microsoft.com/fwlink/events.asp&lt;/A&gt;.&lt;BR&gt;</description><pubDate>Tue, 10 Oct 2006 21:50:03 GMT</pubDate><dc:creator>jmarx</dc:creator></item><item><title>RE: Sample App</title><link>http://www.c360.com/Forums/Topic683-40-1.aspx</link><description>[quote]I have two keys defined in the web.config&lt;FONT color=#0000ff size=2&gt; &lt;P&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;add&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;key&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;c360Location&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;value&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;/c360sdk&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;add&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;key&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;CrmUrl&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;value&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;http://crm:5555&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; /&amp;gt;&lt;/FONT&gt;[/quote]&lt;/P&gt;&lt;P&gt;There is one and only one key that is required in web.config: the c360Location. All other keys must be added to the file called c360.config which is located in the "Config" folder.&lt;/P&gt;&lt;P&gt;Secondly, the "HTTP 404" error is caused by the fact that our SDK is unable to connect to the Mcirosoft CRM webservices. You need to indicate where these services are published by adding the WebServices key in your c360.config file. This is discussed here: &lt;A href="http://www.c360.com/Support/Default.aspx?tabId=23a72820577a443aac45d2bbbe95e706&amp;amp;linkId=a2bea9bdde4f41cc83e06cfbaa4bbb27&amp;amp;Number=KBA-01126&amp;amp;operation=KBDETAILS"&gt;http://www.c360.com/Support/Default.aspx?tabId=23a72820577a443aac45d2bbbe95e706&amp;amp;linkId=a2bea9bdde4f41cc83e06cfbaa4bbb27&amp;amp;Number=KBA-01126&amp;amp;operation=KBDETAILS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.</description><pubDate>Tue, 10 Oct 2006 17:02:17 GMT</pubDate><dc:creator>Jeremie Desautels</dc:creator></item><item><title>RE: Sample App</title><link>http://www.c360.com/Forums/Topic683-40-1.aspx</link><description>I've watched the video and re-downloaded the SDK today thinking that maybe I didn't have the complete SDK. I've also tried running the code in CS rather than VB with my sample in CS matching the video fully.&lt;/P&gt;&lt;P&gt;The file structure is as following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;App_Code&lt;/LI&gt;&lt;LI&gt;App_Data&lt;/LI&gt;&lt;LI&gt;bin&lt;/LI&gt;&lt;LI&gt;Config&lt;/LI&gt;&lt;LI&gt;Doc&lt;/LI&gt;&lt;LI&gt;Exercises&lt;/LI&gt;&lt;LI&gt;Licenses&lt;/LI&gt;&lt;LI&gt;Tests&lt;/LI&gt;&lt;LI&gt;Toolkit&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have two keys defined in the web.config&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;add&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;key&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;c360Location&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;value&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;/c360sdk&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;add&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;key&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;CrmUrl&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;value&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;http://crm:5555&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; /&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;The c360Location I've tried c360sdk, c360, / and the name of the virtual directory when running directly on the CRM server. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;I have also verified the paths in the c360.config stored in teh config folder. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;I do know that I've got to be just missing something simple being this is a brand new install. &lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;The error being received is: &lt;SPAN&gt; &lt;/P&gt;&lt;H1&gt;Server Error in '/c360sdk' Application. &lt;HR width="100%" color=silver SIZE=1&gt;&lt;/H1&gt;&lt;H2&gt;&lt;I&gt;The request failed with HTTP status 404: Not Found.&lt;/I&gt; &lt;/H2&gt;&lt;P&gt;&lt;/SPAN&gt;&lt;FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Description: &lt;/FONT&gt;&lt;/B&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Exception Details: &lt;/FONT&gt;&lt;/B&gt;System.ComponentModel.LicenseException: The request failed with HTTP status 404: Not Found.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Source Error:&lt;/FONT&gt;&lt;/B&gt; &lt;BR&gt;&lt;BR&gt;&lt;TABLE width="100%" bgColor=#ffffcc&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;CODE&gt;&lt;PRE&gt;[No relevant source lines]&lt;/PRE&gt;&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Source File: &lt;/FONT&gt;&lt;/B&gt;C:\c360sdk\Default.aspx.vb&lt;B&gt;&lt;FONT face=Verdana&gt;    Line: &lt;/FONT&gt;&lt;/B&gt;912304 &lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Stack Trace:&lt;/FONT&gt;&lt;/B&gt; &lt;BR&gt;&lt;BR&gt;&lt;TABLE width="100%" bgColor=#ffffcc&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;CODE&gt;&lt;PRE&gt;[LicenseException: The request failed with HTTP status 404: Not Found.]   c360.Toolkit.Licensing.c360LicenseProvider.ᜀ(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3) +1217   c360.Toolkit.Licensing.c360LicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) +44   System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License&amp;amp; license, String&amp;amp; licenseKey) +297   System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License&amp;amp; license) +60   System.ComponentModel.LicenseManager.Validate(Type type, Object instance) +42   c360.Toolkit.SDK.Pages.AreaPage..ctor() +47   Default2..ctor() +23   ASP.default_aspx..ctor() in C:\c360sdk\Default.aspx.vb:912304   __ASP.FastObjectFactory_app_web_jzplg5dw.Create_ASP_default_aspx() +38   System.Web.Compilation.BuildResultCompiledType.CreateInstance() +99   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +162   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +56   System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +112   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +352   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +183   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +191&lt;/PRE&gt;&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;&lt;/P&gt;&lt;HR width="100%" color=silver SIZE=1&gt;&lt;P&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Version Information:&lt;/FONT&gt;&lt;/B&gt; Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 &lt;/FONT&gt;&lt;!-- [LicenseException]: The request failed with HTTP status 404: Not Found.   at c360.Toolkit.Licensing.c360LicenseProvider.ᜀ(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3)   at c360.Toolkit.Licensing.c360LicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)   at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License&amp; license, String&amp; licenseKey)   at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License&amp; license)   at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)   at c360.Toolkit.SDK.Pages.AreaPage..ctor()   at Default2..ctor()   at ASP.default_aspx..ctor() in C:\c360sdk\Default.aspx.vb:line 912304   at __ASP.FastObjectFactory_app_web_jzplg5dw.Create_ASP_default_aspx()   at System.Web.Compilation.BuildResultCompiledType.CreateInstance()   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)   at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)--&gt;</description><pubDate>Tue, 10 Oct 2006 16:54:23 GMT</pubDate><dc:creator>jmarx</dc:creator></item><item><title>RE: Sample App</title><link>http://www.c360.com/Forums/Topic683-40-1.aspx</link><description>[quote]I get the same error if I install directly on the CRM server and not from my laptop as well.[/quote]&lt;/P&gt;&lt;P&gt;What is the error that you are getting? &lt;/P&gt;&lt;P&gt;Also, did you watch the installation video? It walks you through the installation steps and finally, the SDK includes several exercises and test pages in addition to several samples I posted here on the forum. I'm sure you can use one of them as your starting point.</description><pubDate>Tue, 10 Oct 2006 15:39:03 GMT</pubDate><dc:creator>Jeremie Desautels</dc:creator></item><item><title>Sample App</title><link>http://www.c360.com/Forums/Topic683-40-1.aspx</link><description>Attached is a compressed version of my test application. I removed the .LIC file from the Licenses directory and removed the BIN directory (due to size constraints). The program comes with a licensing error. I've modified the c360Location to /, /c360, /c360sdk and /AppName. I get the same error if I install directly on the CRM server and not from my laptop as well. Any help, even in CS will be greatly appreciated. Having a drop and run sample would be the best. That way we can start modifying from the get go and get up to speed faster.</description><pubDate>Tue, 10 Oct 2006 15:31:52 GMT</pubDate><dc:creator>jmarx</dc:creator></item></channel></rss>