Forums

This topic is locked

HELP! - IIS5/ASP/UD4 Login Failures

Posted 12 Oct 2001 12:35:54
1
has voted
12 Oct 2001 12:35:54 D Adema posted:
<font face='Tahoma'>Hello everyone,

I hope some of you can help me fix a problem for me(or two….
Here it comes:

I'm having difficulty to build a login page for a client of mine.
Even when I follow the instructions on how to build such a page, it won't work when using the Server Behavior provided by UD4.
My situation:
I made a login page, called login.htm that contains the form with two textfields, LoginName and Password, and a submit button.
After that I made two .htm pages, one for a succesfull login; Intern.htm and one for a failed login: XSDenied.htm.
These two files are actually identical in content; the're basic blank html files, but are just for testing purposes.
Now, when I 'attached' the Authentication - Login User Server Behavior to the form in Login.htm, everything worked smoothly,
including the insertion of the table from my database connection (System DNS called 'vanderbles' with an Access Driver all pointing to a database 'xsdb.mdb' in a 'xs'-directory under the main (root) directory of my website).
The Server Behavior auto-detected the values from the database-table and I assigned them to their respectable form/textfields.
Then, I hit OK and saved all the files.
Time to see if it had worked, so I started my browser (IE5.5 SP2).
I typed in: localhost or northstar and yes, the main page came up. Then I went to the login page; it came up also.
Great! I thought: let's try to login, so I typed soem correct values into the fields and clicked on Submit.
This is what I got: 'Page cannot be displayed, contact your administrator... go back to northstar etc. HTTP Error 405 Resource not Allowed.'
When I tried to logon with a false password or user name I got the same message. Dammit! L
I checked my IIS settings immediately; all files and folders had been given full anonymous access by myself as in 'Read', 'Scripts execute' and so on.
When I checked the IIS help-files it said that the error 405 meant that the 'Method' was invalid or unauthorized.
So I'm at a loss... Am I doing something wrong? Am I , for example saving the pages in the wrong extensions? Am I , for example saving the pages in the wrong extensions? Should or can I build this stuff in PHP?


I'm running IIS5 on a Win2000 system, serving as a web- and ASP application server.
I am the Administrator. The development of my site happens on the same (app)server, so everything is set to 'Local/Network'. I use an Access database as my data-source. I've already installed the latest MDAC-version. The current (server) technologies used are ASP in combination with VBScript, extension .asp.

In advance I thank you all,

Best regards,
D.J. Adema
</font id='Tahoma'>



Edited by - nssadmin on 10/12/2001 14:06:13

Replies

Replied 12 Oct 2001 17:12:33
12 Oct 2001 17:12:33 B. B. replied:
Hello! Had just enough time to glance at your post without reading all the details yet.

Just on the surface it looks like you have the incorrect page extensions for your files. First, try naming them .asp instead of .htm or .html and check if that will work now before researching this further.

Hope this helps. Thanks!

Replied 14 Oct 2001 11:52:34
14 Oct 2001 11:52:34 D Adema replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Thanks for your response, BB.
If I'm correct then the only file (in my case) that has to be a .asp-document is the 'UserVerify.asp' file made by the Server Login Behavior - located in the 'Connections'-directory, since this is the only file that contains ASP coding. I shouldn't need to save my initial Login.htm (containing the form) as Login.asp; same goes for the two reply-pages, (for example<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> Enter.htm and XSDenied.htm, right?
Furthermore, would you be so kind to read the full story, because I personally think it could be an IIS5 security issue...
Awaiting your reply - thank you!

D.J.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Reply to this topic