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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bad Gateway Error

Status
Not open for further replies.

spiderman0009

Technical User
Feb 19, 2002
23
CA
hi

Using this piece of code on an PWS.


<% Option Explicit %>
<html><title>font size = %=ftsize%</title>
<%
Dim ftsize
ftsize = 6
%>
<font size = <%=ftsize%>>
All creatures, big and small</font>
<P>


</html>


I get this error message as below. This code is right from my understanding. But the code doesn't work. All my other code on other pages works in that directory.
Thank You

Bad Gateway
The following error occurred:
A DNS lookup error occurred. The host was not found.


--------------------------------------------------------------------------------
Please contact the administrator.
 
Have you tried executing the script now? Maybe your gateway is down or has a problem, and the other pages you are running are cached? Try pinging your gateway and see if you get a response. Brett Birkett B.Comp
Systems Analyst
 
If you are using windows, then click start -> run. Type &quot;command&quot;.

From the DOS screen, type:
ping <ipaddress of gateway>

or if your gateway machine is called &quot;gateway&quot; then you can just
ping gateway

If you get Request Timed Out then your gateway is down. Brett Birkett B.Comp
Systems Analyst
 
I pinged my server and it seemed to be working and ends up closing the dos prompt.

But you were right in the sense that the info was working off my cash. So why is it not working now.

How can I fix this?
 
Are you saying that the other scripts were being cached?? Does that mean that none of your scripts are working now??? All your scripts should be getting a dns error, and this could mean that you are typing the wrong url in your Address bar in your browser.

Double check the address bar location and make sure it is definitely the right path the the file. ie. The domain part of the url especially. Brett Birkett B.Comp
Systems Analyst
 
You are correct non of my script are working. I am getting the dame error as above for everything.

They were working Earlier this evening. The only thing that I did was play a video game. Just to make sure I have don the old restart Windows trick a couple of times.

I double checked the address bar


or


Any idea what happened that this has happened?

Is a Rogers internet problem? I didn't change any setting..
 
Are you using IIS?? Make sure your webserver is running.
Is the machine you are working on locally your webserver?? ie. Are you working on troy?

If so, try in your address bar.

If not, try using the ipaddress of your webserver in the address bar. ie.
I bet you if you use the right ip address, it will work. It is saying A DNS lookup error occurred. The host was not found, so there is something wrong with your DNS server. Either the entry is missing from your DNS server, or the machine you are working from is set to the wrong dns server.

Check it by going to a dos command prompt, and typing ipconfig /all

It will tell you what DNS server you are using, and make sure it is the right one. All in all, using the ip address directly should fix your problem temporarily.
Brett Birkett B.Comp
Systems Analyst
 
I am using PWS. The icon shows that the server is running.

If ping my machine I get an IP address and I trid to

Type that in as
I typed &quot;ipconfig /all&quot;


I have a whole bunch of info IP ADresss etc.

Tried the ip Address .... Nothing.

Confused at this point
 
YEs, I tryied that too.

I decided to uninstall and reinstall.


I got 2 errors

1.
&quot; A fatal exception OE has occured at while making MTS specific chages to the system registry
Error code = 0x800004005&quot;

2.
Setup of &quot;Transaction Server Core Components&quot; falied. The specification errot code is 0x2f1e670

BY the way Brett I really appreciate your help.

I hope we can get this thing up and running this week.

Thanks Troy




 
HEy man,

What did you do man... All of a sudden it works. That is freaky. How don't know how it is fixed but it works.... Wow
ANyway these computers are wierd...

Good Night
 
Now it doesn't work???

OHHH COmputer


Yoweeeeeeeeeeee

Ah man, What do you do with these things?
 
Oh no! That sucks! You don't have some sort of wierd virus or something do you? Brett Birkett B.Comp
Systems Analyst
 
Umm... My virus scan is all up to par. All up to date.
Norton 2002
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top