Problems with applying my IIS

Status
Not open for further replies.

tallb

Posts: 65   +0
ive installed IIS and when i press 'play' on the default web site it says :
---------------------------
Error
---------------------------
The service did not respond to the start or control request in a timely fashion.
---------------------------
OK
---------------------------
please help :(
 
I don't think you understand website design.

1- there's no PLAY on IIS. If you see one, then some webpage has created it
2- page has HTML to display the button and what action to take when it is pressed
(usually some CGI request in the Form Action=cgi-program?parms )

the CGI script (or program like sample.asp) resides in the WEBROOT of IIS
(On Apache it would be webroot/cgi-bin), but it's been four years since I last configure IIS and clearly have forgotten where it's located.
 
i think you didnt understand what i ment ill shwo you a picture:
44098786si7.png
 
yea that description certainly didn't match the symptom there!

The IIS service did not respond to the change in status;
either from not running->Started or Running->Stopped. As you are looking for
assistance, it's most likely that IIS Failed to Start.

Go to the Log directory and find the ERROR.LOG; it will contain information for you.
 
Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7023
Date: 20/03/2008
Time: 16:41:32
User: N/A
Computer: PC-TAL
Description:
The World Wide Web Publishing service terminated with the following error:
World Wide Web Publishing is not a valid Win32 application.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

help ? :X
 
did you click on the "For more information" link?

MS will be more specific in this area.

The detail "World Wide Web Publishing is not a valid Win32 application"
means whatever was accessed is not valid. Unless you have seen ANY webpage
from your server, I think that the default webpage is missing or grossly in error.

Check your configuration for your default page suffix and then look to see
if it exists in the correct location, ie the WEBROOT.
 
i have fixed my IIS :D and it seems to work but now when i press "register" on my site it shows me the following 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

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

Technical Information (for support personnel)

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver]‏‏שגיאה כללית ‏‏אין אפשרות לפתוח את מפתח הרישום 'Temporary (volatile) Jet DSN for process 0x684 Thread 0x8d0 DBC 0xc18e7c Jet'.
/reg.asp, line 13


Browser Type:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648)

Page:
POST 86 bytes to /reg.asp

POST Data:
username=123123&password=1&password2=1&prenom=1&nom=1&age=1&email=123@123.com&x=Submit

Time:
‏יום שישי ‏21 ‏מרץ ‏2008, 01:44:02


More information:
Microsoft Support

it is wierd cause it works right on school.
]‏‏שגיאה כללית ‏‏אין אפשרות לפתוח את מפתח הרישום == general error unable to open the registry key

יום שישי 21 מרץ == friday 21 march
 
tallb said:
i have fixed my IIS :D
GREAT to hear
and it seems to work but now when i press "register" on my site it shows me the following 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

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

Technical Information (for support personnel)

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver]‏‏שגיאה כללית ‏‏אין אפשרות לפתוח את מפתח הרישום 'Temporary (volatile) Jet DSN for process 0x684 Thread 0x8d0 DBC 0xc18e7c Jet'.
/reg.asp, line 13

HTTP 500 is a server error condition, meaning your program has failed

What Program? /reg.asp

Where? Line 13


PLEASE Get some books on HTML and ASP Programming !!!

I can't fix it all from here.

If you want to hire me as a web consultant, I charge $75 (USD) per hour + travel time.
 
Jobeard,
next time I visit my mother in Reseda, I will visit you. I lived in Simi for 3 years
 
LOL is there any one else less gridier that can tell me whats the problum for ... i donno free?!
 
What is "gridier" ?...and "problum" is spelled problem. You haven't answered or acknowledged Jobeards questions either
 
I apologize for the smart mouth quip -- you're stuck and don't know what to do --
that was inappropriate and I am sorry.

The bottom line is you're into web programming; likely you didn't create this stuff
but either someone gave it to you or you got it as a sample or download -- doesn't matter, it's broken.

the first line returned from the web server is the status reply
a good page returns HTTP 200,
a missing page returns HTTP 401
a server error returns HTTP 500 <<< this is what you're getting

