Ways to improve performance of IIS application
I am using Win 2003 Enterprise Edition with SQL Server 2000 SP3.
An ASP web-based application with 200 users is being run on this server.
How can i watch on a regular basis to make sure the performance of the
web server for the 200 users is good and not slow.
What are the best practices, guidelines? Any books or online articles you
can share for me to read more about managing an IIS Server when running
a database application on it?
Are there Performance Monitor alerts i have to configure or i have to
manually
verify Task Manager on a regular basis and see if INETINFO.EXE, DLLHOST.EXE,
SQLSERVER.EXE are using too much resources and do IISRESET, SQL Server
services
restart, etc...?
Can someone share their thoughts, experience, suggestions and/or
recommendations on this
subject of performance monitoring and improving?
Thank you very much Tag: Newbie to IIS 6 Tag: 343532
Connection to local host refused after fresh install.
Hi
IIS has stopped working on my Windows XP pro system. I initially received
an Error 13: when trying to connect to local sites.
I uninstalled IIS and then reinstalled hoping the problem would be fixed. I
don't get that error now but when attempting to connect to a local site I
get the following message.
The connection was refused when attempting to contact 127.0.0.1
The only complication I have on my system is that Apache is also installed.
However it is configured to start manually and is not started on boot up.
Apache is working fine when manually started.
Could there be a conflict with Apache? The 2 web servers resided on this
system together well for the past 10 months.
I'd really appreciate any suggestions about when could be my problem.
Thanks
David Tag: Newbie to IIS 6 Tag: 343529
problem with XP service pack 2.0
Hi!
I have an application in which I am giving an option like internet
browser in one of a module, where a user can enter a URL and browse any
site, and the entered url will be stored in database, when next time user
logs in the application my browser will load the same URL when he logged
off, if a user entered about:blank or any url which contains " : " hyphen
browser is not responding. Its happening only on XP service pack 2.0. pls
find the attachment of my source file.
Thanks in Advance,
Mohammed Tag: Newbie to IIS 6 Tag: 343515
IIS snap-in falied to Initialize
HI All
After exuecution of any long script the sql server is not releasing System
Cache memory which it used for processing of script. Bez of this system
becomming slow, i am stopping and restarting sql server every time.
After modfying the settings as per one of the KB articles reg MMC also it is
not working
can any one suggest hwo to release System Cache memory, Here i am not using
any front end tool. Just trying in sql analyzer.
Thanks Tag: Newbie to IIS 6 Tag: 343511
could not download .dat file from web server
Hi all,
I setup a web server with IIS6.0(SBS2003), and put .dat file in the virtual
directory, but users can see this file from web browser but cannot download
it. Would you please tell me how to let them download the .dat file?
Kind regards
Michael Tang Tag: Newbie to IIS 6 Tag: 343505
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Using latest SP Win2k and .NET versions, I have a .NET application running
on server1 with a SQL Server database running on server2. I have the
Windows user account passwords sync'd for server1\aspnet (installed by .NET
Framework and server2\aspnet (created by me--this machine has no .NET
Framework on it). The aspnet user on the database server (server2) has
access to the database.
I still get: Login failed for user '(null)'. Reason: Not associated with a
trusted SQL Server connection.
IIS is set to Windows Integrated Authentication...although same result with
Anonymous, with and without IIS controlling password that I enter.
-----------------------------------
Here's my connection string:
Me.SqlConnection1.ConnectionString = "workstation id=""CIL-094"";packet
size=4096;integrated security=SSPI;data source=""myserver"";persist security
info=False;initial catalog=mydb;"
-----------------------------------
Here's my web.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation defaultLanguage="vb" debug="true" />
<customErrors mode="Off" >
<error statusCode="404" redirect="~/errors/missingPage.aspx" />
</customErrors>
<authentication mode="Windows" />
<authorization>
<allow users="*" /> </authorization>
<trace enabled="true" requestLimit="10" pageOutput="true"
traceMode="SortByTime" localOnly="true"/>
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;"
cookieless="false"
timeout="20"
/>
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
</system.web>
</configuration>
--
_____
DC G Tag: Newbie to IIS 6 Tag: 343499
Urgent -Problem with IIS 6 Performance
Hi
The server is a co-located Xeon 3.0ghz. I am running win2003 with IIS6 and
PHP 4.38. When I run a page with an embedded PHP script that generates
simple output, it runs quickly when accessed via IE6 locally on the server,
or at the co-location facility. When accessed from an outside site, it runs
extremely slowly, and then times out. The final html page is about 4kB.
<?
function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return (substr($sec,7,3) . substr($usec,1,4) );
}
?>
<head>
</head>
<body>
<?
for ($i=1;$i<=10;$i++) {
for ($j=1;$j<=250;$j++) {
print "$j";
}
$time_start=getmicrotime();
print "<br> $i $time_start<br>& ";
}
?>
</body>
when the output page page is preformatted (php is not dynamically generating
it) it does respond very quickly. i think it is something in the byte by
byte generation and transmission of the page.
My guess is something in the TCP/IP configuration is wrong, but I don't have
a clue what.
This problem is very urgent. I'd appreciate any insights.
Howard Tag: Newbie to IIS 6 Tag: 343487
Can't Install FrontPage 2002 Extension on new website
I have installed the frontpage 2002 extensions on my
windows 2000
server, but when I create a new site the only option I
have under all
taks when I right click it is permissions wizard.
When I look at the sharepoint website I can choose
Permissions Wizard,
Configure Extensions or Configure Extensions 2002.
Can someone please tell me why I am not getting that
option for andy
new site I create.
Thanks Tag: Newbie to IIS 6 Tag: 343484
Splitting Dynamic IP to two URL/Domains
I have a No-IP Dynamic IP Address (too cheap to buy Static) and want to still
have two web-sites running on two separate servers. Because I can't assign
external Static IP Addresses to the two servers, does anybody know of a
technology that can sniff what URL was originally typed in and using that,
forward to the correct NIC?
Don't think MS has this technology, but could be wrong.
Thx Tag: Newbie to IIS 6 Tag: 343480
ADSI Alternate Credentials Not Working...
I have a set of web pages on an AD-authenticated web site that are
supposed to allow users to modify their own AD account attributes,
limited of course to things like their email address, URL, etc. I was
hoping to connect to LDAP using secure authentication as described on
a few tech web pages, and the connection works fine but when it's time
to commit the changes with .SetInfo, the script fails with:
Active Directory error '80070005'
General access denied error
This is a terrible stumbling block for me. Is there a way to get this
working, or is there another way of doing this altogether?
Any help greatly appreciated!!!
Thanks,
Brad
Here's a code snippet...
Const ADS_PROPERTY_CLEAR = 1
Const ADS_PROPERTY_UPDATE = 2
Const ADS_SECURE_AUTHENTICATION = 1
user = Request("user") ' display name from POST data
newemail = Trim(Request("mail")) ' new email address from POST data
strUserDN =
"cn=Administrator,cn=Users,dc=network,dc=rectaltronics,dc=com"
strPassword = "IdontThinkSo"
Set objRoot = GetObject("LDAP:")
Set objDomain = _
objRoot.OpenDSObject("LDAP://dc=network,dc=rectaltronics,dc=com", _
strUserDN, strPassword, ADS_SECURE_AUTHENTICATION)
' so far, so good.
ADSPath = "LDAP://cn=" & user &
",ou=Family,dc=network,dc=rectaltronics,dc=com"
Set objUser = GetObject(ADSPath)
currentemail = objUser.Get("mail")
' still OK here, but I could do the .Get under user's creds too.
SetAttrib "mail",newemail
objUser.SetInfo
' above line is where it bombs! Tag: Newbie to IIS 6 Tag: 343479
redirecting of ports on IIS?
Hi everybody,
I have a website that is running on my Win2k box and it is using port
80. But I put another website under a different port 8080. When I go
to the port 80 site it works fine but when I go to port 8080 I get
again the website that is on port 80. Is there an auto forward feature
or something else?
Regards
Nick Tag: Newbie to IIS 6 Tag: 343478
Make a new Frontpage Web in IIS5
Can some one tell me why my sbs 2003 iis5 server only has
an option to Configure Frontpage 2002 Extensions on some
of my sites and not others?
I know the extensions are installed because the
sharepoint website gives me the option to configure the
fp extensions, but any new
website I create I don't get that option.
I've created a new web and need it to be a frontpage web
but the option to configure it isn't there!
Any help is appreciated.
Thanks Tag: Newbie to IIS 6 Tag: 343476
Secure Site for Active Directory Group
I'm new at this.
We want to make a website on our iis5 server that's accessable only to our
users in one win2k active directory group. We don't want them to have to
log on. Is this possible?
I removed anonymous access from the directory, but when I try to access a
file in the directory with my browser, a login dialog pops up and I have to
log in again. Tag: Newbie to IIS 6 Tag: 343472
IIS on lan
hello,
I was wondering is there was a way to allow my server to
be accessed from a public ip of the internet host comp.
My setup is i have a gateway computer that hosts the
internet, then all the other computers get the internet
from that (i know this is not the best way, but it is
only tempory). the servers ip is 192.168.0.124. this is a
private ip. so is there any way in wich i can set it up
to alow connection to the iis through the ip of the host
computer,
Many Thanks
Tom Ballard Tag: Newbie to IIS 6 Tag: 343470
cannot add default document iis 6
I have a 2003 server running iis6. Whenever I try and set the default
document for a site (different than the four that are automatically
setup when you create the site), such as index.shtml, IIS does not
server the default document.
I have checked the default document settings many times - the correct
filename is there, its at the top of the list, I have enabled SSI, the
actual file is in the root of the web directory.
Its very odd - for instance: I have a site setting up thats default
document is index.asp. IIS does not serve that page (always get
Directory listing denied). I checked the site settings and index.asp
is at the top of the list and the checkbox to enable default documents
is checked. BUT, if I save the index.asp file as default.asp (one of
the documents that is in default document list by default when you
create a new site), IIS serves the default document no problem.
I am using host headers to make the most out of my IP's - could it be
related to that?
Any and all help is appreciated,
Mike Tag: Newbie to IIS 6 Tag: 343467
Can not acccess local website with Windows Auth
I'm running XP SP2 and applied 817293.
I can use IE to connect to IIS on the same using Windows Auth (NT, not kerb)
machine with:
o http://localhost
o http://<NetBIOS name>
but not:
o http://127.0.0.1
o http://<FQDN>
o http://<alternate A record FQDN>
I even added to the hosts file
127.0.0.1 <FQDN>
with no luck.
It's strange. Even the logfiles will show combos of 127.0.0.1 and my actual
IP address with and without NT Auth -- so it's not Route problem per se.
Access from a second machine is OK. Tried RunAs with a Win2K Kerb accound,
same problem.
2004-08-31 19:26:58 127.0.0.1 () GET / 401 4369 HTTP
2004-08-31 19:28:44 127.0.0.1 () GET / 401 4767 HTTP
2004-08-31 19:28:44 127.0.0.1 USAAT1\a0824967 GET /De
2004-08-31 19:28:44 127.0.0.1 USAAT1\a0824967 GET /pa
2004-08-31 19:28:44 127.0.0.1 USAAT1\a0824967 GET /MS
2004-08-31 19:28:44 127.0.0.1 USAAT1\a0824967 GET /mc
2004-08-31 19:29:40 127.0.0.1 () GET / 401 4767 HTTP
2004-08-31 19:30:13 157.87.0.97 () GET / 401 4767 HT
2004-08-31 19:30:13 157.87.0.97 USAAT1\a0824967 GET /
2004-08-31 19:30:13 157.87.0.97 USAAT1\a0824967 GET /
2004-08-31 19:30:13 157.87.0.97 () GET /MSLinux.jpg
2004-08-31 19:30:13 157.87.0.97 USAAT1\a0824967 GET /
2004-08-31 19:30:13 157.87.0.97 USAAT1\a0824967 GET /
2004-08-31 19:33:47 157.87.0.97 () GET / 401 4767 HT
2004-08-31 19:33:47 157.87.0.97 () GET / 401 4369 HT
2004-08-31 19:33:54 157.87.0.97 () GET / 401 4767 HT
2004-08-31 19:33:54 157.87.0.97 () GET / 401 4369 HT
2004-08-31 19:35:01 157.87.0.97 () GET / 401 4767 HT
2004-08-31 19:35:01 157.87.0.97 () GET / 401 4369 HT
2004-08-31 19:35:15 127.0.0.1 () GET / 401 4767 HTTP
KB 303650 does not seem to make a difference IE shows site as Local Intranet.
XP SP2 Firewall on/off; service started/stopped makes no difference. Tag: Newbie to IIS 6 Tag: 343464
IIS 6.0 - enabling CGI extensions on a per-web basis?
I have a professor who uses CGI, and I've added the four exe's on his web
site to the list of allowed extensions.
Will I need to do this every time he uploads a differently named exe, or is
there a way I can enable his "bin" directory to automatically allow the new
exe's he uploads?
TIA! Tag: Newbie to IIS 6 Tag: 343459
Need urgent help with asp.net perfromance...
Hi,
I have a dedicated server running Win 2003, IIS 6, and ASP.net 1.1
I have 8 ip addresses and under the Default Web Site I created a
virtual directory called "test" so I can test my app. This uses "All
Assigned IPs"
My app is asp.net (C#) and uses MS Access db (JET).
Here is the problem:
When trying to go to the site using a browser:
www.mysite.com/test/index.aspx
It takes 20 seconds to load the page! This is unacceptable!
Running the same site on a "SHARED" host (less powerfull) it take 6
seconds to load.
Logging into my dedicated server and viewing performance as I load the
page from another PC, It seems like my dedicated server is stalling
for about 12 seconds before sending the page to the client.
I dont know what is causing this. Could it be a problem with IIS?
ASP.NET? Server hardware? I have tried everything I could think of.
Does any one have any ideas.
Thanks Tag: Newbie to IIS 6 Tag: 343456
IIS website connection limit
I have an IIS installed with windows 2003 Enterprise, the website
connection limit is only 256. i found it using the performance monitor / Web
service anonymous user
I want to extend it but where i need to set it up,
I think this has something to do with the license which limited
to onyl 256 connections. I looked at the IIS config on a windows 2003 server
and the connection set to unlimited.
Is there a way to increase the limit?
appreciate your help Tag: Newbie to IIS 6 Tag: 343452
Web server on XP Home
Is there a free download available for those of us
running XP Home Edition?
I'm trying to learn ASP and I have Frontpage 2003 but I
don't seem to have a way to get a web server running.
Any help would be appreciated.
Thanks,
Brian Tag: Newbie to IIS 6 Tag: 343450
Internal web for web design
I have 2 computers on a LAN. We share the same DSL account. My computer uses
WinXP Home and I want to design some web pages using Front Page Extensions.
The other computer uses WinXP Pro. I just installed IIS on the other
computer. Not knowing that it is very desirable to have XP PRO on the
computer used to develop FP webs, I installed FP on the XP Home computer.
My goal is to test the FP web pages internally, before publishing them to my
ISP (who has FP Extensions).
I think it's possible to publish the webs from my XP Home computer to the
other XP PRO computer, in order to test it out completely (database, forms,
and some other neat tools in FP). Please point me to a site that explains,
step-by-step, how that would be done. Thanks you. Tag: Newbie to IIS 6 Tag: 343444
Win2000/IIS caching of credentials
I would like to know how long Windows 2k caches user credentials. In
particular, I have a web server connected through a rather slow pix-to-pix
VPN to a Win2k domain controller on the main LAN. The web application
server uses a domain user account to run the application. It's obvious that
it doesn't authenticate to the domain for each visit to the web application
server. I understand that the credentials are cached for a certain amount
of time to avoid this repeated round trip for each hit to the webserver.
My questions is--if my assumption is true--what is the default caching
period? Can I change it? How?
--
_____
DC G Tag: Newbie to IIS 6 Tag: 343443
limiting request in a web application
Is there any way to limit the number of simultaneous requests in web aplication?
(.NET web application/ IIS6) Tag: Newbie to IIS 6 Tag: 343435
Dilemma...
I currently have a site running on a 2k3EE server running
IIS and have an interesting situation.
I have another server (not accessible via the internet)
with information I'd like to access from a link on the
previous server's web page.
Is this at all possible?
Thanx. Tag: Newbie to IIS 6 Tag: 343434
Can't access IIS 5.1 websites outside of network
Hello,
On our server we cant seem to get access to the iis
websites, manny small ones, outside our network, the
server has direct access to the internet and the firewall
has been configured to allow the iis to work.
We have tried dns access and direct ip address access,
form a variety of systems an browsers, but it cant fing
the server.
Manny Thanks
James Rizzi Tag: Newbie to IIS 6 Tag: 343431
Obtaining SSL info from established session
Hi all,
I'm in the process of searching for a solution to my problem, so I
apologize if this is redundant...
I've got a client-server system that uses IE components in a
client-side application to connect to a sever-side application that
uses IIS as an entry point (.NET). In other words, the IE/IIS
components are used to establish a secure connection for .NET
remoting.
The application itself requires user/pass authentication inside the
server-side SSL suthenticated tunnel, which is subject to various
security issues (insider MITM attack, for example).
What we desire is to have a mutually authenticated SSL session
established between the client and the server, but to use that
authentication information within the server-side application -- in
other words, get rid of the user/pass maintenance.
Is there a simple, obvious way to achieve this without changing a
bunch of the application?
Thanks in advance.
Adam Tag: Newbie to IIS 6 Tag: 343424
Websites won't start!
Hi all - hope someone can help!
After a recent reboot, I noticed that all of our websites
(we host several small sites) were in a 'stopped' state.
on trying to restart them I get the message "The process
was unable to access the file as it is in use by another
process". I have tried the obvious things like restarting
IIS but to no avail. Is there a way of finding out which
files and processes are being referred to, or does
anybody have any other ideas?
It's Windows SBS 2003 and IIS 6
Thanks in advance.
Nick Tag: Newbie to IIS 6 Tag: 343419
Using outlook web access on server 2003 - any suggestions would be
I have been trying to get the outlook web access working on server 2003 and
have been far from succsessful. This is my first time attempting something
like this and feel that I am probably missing something simple. The very
first step that it apears I need to do is make my server a front end server.
However when I try to do this I got a message saying that I am not allowed to
do this because there is only one server on the network. We are a small
organization that only has the one server looking after every thing at this
point however we need to find some way to get our email via a web interface.
If anyone has any suggestions I would greatly appreciate it. Tag: Newbie to IIS 6 Tag: 343418
The server failed to load application '/LM/W3SVC'. The error was 'The specified metadata was not found
I try to open a web with frontpage 2003 on my local IIS server (XP PRO) and
I get a message :
A Web Server at http://kenny-xp does not appear to have the Windows
SharePoint Services installed.
Kenny-xp is the name of my web. This was working fine at some point... but
all of a sudden it stoped working.
I have had this problem a long time and have not found a solution so I
cannot use system restore.
I have tried reinstalling IIS and frontpage with no luck. In the event
viewer I get the following error (searching through google did not give me a
solution for this, just posts about similar problems!)
Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 36
Date: 30/8/2004
Time: 6:57:48 ìì
User: N/A
Computer: KENNY-XP
Description:
The server failed to load application '/LM/W3SVC'. The error was 'The
specified metadata was not found.
'.
For additional information specific to this message please visit the
Microsoft Online Support site located at:
http://www.microsoft.com/contentredirect.asp.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
HELP!!!! Tag: Newbie to IIS 6 Tag: 343415
MSMQ 3.0 redirect problem
I'm testing MSMQ 3.0 via HTTP. Our network configuration is as follows:
A. Windows 2003 Server Edition in Site1
Queue messages are sent from here.
B. Windows 2003 Web Edition in Site2
This server has a public IP;
In this PC is installed an ISAPI filter called ISAPIRewriter that
forwards all HTTP messages to C.
C. Windows 2003 Server edition in Site2
This PC is configured with a public queue and HTTP queue support.
My tests have outlined three situations:
1. A sends a generic HTTP request to C (through B)
In this case, B receives the message, forwards it to C which replies
with a "200 OK" and the response arrives correctly to A
2. A sends an MSMQ 3.0 HTTP request to C (through B)
In this case, B receives the message and replies with "400 Bad request"
without forwarding the request to C
3. B sends an MSMQ 3.0 HTTP request to C
In this case the message arrives to C wich replies with "200 OK"
Now, my question is why in case 2 I get the "400 Bad request" error? Could
it depend on the fact that the message is discarded by IIS on B?
Is there a way to forward MSMQ messages from B to C without installing a
public queue on B (I can't install a public queue on