<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Enabling Development Errors &#8211; Tip for Developers</title>
	<atom:link href="http://ayazahmad.wordpress.com/2007/02/13/enabling-development-errors-tip-for-developers/feed/" rel="self" type="application/rss+xml" />
	<link>http://ayazahmad.wordpress.com/2007/02/13/enabling-development-errors-tip-for-developers/</link>
	<description>Microsoft CRM Blog</description>
	<lastBuildDate>Fri, 30 Oct 2009 14:19:19 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Susan</title>
		<link>http://ayazahmad.wordpress.com/2007/02/13/enabling-development-errors-tip-for-developers/#comment-1494</link>
		<dc:creator>Susan</dc:creator>
		<pubDate>Wed, 25 Jul 2007 05:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://ayazahmad.wordpress.com/2007/02/13/enabling-development-errors-tip-for-developers/#comment-1494</guid>
		<description>Hello Ayaz,


I am having a problem in creating a CRM entity using CRM SDk from the backend.
The code works well if I run it from Visual Studio enviromnment.
But when I call it from an iframe reference in CRM it gives me the following error.

Line 40:         [return: System.Xml.Serialization.XmlElementAttribute(&quot;Response&quot;, Namespace=&quot;http://schemas.microsoft.com/crm/2006/WebServices&quot;)]
Line 41:         public Response Execute([System.Xml.Serialization.XmlElementAttribute(Namespace=&quot;http://schemas.microsoft.com/crm/2006/WebServices&quot;)] Request Request) {
Line 42:             object[] results = this.Invoke(&quot;Execute&quot;, new object[] {
Line 43:                         Request});
Line 44:             return ((Response)(results[0]));
 

Source File: C:\Inetpub\wwwroot\VDBCrmApplication\Web References\CrmSdk\Reference.cs    Line: 42 

Stack Trace: 


[SoapException: Server was unable to process request.]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1496
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +217
   VDBCrmApplication.CrmSdk.CrmService.Execute(Request Request) in C:\Inetpub\wwwroot\VDBCrmApplication\Web References\CrmSdk\Reference.cs:42
   VDBCrmApplication.VDB_EventSession.createtempsession() in c:\inetpub\wwwroot\vdbcrmapplication\vdb_eventsession.aspx.cs:236
   VDBCrmApplication.VDB_EventSession.CreateUpdateTempSession(String TmpSession) in c:\inetpub\wwwroot\vdbcrmapplication\vdb_eventsession.aspx.cs:160
   VDBCrmApplication.VDB_EventSession.DataGrid_Update(Object Source, DataGridCommandEventArgs E) in c:\inetpub\wwwroot\vdbcrmapplication\vdb_eventsession.aspx.cs:143
   System.Web.UI.WebControls.DataGrid.OnUpdateCommand(DataGridCommandEventArgs e) +109
   System.Web.UI.WebControls.DataGrid.OnBubbleEvent(Object source, EventArgs e) +507
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +26
   System.Web.UI.WebControls.DataGridItem.OnBubbleEvent(Object source, EventArgs e) +106
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +26
   System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +121
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +115
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138
   System.Web.UI.Page.ProcessRequestMain() +1292

 



Please help me out.</description>
		<content:encoded><![CDATA[<p>Hello Ayaz,</p>
<p>I am having a problem in creating a CRM entity using CRM SDk from the backend.<br />
The code works well if I run it from Visual Studio enviromnment.<br />
But when I call it from an iframe reference in CRM it gives me the following error.</p>
<p>Line 40:         [return: System.Xml.Serialization.XmlElementAttribute("Response", Namespace="http://schemas.microsoft.com/crm/2006/WebServices")]<br />
Line 41:         public Response Execute([System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.microsoft.com/crm/2006/WebServices")] Request Request) {<br />
Line 42:             object[] results = this.Invoke(&#8220;Execute&#8221;, new object[] {<br />
Line 43:                         Request});<br />
Line 44:             return ((Response)(results[0]));</p>
<p>Source File: C:\Inetpub\wwwroot\VDBCrmApplication\Web References\CrmSdk\Reference.cs    Line: 42 </p>
<p>Stack Trace: </p>
<p>[SoapException: Server was unable to process request.]<br />
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1496<br />
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +217<br />
   VDBCrmApplication.CrmSdk.CrmService.Execute(Request Request) in C:\Inetpub\wwwroot\VDBCrmApplication\Web References\CrmSdk\Reference.cs:42<br />
   VDBCrmApplication.VDB_EventSession.createtempsession() in c:\inetpub\wwwroot\vdbcrmapplication\vdb_eventsession.aspx.cs:236<br />
   VDBCrmApplication.VDB_EventSession.CreateUpdateTempSession(String TmpSession) in c:\inetpub\wwwroot\vdbcrmapplication\vdb_eventsession.aspx.cs:160<br />
   VDBCrmApplication.VDB_EventSession.DataGrid_Update(Object Source, DataGridCommandEventArgs E) in c:\inetpub\wwwroot\vdbcrmapplication\vdb_eventsession.aspx.cs:143<br />
   System.Web.UI.WebControls.DataGrid.OnUpdateCommand(DataGridCommandEventArgs e) +109<br />
   System.Web.UI.WebControls.DataGrid.OnBubbleEvent(Object source, EventArgs e) +507<br />
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +26<br />
   System.Web.UI.WebControls.DataGridItem.OnBubbleEvent(Object source, EventArgs e) +106<br />
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +26<br />
   System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +121<br />
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +115<br />
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18<br />
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138<br />
   System.Web.UI.Page.ProcessRequestMain() +1292</p>
<p>Please help me out.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
