Answered by:
Fetch xml - system view

Question
-
I am retrieving the fetchxml from savedquery entity in to a string.
Then i pass that fetchxml query to the crmservice.Fetch method. But its giving error that server is unable to process reqeust.
need help Urgent.
Thanks in advance
Thursday, January 20, 2011 1:58 PM
Answers
-
- Marked as answer by Andrii ButenkoMVP, Moderator Thursday, October 25, 2012 6:28 PM
Thursday, January 20, 2011 9:17 PM -
Hi Cikram,
"Srever is unable to process your request" is a standard error.
So just make sure your fetchxml is perfect with respect to the Entity name , attribute names and conditions if any.
just try to simplify the query with only one column name and see, if its getting success.
just try to enable the trace and put the exception is giving here.
http://bproud2banindian.blogspot.com/2011/01/enable-tracing-ms-crm-40.html
yes.sudhanshu
http://bproud2banindian.blogspot.com
http://ms-crm-2011-beta.blogspot.com- Marked as answer by Andrii ButenkoMVP, Moderator Thursday, October 25, 2012 6:28 PM
Friday, January 21, 2011 4:06 AM -
Hello Cikram.
From my point of view the easiest way to get the description of error is to use try/catch statements like:
string fetchresult = string.Empty; try { fetchresult = crmservice.Fetch(fetchrequest); } catch (SoapException sexc) { throw new Exception(sexc.Detail.InnerText); }
Microsoft CRM Freelancer
My blog (english)
Мой блог (русскоязычный)- Marked as answer by Andrii ButenkoMVP, Moderator Thursday, October 25, 2012 6:28 PM
Friday, January 21, 2011 4:12 AMModerator
All replies
-
- Marked as answer by Andrii ButenkoMVP, Moderator Thursday, October 25, 2012 6:28 PM
Thursday, January 20, 2011 9:17 PM -
Hi Cikram,
"Srever is unable to process your request" is a standard error.
So just make sure your fetchxml is perfect with respect to the Entity name , attribute names and conditions if any.
just try to simplify the query with only one column name and see, if its getting success.
just try to enable the trace and put the exception is giving here.
http://bproud2banindian.blogspot.com/2011/01/enable-tracing-ms-crm-40.html
yes.sudhanshu
http://bproud2banindian.blogspot.com
http://ms-crm-2011-beta.blogspot.com- Marked as answer by Andrii ButenkoMVP, Moderator Thursday, October 25, 2012 6:28 PM
Friday, January 21, 2011 4:06 AM -
Hello Cikram.
From my point of view the easiest way to get the description of error is to use try/catch statements like:
string fetchresult = string.Empty; try { fetchresult = crmservice.Fetch(fetchrequest); } catch (SoapException sexc) { throw new Exception(sexc.Detail.InnerText); }
Microsoft CRM Freelancer
My blog (english)
Мой блог (русскоязычный)- Marked as answer by Andrii ButenkoMVP, Moderator Thursday, October 25, 2012 6:28 PM
Friday, January 21, 2011 4:12 AMModerator