More in this section

Forums / Bugs & Issues / Error running SDK Samples

Error running SDK Samples

11 posts, 0 answered
  1. gregory hernandez
    gregory hernandez avatar
    59 posts
    Registered:
    10 Jul 2009
    14 Jan 2012
    Link to this post
    I get the attached when I trying to "Run sample in browser" from Sitefinity's SDK.

    Any suggestions?

    Thanks,
    Gregory

    Server Error in '/' Application.


    The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '




    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
       <meta http-equiv="content-type" content="text/html; charset=utf-8" />
       <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <link href="/Telerik.Web.UI.WebResource.axd?compress=0&amp;_TSM_CombinedScripts_=%3b%3bTelerik.Sitefinity.Resources%2c+Version%3d4.4.2117.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen-US%3ac626e5ee-dce4-4e44-a7b7-617c834c5d98%3a5aa8d08c%3a62c62c5e%3ac0717fa6%3ae5e8fcea" type="text/css" rel="stylesheet" /><title>


    </title></head>
    <body class="sfDialog sfFormDialog">
       <form method="post" action="Licensing?ReturnUrl=%2fDefaultWorkflows%2fAnyMediaContentApprovalWorkflow.xamlx" id="aspnetForm">
    <input type="hidden" name="ctl01_TSM" id="ctl01_TSM" value="" />
    <input type="hidden" name="ctl02_TSSM" id="ctl02_TSSM" value="" />
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/'.


    Description: 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. 


    Exception Details: System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '




    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
       <meta http-equiv="content-type" content="text/html; charset=utf-8" />
       <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <link href="/Telerik.Web.UI.WebResource.axd?compress=0&amp;_TSM_CombinedScripts_=%3b%3bTelerik.Sitefinity.Resources%2c+Version%3d4.4.2117.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen-US%3ac626e5ee-dce4-4e44-a7b7-617c834c5d98%3a5aa8d08c%3a62c62c5e%3ac0717fa6%3ae5e8fcea" type="text/css" rel="stylesheet" /><title>


    </title></head>
    <body class="sfDialog sfFormDialog">
       <form method="post" action="Licensing?ReturnUrl=%2fDefaultWorkflows%2fAnyMediaContentApprovalWorkflow.xamlx" id="aspnetForm">
    <input type="hidden" name="ctl01_TSM" id="ctl01_TSM" value="" />
    <input type="hidden" name="ctl02_TSSM" id="ctl02_TSSM" value="" />
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/'.


    Source Error: 




    Line 2501:                    var bag = new Dictionary<string, string>();
    Line 2502:                    bag.Add("ContentType", typeof(Image).FullName);
    Line 2503:                    WorkflowManager.MessageWorkflow(imageId, typeof(Image), null, "Publish", false, bag);
    Line 2504:                }
    Line 2505:            }


    Source File: c:\Users\Windows 7\AppData\Local\Telerik.Sitefinity.SDK\book_79A03C64\Telerik.Sitefinity.Samples.Common\SampleUtilities.cs    Line: 2503 


    Stack Trace: 




    [ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '




    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <link href="/Telerik.Web.UI.WebResource.axd?compress=0&amp;_TSM_CombinedScripts_=%3b%3bTelerik.Sitefinity.Resources%2c+Version%3d4.4.2117.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen-US%3ac626e5ee-dce4-4e44-a7b7-617c834c5d98%3a5aa8d08c%3a62c62c5e%3ac0717fa6%3ae5e8fcea" type="text/css" rel="stylesheet" /><title>


    </title></head>
    <body class="sfDialog sfFormDialog">
        <form method="post" action="Licensing?ReturnUrl=%2fDefaultWorkflows%2fAnyMediaContentApprovalWorkflow.xamlx" id="aspnetForm">
    <input type="hidden" name="ctl01_TSM" id="ctl01_TSM" value="" />
    <input type="hidden" name="ctl02_TSSM" id="ctl02_TSSM" value="" />
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/'.]
       System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +9455983
       System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +345
       Telerik.Sitefinity.ContentWorkflows.IService.SendMessage(String operationName, Boolean isCheckedOut, Guid workflowDefinitionId, Guid contentId, String providerName, Dictionary`2 contextBag) +0
       Telerik.Sitefinity.Workflow.WorkflowManager.MessageWorkflow(String wokflowUrl, String operationName, WorkflowDefinition workflowDefinition, Guid contentId, String providerName, Boolean isCheckedOut, Dictionary`2 contextBag) +1940
       Telerik.Sitefinity.Workflow.WorkflowManager.MessageWorkflow(Guid itemId, Type itemType, String providerName, String operationName, Boolean isCheckedOut, Dictionary`2 contextBag) +173
       Telerik.Sitefinity.Samples.Common.SampleUtilities.UploadImages(String folderPath, String albumName) in c:\Users\Windows 7\AppData\Local\Telerik.Sitefinity.SDK\book_79A03C64\Telerik.Sitefinity.Samples.Common\SampleUtilities.cs:2503
       SitefinityWebApp.Global.Bootstrapper_Initialized(Object sender, ExecutedEventArgs args) in c:\Users\Windows 7\AppData\Local\Telerik.Sitefinity.SDK\book_79A03C64\SitefinityWebApp\Global.asax.cs:46
       System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0
       Telerik.Sitefinity.Abstractions.Bootstrapper.OnInitialized(Object sender, ExecutedEventArgs args) +30
       Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +300
       Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +115
       System.Web.Routing.UrlRoutingModule.System.Web.IHttpModule.Init(HttpApplication application) +10
       System.Web.HttpApplication.InitModulesCommon() +172
       System.Web.HttpApplication.InitModules() +43
       System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +828
       System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +304
       System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +327


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    17 Jan 2012
    Link to this post
    Hi Gregory,

    Can you tell me a bit more about your setup because I see that there are some connection / proxy records in the stack trace:

    System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +9455983
       System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +345
       Telerik.Sitefinity.ContentWorkflows.IService.SendMessage(String operationName, Boolean isCheckedOut, Guid workflowDefinitionId, Guid contentId, String providerName, Dictionary`2 contextBag) +0
       Telerik.Sitefinity.Workflow.WorkflowManager.MessageWorkflow(String wokflowUrl, String operationName, WorkflowDefinition workflowDefinition, Guid contentId, String providerName, Boolean isCheckedOut, Dictionary`2 contextBag) +1940


    Also when did you start to notice the error? Is this a new installation of the SDK or an upgraded copy?

    All the best,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Russell
    Russell avatar
    15 posts
    Registered:
    23 Sep 2011
    22 Feb 2012
    Link to this post

    On every 4.4 SDK sample I am getting either the same, or similar message to what Gregory was experiencing.  This is a fresh install of the SDK, and a recent install of SF 4.4.  I have no idea how to even start troubleshooting this problem.  I really would like to run these samples!

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

    The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
       <meta http-equiv="content-type" content="text/html; charset=utf-8" />
       <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <link href="/Telerik.Web.UI.WebResource.axd?compress=0&amp;_TSM_CombinedScripts_=%3b%3bTelerik.Sitefinity.Resources%2c+Version%3d4.4.2117.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen-US%3ac626e5ee-dce4-4e44-a7b7-617c834c5d98%3a5aa8d08c%3a62c62c5e%3ac0717fa6%3ae5e8fcea" type="text/css" rel="stylesheet" /><title>

    </title></head>
    <body class="sfDialog sfFormDialog">
       <form method="post" action="Licensing?ReturnUrl=%2fDefaultWorkflows%2fAnyMediaContentApprovalWorkflow.xamlx" id="aspnetForm">
    <input type="hidden" name="ctl01_TSM" id="ctl01_TSM" value="" />
    <input type="hidden" name="ctl02_TSSM" id="ctl02_TSSM" value="" />
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/'.
    Description: 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.

    Exception Details: System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
       <meta http-equiv="content-type" content="text/html; charset=utf-8" />
       <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <link href="/Telerik.Web.UI.WebResource.axd?compress=0&amp;_TSM_CombinedScripts_=%3b%3bTelerik.Sitefinity.Resources%2c+Version%3d4.4.2117.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen-US%3ac626e5ee-dce4-4e44-a7b7-617c834c5d98%3a5aa8d08c%3a62c62c5e%3ac0717fa6%3ae5e8fcea" type="text/css" rel="stylesheet" /><title>

    </title></head>
    <body class="sfDialog sfFormDialog">
       <form method="post" action="Licensing?ReturnUrl=%2fDefaultWorkflows%2fAnyMediaContentApprovalWorkflow.xamlx" id="aspnetForm">
    <input type="hidden" name="ctl01_TSM" id="ctl01_TSM" value="" />
    <input type="hidden" name="ctl02_TSSM" id="ctl02_TSSM" value="" />
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/'.

    Source Error:

    Line 2501:                    var bag = new Dictionary<string, string>();
    Line 2502:                    bag.Add("ContentType", typeof(Image).FullName);
    Line 2503:                    WorkflowManager.MessageWorkflow(imageId, typeof(Image), null, "Publish", false, bag);
    Line 2504:                }
    Line 2505:            }
     

    Source File: c:\Users\adminrfg\AppData\Local\Telerik.Sitefinity.SDK\CoverFlow_3F0B83B3\Telerik.Sitefinity.Samples.Common\SampleUtilities.cs    Line: 2503

    Stack Trace:

    [ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <link href="/Telerik.Web.UI.WebResource.axd?compress=0&amp;_TSM_CombinedScripts_=%3b%3bTelerik.Sitefinity.Resources%2c+Version%3d4.4.2117.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen-US%3ac626e5ee-dce4-4e44-a7b7-617c834c5d98%3a5aa8d08c%3a62c62c5e%3ac0717fa6%3ae5e8fcea" type="text/css" rel="stylesheet" /><title>

    </title></head>
    <body class="sfDialog sfFormDialog">
        <form method="post" action="Licensing?ReturnUrl=%2fDefaultWorkflows%2fAnyMediaContentApprovalWorkflow.xamlx" id="aspnetForm">
    <input type="hidden" name="ctl01_TSM" id="ctl01_TSM" value="" />
    <input type="hidden" name="ctl02_TSSM" id="ctl02_TSSM" value="" />
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/'.]
       System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +9460671
       System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +345
       Telerik.Sitefinity.ContentWorkflows.IService.SendMessage(String operationName, Boolean isCheckedOut, Guid workflowDefinitionId, Guid contentId, String providerName, Dictionary`2 contextBag) +0
       Telerik.Sitefinity.Workflow.WorkflowManager.MessageWorkflow(String wokflowUrl, String operationName, WorkflowDefinition workflowDefinition, Guid contentId, String providerName, Boolean isCheckedOut, Dictionary`2 contextBag) +1944
       Telerik.Sitefinity.Workflow.WorkflowManager.MessageWorkflow(Guid itemId, Type itemType, String providerName, String operationName, Boolean isCheckedOut, Dictionary`2 contextBag) +173
       Telerik.Sitefinity.Samples.Common.SampleUtilities.UploadImages(String folderPath, String albumName) in c:\Users\adminrfg\AppData\Local\Telerik.Sitefinity.SDK\CoverFlow_3F0B83B3\Telerik.Sitefinity.Samples.Common\SampleUtilities.cs:2503
       SitefinityWebApp.Global.Bootstrapper_Initialized(Object sender, ExecutedEventArgs args) in c:\Users\adminrfg\AppData\Local\Telerik.Sitefinity.SDK\CoverFlow_3F0B83B3\SitefinityWebApp\Global.asax.cs:42
       System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0
       Telerik.Sitefinity.Abstractions.Bootstrapper.OnInitialized(Object sender, ExecutedEventArgs args) +30
       Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +300
       Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +115
       System.Web.Routing.UrlRoutingModule.System.Web.IHttpModule.Init(HttpApplication application) +10
       System.Web.HttpApplication.InitModulesCommon() +172
       System.Web.HttpApplication.InitModules() +43
       System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +828
       System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +304
       System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +327

     

    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

  4. Peter Graasbøl
    Peter Graasbøl avatar
    34 posts
    Registered:
    30 Jul 2009
    22 Feb 2012
    Link to this post
    Hi,
    SItefinity
     SDK has always been a time-waster. 
    Many interesting topics, trials, samples, but mostly it does not work.
    If it does not work the first time, use your time on something else!
    It is sad :-(.

    /Peter
  5. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    27 Feb 2012
    Link to this post
    Hello Russell,

    Can you make sure that the SDK is using the 4.4 license that you have for your Sitefinity installation? Also if possible, please share with us some more details about your setup, so we can get a better picture of the situation.

    Regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Andrei
    Andrei avatar
    553 posts
    Registered:
    27 Nov 2008
    27 Feb 2012
    Link to this post
    Victor,
    Will you guys release new starter kits with Sitefinity 5.0?
    Thanks, Andrei.
  7. Russell
    Russell avatar
    15 posts
    Registered:
    23 Sep 2011
    27 Feb 2012
    Link to this post
    Well, not sure why just now it decided to ask me about my license.  So that took care of one part.  The sample only had one news item, so I added several more. The stock news widget works, and shows the news.  However the News Rotator does not show any content, only a blank screen with the forward / back controls.
  8. Jeff
    Jeff avatar
    8 posts
    Registered:
    08 Aug 2008
    03 Mar 2012
    Link to this post
    I agree. The samples never seem to work. It is so frustrating!!
  9. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    05 Mar 2012
    Link to this post
    Hi,

    @Andrei: Unfortunately in the SDK there will be no new Starter Kits included.

    @Rusell: Can you attach screenshots or other content to the forum thread so we can have a better view of what is happening as the behaviour is not reproduced on our end.

    All the best,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  10. Garry
    Garry avatar
    52 posts
    Registered:
    04 Nov 2010
    10 Mar 2012
    Link to this post
    Victor,
    I am experiencing the same issue on a brand new clean install of the 5.0 stuff. The solution builds successfully, but when you run the starter kit the following error occurs:

    Server Error in '/' Application.
    --------------------------------------------------------------------------------
      
    The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '
      
      
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head>
       <meta http-equiv="content-type" content="text/html; charset=utf-8" />
       <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <link href="/Telerik.Web.UI.WebResource.axd?compress=0&_TSM_CombinedScripts_=%3b%3bTelerik.Sitefinity.Resources%2c+Version%3d4.4.2117.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen-US%3ac626e5ee-dce4-4e44-a7b7-617c834c5d98%3a5aa8d08c%3a62c62c5e%3ac0717fa6%3ae5e8fcea" type="text/css" rel="stylesheet" /><title>
      
    </title></head>
    <body class="sfDialog sfFormDialog">
       <form method="post" action="Licensing?ReturnUrl=%2fDefaultWorkflows%2fAnyMediaContentApprovalWorkflow.xamlx" id="aspnetForm">
    <input type="hidden" name="ctl01_TSM" id="ctl01_TSM" value="" />
    <input type="hidden" name="ctl02_TSSM" id="ctl02_TSSM" value="" />
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/'. 
    Description: 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. 
      
    Exception Details: System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '
      
      
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head>
       <meta http-equiv="content-type" content="text/html; charset=utf-8" />
       <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <link href="/Telerik.Web.UI.WebResource.axd?compress=0&_TSM_CombinedScripts_=%3b%3bTelerik.Sitefinity.Resources%2c+Version%3d4.4.2117.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen-US%3ac626e5ee-dce4-4e44-a7b7-617c834c5d98%3a5aa8d08c%3a62c62c5e%3ac0717fa6%3ae5e8fcea" type="text/css" rel="stylesheet" /><title>
      
    </title></head>
    <body class="sfDialog sfFormDialog">
       <form method="post" action="Licensing?ReturnUrl=%2fDefaultWorkflows%2fAnyMediaContentApprovalWorkflow.xamlx" id="aspnetForm">
    <input type="hidden" name="ctl01_TSM" id="ctl01_TSM" value="" />
    <input type="hidden" name="ctl02_TSSM" id="ctl02_TSSM" value="" />
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/'.
      
    Source Error: 
      
      
    Line 2501:                    var bag = new Dictionary<string, string>();
    Line 2502:                    bag.Add("ContentType", typeof(Image).FullName);
    Line 2503:                    WorkflowManager.MessageWorkflow(imageId, typeof(Image), null, "Publish", false, bag);
    Line 2504:                }
    Line 2505:            }
       
      
    Source File: D:\Telerik\Starter Kits\Charity_49BB01BD\Telerik.Sitefinity.Samples.Common\SampleUtilities.cs    Line: 2503 
      
    Stack Trace: 
      
      
    [ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '
      
      
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <link href="/Telerik.Web.UI.WebResource.axd?compress=0&_TSM_CombinedScripts_=%3b%3bTelerik.Sitefinity.Resources%2c+Version%3d4.4.2117.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen-US%3ac626e5ee-dce4-4e44-a7b7-617c834c5d98%3a5aa8d08c%3a62c62c5e%3ac0717fa6%3ae5e8fcea" type="text/css" rel="stylesheet" /><title>
      
    </title></head>
    <body class="sfDialog sfFormDialog">
        <form method="post" action="Licensing?ReturnUrl=%2fDefaultWorkflows%2fAnyMediaContentApprovalWorkflow.xamlx" id="aspnetForm">
    <input type="hidden" name="ctl01_TSM" id="ctl01_TSM" value="" />
    <input type="hidden" name="ctl02_TSSM" id="ctl02_TSSM" value="" />
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/'.]
       System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +9464367
       System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +345
       Telerik.Sitefinity.ContentWorkflows.IService.SendMessage(String operationName, Boolean isCheckedOut, Guid workflowDefinitionId, Guid contentId, String providerName, Dictionary`2 contextBag) +0
       Telerik.Sitefinity.ContentWorkflows.ServiceClient.SendMessage(String operationName, Boolean isCheckedOut, Guid workflowDefinitionId, Guid contentId, String providerName, Dictionary`2 contextBag) +111
       Telerik.Sitefinity.Workflow.WorkflowManager.MessageWorkflow(String wokflowUrl, String operationName, WorkflowDefinition workflowDefinition, Guid contentId, String providerName, Boolean isCheckedOut, Dictionary`2 contextBag) +2614
       Telerik.Sitefinity.Workflow.WorkflowManager.MessageWorkflow(Guid itemId, Type itemType, String providerName, String operationName, Boolean isCheckedOut, Dictionary`2 contextBag) +209
       Telerik.Sitefinity.Samples.Common.SampleUtilities.UploadImages(String folderPath, String albumName) in D:\Telerik\Starter Kits\Charity_49BB01BD\Telerik.Sitefinity.Samples.Common\SampleUtilities.cs:2503
       SitefinityWebApp.Global.Bootstrapper_Initialized(Object sender, ExecutedEventArgs args) in D:\Telerik\Starter Kits\Charity_49BB01BD\SitefinityWebApp\Global.asax.cs:95
       System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0
       Telerik.Sitefinity.Abstractions.Bootstrapper.OnInitialized(Object sender, ExecutedEventArgs args) +54
       Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +382
       Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +112
       System.Web.Routing.UrlRoutingModule.System.Web.IHttpModule.Init(HttpApplication application) +10
       System.Web.HttpApplication.InitModulesCommon() +80
       System.Web.HttpApplication.InitModules() +43
       System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +828
       System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +304
       System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +327
      
       
      
      
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225
  11. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    14 Mar 2012
    Link to this post
    Hello Garry,

    Can you verify that you have Windows Identity Foundation? If not you can download and install Windows Identity Foundation:

    http://msdn.microsoft.com/en-us/evalcenter/dd440951


    Then you can try to delete all old SDKs left ( if you have such, although you say it is a clean install ) from your Program Files/Telerik folder. Also remove the samples extraction folder and install the new SDK. You should be able to start any of the starter kits then, on a clean environment.

    Kind regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
11 posts, 0 answered