Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Removing website re-direction

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Virtual directory "access denied"  
Author Message
centraldevelop

External


Since: Nov 14, 2003
Posts: 6



(Msg. 1) Posted: Fri Nov 14, 2003 11:38 am
Post subject: Removing website re-direction
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi,

I had an intranet application(asp.net) deployed on one of
my webservers - say webserver1. I'd set up a permanent
redirection (in IIS) to the same application on a
different webserver, say webserver2. So a url of
http://webserver1/myapplication would automatically
redirect to http://webserver2/myapplication. Now here's
the interesting bit. I removed "myapplication" from
webserver1 successfully (through add/remove programs)(but
I hadn't removed the redirection from IIS before hand, I'm
guessing this is the cause of my problem). On
webserver1, "myapplication" has been removed from IIS,
there is no virtual directory, and I deleted all the
temporary asp.net files from the
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary
ASP.NET Files\"myapplication" directory. Now when I try
to deploy a newer version of "myapplication" onto
webserver1, I get a message back stating "..the Internet
Information Server might not be running, or the path
exists and is redirected to another machine." I can see
that the re-direction still exists, as
http://webserver1/myapplication will still point me to
http://webserver2/myapplication, even when the application
no longer exists on webserver1. So my question is, if the
error message is correct, how can I remove this re-
direction from IIS, when the redirection was originally
set up in IIS on a website that no longer exists. By the
way, I've run iireset & that didn't help.

Thanks
David

 >> Stay informed about: Removing website re-direction 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Fri Nov 14, 2003 11:29 pm
