Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 22nd, 2007, 09:47 PM
Registered User
 
Join Date: Aug 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Server was unable to process request. ---> The num

Hi
I'm developing a console that connect to a webservice to get data. My webservice communicate with SQL server to store and retrive data.When i try to call a method of the webservice it thow an exception as below

Failure reason:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> The number of elements in the select list exceeds the maximum allowed number of 4096 elements.
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters)
at Firmglobal.Confirmit.SurveyEngine.Offline.WebServi ces.SurveyEngineSynchronization.SurveyEngineSynchr onizationWse.GetRespondentsForInterviewer(String projectId, DatabaseType dbType, Int32 interviewerId, Byte[]& hashValue)

I've never seen this kind of exception before. So if you have any experience, please help me!!!

Thanks

BinhTran

 
Old March 22nd, 2007, 10:14 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Based on your error you have more then 4096 elements in your SELECT statement.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
Server was unable to process request tarduk2004 ASP.NET 2.0 Professional 1 December 12th, 2007 08:37 AM
SoapException: Server was unable to process reques deeptisingh20 ASP.NET 1.0 and 1.1 Professional 1 September 12th, 2006 06:29 AM
Server was unable to process request. Kross ASP.NET 1.0 and 1.1 Professional 1 January 8th, 2006 10:49 AM
Apache Tomcat stop process my request chanmy8 Apache Tomcat 0 June 15th, 2005 07:07 PM
Web Service - Server unable to process request ksams .NET Web Services 0 January 19th, 2004 10:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.