For every request made to the server, at least one log entry is made
to the access.log or the error.log

You will get very little info but always the error code and module
in your case /reg.asp, which is located on your system at the WEBROOT
(see the initial '/' ? that's how I know. )

This is not a forum for debugging program or web coding, so you need a
web programmer to look at /reg.asp and tell him/her that the error is at
line 13 -- that's the best you or I can do at this time.


(not now, but when things settle down and start working, your web server should
NEVER show so much information --
just the HTTP 500 code without the name+line number of the error --
this leaks securing information for hackers to get at!)
 
im sorry for the way i reacted :X.
im only 16 years old and i lern asp , java script, html and c# at school so i cna get my diploma. i need to finish my test in a month or elese i will fail my test =/.
my teacher is a complete ***** and im not even sure if she knows how to turn on the computer or some one does it for her -.-
any way i followed the instructions in the book and installed IIS but the reg.asp worked at school and the detail i have enterd in the site got in to the mdb. when i came bakc home and tried to make it work it didnt work. there is no need to be alarmed by the information cause the site wont reach the web it is only oprative in localhost. i will add my reg file and i hope you can help me correct the mistake, though im not quit sure it has a problum because it worked in school; i think the problem is on my computer.

i was unable to attach asp so ill enter it as a code:
Code:
<html>
<body bgcolor="666666" link="white" vlink="ffcc33">
<%
    username=request.form("username")
    password=request.form("password")
    prenom=request.form("prenom")
    nom=request.form("nom")
    age=request.form("age")
    email=request.form("email")

    path=server.mappath("DataBase.mdb")
    set c=server.createObject("ADODB.Connection")
    c.open "Driver={microsoft Access Driver (*.mdb)}; DBQ=" &path

  sq4="select * from table1 where (username='"&username&"')"
    set r=c.execute(sq4)
    if r.eof then
	session("member")="ok"
     sq="insert into table1 (username,password,prenom,nom,age,email) values('"&username&"','"&password&"','"&prenom&"','"&nom&"','"&age&"','"&email&"')"
      c.Execute sq
        Response.write "<font face='Copperplate Gothic Light' color='ffcc33' size='+2'></br><center> Success! </br> You may now access more pages!</center></font>"
       Response.write "<br/><br/><br/><a href='left_frame.asp' ><center>Back to the main page</center></a>"
     Else
       Response.write "<font face='Copperplate Gothic Light' color='ffcc33' size='+2'></br><center>Name already exsist's</center></font>"
       Response.write "<br/><br/><br/><a href='register.html' ><center>Back to the registration page</center></a>"
     End If
    c.Close
    set c=nothing
     %>
<center>
<p></p>
</center>
</font>
</body>
</html>
 
i followed the instructions in the book and installed IIS but the reg.asp worked at school and the detail i have enterd in the site got in to the mdb. when i came bakc home and tried to make it work it didnt work.
then it's not the code but the system at home as you suspect.
verify that the MDB is accessible and correct.

you're going to need to investigate the logs for yourself.

hint: take a copy of reg.asp, fake the forms data by hard coding the assignments, eg:
instead of username=request.form("username")
use username="joeuser"​
and likewise for the others

and run the reg.asp as a normal cmd; run->cmd /k reg.asp

you need to develop a debug tracing tool to write comments as the program runs.

btw: that's very poor code, as it does not validate the inputs from the form.
This is typical of text book code as it's trying to make a point and not teach
robust coding techniques.
 
reg.asp is only the connector between the html and the mdb but inside the html there is an asp code that does verify every thing.
thx for you advice ill try it out/
 
i tried it and i dont think i did the right thing because i still havent found the answer :X please help me out my grade is in stake....
 
sorry; I can't take you any further. The object is for you to learn this stuff.
You said it worked a school, so abandon the home system and work at school.

Good luck
 
tallb, that's what you are in school for. Find the answers there... then when you are older you apply your knowledge in the real World, that's how life works :cool:
 
Status
Not open for further replies.
Back