Writing a .net service that references AXServicesInterface.asmx, using the CreateNewDocument() call. We are successful in creating and uploading files that are under 2.5Mb, but after that, it throws errors. The error stack is below. Is there a configuration file that sets the maximum size that can be imported utilizing this method? Will we have to break the file into chunks?
Thanks
**********************************
There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded.
I can insert files up to(and maybe a little bigger than) 2.5 Mb. After that, I am getting the following error
This is the error I get when the file is too big:
- System.Web.Services.Protocols.SoapException: There was an exception running the extensions specified in the config file. ---> System.Web.HttpException: Maximum request length exceeded.
at System.Web.HttpRequest.GetEntireRawContent()
at System.Web.HttpRequest.get_InputStream()
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response)
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)