server-error

How to find webrick bugs in NetBeans for Ror?

Hello I'm starting my adventure with Ruby on Rails and as IDE I choose Netbeans. It has bundled server Webrick and it had worked good. But after some changes in my first application it gives me internal error 500 - but nothing shows in console. And older actions give the same result. How can I find where the problem is? I work on Ubuntu...

Why would ASP.NET not be able to find asp:UpdateProgress ?

Basically I am upgrading from 1.1 to .NET 3.5 SP1 and replacing an old .NET 1.1 WebForms application with its newer .NET 3.5 version. I run the .net 3.5 sp1 installer (dotnetfx35setup.exe) I run the crystal reports redistributable installer I set up a new application pool I set up a new website using the directory with the new files, u...

Why an ASP.NET MVC Configuration Error With Sub Folder as Web Application that cannot load Site Master Type

Inside of my MVC application, I have a sub-folder named "Admin" that was "Converted to Web Application". In IIS, the Admin folder has also been setup as a web-application. After publishing my full application, I get a Configuration Error when trying to open Default.aspx within the Admin folder. EDIT I made the suggested change an...

ASP.NET - Server Connection Reset

I have a website that from time to time requires I do bulk updates on the Access database and to facilitate this I created a run-once-and-delete page that contains a big text box, a captcha, and a hard coded strong password. When I run this against a local copy of the database I have no problems, but when I run it on the server I get a "...

How to handle Server not responding Exception in asp.net mvc?

How do i simulate and handle the server not responding error? And which case do u think it might occur, as when u request a page from the server and if its not responding wouldnt it throw page cant be displayed error? ...

Posting data to a HttpHandler greater then ~29MB gives a 404 error

I am testing a HttpHandler that accepts XML. It works fine when a small amount of data is posted but if I post data larger then approx 29mb, I get a asp.net 404 Error. I am posting to the handler from another handler in the same project and I have tried 2 methods - 1. HttpWebRequest with "POST" 2. WebClient with UploadFile() and UploadD...

PHP header location redirect causing 500 Internal Server error

Hi, I I keep getting a 500 Internal Server Error when the script below reaches the header('location:php_email_thankyou.php'). Im not sure what is causing this, as I can place the header expression before or after the if statements and it works fine. In firebug it mentions a GET request for the php_email_thankyou.php page not sure if that...

What does this error states in php?

I have added htaccess file to my codeigniter folder and since then i get Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. If you think this is a server error, please contact the webmaster. Error ...

"The resource cannot be found" when I hit F5 in Visual Studio 2010

I have a .NET 3.5 web application that I am trying to run in my local development environment. Every time I hit F5 to run the application, I get the following error: Server Error in '/' Application. The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been remo...

IIS6 Virtual Directory not accessible as an app

I have a WinSrv2k3 box with IIS6 hosting a series of sites, one of which is a VB/.NET2 site. Inside this I have created a virtual directory and pointed it at a very simple C#/.NET3.5 site's directory. I was expecting the site to allow me to view the pages as a normal site (there is only one ASMX in the virtual directory) but when access...

[Fri Jul 30 20:53:33 2010] [error] [client {IP}] Premature end of script headers: /home/siteroot/public_html/power/fckeditor/test.php

Hi Guys, A problem has been reported to me that uploading through fckEditor will not work. After messing about with some settings it turns out that running php files in the fckEditor folder will not work and an Error 500 is returned. When I checked the log files the message in the subject was returned. The script is simple: <?php echo ...

Premature end of script headers - What, I have no idea!

Hello all, I try to execute a simple perl script on my server and I get an internal 500 server and when I check the error logs it shows: Premature end of script headers: test.pl Here is the perl script: #!/usr/bin/perl -w print "Content-type: text/plain\n\n"; print "testing...\n"; My cgi-bin folder has permissions of 0755. The scri...

IIS7, Default.aspx error message (screenshot)

I'm creating a new ASP.net website via Visual Studio. I then try to run the default.aspx page it generates, and it throws this error: I've tried deleting the affected lines as suggested by MSDN but to no avail! I am on Windows 7, with ASP.net installed Any ideas? ...

Get Last Sever Error without using Global.asax page

I have set up custom error on my server and i'm redirecting to a page as shown below <customErrors mode="On"> <error statusCode="500" redirect="/servererror/default.aspx" /> </customErrors> When it gets to the page servererror/default.aspx I need it to send an e-mail to me with the exception.message Here's what i'm trying but it...

Custom 404 error not redirecting properly

I have this custom error redirect in my web.config file but it doesn't seem to be working since i added the redirectMode="ResponseRewrite" It works fine for 500 errors but not for 404 (it just doesn't redirect when i have a 404) Here's the code from web.config <customErrors mode="On" redirectMode="ResponseRewrite"> <error statusC...

C# How can I get server error from a URL?

We have a url and we need to check whether web page is active or not. We tried following code: WebResponse objResponse = null; WebRequest objRequest = HttpWebRequest.Create(URL); objRequest.Method = "HEAD"; try { objResponse = objRequest.GetResponse(); objResponse.Close(); ...

Need help tracking down sporadic "Unable to serialize the session state" server errors.

We have been receiving reports of the following server error periodically from users. [OutOfMemoryException: Exception of type System.OutOfMemoryException was thrown.] [HttpException (0x80004005): Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session stat...