errorcode

How can I trace IIS 500 errors thrown by my webservice

Aloha I have deployed a new version of an ASP.NET webservice. The IIS logfile reports an errorcode 500 when this service is being called by a client. My own (test) can use the service without any error. I have enabled errorlogging in my ASP.NET webservice, but no error isbeing logged, which leads me to believe the error is not thrown by...

Error code 141 with tar

tar -xvzf $filename.tar.gz || { exit $?; } Here my scripts would exit with errorCode 141. I am using Fedora Core 6 with tar version 1.15 it wont happen all the time, but more than 70 percent of the time it fails. ...

How to set the ErrorCode of a ManagementException?

I want to handle a ManagementException exception for a specific ErrorCode only and am having trouble writing the unit test for it. Ordinarily, I would write the test so that it is something like the following: Searcher search = MockRepository.GenerateMock<Searcher>(); // wrapper for ManagementObjectSearcher ... search.Expect(s => s.G...

http error code 12019 in Ajax call

Hi, When executing a ajax call i received a http error code 12019. This call works most of the time, but in rare occasions i get this errorcall. I found that this error code is described as "The requested operation cannot be carried out because the handle supplied is not in the correct state." (@msdn). Can anybody tell me what this mean...

errorCode for The process cannot access the file 'XYZ' because it is being used by another process

I using C# .NET , vs 2008 , .net 3.5 For me, is difficult, but I need sample code in C# for this: How get the error code of IOException "The process cannot access the file 'XYZ' because it is being used by another process." For example, in my issue. I try delete file, and I get "The process cannot access the file 'XYZ' because it...

PHP 404 response header

Hi, I use .htaccess RewriteRules to pass the url to index.php. If the specified page name isn't found in the database, I want my script to throw proper 404 responses. The way I have tried to achieve this is: header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found"); Analysing the HTTP responses in my browser, the response comes back fi...