HTTP 500 Error when loading ASP (Full Version)

All Forums >> [Web Development] >> Server Issues



Message


fhenkel -> HTTP 500 Error when loading ASP (1/7/2006 18:45:43)

I'm creating a Online Registration database and have it created as I have done many times before for our car events. Now when I set a link to the submission page it gives me the HTTP 500 error which is on the server side if I'm correct. I did just rebuild the new server 2003, could I have missed something which is required for running ASP?

Any ideas, thanks.




coreybryant -> RE: HTTP 500 Error when loading ASP (1/7/2006 19:16:02)

Make sure to show unfriendly HTTP Messages - you might not have an include in place. On IE, go to Tools - Advanced and under the browser properties, make sure that Show friendly HTTP Error messages is not checked.




fhenkel -> RE: HTTP 500 Error when loading ASP (1/7/2006 20:02:57)

DUH!! Thanks for the reminder of just how smart we don't get.. :-)

That was it. FP writes the Include with a ../../ and then it isn't allowed. I've used a way around it by that part of the script and copying the _fpclass directory under the working directory..

Thanks again, Corey.




coreybryant -> RE: HTTP 500 Error when loading ASP (1/7/2006 20:06:21)

Glad to have helped :) - after a few times of making that mistake myself - I have kind of learned LOL




drogers -> RE: HTTP 500 Error when loading ASP (1/10/2006 12:27:00)

If parent paths are disabled (you can't refer to a file in a parent directory using ../ in includes) use Include Virtual instead of Include File. Include Virtual uses the virtual root directory as the starting point and then you can move forward using normal folder denotation:


<!-- #include virtual="filename.inc" -->



File named filename.inc in the root directory.



<!-- #include virtual="folder/filename.inc" -->



File named filename.inc in a folder called "folder" which is located above the root directory.

And so on...




fhenkel -> RE: HTTP 500 Error when loading ASP (1/12/2006 11:18:56)

Thank you for the info. It would be eaiser to change the include rather than copying the _fpclass directory so I'll give this a shot. You mentioned the "parent paths" being turned off? I have the same problem on my one site that I have hosted on a Hosting service but I also have the same thing on my 2003 web server I built at home, is there an option I may have missed to allow calling the parent path?





fhenkel -> RE: HTTP 500 Error when loading ASP (1/12/2006 11:39:43)

Well that didn't work either. By putting the word "'virtual" in the statement it comes back with the ../../ Not allowed error again?? It seems it understands the virtual to literally and sees it as ../../ automatically. I should mention the Include statement is in a webbot by FP, if that matters. It actually is u-asp-include-url="_fpclass/fpdbform.inc" .




coreybryant -> RE: HTTP 500 Error when loading ASP (1/13/2006 11:22:52)

What is the complete code you are using (Sorry I was out due to hernia surgery)? Any reason why you are using FP includes instead of ASP includes?




fhenkel -> RE: HTTP 500 Error when loading ASP (1/20/2006 11:50:02)

Corey, hope youu doing ok after your surgery. I've always only worked with FP for building all my ASP code. As I mentioned it has always worked fine to this point. I'm questioning the server being the fault because I'm also getting another error which is not a show stopper but more annoying than anything else. The error 500 is a show stopper though.




fhenkel -> RE: HTTP 500 Error when loading ASP (1/20/2006 12:11:20)

Well scratch all that has gone before.... We had a power failure and it outlasted the UPS but when it all came back up, the 500 error is gone?? Got me but it is working now. Next I just have to try to get rid of this annoying problem I have when saving files in FP, it gives this error. The funny thing is it only does it on certain files and it really has already saved the file?? It then prompts you to overwrite and if you do it saves it again and thats it? Real pain..

[image]local://upfiles/9934/64B4AD067D214A9D816BC243FA550648.jpg[/image]




coreybryant -> RE: HTTP 500 Error when loading ASP (1/20/2006 13:34:44)

Getting better, thanks. The error message - have you tried resetting the FP server extensions? Or contacting the host to let them know? it is a server side error




fhenkel -> RE: HTTP 500 Error when loading ASP (1/20/2006 17:33:44)

Corey, the host is my 2003 server at the house. I'm hosting a few sites from home over cable and they are all now working fine so far, well except for this FP error. When you say "reset" the extensions, do you mean reinstall them or recalculate them?




coreybryant -> RE: HTTP 500 Error when loading ASP (1/21/2006 7:46:14)

Recalcualte everything via the FPSE admin control panel. Removing them sometimes causes more problems




fhenkel -> RE: HTTP 500 Error when loading ASP (1/23/2006 8:14:48)

Corey, there seems to be a problem with something on the server. I'm trying to recalculate the extensions as you suggested but when I select Recalculate, it prompts me for a id and password. This is fine except it will not accept any id and password I try to use? I've tried the server admin id as well as my id, which is in the admin group but it will not take either one? I can, however, run the Sharepoint Central Administration. Any ideas on what I may have set incorrectly or is this a "do-over" for the server?




coreybryant -> RE: HTTP 500 Error when loading ASP (1/23/2006 8:20:48)

Do you have a firewall set-up?

Have you done:
http://support.webhostautomation.com/index.php?_a=knowledgebase&_j=questiondetails&_i=16
http://support.webhostautomation.com/index.php?_a=knowledgebase&_j=questiondetails&_i=232
http://support.webhostautomation.com/index.php?_a=knowledgebase&_j=questiondetails&_i=256




fhenkel -> RE: HTTP 500 Error when loading ASP (1/23/2006 9:24:16)

Corey, never mind, it was due to an NTLM problem. I ran the "cscript adsutil.vbs set w3svc/NTAuthenticationProviders "NTLM"" and that fixed it. I now can run any of the sites for Recalculating the Extensions. I had not run that before and it sure takes awhile to run? It has been recalculating for over 20 minutes so far.. The NTLM problem may have been the reason I was getting the HTTP 500 error and I'll find that out whenever this recalculate finishes. Thanks.




coreybryant -> RE: HTTP 500 Error when loading ASP (1/23/2006 11:18:46)

I have it seen take maybe about 5 minutes but that is about it. You need to make sure that you do not copy those _vti folders over from one server to another - let FP recreate them on the new server




fhenkel -> RE: HTTP 500 Error when loading ASP (1/23/2006 11:50:19)

Well I finally gave up on the recalculating since after an hour and 1/2 it still was cranking and no result. I checked the Event Viewer and it listed a "access denied" when trying to open a registry key. The message is Error #30002 Message: Error 5 opening registry key "SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\All Ports". I checked that key and all rights needed are there for the logged in account. I have found a similar problem on another site in which the moderator posted his reg key settings for his 2003 server with FP extensions 2002. There are about 19 entries and mine only has 5?? He claims that on Server 2003 it doesn't write all the entries needed ans you have to do it manually. I'll give it a try.




coreybryant -> RE: HTTP 500 Error when loading ASP (1/23/2006 12:38:20)

I remember something about that as well. That was the point I passed it over to my SA and told him to fix it. I knew where my limit was on that and the registry :)




fhenkel -> RE: HTTP 500 Error when loading ASP (2/2/2006 9:41:21)

Well all but one issue are now fixed and sites are working as well as the mailenable software... It wouldn't have been to bad but some of it was "self-inflicted pain"!! I'm finally down to the one problem, mentioned above in the Thumbnail Image, about the error when saving "some" pages and it happens on several of the sites. I'm currently going through the Microsoft knowledgebase looking for any related solutions.




coreybryant -> RE: HTTP 500 Error when loading ASP (2/2/2006 10:21:50)

Can you access the FP admin control panel from IIS?




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125