Post subject: Re: Removing website re-direction [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Where did you configure HTTPRedirection on Webserver1, and are you sure you
removed it? If not, you need to find it yourself...

Did you also delete the physical files (in addition to the temporary files)
that corresponded to the /myapplication app on Webserver1 ??

IISRESET is not going to help in this situation at all since you need to
remove a value that you set yourself.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"David" <centraldevelopment.DeleteThis@nospam.com> wrote in message
news:0c9a01c3aacd$c1424830$a401280a@phx.gbl...
Hi,

I had an intranet application(asp.net) deployed on one of
my webservers - say webserver1. I'd set up a permanent
redirection (in IIS) to the same application on a
different webserver, say webserver2. So a url of
http://webserver1/myapplication would automatically
redirect to http://webserver2/myapplication. Now here's
the interesting bit. I removed "myapplication" from
webserver1 successfully (through add/remove programs)(but
I hadn't removed the redirection from IIS before hand, I'm
guessing this is the cause of my problem). On
webserver1, "myapplication" has been removed from IIS,
there is no virtual directory, and I deleted all the
temporary asp.net files from the
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary
ASP.NET Files\"myapplication" directory. Now when I try
to deploy a newer version of "myapplication" onto
webserver1, I get a message back stating "..the Internet
Information Server might not be running, or the path
exists and is redirected to another machine." I can see
that the re-direction still exists, as
http://webserver1/myapplication will still point me to
http://webserver2/myapplication, even when the application
no longer exists on webserver1. So my question is, if the
error message is correct, how can I remove this re-
direction from IIS, when the redirection was originally
set up in IIS on a website that no longer exists. By the
way, I've run iireset & that didn't help.

Thanks
David

 >> Stay informed about: Removing website re-direction 
Back to top
Login to vote
centraldevelop

External


Since: Nov 14, 2003
Posts: 6



(Msg. 3) Posted: Mon Nov 17, 2003 3:03 am
Post subject: Re: Removing website re-direction [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Apologies for not being explicit enough in my first post.

I'd set up my re-direction from within IIS. I'd
previously selected my website (on websserver1) from IIS,
right clicked to get the Properties window. On the
Directory tab, I selected the "When connecting to this
resource, the content should come from: A redirection to a
URL". Once this readio button is selected a text box
appears asking me to specify which URL I wish to redirect
to. It was in this text box that I entered
http://webserver2/myapplication. Now my question is, why
if this application no longer exists (on webserver1) in
IIS (and yes the physical files have been deleted), what
is causing the re-direct to still occur to webserver2. By
the way, webserver1 was re-booted (as part of general
procedures over the weekend), and the problem still exists.

David
 >> Stay informed about: Removing website re-direction 
Back to top
Login to vote
user649

External


Since: Aug 25, 2003
Posts: 244



(Msg. 4) Posted: Mon Nov 17, 2003 5:54 am
Post subject: RE: Removing website re-direction [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi David,

Thank you for posting in MSDN managed newsgroup!

It will be appreciated you tell us which redireting method you have used so that we can help you more on this issue.

Please feel free to let me know if you have any further questions.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 >> Stay informed about: Removing website re-direction 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 5) Posted: Mon Nov 17, 2003 9:25 pm
Post subject: Re: Removing website re-direction [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On webserver1, delete the application where you set up the re-direction.
It's not clear whether you set up the redirection on "/myapplication" or "/"
, but either delete /myapplication on webserver1, or choose "A directory
located on this computer" for "/" and give a filepath, and webserver1 should
stop redirecting.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"David" <centraldevelopment RemoveThis @nospam.com> wrote in message
news:01cd01c3ace1$588cd6f0$a001280a@phx.gbl...
Apologies for not being explicit enough in my first post.

I'd set up my re-direction from within IIS. I'd
previously selected my website (on websserver1) from IIS,
right clicked to get the Properties window. On the
Directory tab, I selected the "When connecting to this
resource, the content should come from: A redirection to a
URL". Once this readio button is selected a text box
appears asking me to specify which URL I wish to redirect
to. It was in this text box that I entered
http://webserver2/myapplication. Now my question is, why
if this application no longer exists (on webserver1) in
IIS (and yes the physical files have been deleted), what
is causing the re-direct to still occur to webserver2. By
the way, webserver1 was re-booted (as part of general
procedures over the weekend), and the problem still exists.

David
 >> Stay informed about: Removing website re-direction 
Back to top
Login to vote
user649

External


Since: Aug 25, 2003
Posts: 244



(Msg. 6) Posted: Tue Nov 18, 2003 5:29 am
Post subject: Re: Removing website re-direction [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi David,

Thank you for replying!

What web application is used for this virtual directory? I'd also suggest you can check whether there is some ISAPI filters in the IIS will redirect the
http requests for you.

Please feel free to let me know if you have any further questions.

Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 >> Stay informed about: Removing website re-direction 
Back to top
Login to vote
centraldevelop

External


Since: Nov 14, 2003
Posts: 6



(Msg. 7) Posted: Wed Nov 19, 2003 6:15 am
Post subject: Re: Removing website re-direction [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

David / Wei Dong,

Apologies for not getting back to this thread, I've been
out of the office for a couple of days.

To reply to David first, I had already
deleted "myapplication" from "webserver1", but you mention
in your last post "choose "A directory located on this
computer" for "/" and give a filepath, and webserver1
should stop redirecting.". Only having a limited
experience of using IIS, what does this mean?

Wei Dong, I've checked the ISAPI filters in the root
website in IIS, there are no current entries. Should
there be? Do I need to add something to prevent this re-
direction from happening?

David
 >> Stay informed about: Removing website re-direction 
Back to top
Login to vote
user649

External


Since: Aug 25, 2003
Posts: 244



(Msg. 8) Posted: Thu Nov 20, 2003 4:12 pm
Post subject: Re: Removing website re-direction [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi David,

Thank you for replying and the detailed information about the troubleshooting!

The "/" means the default web site. You should create one virtual direction in the default web site. Then specify one directory to the virtual
directory. You can right-click the default web site and select "new->virtual directory...". Then one wizard will pop up for you. Specify the
"myapplication1" name to this new virtual directory and then select one local directory for this virtual directory. After that, you can restart your IIS
service by typing "IISreset"(without quotation mark) in start->run. Then the redirection for all the requests to \\server\myapplication1 will be
directed to your new virtual directory.

Please feel free to let me know if you have any further questions.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 >> Stay informed about: Removing website re-direction 
Back to top
Login to vote
centraldevelop

External


Since: Nov 14, 2003
Posts: 6



(Msg. 9) Posted: Tue Nov 25, 2003 3:21 am
Post subject: Re: Removing website re-direction [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for your help - all now working fine!
 >> Stay informed about: Removing website re-direction 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Removing a web - Hi, I've created a subweb in IIS 5.0 by going to Action > New <font color=purple> ;> Server Extensions Web, and now I want to reverse this </font> process. Unfortunately, restoring a previous configuration is not an option. ...

Problem with removing authentication - Hi, I had recently installed VS .net and for some reason it had changed the permissions on IIS 5.1. Now the problem is that whenever I try to access my server anonymously (through another computer) it asks for user authentication which I never had..

Newbie question - removing web site from IIS - Hi, We are hosting multiple web sites on IIS 4.0. We have to delete one of the web site no longer required. I believe if I delete the web site from MMC, it will just delete the mapping but the physical directory/files still exist. I have to delete..

Removing IIS from a Windows 2000 Cluster Server - Does anybody know of any incidents where removing IIS from a cluster server would bring it down? Is IIS required for Cluster servers? Looking for some answers. Thanks, Todd

Removing SMTP events from the event log? - Hi there.. Currently the system log is swamped in events about the SMTPSVC not being able to deliver a message to some domain that does not exists. It's not a system konfiguration problem or like, so I would like to be able to exclude these events from....
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]