|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I installed IIS in my pc at home and when i typed in localhost/ ...
the default pages were loaded..i saved a sample.asp script and i put a code error and when i run it, it gives me 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 Dondon : Technical Information (for support personnel) Error Type: Microsoft JScript runtime (0x800A1391) 'document' is undefined /sample.asp, line 28 Browser Type: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; DigExt) Page: GET /sample.asp Time: Friday, November 19, 2004, 8:58:22 PM More information: Microsoft Support ---- is this the real error that I should get or not???...i used to program in asp before using a remote server but I dont see any Page not found error, whenever there's an error in script..only the ASP error.....what could be wrong in my configuration at home?? thanks! |
|
#2
|
|||
|
|||
|
So what are we supposed to do, try to imagine what is the code in sample.asp line 28?
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
NO of course!
what im trying to say is ....is the error mentioned above (with the page is not found ) SHOULD always appear whenever it encounters and ASP code ERROR??? i hope i explained it well enough! ![]() |
|
#4
|
|||
|
|||
|
no, it should give you some debug information.. like it is.. try posting line 28 of sample.asp..
|
|
#5
|
|||
|
|||
|
it's just a simple script like :
response.write ("Hello WORLD") i put this code to produce error document.write("blah blah") if the error above shouldnt be showing the "page is not found", instead it should ONLY SHOW the debug info, is there a need to configure on my IIS ??? |
|
#6
|
||||
|
||||
|
Where in the error does it say the page cannot be found? The error says the page cannot be displayed becuase there is an error in your code. The error in your code is on line 28 where you specify document.write. Document.write is not an ASP method, it is Javascript. That is your error. The error information you have been given is standard error code.
__________________
-
thought-after | my thoughts on web development Get Firefox, the developers browser Budget hosting - recommended [/left] |
|
#7
|
|||
|
|||
|
The error information you have been given is standard error code.
thanks, that's the answer that im looking for ...but can i have anotherfollow up question?? i tried to run a simle query code in asp, and when i hit the submit button, the asp script just can't execute immediately.. i tried to look at my window task manager and the system displays "100%" CPU usage. my processor is P3 and my RAM is 128 MB 715 Mhz...i was currently debugging in the dreamweaver too.. now, is there a memory requirement for using IIS? do u think my hardware specs is sufficient? |
|
#8
|
|||
|
|||
|
128mb is very small however I doubt it's your problem unless your cpu is doing a bunch of other processess. For a single user developer you should be able to run in 128mb (but slowly). I used a 128mb W2K Pro box for IIS development for quite a while.
My bet is your code has a problem. |
|
#9
|
|||
|
|||
|
This is defenetly a code issue. The hardware that you have is plenty for what you are doing. Check to see if you are using a database connection in your code. I've seen this happening in the pase when there is a database call to Oracle and there is a leak in the code. I'm not a developer and so I have no answer on how to fix it.
---------- Bhaski ---------- Register Domain Names for Less @ NetTicks.com |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Page not found + ASP Error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|