IIS 5.1 to work with asp pages (Full Version)

All Forums >> [Web Development] >> ASP, PHP, and Database



Message


rikki -> IIS 5.1 to work with asp pages (8/27/2005 14:37:19)

I'm struggling to get my iis to work. I've had major problems with my isp server where my database "all of a sudden" became read only.
So they want me to reload the whole web.
That's fine but I want to make sure it's working first using iis5.1
The asp pages where I'm asking to add or change anything with the database done't work
Get this error
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

--------------------------------------------------------------------------------

Please try the following:

Click the Refresh button, or try again later.

Open the localhost home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

--------------------------------------------------------------------------------


I've reinstalled fp se
Any help please appreciated!

Sarah




Spooky -> RE: IIS 5.1 to work with asp pages (8/27/2005 17:49:59)

For more information :
http://www.frontpagewebmaster.com/m-235653/tm.htm




rikki -> RE: IIS 5.1 to work with asp pages (8/28/2005 15:23:54)

Hi Spooky
It sort of helped.. I have it working to a point.
But the spooky login include files don't work... If I remove them then the asp page works... but the login pages just keep going in circles...
Any ideas?
Thanks

To get things to this point... I had to 1) reinstall IIS 5.1
2) Update server extensions ..
then the asp pages worked..





Spooky -> RE: IIS 5.1 to work with asp pages (8/28/2005 15:32:47)

Is there an error when you use includes?




rikki -> RE: IIS 5.1 to work with asp pages (8/28/2005 17:36:29)

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services




Spooky -> RE: IIS 5.1 to work with asp pages (8/28/2005 18:47:06)

And thats after doing that? Are you sure?
http://www.frontpagewebmaster.com/m-235653/tm.htm




rikki -> RE: IIS 5.1 to work with asp pages (8/28/2005 18:59:05)

I'll start this over again because I'm confusing myself..

I retried it and something different happened...
I get the login page up... enter the login and it just loops back to the login...

Sarah




Spooky -> RE: IIS 5.1 to work with asp pages (8/28/2005 19:32:43)

What happens when you type in the URL directly for admin_main.asp ?




rikki -> RE: IIS 5.1 to work with asp pages (8/28/2005 19:45:30)

I was able to login with that page...





Spooky -> RE: IIS 5.1 to work with asp pages (8/28/2005 20:16:36)

So up to that point its working normally?
What are you doing (and what URL are you using) when it all goes belly up?




BeTheBall -> RE: IIS 5.1 to work with asp pages (8/28/2005 21:23:45)

Just grasping at straws as it seems many have run into this problem, but few have solved it. Have you tried this:

http://support.microsoft.com/kb/q278604/




rikki -> RE: IIS 5.1 to work with asp pages (8/29/2005 9:46:53)

Edit - I opened the admin login page then closed it.. Went back to login on page x and it worked???
So it would appear I don't have a problem. This is only trying to test on IIS.. when I upload maybe things will work perfectly!


Thanks Duane... I've worked through that and it hasn't resolved...

What's happening now is I want to get to page x - it's protected by spooky login. I login - then it just loops back to the login page...
I had it working yesterday then today????




BeTheBall -> RE: IIS 5.1 to work with asp pages (8/29/2005 10:08:55)

So if you create a simple ASP page, will it display in the browser? For example, create a new page and in between the body tags, insert something like:

<%=Date()%>

Then save the page and try and view it. Does it load and display?




rikki -> RE: IIS 5.1 to work with asp pages (8/29/2005 13:48:28)

That worked! But when I went to go to pages that have the include files for login... I just go incircles.. keep going back to the login page.. It just be something in my setup or coding.... If I remove the include files they work fine.


Sarah




Spooky -> RE: IIS 5.1 to work with asp pages (8/29/2005 15:19:58)

quote:

What are you doing (and what URL are you using) when it all goes belly up?




rikki -> RE: IIS 5.1 to work with asp pages (8/29/2005 17:28:32)

I'm trying to login in to a page.. it's on my iis or I'd send you the url...
Is there someway to take a look...




Spooky -> RE: IIS 5.1 to work with asp pages (8/29/2005 17:35:26)

Could you post the steps you take?

eg
1) try to access http://127.0.0.1/folder/page.asp
2) get redirected to login
3) get redirected to login again




rikki -> RE: IIS 5.1 to work with asp pages (8/29/2005 17:55:34)

1) Access http://localhost/campbookings1/RANGERS/login_ranger.asp?Redirect=/Trishores%20Web/campbookings1/RANGERS/SELECTCAMP.asp

