Bad Request!
-
Hello All I am updating a database on a server using a web service, the web service, my program is reading a large text files in my local machine and every 1000 line send them as an array of type string to the web service method that accepts string array , it runs will for a while but after 2 or min it gives me an exception "The request failed with HTTP status 400: Bad Request" can any one help on this plz!
-
Hello All I am updating a database on a server using a web service, the web service, my program is reading a large text files in my local machine and every 1000 line send them as an array of type string to the web service method that accepts string array , it runs will for a while but after 2 or min it gives me an exception "The request failed with HTTP status 400: Bad Request" can any one help on this plz!
-
Does the request exceed the default limit of 4 MB?
--- single minded; short sighted; long gone;
-
Hello All I am updating a database on a server using a web service, the web service, my program is reading a large text files in my local machine and every 1000 line send them as an array of type string to the web service method that accepts string array , it runs will for a while but after 2 or min it gives me an exception "The request failed with HTTP status 400: Bad Request" can any one help on this plz!
Get ProcessExplorer or a similar tool and monitor the asp.net process that is running your webservice, I think that IIS is restarting the process due to large amount of RAM usage. I got the same error uploading large files by calling a webservice, chunk by chunk. A solution is to use free the memory from time to time by calling the Garbage Collector.
-
Get ProcessExplorer or a similar tool and monitor the asp.net process that is running your webservice, I think that IIS is restarting the process due to large amount of RAM usage. I got the same error uploading large files by calling a webservice, chunk by chunk. A solution is to use free the memory from time to time by calling the Garbage Collector.