??
I sent 2 posts yesterday and neither one has shown up in this news group.
Could anyone tell me why?
Thanks...... Tag: "iisftp.vbs" Is there an update switch? Tag: 385796
NLB & Make IIS ASP Applications Redundant
Hi,
We use NLB on Windows Server 2003 SP1 with 2 servers. It seems if a
website goes down but not a server (the ASP.NET application crashes)
clients will still be directed by NLB to this 'down' application. I'm
looking for some best practices or documentation regarding how to make
the application redundant, as well as the Server/Network.
Thanks,
Dan Foxley Tag: "iisftp.vbs" Is there an update switch? Tag: 385787
How do you set up a web site programatically in IIS 5.1?
Hi,
I am writing a .bat file to automate various installation tasks
targeted at a Windows XP Professional laptop. One of the tasks is
setting up a web site in IIS 5.1.
I looked in the System.DirectoryServices namespace, and found classes
within to perform this action, but the network that this laptop uses
will not have Active Directory available to it. How else can this task
be performed programmatically?
Thanks in advance,
Chris Tag: "iisftp.vbs" Is there an update switch? Tag: 385785
httphandler session scope
Hi, All-
I have a custom httphandler that outputs an image to the browser based
upon some user input. I'd like to be able to store information about
that image in session and have them accessible to all aspx pages in my
project. Session state seems to be working normally in my handler,
however, the session variables are not accessible anywhere outside the
handler itself. Any ideas?
Thanks in advance
Ty Tag: "iisftp.vbs" Is there an update switch? Tag: 385784
Cert Thumbprint Help Plz
I was wondering how I would get the thumbprint of the cert that I
resubmitted to get approved in my CA. I'm running this with IIS6 on a
Windows 2000 server. If there is a different or better way to go any
suggestions would be greatly appreciated. Thanks for help in advance.
Set objEnroll = CreateObject("CEnroll.CEnroll.1")
Set CertRequest = CreateObject("CertificateAuthority.Request")
Set CertAdmin = CreateObject("CertificateAuthority.Admin")
Set CertConfig = CreateObject("CertificateAuthority.Config")
Set Store = CreateObject("CAPICOM.Store")
DistinguishedName = ""
DistinguishedName = DistinguishedName & "CN=" & CertCommonName
DistinguishedName = DistinguishedName & ",OU=" & CertOrgUnit
DistinguishedName = DistinguishedName & ",O=" & CertOrganization
DistinguishedName = DistinguishedName & ",L=" & CertCity
DistinguishedName = DistinguishedName & ",S=" & CertState
DistinguishedName = DistinguishedName & ",C=" & CertISOCountry
DistinguishedName = DistinguishedName & ",T=" & CertTitle
DistinguishedName = DistinguishedName & ",E=" & CertAdminEmail
With objEnroll
.ProviderType = 12
.MyStoreFlags = 131072
.GenKeyFlags = 1
.KeySpec = 1
.DeleteRequestCert = True
.addCertTypeToRequest "WebServer"
.createFilePKCS10 DistinguishedName, CertOID, OutputFilename
End With
ConfigString = CertConfig.GetConfig(CC_DEFAULTCONFIG)
DataToSubmit = objEnroll.createPKCS10(DistinguishedName, CertOID)
Disposition = CertRequest.Submit(CR_IN_ENCODEANY Or CR_IN_FORMATANY,
DataToSubmit, "", ConfigString)
ID = CertRequest.GetRequestID
Disposition = CertAdmin.ResubmitRequest(ConfigString, ID) Tag: "iisftp.vbs" Is there an update switch? Tag: 385782
IIS6 Slower/Fewer Connections After Upgrade
I'm tearing my hair out on this one and don't know where to look at
this point. I have 5 web servers, all IBM Blade servers in the same
Blade Center enclosure. Before the upgrade, they were all running
various sites on 2000/IIS5 behind a Cisco load balancer in round robin.
They all had roughly the same amount of current connections.
After I upgraded three of them to 2003/IIS6, those upgraded servers
received 1/2 to 2/3 of the connections the other two 2000/IIS5 servers
did according to the load balancer stats. This connection discrepancy
only happened for one site in particular, but it is the site with the
most back end i/o to external resources (SQL, Search Server, Biz
System).
I've tried running the server in IIS 5 Compat mode, and out of compat
mode in IIS6 isolation mode. Made no difference. I've even tried doing
a fresh OS install rather than an upgrade. That made no difference.
Migrating two of the three 2003/IIS6 servers back to 2000/IIS5 solved
the problem, and their connections returned to normal in the load
balancer.
So, I'm left with one 2003/IIS6 server that according to the load
balancer is getting much fewer connections than the others. The log
files from that server also support that stance.
As a next step, I took the 2003/IIS6 server and one 2000/IIS5 server of
of the balancer pool and started benchmarking things like html pages,
asp+loop pages, asp+sql pages, etc.
The 2003/IIS6 machine was quite a bit slower on two things: static HTML
files, and pages that did massive backend i/o. The static html was 771
rec/sec on iis6 and 927 req/sec on iis5. The heavy backend pages were
half as fast on ii6 as they were on iis5. This was true if I ran the
benchmark on the client, or on the server itself.
As a side effect, if I tried running too many static request (like 5000
instead of 1000) at a time, iis6 would just top responding.
At this point, I think this has something to do with the networking
stack changes in 2003, but after reading about those changing on
TechNet, nothing much stands out as a culprit, with the exception of
SynAttackProtect. Even with that disabled, we still have performance
issues.
At this point, I'm at a loss. Any ideas?
-=Chris Tag: "iisftp.vbs" Is there an update switch? Tag: 385781
Metabase Entry PasswordExpirePrenotifyDays
I recently switched from IIS 5 to IIS 6.
The same Website has now a different login behaviour. If my domain password
expires our policy informs me 14 days beforehand. The iis 5 didn't care. IIs
6.0 routes me to a password change webpage which is stored in metabsase 2062
(AuthNotifyPwdExpURL) Although the 2063 PasswordExpirePrenotifyDays is set to
zero! When I set 2063 to 4 no login is granted.
This behaviour is only for users who password is about to expire soon.
A work around I implemedted is to set the 2062 to the default.asp page of
the web site. But this is no good solution because when a user accesses a
subdirectory he is redirected to the main page.
Has anobody made expierences with the 2062 and 2063 setting in IIs 6.0 (Win
2003 Sp1)
Thanks clandos Tag: "iisftp.vbs" Is there an update switch? Tag: 385780
Remoting stops working with host headers
Hi,
I had a non web app running with some remote services. All the services
were defined as shown below:
<service>
<activated type="Classes.clsClass1, Classes" />
<wellknown type="Classes.clsClass1, Classes" mode="Singleton"
objectUri="clsClass1.rem" />
</service>
...
<service>
<activated type="Classes.clsClassN, Classes" />
<wellknown type="Classes.clsClassN, Classes" mode="Singleton"
objectUri="clsClassN.rem" />
</service>
And in the client:
<client url="http://myServer:8085">
<activated type="Classes.clsClass1,Classes" />
</client>
...
<client url="http://myServer:8085">
<activated type="Classes.clsClassN,Classes" />
</client>
<channels>
<channel ref="http" useDefaultCredentials="true"
useAuthenticatedConnectionSharing="true">
...
And at the IIS of my server:
IP Address: 193.168.x.xxx
TCP Port: 8085
Host Header: (none)
This worked ok. Now, I am forced to declare a host header for the site,
so now I have:
And at the IIS of my server:
IP Address: 193.168.x.xxx
TCP Port: 80 (The default web site listening at port 80 is
stopped)
Host Header: header
This header is also defined at the DNS server.
<service>
<activated type="Classes.clsClass1, Classes" />
<wellknown type="Classes.clsClass1, Classes" mode="Singleton"
objectUri="clsClass1.rem" />
</service>
...
<service>
<activated type="Classes.clsClassN, Classes" />
<wellknown type="Classes.clsClassN, Classes" mode="Singleton"
objectUri="clsClassN.rem" />
</service>
And in the client:
<client url="http://header:80">
<activated type="Classes.clsClass1,Classes" />
</client>
...
<client url="http://header:80">
<activated type="Classes.clsClassN,Classes" />
</client>
<channels>
<channel ref="http" useDefaultCredentials="true"
useAuthenticatedConnectionSharing="true">
...
I get a 404 error, not found. And the track is shown below:
System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult
asyncResult)
at System.Net.HttpWebRequest.GetRequestStream()
at
System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage
msg, ITransportHeaders headers, Stream inputStream)
at
System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage
msg, ITransportHeaders requestHeaders, Stream requestStream,
ITransportHeaders& responseHeaders, Stream& responseStream)
at
System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage
msg)\n\nException rethrown at [0]: \n at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
I think that the header is interfering in the request of the services
but I dont know why, any idea?
Thank you in advance Tag: "iisftp.vbs" Is there an update switch? Tag: 385775
FTP program can't list folder content
Last week I purchased a web hosting service and registered a domain
with a web hosting provider.
The problem is: when I ftp my account, I can login successfully, but I
can't have the folder content listed in my ftp program. I have also
another web hosting account with the same provider which does not give
me any problem.
I have tried WS_FTP LE, deluxeFTP and IE6 (ftp://) but to no avail. I
was told by the reseller to uncheck the Passive Mode which I did but
all the programs still failed to list the folder content (in fact they
failed whether in Passive mode or not). A support staff of the web
hosting provider said he has no problem accessing the folder at his PC.
I found out from the Web that the failure has something to do with the
firewall setting. I have shut down my ZoneAlarm and turned off Windows
Firewall but the problem still persists. In all occasions, the login
was successful but I just could not get that usual folder listing. Do I
need to ask my broadband ISP to change their firewall setting?
Please advice. Thank you in advance.
Here are some sample login traces from WS_FTP LE:
Login 1 (unchecked Passive Mode):
WINSOCK.DLL: WinSock 2.0
WS_FTP LE 5.08 2000.01.13, Copyright =A9 1992-2000 Ipswitch, Inc.
- -
connecting to 202.75.x.x:21
Connected to 202.75.x.x port 21
220 Serv-U FTP Server v6.1 for WinSock ready...
Host type (1): Serv-U
USER user1234
331 User name okay, need password.
PASS (hidden)
230 User logged in, proceed.
PWD
257 "/" is current directory.
Host type (I): Serv-U
PORT 10,145,1,77,5,131
200 PORT Command successful.
LIST
150 Opening ASCII mode data connection for /bin/ls.
! Timer cancelled blocking call
! Accept error: Blocking call cancelled
! Retrieve of folder listing failed (0)
-----------------------------------------------------------------
**** Login 2 (checked Passive Mode):
WINSOCK.DLL: WinSock 2.0
WS_FTP LE 5.08 2000.01.13, Copyright =A9 1992-2000 Ipswitch, Inc.
- -
connecting to 202.75.x.x:21
Connected to 202.75.x.x port 21
220 Serv-U FTP Server v6.1 for WinSock ready...
Host type (1): Serv-U
USER user1234
331 User name okay, need password.
PASS (hidden)
230 User logged in, proceed.
PWD
257 "/" is current directory.
Host type (I): Serv-U
PASV
227 Entering Passive Mode (202,75,x,x,9,95)
connecting to 202.75.x.x:2399
- -
connecting to 202.75.x.x:2399
! Connection failed 202.75.x.x - connection timed out
! connect: error 0
PORT 10,145,1,77,5,153
200 PORT Command successful.
LIST
150 Opening ASCII mode data connection for /bin/ls.
! Timer cancelled blocking call
! Accept error: Blocking call cancelled
! Retrieve of folder listing failed (0)
-----------------------------------------------------------------
The following is a successful ftp session with my second account from
the same web hosting provider.
**** Login 3 (checked Passive Mode):
WINSOCK.DLL: WinSock 2.0
WS_FTP LE 5.08 2000.01.13, Copyright =A9 1992-2000 Ipswitch, Inc.
- -
connecting to 202.71.x.x:21
Connected to 202.71.x.x port 21
220 wsvr5 Microsoft FTP Service (Version 5.0).
USER user1111
331 Password required for user1111.
PASS (hidden)
230 User user1111 logged in.
PWD
257 "/user1111" is current directory.
SYST
215 Windows_NT version 5.0
Host type (S): Microsoft NT
PASV
227 Entering Passive Mode (202,71,x,x,8,150).
connecting to 202.71.x.x:2198
- -
connecting to 202.71.x.x:2198
Connected to 202.71.x.x port 2198
LIST
125 Data connection already open; Transfer starting.
Received 1693 bytes in 0.1 secs, (160.00 Kbps), transfer succeeded
226 Transfer complete. Tag: "iisftp.vbs" Is there an update switch? Tag: 385766
localhost
Having a problem getting iis to recognize my local web site. This is not in
inetpub, but in another location. I receive this message:
"A name was started with an invalid character. Error processing resource
'http://localhost/'. Line 1, Position 2". I've researched this and tried
several things and none work. With different tweaks I get the usual IE
messages: "You are not authorized to view this page", "The page cannot be
displayed, etc.
I've installed all the ISAPI applications. Anyone have any suggestions??
XP Pro sp2
asp.net 2.0.50727
IIS 5.1
Thanks..... Tag: "iisftp.vbs" Is there an update switch? Tag: 385758
iis 5.1 and asp 1.1
I am studying ASP.NET 1.1 and have a Murach book that I'm just starting. When
I try to open an app in VS 2K3, I get an error message that my web server is
not running ASP.NET 1.1 and I won't be able to run any web apps on it.
Now it seems that that IIS 5.1 is the latest PC based (not server based) web
server. What can I do? I pulled IIS right off the XP CD, so it might be
service pack behind. Is there one? My version of XP is SP2.
--
Steve Carmeli
[Home] 951-808-8391
[Cell] 951-454-2289 Tag: "iisftp.vbs" Is there an update switch? Tag: 385757
IIS login prompt
Hi Gang,
Looking for other ideas here before I pull my hair out...
I'm using XP Pro (IIS 5.1) all patched out. I've also got VS2005 loaded as
well. Well, last week, things were working fine. My web pages were working
fine. All of the sudden I'm getting prompted for passwords.
http://localhost also asks for userid/password.
I've tried resyncing the passwords between IUSR_CLASHMORE and IIS, I've
uninstalled/reinstalled IIS, nothing helped.
On a whim, I tried to get to the help at
http://localhost/iishelp/iis/misc/default.asp and it comes up ok.
So, anybody have any ideas what I did to my computer? It's really
frustrating...
The error returned is a 401.1 error after hitting various user accounts at
the login prompt.
I looked in the log files for W3SVC1 and here is the last major entry:
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2006-07-27 02:21:00
#Fields: time c-ip cs-method cs-uri-stem sc-status
02:21:00 127.0.0.1 GET /localstart.asp 401
02:21:00 127.0.0.1 GET /localstart.asp 401
02:21:18 127.0.0.1 GET /localstart.asp 401
02:21:26 127.0.0.1 GET /iishelp/ 302
02:21:26 127.0.0.1 GET /iishelp/Default.htm 304
02:21:26 127.0.0.1 GET /iishelp/iis/misc/default.asp 200
02:21:26 127.0.0.1 GET /iishelp/iis/misc/navbar.asp 200
02:21:26 127.0.0.1 GET /iishelp/iis/misc/contents.asp 200
02:21:27 127.0.0.1 GET /iishelp/iis/htm/core/iiwltop.htm 304
02:21:27 127.0.0.1 GET /iishelp/iis/misc/ismhd.gif 304
02:21:27 127.0.0.1 GET /iishelp/iis/misc/navpad.gif 304
02:21:27 127.0.0.1 GET /iishelp/iis/misc/MS_logo.gif 304
02:21:27 127.0.0.1 GET /iishelp/iis/misc/cont.gif 304
02:21:27 127.0.0.1 GET /iishelp/iis/misc/NoIndex.gif 304
02:21:27 127.0.0.1 GET /iishelp/iis/misc/nosearch.gif 304
02:21:27 127.0.0.1 GET /iishelp/common/coua.css 304
02:21:27 127.0.0.1 GET /iishelp/iis/misc/print.gif 304
02:21:27 127.0.0.1 GET /iishelp/iis/misc/synch.gif 304
02:21:27 127.0.0.1 GET /iishelp/iis/htm/core/iis_banr.gif 304
02:24:49 127.0.0.1 GET /iishelp/iis/misc/contents.asp 200
02:24:49 127.0.0.1 GET /iishelp/iis/misc/navbar.asp 200
Oh yea, one more thing, since I am using a hex editor, the last SEVERAL
characters are NULL, I mean something like 65000 of them....
Thanks for any help.
Nick Tag: "iisftp.vbs" Is there an update switch? Tag: 385756
localhost
Having a problem getting iis to recognize my local web site. This is not in
inetpub, but in another location. I receive this message:
"A name was started with an invalid character. Error processing resource
'http://localhost/'. Line 1, Position 2". I've researched this and tried
several things and none work. With different tweaks I get the usual IE
messages: "You are not authorized to view this page", "The page cannot be
displayed, etc.
I've installed all the ISAPI applications. Anyone have any suggestions??
XP Pro sp2
asp.net 2.0.50727
IIS 5.1 Tag: "iisftp.vbs" Is there an update switch? Tag: 385755
50% performance loss from using IIS with UNC
Hello,
I have documented with our servers that having remote classic ASP content
over a UNC has a 50% performance loss when compared to running the exact same
code locally, using the same AD user.
Anyone else see this behavior?
(and this isn't really even mentioning about how our old, slow server could
do the same workload all locally 10 times as fast as UNC on the new server)
My example - using apache bench (ab.exe) 200 users ask for the same
non-database dependent asp file 10 times each (total of 2000 requests). The
old, slow windows 2000 server completes this in 6 seconds, the new, fast 2003
server using local content does this in 29 seconds, the new, fast 2003 server
using UNC content does this in 58 seconds.
Thanks in advance,
pj_servadmin Tag: "iisftp.vbs" Is there an update switch? Tag: 385752
Anonymous access to FTP server stops working
We've been experiencing kind of a strange problem. We are running an FTP
server within our intranet and have anonymous access checked for security and
allowing IIS to manage the password. The permissions for the home directory
of the FTP sever are set to allow access to Authenicated Users and there are
no permissions given to the Everyone group. The server OS is Win2000 and IIS
5.
Several times a week we receive complaints from our users that a log in box
pops up when they try to access the FTP server through IE. We have found that
if we recycle IIS it resolves the problem on a temporary basis. We would of
course like to find a permanent solution. Anyone have any ideas what may be
causing this issue? Tag: "iisftp.vbs" Is there an update switch? Tag: 385751
Cannot View Web Design Pages on IE via LAN Connection with IIS 5.X
I am having a problem viewing a basic web page (htm) on a server using XP Pro
and IIS 5.X.
Locally I can view the pages, but when I try to view it from another PC
inside the LAN, it appears to find the server, and then fails with the Cannot
Find Server error message.
The server does have a static IP (192.168.1.5) that is in the excludes group
(thus it won't be duplicated by DHCP). Also, I can ping it by the IP Address
and by the name of the server successfully from multiple workstations. I
have changed the Hosts file to include the header and static IP as well.
Still for some reason, I cannot manage to view any of the served pages.
Does anyone have any suggestions for me to look for in this dilemma?
Not a novice here. Have setup and still run my own separate external web
site using IIS 5.x as well. Just can't seem to get IIS working inside this
LAN for some very basic developmental work.
Appreciate any assistance.
Kindest Regards,
Skeeter Tag: "iisftp.vbs" Is there an update switch? Tag: 385745
Download Fails: sc-win32-status of 64 (200 0 64)
I am REALLY stuck here. I've been trying to solve this for the past two
days!
I have a web application that used to work just great, but recently
started having some problems. This is a .NET application using
framework 1.1.4, being served from a Windows 2003 server.
Our application serves out PDF documents that are stored as BLOBs in an
Oracle 10g DB. Up until a few days ago, this was working fine. All of a
sudden, and for no apparent reason, this *stopped* working the majority
of the time. It does still work *sometimes*, just not most of the time.
The download will start, and the speed will just drop. It drops to
around 15k/s, then down to 5k/s, then to 0.0k/s, all in a matter of
about 5 seconds.
HTML is still served fine in the same application. It seems slower than
before, but it still *works*. Randomly, even the PDFs will download
successfully.
This is what I'm seeing in the IIS log files when it *works*:
sc-status: 200
sc-substatus: 0
sc-win32-status: 0
This is what I'm seeing when the PDF download *doesn't* work:
sc-status: 200
sc-substatus: 0
sc-win32-status: 64
sc-win32-status 64 seems to indicate "The specified network name is no
longer available", but I can't imagine why that would be happening.
I've tried playing with the settings in IIS, I've tested on different
machines - it works fine from the server when using "localhost", but it
doesn't work anywhere else, except sporadically. Does this sound like a
network problem (it was working flawlessly a few days ago and we
haven't changed the app)? An application setting? An IIS setting? A
router setting?
Any ideas will be *greatly* appreciated!! Tag: "iisftp.vbs" Is there an update switch? Tag: 385743
Newbie IIS SMTP Virtual Server question
Hi. I have a Windows 2003 Server with IIS installed and SMTP virtual
server running and I'm trying to make it forward mail.
I can telnet into the server on port 25 and the helo (or ehlo) command
returns successfully.
Then 'mail from' works okay as well:
MAIL FROM: j...@yahoo.com
250 2.1.0 j...@yahoo.com....Sender OK
but 'rcpt to' gives an error:
RCPT TO: k...@yahoo.com
550 5.7.1 Unable to relay for k...@yahoo.com
(not posting the real email addresses for fear of SPAM)
My server is connected to the internet, so shouldn't it be able to
resolve the recipient via DNS and relay the message? Is there some way
that I have to specify a method of relay?
I do have IP masking set up to allow connections to the Virtual SMTP
server only from the server itself (which is where I was telneting
from), but that shouldn't relate to the relay problem, correct?
Anyway, any help will be much appreciated. Tag: "iisftp.vbs" Is there an update switch? Tag: 385742
Lockdown IIS 5.1 only for localhost
Is there any way to setup Windows XP IIS 5.1 so that only localhost requests
are allowed? Tag: "iisftp.vbs" Is there an update switch? Tag: 385732
Directory Browsing display question
On our intranet (using IIS) we have a certain page that we want to only be
used to view the contents of the folder (i.e. Directory Browsing). All is
well in achieving this. However, to the left of each item, there is the
date/time filed where the item was updated as well as the size of the item.
Is there a way to show only the file/folder in the directory without these
other fields? Thanks Tag: "iisftp.vbs" Is there an update switch? Tag: 385730
Reverse Lookup on Virtual Directory
Hi, I was reading about reverse lookup and saw it was possible to do it on a
specific web site. I couldn't find information about doint the same thing but
for a specific virtual directory. Does anyone know if it's possible?
Thank you Tag: "iisftp.vbs" Is there an update switch? Tag: 385729
IIS Default Domain keeps changing
I run a front end exchange server with a default domain set. However it
keeps changing on its own and I have no idea why. I do not have any GPOs
that can change this default policy. There are GPOS in place but no policy
is in place to change it to something else. What can I do to stop this? Tag: "iisftp.vbs" Is there an update switch? Tag: 385728
IIS6 Crash analysis - mscorwks.dll
Hi,
I need some help with analysing a dump file from a DebugDiag, since I
do not know enough to do this myself yet.
Basic description:
In an ASP.NET application I have a page that simply loads a lot of
records into a dropdownlist when you click on the one button on the
page. This is all that happens on the page - I created it to reproduce
a similar problem in a much bigger system in our production
environment. It appears to crash when the page is reloaded (postback)
when I click on the button.
First indication of something wrong is that the page appears to freeze
for a few seconds (less than 10).
When I run the app from VS.NET IDE, I then get a Microsoft Development
Environment messagebox with the message "An unhandled exception of type
'System.StackOverflowException' occurred in mscorlib.dll", with Break
and Continue buttons.
Either way, I then get presented with the "connect to ..." inputbox
where I get prompted for my username and password.
Whatever I do then, the browser ends up displaying a "You are not
authorised to view this page" message =3D> HTTP Error 401.1 -
Unauthorized: Access is denied due to invalid credentials. Internet
Information Services (IIS)
Environment:
Windows Server 2003
Visual Studio .NET 2003
Debug Diagnostics Tool v1.0
Windows 2000 domain with Active Directory.
Steps:
I created a Crash rule for all IIS related processes, opened the
problematic page, and went through the process described above to get
the page to crash.
I have also set the rule to capture First Change exceptions.
So I got three dmp files, and the Analysed result is shown below:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
Analysis Summary
Type Description Recommendation
Error In
w3wp__PID__1832__Date__07_26_2006__Time_05_29_55PM__764__First chance
exception 0XC00000FD.dmp the assembly instruction at
mscorwks!FieldDesc::GetAddress+1b in
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll from
Microsoft Corporation has caused a stack overflow exception
(0xC00000FD) when trying to write to memory location 0x01822ffc on
thread 16
Please follow up with the vendor Microsoft Corporation for
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll
Error In
w3wp__PID__1832__Date__07_26_2006__Time_05_29_31PM__747__First chance
exception 0XE0434F4D.dmp the assembly instruction at
kernel32!RaiseException+51 in C:\WINDOWS\system32\kernel32.dll from
Microsoft Corporation has caused an unknown exception (0xe0434f4d) on
thread 16
This exception originated from mscorwks!RaiseTheException+a0. Review
the faulting call stack for thread 16 to determine root cause for the
exception.
Please follow up with vendor Microsoft Corporation for problem
resolution concerning the following file:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll.
Error In
inetinfo__PID__552__Date__07_26_2006__Time_05_30_00PM__937__First
chance exception 0X800706BF.dmp the assembly instruction at
kernel32!RaiseException+51 in C:\WINDOWS\system32\kernel32.dll from
Microsoft Corporation has caused an unknown exception (0x800706bf) on
thread 4
This exception originated from rpcrt4!RpcpRaiseException+1d. Review
the faulting call stack for thread 4 to determine root cause for the
exception.
Please follow up with vendor Microsoft Corporation for problem
resolution concerning the following file:
C:\WINDOWS\system32\rpcrt4.dll.
Information DebugDiag determined that this dump file
(w3wp__PID__1832__Date__07_26_2006__Time_05_29_31PM__747__First chance
exception 0XE0434F4D.dmp) is a crash dump and did not perform any hang
analysis. If you wish to enable combined crash and hang analysis for
crash dumps, edit the IISAnalysis.asp script (located in the
DebugDiag\Scripts folder) and set the g_DoCombinedAnalysis constant to
True.
Information DebugDiag determined that this dump file
(w3wp__PID__1832__Date__07_26_2006__Time_05_29_55PM__764__First chance
exception 0XC00000FD.dmp) is a crash dump and did not perform any hang
analysis. If you wish to enable combined crash and hang analysis for
crash dumps, edit the IISAnalysis.asp script (located in the
DebugDiag\Scripts folder) and set the g_DoCombinedAnalysis constant to
True.
Information DebugDiag determined that this dump file
(inetinfo__PID__552__Date__07_26_2006__Time_05_30_00PM__937__First
chance exception 0X800706BF.dmp) is a crash dump and did not perform
any hang analysis. If you wish to enable combined crash and hang
analysis for crash dumps, edit the IISAnalysis.asp script (located in
the DebugDiag\Scripts folder) and set the g_DoCombinedAnalysis constant
to True.
Analysis Details
Table Of Contents
inetinfo__PID__552__Date__07_26_2006__Time_05_30_00PM__937__First
chance exception 0X800706BF.dmp
Faulting Thread
Faulting Module Information
w3wp__PID__1832__Date__07_26_2006__Time_05_29_31PM__747__First chance
exception 0XE0434F4D.dmp
Faulting Thread
Faulting Module Information
w3wp__PID__1832__Date__07_26_2006__Time_05_29_55PM__764__First chance
exception 0XC00000FD.dmp
Faulting Thread
Faulting Module Information
Report for
inetinfo__PID__552__Date__07_26_2006__Time_05_30_00PM__937__First
chance exception 0X800706BF.dmp
Type of Analysis Performed Crash Analysis
Machine Name TASC0716
Operating System Windows Server 2003
Number Of Processors 1
Process ID 552
Process Image C:\WINDOWS\system32\inetsrv\inetinfo.exe
System Up-Time 0 day(s) 01:34:03
Process Up-Time 0 day(s) 00:27:53
Thread 4 - System ID 568
Entry point ntdll!RtlpWorkerThread
Create time 26/07/2006 5:02:08 PM
Time spent in user mode 0 Days 0:0:0.0
Time spent in kernel mode 0 Days 0:0:0.31
Function Arg 1 Arg 2 Arg 3 Source
kernel32!RaiseException+51 800706bf 00000001 00000000
rpcrt4!RpcpRaiseException+1d 800706bf 00135a54 00a7fb60
rpcrt4!NdrProxySendReceive+5e 00135a54 800706bf 06000169
rpcrt4!NdrClientCall2+1bc 7716b2d8 771a2af0 00a7fb98
rpcrt4!ObjectStublessClient+89 00000010 00000005 00a7fba8
rpcrt4!ObjectStubless+f 00135a54 00000002 00121610
ole32!RemoteReleaseRifRefHelper+82 00135a54 000d9028
00000002
ole32!RemoteReleaseRifRef+72 00135a54 000d9028 00000002
ole32!CStdMarshal::DisconnectCliIPIDs+23f 001322f4 001322f0
00000000
ole32!CStdMarshal::Disconnect+191 00000002 00132398
001322f0
ole32!CStdIdentity::~CStdIdentity+87 001322f0 7718a021
00000001
ole32!CStdIdentity::`vector deleting destructor'+8 00000001
ffffffff 0008b8f8
ole32!CStdIdentity::CInternalUnk::Release+69 80000000 771a659d
00132394
ole32!ReleaseCallback+a 00132394 ffffffff 0008f1cc
ole32!PerformCallback+15 0008b8f8 771a6505 00132394
ole32!CObjectContext::InternalContextCallback+140 0008b8f8
771a6505 00132394
ole32!CGIPTable::RevokeInterfaceFromGlobal+293 77272618
00000401 00000000
ole32!CGIPTable::RevokeInterfaceFromGlobal+109 77272618
00000401 00000001
coadmin!COConnectionPoint::Terminate+42 00bdcf8c 00000000
00bdcf10
coadmin!CADMCOMW::Terminate+35 00bdcf10 6e0b61b6 00bdcf10
coadmin!CADMCOMW::~CADMCOMW+e 00bdcf10 00bdcf10 6e0b9517
coadmin!CADMCOMW::Release+49 00bdcf10 00000001 00bdcf68
coadmin!CADMCOMW::RemoveObjectFromList+62 00000000 771cfdc9
00bdcf10
coadmin!CADMCOMW::Release+38 00bdcf10 00a7fed4 00000000
coadmin!CADMCOMW::DisconnectOrphaned+51 6e0b608b 77f5da92
00bdcf10
coadmin!CADMCOMW::CallerWatchWaitOrTimerCallback+4e 00bdcf10
00136e00 00136ed8
ntdll!RtlpWaitOrTimerCallout+74 6e0b608b 00bdcf10 00136e00
ntdll!RtlpAsyncWaitCallbackCompletion+23 00136ed8 77fc3040
000de210
ntdll!RtlpWorkerCallout+71 77f5e9f9 00136ed8 00000000
ntdll!RtlpExecuteWorkerRequest+3d 00000000 00136ed8
000de210
ntdll!RtlpApcCallout+10 77f5dcba 00000000 00136ed8
ntdll!RtlpWorkerThread+5f 00000000 00000000 00000000
kernel32!BaseThreadStart+34 77f7e673 00000000 00000000
In inetinfo__PID__552__Date__07_26_2006__Time_05_30_00PM__937__First
chance exception 0X800706BF.dmp the assembly instruction at
kernel32!RaiseException+51 in C:\WINDOWS\system32\kernel32.dll from
Microsoft Corporation has caused an unknown exception (0x800706bf) on
thread 4
This exception originated from rpcrt4!RpcpRaiseException+1d. Module
Information
Image Name: C:\WINDOWS\system32\kernel32.dll Symbol Type: PDB
Base address: 0x77e40000 Time Stamp: Tue Mar 25 11:42:44 2003
Checksum: 0x000f488c Comments:
COM DLL: False Company Name: Microsoft Corporation
ISAPIExtension: False File Description: Windows NT BASE API Client
DLL
ISAPIFilter: False File Version: 5.2.3790.0 (srv03_rtm.030324-2048)
Managed DLL: False Internal Name: kernel32
VB DLL: False Legal Copyright: =A9 Microsoft Corporation. All rights
reserved.
Loaded Image Name: kernel32.dll Legal Trademarks:
Mapped Image Name: Original filename: kernel32
Module name: kernel32 Private Build:
Single Threaded: False Product Name: Microsoft=AE Windows=AE
Operating System
Module Size: 976.00 KBytes Product Version: 5.2.3790.0
Symbol File Name: c:\symcache\kernel32.pdb\3E8016FF2\kernel32.pdb
Special Build: &
Report for
w3wp__PID__1832__Date__07_26_2006__Time_05_29_31PM__747__First chance
exception 0XE0434F4D.dmp
Type of Analysis Performed Crash Analysis
Machine Name TASC0716
Operating System Windows Server 2003
Number Of Processors 1
Process ID 1832
Process Image c:\WINDOWS\system32\inetsrv\w3wp.exe
System Up-Time 0 day(s) 01:33:36
Process Up-Time 0 day(s) 00:00:54
Thread 16 - System ID 3992
Entry point mscorwks!ThreadpoolMgr::WorkerThreadStart
Create time 26/07/2006 5:28:38 PM
Time spent in user mode 0 Days 0:0:0.921
Time spent in kernel mode 0 Days 0:0:0.203
Function Arg 1 Arg 2 Arg 3 Source
kernel32!RaiseException+51 e0434f4d 00000001 00000000
mscorwks!RaiseTheException+a0 062c321c 00000000 062c321c
mscorwks!JIT_Throw+4d 060414c4 06041284 060414c4
mscorlib_79980000+b99b 00000001 060414c4 062c2c98
809b8aa 0185f920 060414c4 060414c4
809b811 00000005 00530062 00760061
In w3wp__PID__1832__Date__07_26_2006__Time_05_29_31PM__747__First
chance exception 0XE0434F4D.dmp the assembly instruction at
kernel32!RaiseException+51 in C:\WINDOWS\system32\kernel32.dll from
Microsoft Corporation has caused an unknown exception (0xe0434f4d) on
thread 16
This exception originated from mscorwks!RaiseTheException+a0. Module
Information
Image Name: C:\WINDOWS\system32\kernel32.dll Symbol Type: PDB
Base address: 0x77e40000 Time Stamp: Tue Mar 25 11:42:44 2003
Checksum: 0x000f488c Comments:
COM DLL: False Company Name: Microsoft Corporation
ISAPIExtension: False File Description: Windows NT BASE API Client
DLL
ISAPIFilter: False File Version: 5.2.3790.0 (srv03_rtm.030324-2048)
Managed DLL: False Internal Name: kernel32
VB DLL: False Legal Copyright: =A9 Microsoft Corporation. All rights
reserved.
Loaded Image Name: kernel32.dll Legal Trademarks:
Mapped Image Name: Original filename: kernel32
Module name: kernel32 Private Build:
Single Threaded: False Product Name: Microsoft=AE Windows=AE
Operating System
Module Size: 976.00 KBytes Product Version: 5.2.3790.0
Symbol File Name: c:\symcache\kernel32.pdb\3E8016FF2\kernel32.pdb
Special Build: &
Report for
w3wp__PID__1832__Date__07_26_2006__Time_05_29_55PM__764__First chance
exception 0XC00000FD.dmp
Type of Analysis Performed Crash Analysis
Machine Name TASC0716
Operating System Windows Server 2003
Number Of Processors 1
Process ID 1832
Process Image c:\WINDOWS\system32\inetsrv\w3wp.exe
System Up-Time 0 day(s) 01:33:58
Process Up-Time 0 day(s) 00:01:17
Thread 16 - System ID 3992
Entry point mscorwks!ThreadpoolMgr::WorkerThreadStart
Create time 26/07/2006 5:28:38 PM
Time spent in user mode 0 Days 0:0:17.46
Time spent in kernel mode 0 Days 0:0:0.984
Function Arg 1 Arg 2 Arg 3 Source
mscorwks!FieldDesc::GetAddress+1b 094aa1ec 094aa1ec
79b8067c
mscorwks!FieldDesc::GetInstanceField+3f 094aa1ec 01823060
087b2053
mscorwks!FieldDesc::GetRefValue+2b 094aa1ec 0185fbec
018230c0
mscorwks!COMDelegate::GetMethodDesc+3a 018230c0 79210d25
79210d2f
mscorwks!COMDelegate::InternalFindMethodInfo+11 018230a4
094aa1ec 000c0000
1ca630e 0632371c 0601a7e4 0601a7e4
88c2444 0632371c 0601a7e4 0601a7e4
88c2197 0632371c 0601a7e4 05fade78
88a4d9f 0632371c 0632371c 05fae62c
849afaf 05fc1344 0849a9f4 060a25dc
849aa1b 0185faa4 060a25dc 05fd1188
7ff9a73 0185fb20 060a25dc 05fd1188
7ff994b 05f62290 060a26f8 01b82f75
1b86358 01b82f10 0185fca4 000f8ab0
mscorwks!ComCallMLStubCache::CompileMLStub+1af 0185fc50
791b3ce4 0185fcc8
mscorwks!Thread::DoADCallBack+5c 000f8ab0 792fd84c 0185fc50
mscorwks!ComCallMLStubCache::CompileMLStub+2c2 000d82b8
0185fcc8 0185ff58
18ea0bd 000a25e0 000a25e0 0185fd90
mscorwks!EEHashTable<void *,EEPtrHashTableHelper<void
*,0>,0>::FindItem+e 000a25e0 0185fdb0 7929817e
mscorwks!EEHashTable<void *,EEPtrHashTableHelper<void
*,0>,0>::GetValue+b 000a25e0 0185fdac 000d82b8
mscorwks!Thread::SetStaticData+5c 000a25e0 00000000
79298299
mscorwks!Thread::SafeSetStaticData+63 56533357 2f312f43
746f6f52
2f4d4c2f 00000000 00000000 00000000
MSCORWKS!FIELDDESC::GETADDRESS+1BIn
w3wp__PID__1832__Date__07_26_2006__Time_05_29_55PM__764__First chance
exception 0XC00000FD.dmp the assembly instruction at
mscorwks!FieldDesc::GetAddress+1b in
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll from
Microsoft Corporation has caused a stack overflow exception
(0xC00000FD) when trying to write to memory location 0x01822ffc on
thread 16
Module Information
Image Name: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll
Symbol Type: PDB
Base address: 0x791b0000 Time Stamp: Fri Feb 21 05:08:23 2003
Checksum: 0x00268d34 Comments: Microsoft .NET Runtime Common
Language Runtime - WorkStation
COM DLL: False Company Name: Microsoft Corporation
ISAPIExtension: False File Description: Microsoft .NET Runtime
Common Language Runtime - WorkStation
ISAPIFilter: False File Version: 1.1.4322.573
Managed DLL: True Internal Name: MSCORWKS.DLL
VB DLL: False Legal Copyright: Copyright =A9 Microsoft Corporation
1998-2002. All rights reserved.
Loaded Image Name: mscorwks.dll Legal Trademarks: Microsoft=AE is a
registered trademark of Microsoft Corporation. Windows(TM) is a
trademark of Microsoft Corporation
Mapped Image Name: Original filename: mscorwks.dll
Module name: mscorwks Private Build:
Single Threaded: False Product Name: Microsoft .NET Framework
Module Size: 2.38 MBytes Product Version: 1.1.4322.573
Symbol File Name:
c:\symcache\mscorwks.pdb\46C4E78543F54AB186E6B5246AD9EE752\mscorwks.pdb
Special Build: &
Script Summary
Script Name Status Error Code Error Source Error Description Source
Line
IISAnalysis.asp Completed
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
Can someone help me with reading these results, and pointing me into
the best direction for solving this problem?
Thanks!
fr Tag: "iisftp.vbs" Is there an update switch? Tag: 385727
Required Tiff IFilter for indexing in Sql Server 2000
I want to Index Tiff images by using Sql Server 2000.
I hv Windows 2000 and Office 2003 Professional.
But i couldnot find IFilter for Tiff Images in Office 2003.
Can anyone help?
Does the required dll exist in Office 2003??? Tag: "iisftp.vbs" Is there an update switch? Tag: 385726
ASP.NET and COM+ producing errors: 'Unable to complete async work'
Hi,
We have an ASP.NET application that uses Server.CreateObject in the .aspx
pages to create (ASP) COM-components (we use the 'aspcompat="true"' option).
From the beginning we have seen COM+ errors in the event log and users being
hung or getting Internal Server Errors.
The error is:
The run-time environment has detected an inconsistency in its internal
state. This indicates a potential instability in the process that could be
caused by the custom components running in the COM+ application, the
components they make use of, or other factors. Error in
d:\nt\com\complus\src\comsvcs\threads\stawork.cpp(167), hr = 80010108: Unable
to complete async work.
We have done some testing and as it turns out even just doing executing the
command Server.CreateObject('ADODB.Stream') and not doing anything with it,
causes this error if the page is called often enough (1 every 150.000
requests). So there must be something basic wrong here.
Does anybody else have seen this problem? Or does anybody have a clue as to
solve this?
Best regards,
Niels Tag: "iisftp.vbs" Is there an update switch? Tag: 385725
Load Balancing IIS configuration
Hi
Can anyone point me to some documents details how to set up IIS 5 in a Load
balanced multiple active node configuration??
Are there any significant advantages introduced in IIS 6.0 with regard to
NLB?
We are using Windows 2000 Advanced Server.
Thanks Tag: "iisftp.vbs" Is there an update switch? Tag: 385724
AUTH_USER vs LOGON_USER following a name change
Hi,
This concerns an intranet site written in ASP.NET v1.1 using C#. The site is
running on IIS6 on Win2k3S with all the SPs and patches etc.
The Session_Start interrogates the AUTH_USER server variable to identify the
current user. This is then used to query ActiveDirectory, and the site
dynamically configures itself according to which AD groups the current user
is a member of - fairly standard stuff.
However, one of the users has recently changed her name, let's say from Anne
Smith to Anne Jones. As far as I can tell, this has been changed throughout
ActiveDirectory. The user now logs into her Windows XP desktop as
anne.jones@domain.com instead of anne.smith@domain.com.
However, although the LOGON_USER server variable correctly shows her as
DOMAIN\Anne.Jones, the AUTH_USER server variable still shows her as
DOMAIN\Anne.Smith - why is this? What / where needs to be changed for the
AUTH_USER server variable to show the new name?
I found the following site:
http://www.codeproject.com/asp/request_server_variables.asp which says that
AUTH_USER is: "The name of the user as it is derived from the authorization
header sent by the client, before the user name is mapped to a Windows
account. This variable is no different from REMOTE_USER. If you have an
authentication filter installed on your Web server that maps incoming users
to accounts, use LOGON_USER to view the mapped user name."
What *actually* is the authorization header which the client is sending, and
where is the old name still coming from?
Any assistance gratefully received.
Mark
P.S. the solution is obvious... use LOGON_USER instead of AUTH_USER in
Session_Start - but I'm now curious as to why AUTH_USER is still being
populated with the old name... Tag: "iisftp.vbs" Is there an update switch? Tag: 385719
IIS 6.0 Condition_Dropped (aspx page freezes)
Hello
Am working on a .net credit scoring application deployed on 4 servers
(2 web servers and 2 applicataion servers) in a load balanced
environment. The servers are running windows 2003 and the iis servers
communicate with the app servers using web services. The app servers in
turn invoke other web services running on different boxes in the
enterprise.
Off late, I started seeing this error where the aspx pages just freeze.
Nothing is displayed and the status bar in the browser just hangs while
the window is all white. However, htm pages deployed in the same
virtual directory work just fine. Also, applications deployed in other
virtual directories are unaffected.
On going through HTTPERR log, am seeing errors such as
Connection_Dropped, Timer_EntityBody and
Connection_Abandoned_By_AppPool. The application starts working fine
after a few minutes break only to freeze later.
Any help would be greatly appreciated. Out of ideas and out of time.
Please help.
Vimal Tag: "iisftp.vbs" Is there an update switch? Tag: 385712
Vulnerable to SQL Injection?
Hello!
I help a friend with his web site that has an HTML/ASP interface to an
Access MDB file for its database. When you attempt to access the database,
you get prompted for a user name and password. I want to know if that type
of setup is vulnerable to being hacked via SQL injection or other means.
How can I test for that?
Thank you for your time!
Gregg Hill Tag: "iisftp.vbs" Is there an update switch? Tag: 385710
creating site with Server 2003 Web edition
Hello,
How many site i can create with Windows Server 2003 Web Edition ?
thanks and regards Tag: "iisftp.vbs" Is there an update switch? Tag: 385707
.NET site set up
I want to be able to copy over .NET web pages and place them on a site that
has .NET running on it without havint to create virtual directories
everytime. BUt when I do I get an error saying I need to set up a virtual
directory. Isnt there a way to just copy files over and have them run off of
the defualt Web site runnig as a default application? Tag: "iisftp.vbs" Is there an update switch? Tag: 385705
iisadmpwd with iis 6.0 problem
I've just added the iisadmpwd functionality to my OWA server. I have
everything configured properly from what I can tell but I'm still having a
problem changing passwords.
When a normal user account with email attempts to change their password I
always receive a error screen: invalid username or password. However, I can
make it fail to the bad password, and mismatched password screen easily.
If a domain admin attempts to change a password it successful. I can even
login to OWA as a domain admin then change another password using the change
password options and entering another userid.
So, it appears the configuration is correct however I seem to be missing a
permission for the change password functionality.
Any ideas apprecaited (and yes, iisadmpwd is set to run and execute scripts.
Thanks in advance,
Hardy Utley Tag: "iisftp.vbs" Is there an update switch? Tag: 385702
WebDAV
Now I was wondering if you could direct me on how I could set up WebDAV in a
isolated user mode if possible. When put my username and password in it
directs me to the appropriate folder that my user name is assigned like "home
directory". I know this can be done using FTP any ideas Tag: "iisftp.vbs" Is there an update switch? Tag: 385701
Virtual Directory On UNC Share Not Writable
Hi all,
I have an ASP page on a Win2003 IIS6 server attempting to write a
text file via a virtual directory setup to point to a UNC share on
another Win2003 server. When the code attempts to create the text
file, I get a 8007052e error - bad username or password essentially.
Both servers are in the same domain, and I'm using a user in the domain
with admin privileges for both the virtual directories Connect As
credentials and the anonymous access Directory Security credentials
(and Integrated Windows Auth is not checked). The share itself has
full perms granted to Everyone. The NTFS perms are also set for full
access by Everyone right now.
This started happening when I moved the website itself to an IIS6
Win2003 server from an IIS5 Win2000 server. It worked fine for a
couple years on the IIS5 server. If I point DNS for the site back to
the old Win2000 server with the virtual directory setup exactly the
same, it still works.
In an effort to troubleshoot, I pointed the virtual directory to a
Linux box running Samba so I could view Samba's logs in real time to
see if the share is accessed. I get the same error. When I created
the virtual directory or accessed it manually from within the IIS
snap-in, Samba writes the corresponding access to its log files.
However, when I run the script, Samba doesn't write anything. So, this
tells me it doesn't seem as if the share isn't even accessed, as if
there's something more basic happening.
The extremely simple code being used to test is below for reference
(the error occurs in the third line). Can anyone point me in the
correct direction?
Thanks!
Toni
<%
vendor_orders_dir = server.mappath("/vendor_orders")
Set XMLFSO = CreateObject("Scripting.FileSystemObject")
Set XMLFile = XMLFSO.CreateTextFile(vendor_orders_dir & "\test.xml",
True)
XMLFile.WriteLine("testing") Tag: "iisftp.vbs" Is there an update switch? Tag: 385693
Restricting Users to Enter through Homepage
I want to restrict users to enter the website through the homepage
only. We do not want them to be able to bookmark pages on the site and
go directly to them. Can someone recommend a 3rd party product to
accomplish this? Our website does not require authentication to enter.
Someone recommended a product called iisrewrite (www.qwerksoft.com).
Any thoughts on this product or its ability to accomplish the above?
Thank you in advance. Tag: "iisftp.vbs" Is there an update switch? Tag: 385688
Firefox and IIS
Okay, I'm trying to set up my server for testing, and I keep getting a
password prompt on my site when viewing it through Firefox (IE works
fine). How do I turn this off? Tag: "iisftp.vbs" Is there an update switch? Tag: 385685
http://domain.com/directory converted to http://domain.com/directory/
Hi All,
I think I have does this in apache, but does IIS allow such stuff (and
if does then how) so that directories when opened in users browser does'nt
end with a slash.
like http://domain.com/directory should NOT convert to
http://domain.com/directory/ and it remains http://domain.com/directory when
opened in browser!
Thanks
J Tag: "iisftp.vbs" Is there an update switch? Tag: 385684
Content of cached compressed javascript files differs per server in a webfarm
We have a webfarm on which http compression is configured like
described at:
http://www.dotnetjunkies.com/Article/16267D49-4C6E-4063-AB12-853761D3...
But I have found out that some servers are creating different content
files
at the temporary files directory; a filecompare of
a compressed javascript file shows that the file is not compressed
equally on all webservers. Though all servers seems to be configured
alike.
The fun part is when I empty all temp compressed dirs, the files get
regenerated and guess what? no difference is found !!
It seems the differences are occurring when we install a new version
of our app (though the (real) content javascript is not changed). We
delete all files
from the website directory and install the new files.
Any insight is appreciated.
// Ryan Tag: "iisftp.vbs" Is there an update switch? Tag: 385677
CreateNewSite return E_INVALIDARG
I try to create web site with IISWebService::CreateNewSite (C++)
HRESULT hr;
CComQIPtr<IISWebService> sp;
hr = ADsGetObject(L"IIS://localhost/w3svc", __uuidof(IISWebService),
(void**)&sp);
SAFEARRAY * psa = SafeArrayCreateVector(VT_BSTR, 0, 1);
CComBSTR bstr(":80:");
long i = 0;
SafeArrayPutElement(psa, &i, bstr);
VARIANT var;
var.vt = VT_ARRAY | VT_BSTR;
var.parray = psa;
CComVariant v; //empty - to generate random id
CComVariant varID;
hr = sp->CreateNewSite(CComBSTR("my"), &var , CComBSTR("c:\\"), v,
&varID);
return E_INVALIDARG
Why? In any time, in any case E_INVALIDARG
Please give me properly setted params to run CreateNewSite()
successfully Tag: "iisftp.vbs" Is there an update switch? Tag: 385674
CreateNewSite return E_INVALIDARG
I try to create web site with IISWebService::CreateNewSite (C++)
HRESULT hr;
CComQIPtr<IISWebService> sp;
hr = ADsGetObject(L"IIS://localhost/w3svc", __uuidof(IISWebService),
(void**)&sp);
SAFEARRAY * psa = SafeArrayCreateVector(VT_BSTR, 0, 1);
CComBSTR bstr(":80:");
long i = 0;
SafeArrayPutElement(psa, &i, bstr);
VARIANT var;
var.vt = VT_ARRAY | VT_BSTR;
var.parray = psa;
CComVariant v; //empty - to generate random id
CComVariant varID;
hr = sp->CreateNewSite(CComBSTR("my"), &var , CComBSTR("c:\\"), v,
&varID);
return E_INVALIDARG
Why? In any time, in any case E_INVALIDARG
Please give me properly setted params to run CreateNewSite()
successfully Tag: "iisftp.vbs" Is there an update switch? Tag: 385673
Migrate 1000+ virtual directories from 5 to 6.0
We have a IIS 5.0 (Win2Kserver), which has 1000+ virtual directories and 300+
sites hosted. What's the easiest way or any way to port to IIS 6.0??
Any help would be greatly appreciated.
Thanks, Tag: "iisftp.vbs" Is there an update switch? Tag: 385672
load-testing IIS
Hi All: I have a public webserver hosting one website that is on a 10Mbps
connection and receives about .5 page requests/sec and 20 requests/sec.
It's a Xeon 3.0 with 2 gig ram and 1+0 SCSI RAID.
We're anticipating a sudden spike in traffic to coincide with a promotion,
where the server will receive up to several thousand page requests per
minute for 5-10 minutes. The page being requested has been reduced to about
50K total including some 7 images on the page. There is quite a bit of
server-side processing on this page however.
Is there any way to accurately load-test the server in this scenario to
predict if it will be able to handle the load? Tag: "iisftp.vbs" Is there an update switch? Tag: 385668
Hide ftp folders in ftp root subfolder
Hi all,
I have a ftp site with different clients connecting to it. I don't want
clients to see the other clients' folders. Having read the posts I
could find, I set ntfs permissions for each client then created a
virtual directory for each client.
My problem is this: If I put the virtual directories directly under my
root, each user that logs in is redirected straight to their folder.
That is the behaviour I want but in a subfolder of my root, i.e. I want
to have:
<vroot> - Public
- Clients
With each client's folder under the 'clients' directory.
However when I set this up, one of two things happens: If I set the
permissions of 'Clients' to be identical to those of my root, when a
client logs in they see a list of all folders - Bad.
If I strip the permissions on 'Clients' so that the administrators
group has full control and the users group has read but not list, my
users get an access violation when trying to navigate to 'clients'
(unless they enter the full address such as
<vroot>/Clients/clientName).
Could anybody tell me how to set it up so that I have my structure as
shown above, and when a client navigates to 'Clients' either be
redirected to their folder or see only their folder listed?
I use windows server 2003 with IIS6.0
Thank you! Tag: "iisftp.vbs" Is there an update switch? Tag: 385666
ADFS and Windows Sharepoint Services
I need to prove to my boss that ADFS will work well with WSS so that we can
have one central datastore (Active Directory) which is in a different domain
to the web server.
I have gone through the ADFS step-by-step guide and proven that I can
authenticate to the adfsresource federation server when I try to access the
WSS web server on the adfsweb server when both adfsweb and adfsresource are
in the same domain.
Both adfsweb and adfsresource are in the same domain (treyresearch.net). I
need to prove that the sharepoint accounts can be on a different server that
is not in the same domain as the web server.
Therefore I have removed adfsweb from the treyresearch.net domain (and
restarted) and edited the trust policy on the adfsresource server to allow
claims from the WSS application at the url https://adfsweb. I also created
certificates to reflect the new name of adfsweb (instead of
adfsweb.treyresearch.net).
Now, when I browse to https://adfsweb, I am able to successfully
authentication via ADFS. I know this because if I enter the credentials
correctly, I can reach the WSS application and if I don't enter them
correctly I get a IIS 403 error. When I *do* enter the credentails correctly
however I also get a WSS error telling me that I don't have access to these
Sharepoint resources (in other words, WSS does not recognise the user).
It seems that when the federation server is not in the same domain as the
web server then I can't log in. But isn't ADFS supposed to allow
authentication users located in other domains? Or is my architecture wrong?
The architecture that I currently have is as follows:
* adfsweb :
IIS with adfs web agent (not in any domain) configured as per the
step-by-step guide.
* adfsresource (this is just the name that the step-by-step guide gave for
the server storing the WSS user accounts, but for my purposes this particular
federation server is acting more like an account provider):
adfs is configured to accept token-based claims from adfsweb (as per the
step-by-step guide). adfsresource is also in the treyresearch.net domain.
Anybody have any ideas?
Many thanks Tag: "iisftp.vbs" Is there an update switch? Tag: 385641
IIS6 new site with server extensions cannot authenticate
Hi all.
Go with me here if you can I'm a relative newby:
I have just created a new website from a frontpage template through the IIS
snap in in MS SBS2003. I have succeeded in uploading the site through
frontpage.
Most things work, I can browse the site fine from an external source.
It has a selection of simple forms which ask the client to fill in name,
email etc and comments. This requires 2002 server extensions, so I have
enabled extensions for the site.
The forms fail to work. The submit buttons are dead, and this leads me to
beleive something wrong with either the form properties (I have altered to
reflect an email address to mail to) or the extension attributes on the
server.
If I right click on the new site through IIS snap in, select all tasks, then
check server extensions, I am prompted for authentication. I cannot use
administrator or any other administrator user, therefore I cannot access any
tweakable IIS info.
Does this mean server extensions is not functioning correctly?
Does anyone know how to correct this?
Thanks for your time. Tag: "iisftp.vbs" Is there an update switch? Tag: 385640