|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Internal Server error 500.100 ASP error
I see alot of possible reason for this error but none seem to apply here. I am rebuilding a corporate intranet. ASP and SQL in dreamweaver mx. search pages are working fine and for myself and another IT staff member here the update, add and delete records pages are all working fine. I have restricted access to these pages by way of login.asp.
I went to test this on another user's pc. the search works fine logged in as that user, the ASP in this regard is working. but when i click on a page that requires the login (login.asp) I am seeing the code to an error page. reading the code i see it is a 500.100 error ASP and IIS. but thats all it gives me. (show friendly http error messages is not checked, although i have tried both) Clearly this is a permission issue so i had a look on the IIS server at the current login.asp that we have had in place on the exsisting intranet for years.-- There is no difference in permissions from the parent folder down to this file, and both/all dialogues in IIS for the old intranet and the new intranet i am constructing are the same. this staff member can access the old login.asp fine and he can use my new ASP search pages so i know that ASP is working in IIS but he cannot load the new login.asp i have created???? What am I misssing??? |
|
#2
|
|||
|
|||
|
Try opening your IE, Tools, Internet Options, Advanced Options and uncheck the "show friendly http errors" property. Maybe you'll get back some information to help determine the cause of the problem.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
I have tried the show friendly HTTP error msgs's both enabled and disabled both off the result in the code showing on the page.
At a loss here, as IIS IS in fact serving ASP pages just not this particular page for certain users. |
|
#4
|
|||
|
|||
|
What is the exact error you are getting?
It's possible your server admin has permenantly disabled descriptive asp errors, in which case you'll have to debug your code by selectively adding response.writes to test variables, or use a debugger like InterDev to step through your code. |
|
#5
|
|||
|
|||
|
update:
i have since created a test.asp with the following code: <html> <body> Today is: <% = Date %> </body> </html> Instead of the link going to login.asp i now have it going to this test.asp. This new test.asp file is in the same directory as login.asp and has the same permissions assigned to it. The page gets served fine to any user on any pc on the network = possible not a permissions issue but just an error in my code. This is the code form login.asp. <!--#include file="Connections/connPFT.asp" --> <% var Recordset1 = Server.CreateObject("ADODB.Recordset"); Recordset1.ActiveConnection = MM_connPFT_STRING; Recordset1.Source = "SELECT * FROM dbo.password"; Recordset1.CursorType = 0; Recordset1.CursorLocation = 2; Recordset1.LockType = 1; Recordset1.Open(); var Recordset1_numRows = 0; %> <% // *** Validate request to log in to this site. var MM_LoginAction = Request.ServerVariables("URL"); if (Request.QueryString!="") MM_LoginAction += "?" + Server.HTMLEncode(Request.QueryString); var MM_valUsername=String(Request.Form("username")); if (MM_valUsername != "undefined") { var MM_fldUserAuthorization=""; var MM_redirectLoginSuccess="directoryselect.htm"; var MM_redirectLoginFailed="accessdenied.htm"; var MM_flag="ADODB.Recordset"; var MM_rsUser = Server.CreateObject(MM_flag); MM_rsUser.ActiveConnection = MM_connPFT_STRING; MM_rsUser.Source = "SELECT username, password"; if (MM_fldUserAuthorization != "") MM_rsUser.Source += "," + MM_fldUserAuthorization; MM_rsUser.Source += " FROM dbo.password WHERE username='" + MM_valUsername.replace(/'/g, "''") + "' AND password='" + String(Request.Form("password")).replace(/'/g, "''") + "'"; MM_rsUser.CursorType = 0; MM_rsUser.CursorLocation = 2; MM_rsUser.LockType = 3; MM_rsUser.Open(); if (!MM_rsUser.EOF || !MM_rsUser.BOF) { // username and password match - this is a valid user Session("MM_Username") = MM_valUsername; if (MM_fldUserAuthorization != "") { Session("MM_UserAuthorization") = String(MM_rsUser.Fields.Item(MM_fldUserAuthorizati on).Value); } else { Session("MM_UserAuthorization") = ""; } if (String(Request.QueryString("accessdenied")) != "undefined" && false) { MM_redirectLoginSuccess = Request.QueryString("accessdenied"); } MM_rsUser.Close(); Response.Redirect(MM_redirectLoginSuccess); } MM_rsUser.Close(); Response.Redirect(MM_redirectLoginFailed); } %> |
|
#6
|
|||
|
|||
|
error 500.100
can't update record /table?
access 2003 msdac 2.7 ? iis 5.1 xp pro sp 2 |
|
#7
|
|||
|
|||
|
Quote:
maybe your disk is NTFS |
|
#8
|
||||
|
||||
|
Please don't resuscitate old threads
--> Thread Closed
__________________
................... ASCII and ye shall receive .................. Knowledge is the only resource on earth that multiplies when shared Support the Shemzilla Project Powered by C# |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Internal Server error 500.100 ASP error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|