Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with ASP Parser

Status
Not open for further replies.

testare

Programmer
Jan 21, 2005
127
Hi,

I have a huge problem with my ASP-Parser.
Sometimes when i try to connect to my asp file then the explorer is just working and nothing happense.

Tried to open a file with the extension .htm (default.htm)
and worked perfectly. A sign that the Webbserver is working.

Tried then to open an .asp file and that doesn't work. It just keep working and working...

Tried to open some webservices
Typed the address the page opened correctly. filled in the information and pressed "invoke". A new windows opened upp(Which is supposed to do) and a message was in the found in the database table PDA_LOGG. Conclusion the webb-server is working.

Created a simple .asp file and tried to open it and it didn't work. Changed it to .htm and it work perfecly.

What can i do to fix this problem
 
make sure you have an entry for .asp extensions on your server...you can check this in IIS manager...

-DNG
 
It could be the ASP page has some sort of a loop that is not ending i.e. a part of the code might be causing an infinite loop.

Regards
Satish
 
Even if i try with this simple code, it still doesn't work.

Code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<%
	Response.Write("Hello")
%>
</body>
</html>
 
how about just this:
Code:
<%
response.write "hello"
%>

and also check this...

go to IIS manager, right click on the root website folder and click on properties and then select the documents tab and see if there is default.asp under the documents list...if not go ahead and add default.asp

-DNG

 
It didn't work with this code even.

Code:
<%
response.write "hello"
%>

I did have the default.asp in my IIS in the dokument list.

/Testare
 
try replacing the ASP.dll from your IIS installation CABs.

Regards
Satish
 
I Had a newer ASP.DLL (2005-04-08 04:54) so i replaced it with the other ASP.dll (2003-06-19 12:05) in C:\WINNT\SYSTEM32\INETSRV but it didn't help.

/Testare
 
when you run the page with .asp extension what is the exact error message do you see...please post it here...

-DNG
 
You may want to try thi one in the IIS forum. This sounds more like an issue with either the IIS installation or configuraiton, not necesarally an ASP specific issue. UnfortunatlyI vaguely remember someone having this problem a couple years ago, but it's been to long for me to recall what the solution ended up being...

barcode_1.gif
 
I Would like to thank everyone for the help.
A special help to DNG who always is so kind.

If i manage to solve this problem i will post it here for future help to others.



 
I should also note that I had the same problem with .net pages. I enabled, disabled, poked and prodded to no avail. I finally uninstalled then reinstalled IIS completely and everything worked.
 
thanks and no problem testare, glad to be of help...hope everything will work for you...lets us know...

-DNG
 
I have Windows 2000 server and have IIS 5.0.

It's a shame that you cant upgrade to IIS 6.0 on 2000 Srv.
 
What do you get if you just type localhost in your browser? Win2000 should load the iis start page. If that doesn't work, I'd just uninstall and reinstall IIS. You might have some non-default security features enabled to prevent scripts from running. By reinstalling you will at least get back to default state.
 
when i type localhost in my browser then it works.
The pages are being displayed.
 
This problem has been solved.
There wasn't any problem with the ASP Parser.

In one of our .asp we called a .dll who connects to the db and get all the language settings and we read the dbpassword from a file that is encrypted, if another user startad a browser at the same time it would hold the file if .dll isnt done.

Now we changed .dll that dbconnection should not read from a file to get the dbpassword.
The password is set in the .dll instead.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top