|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi
I am trying to create a simple login page for my website in asp. I am using Dreamweaver and have setup a simple database in access containing just one table with username and password. I have set the DSN and put in the asp code, but it just isn’t working for! I have got as far as the login screen being displayed, but when I type in the username and password it just takes me to the ‘this page can not be displayed message’. It doesn’t matter whether or not the details are right or wrong, it still displays this page. Now it won’t display at all and I am getting the following error message: Quote:
I have looked at the MS knowledge base articles and stuff from macromedia and have set all the correct permissions for the database file and have also changed the ‘timeout’ option of the DSN to 5000 as advised. I just can’t get this to work and don’t know where to turn. Any help will be greatly appreciated. |
|
#2
|
|||
|
|||
|
Here is the error message from IE - is there a possibility that the asp code contains an error?
Quote:
|
|
#3
|
|||
|
|||
|
My guess is you haven't granted the correct file permissions to the .mdb file & folder.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#4
|
||||
|
||||
|
Post your relevant code for line 8 and your connection details.
|
|
#5
|
|||
|
|||
|
Thanks for the replys!
Got it sorted, permissions were fine but there was an error in the code that Dreamweaver generated! It had listed two lines the same - @LANGUAGE="VBSCRIPT" @LANGUAGE="VBSCRIPT" I have got the login working and i am well pleased but the only bit left at the minute which is posing a problem is the search page. Quote:
I have setup the connection in dreamweaver and put it in the connections folder in the WWWROOT, is there anything i am missing? Thanks again |
|
#6
|
||||
|
||||
|
mmm...how about making sure that file is actually there??
|
|
#7
|
|||
|
|||
|
Yes it is there, obviously that was the first thing I checked!
Anything else it might be? |
|
#8
|
|||
|
|||
|
Post the include code. The file might exist but it's obviously not at the path your code is providing.
|
|
#9
|
||||
|
||||
|
Right, here is the include file code:
Quote:
and here is where it refers to it in my search page code: Quote:
I have the include file in the wwwroot directory of IIS and its in Fairfields/Connections/bookstore.asp Hope this helps! Cheers again |
|
#10
|
|||
|
|||
|
You are using a DSN, are you sure it's set up properly on the web server?
|
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Can't display or get login page to work? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|