[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

IIS6 windows 2000

Posted on 2009-12-18
13
Medium Priority
?
400 Views
Last Modified: 2013-11-16
I have a website on a windows 2000 server which is basically a database with a GUI.  The programmer is trying to upload a URL.  I he uses local host it works.  If it uses the server name it errors.  I've included a picture of the form and error. The first attachment is what it should be and the second one is the error.

The programmer was telling me it was a proxy error so I added 8080 in the host header but still nothing.  Does anyone have any idea?

Lastly I can access the site from IE with the server name and name of the site with no issue.
localhost.JPG
form1error.JPG
0
Comment
Question by:WellingtonIS
  • 9
  • 4
13 Comments
 
LVL 17

Expert Comment

by:Rovastar
ID: 26090404
This I think is IIS related.

Can you go to localhost normally in the browser?

When there is no website defned at an address it normaly means IIS cannot resolve it to a hostheader.

Make sure the website you want to listening the local host is doing so ,this is the one without a host header defined. So check all your site settings host headers.

0
 

Author Comment

by:WellingtonIS
ID: 26095389
So put the website in on the host header?
0
 
LVL 17

Expert Comment

by:Rovastar
ID: 26095439
Yeah from the application. Try that is probably better.

Or set a default site to listen for the IP address as well.

IIS will direct to the set site based on IP address, host header and port.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:WellingtonIS
ID: 26095485
I think that did the trick.  I'l let you know later. Thanks.
0
 

Author Comment

by:WellingtonIS
ID: 26095940
the only way I can get the site to come up is if I have a blank hostheader with 80.  Then if I do that I can't get the form to work???

I've tried different combinations but the only way the site works is if I put in a blank host header.  Maybe add in DNS?
0
 

Author Comment

by:WellingtonIS
ID: 26096253
The sites are virtual sites.
0
 
LVL 17

Expert Comment

by:Rovastar
ID: 26097031
So the sites you have setup on the server do not resolve to a domain name.

Well DNS is one option get that setup.

The other more crude but may be quicker is to edit your hosts file (on your client and maybe your server - if it is doing internal calls)

You need to make sure you have the correct connectivity.

What error are you getting now? Another error? The original error was 'Site not found' 'No websites configured at this address'.  I would have hoped that setting 'no IP' in the host header for the site you want to connect to would have solved that error.

What error are you getting now?

Also try this code on the server itself so you don't get proxies and other junk in teh way.
0
 

Author Comment

by:WellingtonIS
ID: 26097233
When I take out the default header which has nothing on it the form's works, that's the picture I sent you.  However if I add the sites to the host head files the sites do not come up.  

The site is as follows:
http://servername/cesireportexec/login.aspx
http://servername/cesireportexecadmin/login.aspx

Maybe I'm adding the names wrong?

I'm adding servername/cesireportexec with no ip and port 80
I've tried http://servername/cesireportexec/ that doesn't work either
0
 

Author Comment

by:WellingtonIS
ID: 26097250
The only way I can get that form to come up is if I take out the default host header. The form will only resolve localhost not the server name.
0
 
LVL 17

Expert Comment

by:Rovastar
ID: 26097298
Can you not fix your app to process it via a host header? That would make most sense to me.
0
 

Author Comment

by:WellingtonIS
ID: 26097372
That's what I'm trying to do but I'm not sure how.
0
 

Author Comment

by:WellingtonIS
ID: 26097497
Stupid question but I'm going to ask.  If the site resolve as follows:

The site is as follows:
http://servername/cesireportexec/login.aspx
http://servername/cesireportexecadmin/login.aspx

then what should the hostheaders say?
0
 

Accepted Solution

by:
WellingtonIS earned 0 total points
ID: 26131117
This issue was solved when I moved the program to a 2003 server.  Thanks everyone for you hard work.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question