2) Login screen comes up
3)enter login information
4) Click on the "Login" icon
5) Screen comes up that says You can't login and asks me to login again.

Scenario 2
1) Open Spooky login page on local host
2) Then http://localhost/campbookings1/RANGERS/login_ranger.asp?Redirect=/Trishores%20Web/campbookings1/RANGERS/SELECTCAMP.asp

3)Login screen comes up - enter username and password.
4) Login works and page opens.

Hope this helps







Spooky -> RE: IIS 5.1 to work with asp pages (8/29/2005 19:32:53)

Lets start from scratch
Using this URL, do you get to the admin section after logging in?

http://localhost/campbookings1/RANGERS/admin_main.asp




rikki -> RE: IIS 5.1 to work with asp pages (8/29/2005 19:46:03)

Hi Spooky
back from my walk...
Thanks for trying to help
The url
http://localhost/campbookings1/RANGERS/SELECTCAMP.asp is the one I'm trying to login to...


To get to the Admin section I go to:
http://localhost/campbookings1/spooky/spooky/admin_main.asp?






Spooky -> RE: IIS 5.1 to work with asp pages (8/29/2005 19:47:56)

If you go to to the admin section (before logging in):

http://localhost/campbookings1/spooky/spooky/admin_main.asp

Is the login page :

http://localhost/campbookings1/spooky/spooky/login.asp ?




rikki -> RE: IIS 5.1 to work with asp pages (8/29/2005 20:38:55)

Yes...




Spooky -> RE: IIS 5.1 to work with asp pages (8/29/2005 22:20:30)

What is the protection script you have used for "http://localhost/campbookings1/RANGERS/SELECTCAMP.asp" ?

And... is "spooky" a sub web or a sub folder of "campbookings1"





rikki -> RE: IIS 5.1 to work with asp pages (8/30/2005 0:08:46)

Login script:
<%
	'//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
	'// Basic Access level redirection file
	'//
	'// If the user has an AccessLevel different than specified,
	'// the user will then be redirected to login.
	'//
	'//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@



If (Session("Accesslevel")) <> "4" AND (Session("Admin")) &""="" Then

	'// Note here, we are redirecting to the root directory ("/") and looking
	'// for the file "login.asp"
	'// If your login file is not in the root or named differently, this will
	'// need to be changed
	'// Do not change the code "&Request.Servervariables("URL")"

	Response.redirect "/campbookings1/RANGERS/login.asp?Redirect=" &Request.Servervariables("URL")

End if
%>


spooky is a sub folder of campbookings1..





Spooky -> RE: IIS 5.1 to work with asp pages (8/30/2005 1:41:49)

Why are you redirecting to "/campbookings1/RANGERS/login.asp" when the login root is "/spooky/spooky/login.asp ?" ?

Is there also a "/campbookings1/RANGERS/admin_main.asp" ? or how have you modified the code with different paths?

Is "RANGERS" a sub folder or a sub web ?




rikki -> RE: IIS 5.1 to work with asp pages (8/31/2005 12:15:54)

Spooky.. I've revisited all this and actually downloaded a more current version of spooky login...
I've had difficulty with my server and would like some advice.. didn't know if to post a new one...

After reloading pages and fiddling around (way too many hours) - I've got 80% working.. except I get this "Operation must be an updateable query" error on any pages that need updating or entering.

Microsoft JET Database Engine error '80004005'

Operation must use an updateable query.

/campbookings1/1ATTAWANDARON/EDIT_ATTAWAND/EDIT2.asp, line 28

My server tells me that it's a coding problem.. I'm telling them it's a database permission problem. I've gone to all the web sites as suggested on this forum and done everything that was in them - even sent them links..
Not sure what to do...
Any suggestions..
Thanks

Sarah




Spooky -> RE: IIS 5.1 to work with asp pages (8/31/2005 13:24:07)

This is on your live web server?
Typically its a permissions problem. does this happen with all databases?




rikki -> RE: IIS 5.1 to work with asp pages (8/31/2005 13:59:36)

Yes - it's on the live server... an outside server.. so I have to go through them.
There suggestion was to reload the files..??





Spooky -> RE: IIS 5.1 to work with asp pages (8/31/2005 14:22:33)

If its frontpage - then re-import the database into the recommended folder. It wont make a difference with the asp files.




Spooky -> RE: IIS 5.1 to work with asp pages (8/31/2005 14:24:11)

http://www.frontpagewebmaster.com/m-235653/tm.htm




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.09375