Make virtual directory the default for default website
Dumb IIS question of the day: How can I make one of my virtual directories
the default website? Currently, when I access my Altiris management website,
I go to http://servername/altiris. How can I change that to be just
http://servername?
thanks.Brett Tag: Windows event log entries for Application Pool start and stop events Tag: 362166
Subdomain?
Can you set up host headers on a site that has a subdomain? So if I
have www.site.com and want to use host headers on a
www.members.site.com, can I do this?
If so, how?
Steve Tag: Windows event log entries for Application Pool start and stop events Tag: 362165
IIS 5.0 on Windows 2003 ?
Any WIndows 2003 servers that I have set up have used IIS 6.0, but I have a
user who needs to use IIS 5.0 instead. Can this be done ? Do I need to let
IIS 6.0 install first, and then delete it and install 5.0 instead, or can I
just install 5.0 during the Windows install ifself ?
Thanks
--
Bud Dawson
Windows System Administrator Tag: Windows event log entries for Application Pool start and stop events Tag: 362164
Stress test tools
Is there a good stress test tool for IIS? Looking for soemthing simple to
use. Would be very nice to have one that could give hypothetical
information. For example what happens is I add more ram.
Thanks
Greg Tag: Windows event log entries for Application Pool start and stop events Tag: 362160
mail server rejected by yahoo
Hi,
we are not sending any spam mail to yahoo but they have banned us .... i was
wondering if anyone had this issue before, and if they ever got it resolved
thanks Tag: Windows event log entries for Application Pool start and stop events Tag: 362152
web share
I have two servers on my LAN, one is a file server (W2k) the other a web
server (W2k3). I know I can web share any folder on the W2k3, such that I
can view it's contents in a web browser. However, I would like to make some
files on the fileserver also available via the W2k3 webserver. Is it
possible to web share a folder on the W2k machine, such that it will be
available to people accessing only the webserver?
i.e. http://webserver/test/test1.txt actually presents a file available on
the file server?
Thanks. Tag: Windows event log entries for Application Pool start and stop events Tag: 362150
Changing of Webs in IIS
We have multiple sites running on a Windows 2000 server on the IIS. The head
company wants all sites to be changed to a standardized template. My
original idea was to just create a temporary fake site on there allowing me
to edit and make changes with FrontPage 2003 to the asp pages before going
live. Two questions if I may.? First is that no matter what I do I can not
preview in the browser so any ideas on this would be appreciated and FP will
not let me publish the page.? Second is after I get the pages all edited is
it possible to just change the current site / sites directories that are
online to the new directories that are made with the new site templates and
add the index.asp or whichever first page is supposed to open to the
documents so that will open instead of the original page? Thanks for your
time and any info you can send my way! Thanks! Tag: Windows event log entries for Application Pool start and stop events Tag: 362149
IIS 6.0 need to redirect to Exchange 2000 OWA
We recently upgraded our web server to 2003 and now I am having a problem
getting it to redirect to the exchange server. The web site is in the DMZ
and on the old server I setup a virtual web that redirected to the url of
the exchange owa and that was it. But for some reason under 2003 that does
not seem to be enough. Can anyone point out what could be the cause? I can
still access the OWA internally but not externally now.
Thanks in advance. Tag: Windows event log entries for Application Pool start and stop events Tag: 362147
Web service 'Access to the path denied'
I need to setup WebService so it can read/write folder e.g. SharedFolder
When i setup sharing permissions & security for ASPNET user, it's not enogh.
When i setup for Everyone (local or domain) WebService works fine.
what do i need to do?
what is the right way to set it up?
is webservice run as ASPNET user?
Thanx Tag: Windows event log entries for Application Pool start and stop events Tag: 362146
IIS Remote Web Administration
We have setup SBS 2003 and we are trying to access the IIS 6.0 portion of the
server through Internet Explorer. We have read that you can launch a web
console with any browser to control the functions and web settings through
the intranet or the internet. We have gone through the add/remove programs
and checked to see if there were any components that we missed, but we seem
to have grabbed everything. Obviously there is something that we overlooked.
Has anyone set this up and if so, what did you do?
--
Thank You,
Troy Tag: Windows event log entries for Application Pool start and stop events Tag: 362145
view messages using CDONTS in c# .NET
hye....
I can send a mail by using CDONTS.and when I send mail
by using CDONTS than all mail go to Inetpub\mailroot\Drop.
now my main problem is that i want to display all message from the
drop.for it i have code of VB which is properly working.but i cant
convert it in c#.and i have to do it in C#.
my vb code is:-
<%@ Page language="c#" Codebehind="ruf.aspx.cs" AutoEventWireup="false"
Inherits="matchfinder.ruf" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>ruf</title>
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="ruf" method="post" runat="server">
</form>
<form id="Form1" method="post" runat="server">
</form>
<%
CDONTS.Session objInbox =new CDONTS.Session();
Messages colMsgs;
CDONTS.Session objCurSession = new CDONTS.Session();
objCurSession.LogonSMTP("userid","hhh@datingsite.com");
Session.Add("CurSession",objCurSession);
objInbox= objCurSession.Inbox;
colMsgs= objInbox.GetMessage ;
if (colMsgs.Count > 0 )
{
%>
<table cellSpacing="1" cellPadding="1" width="90%" border="1">
<tr>
<td>Importance</td>
<td>From</td>
<td>Subject</td>
<td>Sent</td>
</tr>
<%
int intLoop=0;
for (intloop = 1 ;intloop < colMsgs.Count;intloop++)
{
%>
<tr>
<td align="middle"></td>
<td><% =colMsgs(intLoop).Recipients %></td>
<td><A href="ViewMessage.ASPx?MsgID=<% =intLoop %>" >
<% =colMsgs(intloop).Subject %>
</A>
</td>
<td><% =colMsgs(intloop).TimeSent %>
</td>
</tr>
<%
}
}
%>
</table>
</body>
</HTML>
ps help me as soon as possible..........
*** Sent via Developersdex http://www.developersdex.com *** Tag: Windows event log entries for Application Pool start and stop events Tag: 362140
IIS 6 and host header name including umlaut
Hello
I'm trying to setup a host header name including special characters
(umlaut).
But IIS Manager does not allow it (only A to Z, a to z, digits . and -
are allowed).
Internationalized Domain Names IDN allow using special characters. But
some browsers (like IE) don't convert IDN domains to ACE-Strings.
In IIS 5 it was possible to set a host header name like
www.hägübrös.ch and the site can be accessed using IE (using the URL
http://www.hägübrös.ch).
Why is it no longer possible in IE6? Is there a work around? I know
there is a plugin for IE - but who has installed it?
Thanks for help
Thomas Tag: Windows event log entries for Application Pool start and stop events Tag: 362138
OWA New Message problem
We are running Exchange 2003 SP1, and use OWA on IE 6.1 as a primary client.
Recently, one of my clients, out of a clear blue sky, encountered a
problem - wherein when he creates a "new" message, he gets the new message
popup and can add an address either by typing or selecting, and can add a
subject, but the "message area" where you would normally type the message is
"grayed out" and shows the dreaded red "x" in the upper left corner, similar
to what you see if a picture cannot be "resolved".
Does anyone know what he might have inadvertently changed to do this ? Any
ideas ?
Thanks,
JM Tag: Windows event log entries for Application Pool start and stop events Tag: 362137
Cache problems
We have a iis 6.0 with a fullpatched 2003(latest) server running with only
asp enabled. It is going through a Cisco 11501 CS,(no caching on this switch)
What we are seeing is a website will have one or two pages updated, but they
are not propogated through to the browser (updated live).
1. All caches on client are cleared (behavior still exists) In fact new
clients who have never connected see the old page upto 8 or more hours later.
2. If you delete the website and recreate the pages are updated (strange
that lol)
3. We are using local drives not unc.
4. Sometimes the update does work straight away (as expected) but then it
reverts to the above behaviour
I have looked at lazy propagation, which does seem to fit but we are not
updating vast numbers of pages, perhaps 10 at most.
All IIS settings are standard, we are using only one worker process in the
default pool....
Any ideas? Tag: Windows event log entries for Application Pool start and stop events Tag: 362135
Security Settings on _vti_bin Folder
Hi,
I am having trouble with a form built with Front Page 2003, running on SBS
2003 (and using FPSE). When someone external to my network tries to submit
the form, they get the error message "You are not authorized to view this
page"...."HTTP Error 403.6 - Forbidden: IP address of the client has been
rejected.".
If I submit the form from internally, everything works fine.
The form is set to write to a file in the _private folder, and send an
email. Both of these are happening okay when performed internally.
I've checked the security settings for the pages and they all seem okay,
meaning anonymous access has been granted, and there are no restrictions on
IP addresses.
The only thing I can see is that the folder _VTI_BIN has restrictions on the
IP addresses (set to my server IP and 127.0.0.1). I'm not sure if I should
remove these IP restrictions in case I'm opening up a security hole.
Any ideas?
Thanks in advance.
Regards
Antony Tag: Windows event log entries for Application Pool start and stop events Tag: 362129
IIS 6 and URL changes
Hi There
I have recently moved a site to IIS 6 from 5 where it was working fine. It
has gone ok after enabling CGI Extensions and adding the Java MIME Types. I
have one issue however.
The Default URL for the Virtual Directory site contains a Hyphen i.e.
http://Servername/Self-Service/default.htm when connect to this URL on an IIS
5 or 4 server then it stays the same on IIS 6 it changes to
http://Servername/Self%2DService/default.htm
Is there any way to change it so IIS 6 will use the original URL?
Thanks
Ant
--
Ant B Tag: Windows event log entries for Application Pool start and stop events Tag: 362123
Installing IIS
I installed IIS 5.1 on my PC. All the services are running. At first it gave
me an error, which was caused by not setting my Internet Settings to "Bypass
Proxy Server". When I try and run the http://localhost I get the following
error (On a normal IE error screen).
HTTP 500 - Internal server error
Internet Explorer
What else do I need to get IIS running Tag: Windows event log entries for Application Pool start and stop events Tag: 362122
IIS6.0 using CPU, not responding to ASP calls
Hi,
I have 3 web servers clustered using NLB, each running identical
installations of our web application. Each one of our customers has their own
website and application pool, but runs the same web application. Our software
uses VB6 COM components to access a SQL database (separate server), via ADO.
The web front end is written in ASP (VBScript), using VB6 components again to
manage the HTML interfaces. This software is running fine on dev, test and
other live servers (all Windows 2003), and we have carried out extensive
testing of this software so I'm 99% sure it's not a programming issue.
Recently I have been getting downtime reported and using sysinternals
process explorer I have observed that the msvcrt.dll is using 0.1-10% CPU
consistently for a call to the endthreadex method.
The method call appears to be a common call used to close off any LPC, and
the other servers are all calling this and finishing within a second or so
each time. However, on this server we are getting consistent CPU usage, and
several identical threads.
I'm not entirely sure of it's relevance, but the "C.Switch Delta" is between
900 and 5000 for these threads, other processes seem to peak at about 200 or
so (average of about 7-8).
IISState is telling me that the process I point it at is "Not an IIS
process"...
The other 2 servers seem to be working fine, the only possible difference is
that one of the 2 working servers is NOT running SP1, the other two
(including the dodgy one) is SP1.
We encountered this problem once before, and concluded a Windows rebuild was
required, this was completed, and the servers ran fine for about 4 weeks. In
that instance this problem was occuring on one of the now working servers.
Any ideas?
Thanks. Tag: Windows event log entries for Application Pool start and stop events Tag: 362121
Secure OWA
I am currently in the testing phase of an Exchange 2003 rollout. After all
the configuration Outlook Web Access works fine through port 80. However
when i configure the directory security via IIS to only accept SSL
connections and set the port number to 443 I get no joy.
Once SSL is setup i get the usual HTTP Error 403.4 - Forbidden: SSL is
required to view this resource.
Internet Information Services (IIS) when i go to http://192.168.1.12 but
when i go to https://192.168.1.12 i just get a page cannot be displayed, its
not a firewall problem are there are no errors in the event logs or the IIS
logs.
Does anybody have possible suggestions to find a resolution.
Many thanks
Paul Tag: Windows event log entries for Application Pool start and stop events Tag: 362109
Event ID ( 8 ) in Source ( W3SVC )
Hello,
The below event is constantly logged every few seconds in the Application
Event Log. I realize that it is an Information Event and most of the time it
shoud be ignored, but I can't help the feeling that i might have a problem. I
have already checked the internet with no luck, and I was refered to this
Discussion Group from Windows 2000 Discussion Group by Dave Patrick.
Event Type: Information
Event Source: W3SVC
Event Category: None
Event ID: 8
Date: 5/8/2005
Time: 9:38:24 AM
User: N/A
Computer: ECS0
Description:
The description for Event ID ( 8 ) in Source ( W3SVC ) cannot be found. The
local computer may not have the necessary registry information or message DLL
files to display messages from a remote computer. The following information
is part of the event: Timed out waiting for SetConf signal, continuing....
Thanks,
akamal Tag: Windows event log entries for Application Pool start and stop events Tag: 362107
Redirecting back to Login.aspx after succesfull logon
We have a problem in our production environment, which doesn't occur in our
test-environment.
We have created two ASP.NET application with a common authorization.
Web-site-company
Login.aspx
<application1>
default.aspx
applicationpage.aspx
<application2>
default.aspx
anotherapplicationpage.aspx
what happens is this.
We send our customers to the site /Web-site-company/application1
IIS redirect the users to /Web-site-company/application1/default.aspx, but
they are not authorized yet,
so they are redirected to Login.aspx. After a succesfull login they are
redirected back to /Web-site-company/application1/default.aspx,
but they still are not authorized, and going back to the login.
But if the customer uses /Web-site-company/application1/applicationpage.aspx
they are authorized and can continue working.
Code from the pages:
/Web-site-company
----- Web.config
<authentication mode="Forms">
<forms loginUrl="Login.aspx"
protection="All"
timeout="10"
name="Companyname"
path="/Web-site-company"
slidingExpiration="true" />
</authentication>
<authorization>
<deny users="?" /> <!-- Allow all users -->
</authorization>
-----
----- Login.aspx
HttpCookie cookie = FormsAuthentication.GetAuthCookie( UserField.Text,
false );
FormsAuthenticationTicket ticket = FormsAuthentication.Decrypt(
cookie.Value );
FormsAuthenticationTicket newticket = new FormsAuthenticationTicket(
ticket.Version,
ticket.Name,
ticket.IssueDate,
ticket.Expiration,
ticket.IsPersistent,
"Userdata",
ticket.CookiePath);
cookie.Value = FormsAuthentication.Encrypt(newticket);
Context.Response.Cookies.Set(cookie);
Response.Redirect( FormsAuthentication.GetRedirectUrl( newticket.Name,
newticket.IsPersistent ) );
-----
/Web-site-company/application1
----- Web.config
<authentication mode="Forms">
<forms loginUrl="/Web-site-company/Login.aspx"
protection="All"
timeout="10"
name="Companyname"
path="/Web-site-company"
slidingExpiration="true" />
</authentication>
<authorization>
<deny users="?" /> <!-- Deny all users -->
</authorization>
-----
----- Default.aspx
private void Page_Load(object sender, System.EventArgs e)
{
Response.Redirect("applicationpage.aspx", false);
}
-----
Production environment:
<Internet>-----<Firewall>-----<DMZ with web-site-company
server>----<Firewall>-----<company network>
Test-environment:
Test-PC and Webserver on the same network.
We used the same MSI-file to install the /Web-site-company and the
applications on the test- and production-environment. Tag: Windows event log entries for Application Pool start and stop events Tag: 362106
127.0.0.1 vs localhost
question regarding IIS 5.1
-----------------------------------
using the address "http://localhost/vga/Default.aspx" the site opens
using the address "http://127.0.0.1/vga/Default.aspx" the site can't be
found
the hosts file has the translator for
127.0.0.1 localhost
what can I change so the site opens either way "127.0.0.1" or "localhost" Tag: Windows event log entries for Application Pool start and stop events Tag: 362096
File uploads
I'm have Windows 2000 Server and my website allows uploads of files (using <input type="file">) However I have some
problems when a user trys to upload a large (>8MB) file. When the user submits the form within about 5 seconds an error
message is returned (in FireFox it says "the document contains no data" in IE 6 it just redirects to a page that says
the "the page cannot be found". When I look in my webserver log it shows a 400 error. Of course this problem doesn't
happen with all users either. Is there any way to actually troubleshoot these problems? My web app is developed with
.NET but it doesn't appear that that is in anyway the problem since the error is returned so quickly. The file is not
even getting uploaded in that amount of time. I really need to get this fixed any help is appreciated (I don't want to
use a client side control to do the uploads since I have to support very unsophisticated users and several different
browsers on Mac, Windows, and Linux).
--Buddy Tag: Windows event log entries for Application Pool start and stop events Tag: 362085
Response.Buffer
I've been getting an error message when loading a page that retrieves too
much information. The solution that has been advised was to either limit the
number of records to display or to change the 4MB buffer limit in
metabase.xml.
I've tried increasing the limit to about 10MB as a starting point. This
causes the server to ask the user for a username, password and, domain.
I tried turning off buffering prior to writing any Response code by setting:
Response.Write = False
and I'm now getting another error msg:
Response object, ASP 0157 (0x80004005)
Buffering cannot be turned off once it is already turned on.
I don't know what I'm doing wrong in the code, but it uses file Includes.
Here is a sample of the code that's not working after turning off the buffer:
<%
Response.Buffer = False
CALL SpecificPageHeader("Audit History")
selected = Request.Form ("selectTable")
CALL GenericTableHeader ("Search Criteria:")
CALL NavigationHeader (selected)
if selected = "projects" or selected = "" then
CALL GenericTableHeader ("Search Results: Projects")
CALL ProjectHeadings()
CALL PopulateDemands ()
CALL GenericTableFooter ()
Else
CALL GenericTableHeader ("Search Results: Users")
CALL ResourceHeadings()
CALL PopulateResources ()
CALL GenericTableFooter ()
End if
CALL PageFooter()
Response.Buffer = True
%>
Regards,
Eric Tag: Windows event log entries for Application Pool start and stop events Tag: 362084
auto ftp log files
I'm looking for a tool that will ftp my current log file (also zip it
up) from my IIS server to my local machine. Something that I can
schedule to run everyday or week. Tag: Windows event log entries for Application Pool start and stop events Tag: 362082
Where can this be d/l from Microsoft?
http://download.microsoft.com/download/3/4/c/34ca2e4e-da75-4844-aa28-179a=
e00b1ac0/q811114_w2k_sp4_x86_en.exe
Is:
http://www.microsoft.com/downloads/details.aspx?FamilyId=3D2F5D9852-4ADD-=
44F8-8715-AC3D7D7D94BF&displaylang=3Den
Namely=20
Download details Windows 2000 Security Patch Internet Information =
Services 5_0 Security Fix
--=20
George Hester
_______________________________ Tag: Windows event log entries for Application Pool start and stop events Tag: 362080
EXE report "page cannot be displayed"
I have an IIS server running and to my knowledge, has worked fine without
problems. I used the IID lockdown tool and since, everything seems fine.
Recently it has bee brought to my attention that the .EXE will report a 404
Page Cannont be Diplayed.
Things I have tried.
Permissions Wizard
Adding .exe to the MIME file types with the application/octet-stream
Added a .txt file to the same directory which displayed correctly
Tried accessing and .msi file which was successful
It appears that the problem exists with the .exe file
I am stumped at this point.
Any help would be appreciated...
Thanks,
ryan Tag: Windows event log entries for Application Pool start and stop events Tag: 362078
CGI permission problem
I've a permission problem with cgi scripts under IIS 6
Everytime i run a page with .cgi extension i get the authentication pop-up.
Obviously permissions for the anonymous user are good (read write and
execute permissions).
I've also tried to add in the registry editor
(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters) this
key:
Createprocessasuser as a reg:dword and giving it value 0.
Unfortunately i get always this autnethication pop-up.
What can i do? Tag: Windows event log entries for Application Pool start and stop events Tag: 362077
IIS 5.1 crash system
Hi,
i am working with ASP.NET WebServices about five months ago. I use Visual
Studio 2003 IIS 5.1 and my OS is Windows XP Professional SP1. All works fine
untill few days. Infact recently i formatted my system so i reinstall the
necessary to work with .Net ASP.NET, etc. Unluckily now i don't develop Web
Serce because IIS crash my system when i submit every request by Visual
Studio or By IE. I try with simple Hello Web Service but nothing. The crash
that happens force me to restart System by press reset button otherwise i
can't use my pc. I saw event register but it doesn't note system error so I
don't retrieval more information to find error on internet FAQ. Sometimes
happens that IE accept my ASP.NET WS request but when I try to use IE for
another request it crash anyway.
There is anyone that help me to solve this problem i greatly thank.
Sorry for my bad English I am italian developer.
Giuseppe Tag: Windows event log entries for Application Pool start and stop events Tag: 362072