Is there a way to perform some action (vbs, batch, exe, etc) upon the successful upload of a file using Windows Server 2008 R2 built-in IIS FTP server/service?
I'm trying to do a really simple task - setup a virtual directory in Windows Server 2008. This is what I am doing but it's not working for some reason:
Open IIS7
Create a new virtual directory in Default Web Site and point it to a folder on d:\ drive
Browse to folder on d:\ drive and create an .htm file with some test text in it
Open a browser and navigate to http://localhost/TestSite/index.htm
But I get a 404 - what gives?
Edit:I didn't mention at first that this is Server 2008 R2
I have a cname record to a dyndns address. This has worked fine in the past, but now if I use the cname error I get a 502 error from IIS7. The dyndns address works fine and so does the actual ip address. Any ideas on what would cause this?
I have a Win2008 server with IIS7 and I want to duplicate one web site and just change the binding port and the application pool that is using, so I will have 2 web sites (locally or remote) with same configuration but listening on different ports.
Is there a way to do this with web deploy tool ir order to deploy locally and remotely this unique web site and change the binding ports in the destination?
Why isn't my Jakarta connector setup for Tomcat working?
It seems like almost every time we are to install Jakarta Connector to run with IIS, there are unexplained troubles. Im posting this question just to get answers to different problems collected at one place.
Hello.
I have a website running on IIS and using Windows Authentication. All users that are configured to get access to the site are form a AD domain (not local users). In the properties of a Website, I have set to use the AD domain as the realm.
Now, when using Firefox, Safari or Chrome - Everything is fine. When the user tries to open the site, he get's the login box. he enters simply "username" and "password" (let's pretend that it's an actual login and password :P) and he get's into the site.
When using IE, however, things get nasty. When the user tries to open the site - he get's the login box. User enters the "username" and "password" again, but those get rejected! And when the second time login box pops up - it has the username filled in as "web-server-domain-name\username" which is wrong, because web-server-domain-name is not the domain where all users reside (it's "ad-domain"). I've spent days trying to figure out what's going on...
Note, that if I manually enter "ad-domain\username" - I get accepted into the site without problems. So, my guess is that IE sends wrong username if domain is not specified.
Anyway, IE is the only browser that triggers this behavior!
Is it possible to do a server-side fix? Maybe it's possible to somehow auto-map the users to AD users?
If it's not solvable server-side - is there a client-side fix for this?
Thank you.
PS: I'm more of a programmer than a sys-admin, so configuring servers isn't the strong side of mine... :P
UPDATE:
@Evan: Yes, "Digest authentication for Windows domain servers" is also enabled.
@Eric: IIS version is 6.0. The authentication methods enabled are: Integrated and digest - all other methods are disabled.
As for the security log. I looked at it, when doing "username" and "password" login in Chrome/Firefox and when doing "ad-domain\username" and "password" login from IE - the generated log messages are the same (I see no difference, anyway). When entering "username" and "password" I don't see any errors in the security (or any other) log, so can't tell what method it's trying to use.
UPDATE 2:
As suggested by Eric in the comments - I played around with Fiddler... While playing with it, I noticed, that when "username" and "password" is entered in FF and IE - the "Authorization" header value (encrypted) sent by IE is longer (almost two times) than one sent by FF.
I tried to disable Windows Integrated authentication and only leave the Digest enabled - that fixed the problem (meaning, IE used the right realm just like other browsers), but that caused bazillion other problems with my site, because with Digest - user impersonation on the server doesn't work (that causes problems, when connecting to database etc).
Any ideas?
I've got an environment with several IIS 6 web servers hosting hundreds of apps (dozens of sites, hundreds of virtual directories) all with a myriad of different configurations belonging to dozens of different developers (all deploying apps willy nilly).
Is there some sort of managed software solution that will
centralize management of all my IIS6 environments
provide some inventory functionality
allow for reporting or querying of said application inventory
enforce and automate some sort of deployment process?
Hi,
I have installed Windows server 2008 on the latest version of Sun Virtual box. I have some web sites hosted in the Windows Server virtual machine. How can I access the websites hosted on the virtual machine from the host machine.
thanks in advance.
I keep getting this error in my event viewer on IIS 6. I'm trying to figure out if my error resets my connection (maybe recycles the worker processes?).
The error is:
An attempt was made to load filter 'C:\Program Files\Software Artisans\FileUp
\FileUpIsapi.dll' but it requires the SF_NOTIFY_READ_RAW_DATA filter notification and
this notification is not supported in Worker Process Isolation Mode.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink
/events.asp.
Hi,
how can I configure IIS SMTP sever to not attach the original mail to the Delivery Status Notification messages? The problem is that when sending newsletters with fairly large attchemnts all these attachments are again attached to the DSN messages which results in a full administrator's mailbox.
Thank you
I have a website running on IIS and using Windows Authentication. All users that are configured to get access to the site are form a AD domain (not local users). In the properties of a Website, I have set to use the AD domain as the realm.
Now, when using Firefox, Safari or Chrome - Everything is fine. When the user tries to open the site, he get's the login box. he enters simply "username" and "password" (let's pretend that it's an actual login and password :P) and he get's into the site.
When using IE, however, things get nasty. When the user tries to open the site - he get's the login box. User enters the "username" and "password" again, but those get rejected! And when the second time login box pops up - it has the username filled in as "web-server-domain-name\username" which is wrong, because web-server-domain-name is not the domain where all users reside (it's "ad-domain"). I've spent days trying to figure out what's going on...
Note, that if I manually enter "ad-domain\username" - I get accepted into the site without problems. So, my guess is that IE sends wrong username if domain is not specified.
Anyway, IE is the only browser that triggers this behavior!
Is it possible to do a server-side fix? Maybe it's possible to somehow auto-map the users to AD users?
If it's not solvable server-side - is there a client-side fix for this?
Thank you.
PS: I'm more of a programmer than a sys-admin, so configuring servers isn't the strong side of mine... :P
UPDATE:
@Evan: Yes, "Digest authentication for Windows domain servers" is also enabled.
@Eric: IIS version is 6.0. The authentication methods enabled are: Integrated and digest - all other methods are disabled.
As for the security log. I looked at it, when doing "username" and "password" login in Chrome/Firefox and when doing "ad-domain\username" and "password" login from IE - the generated log messages are the same (I see no difference, anyway). When entering "username" and "password" I don't see any errors in the security (or any other) log, so can't tell what method it's trying to use.
UPDATE 2:
As suggested by Eric in the comments - I played around with Fiddler... While playing with it, I noticed, that when "username" and "password" is entered in FF and IE - the "Authorization" header value (encrypted) sent by IE is longer (almost two times) than one sent by FF.
I tried to disable Windows Integrated authentication and only leave the Digest enabled - that fixed the problem (meaning, IE used the right realm just like other browsers), but that caused bazillion other problems with my site, because with Digest - user impersonation on the server doesn't work (that causes problems, when connecting to database etc).
Any ideas?
I have an ELB app and when logging into an instance and looking at the IIS logs I see something like the following:
2013-10-18 17:14:25 10.240.27.2 GET /FSViewer/Img.aspx trcid=451847431&vhtid=391833142 80 - 10.210.107.159 Mozilla/5.0+(compatible;+MSIE+10.0;+Windows+NT+6.1;+WOW64;+Trident/6.0) 200 0 0 140
The 10.240.27.2 address always repeated, which is the load balancer?
So how do I find out the IP addresses that are hitting my server?
I just generated a certificate with a CN and two subject alternative names (3 differents fqdn) and i always get a handshake failure, whatever the ssl version i use:
14177:error:1407F0E5:SSL routines:SSL2_WRITE:ssl handshake failure:s2_pkt.c:428:
14176:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake failure:s3_pkt.c:530:
I'm now asking myself if IIS 5 on win2000 does really support those certificates, any ideas ?
Thanks in advance.
I have an existing site that I would like to add a staging subdomain to. I created a new web site for it in IIS, added a host header for subdomain.mysite.com but when I try to get to the subdomain it is not found.
Do I need to create an A Record in my DNS to point subdomain.mysite.com to the server's IP or will the existing entry for mysite.com work? If not, can anyone see what I am doing wrong here?
I try to force encoding with IIS7.
When I add in the http response headers the key :
Content-Type and value charset=utf-8 i got this key content-type : text/html,content-type=utf-8
it's there a way to remove the comma ?
Had a thing at work today on a Windows Server 2003 box. In IIS Manager I'm trying to create an application for a directory. So I've brought up the properties dialog and clicked the "Create" button and it did absolutely nothing - no error, the application name box stays greyed out and there's no gear icon on the folder. Also there was no event log message.
Has anyone seen this happen or know of a solution?
I have two computers on a home network. One is a development machine, testing sites on IIS (http:// myclientsite/). My other computer (Laptop) is connected through a wireless – it can access shared folders just fine.
How do I allow Laptop to access the site (http:// myclientsite/) located on the development machine?
Andrew, M facing the same problem.IIS Management console is not present under web management tool.Two options are there
1IIS 6 management compatibility 2IIS Management Scripts & Tools.
checked both. But come in no use.Please help.
[email protected]
We're building a web service that will be deployed on an IIS7.5 farm, and secured through SSL, and also requiring client certs that will be mapped to Active Directory accounts.
My understanding is that the server cert needs to be generated for a specific server. If that is the case then we will need a server cert for each server in the farm. Because the farm will be load balanced, how do we generate client certs that will work with any of the servers in the farm?