Tag Info

New answers tagged

0

If you can get to the server console while this is happening, you'll often be able to tell from Task Manager. True story! But there's one tweak: turn on the view of the Command Line. This shows the arguments passed to the target process, from which you could typically infer the site/page/consumer. Run Task Manager Go to the tab where you can see process ...


1

Login failed for user 'DOMAIN\WEBAPPS-PROD$'.[Client: IP_ADDRESS] This is the computer object attempting to authenticate. This tells me that there is something running as a non-domain account attempting to access SQL Server. Since it's a web server, most likely it's an webapp running in a pool using windows authentication and not properly setup with a ...


2

The recommended way to do this is to have a custom health probe in your load balanced set. For example, you could have a simple healthcheck.html page on each of your VM's (in wwwroot for example) and direct the probe from your load balanced set to this page. As long as the probe can retrieve that page (HTTP 200), the Azure load balancer will keep sending ...


0

Firstly, do you have this update installed on the server? https://support.microsoft.com/en-us/kb/2973337 SHA512 as a hash algorithm on TLS 1.2 is disabled by default in Windows. The above patch will enable it and hopefully fix your problem. The reason your third party certificates work now is because they won't be using the SHA512 hash (in my experience ...


0

While the Web Farm Framework itself is not supported on Windows Server 2012, they have included some articles on how to setup similar functionality. Here is an article from Microsoft that describes the steps for setting it up on Windows Server 2012. Overview: Build a Web Farm with IIS Servers: ...


0

Are you creating the redirect rules in the GUI, or by editing web.config directly? It might be that your web.config has an error in it somewhere. Try turning custom errors off so you can see the detailed error message, it should help you track the problem down. Find this line in your web.config and uncomment it; <customErrors mode="off"/> If you're ...


0

I'm not sure about your error, but since no one else has tried an answer, and you have a problem to solve, I'll suggest a different way to accomplish your goal. Leave your main app only answering at the name you want people to use. Add a second web app that answers to the 3 names you want redirected. Configure this site to forward traffic to the main ...


1

You can't do what you are trying to do! With http://251.25.185.52/ you are browsing to an IP number. http://site1.251.25.185.52/ is neither a valid IP number nor a valid IP name. I understand what you are wanting to do, but this isn't the way to do it. You want to register a domain name eg mydomain.com. You then want to point site1.mydomain.com and ...


1

Ok, I was able to get it working on IIS 7.5 by changing the following details in the @Fazer87's command: Instead: appcmd start site /site.name: contoso Change to: appcmd start site "my_real_site_name.com" (also note the double quotes)


0

I get this error when I do not supply the full correct path to the utility as described here. %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -I %windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i


1

You have a couple of options here: To restart an individual app pool, try (Reference): appcmd recycle apppool /apppool.name: string OR appcmd stop apppool /apppool.name: Marketing appcmd start apppool /apppool.name: Marketing To restart an individual website, try (Reference) appcmd stop site /site.name: contoso appcmd start site /site.name: ...


2

Have you installed web deploy with complete option selected? If yes, then change path in command to and try. For me it is working from below path C:\Program Files (x86)\IIS\Microsoft Web Deploy V2\


0

Yes, you can use a Name-based virtual hosting, but with some fairly strong provisos If you want to embrace the bleeding edge and don't care about support for old browsers, you can use Server Name Indication (SNI) (if supported by your web server and clients). This means that the client will inform the server (when its first starting to talk about SSL) ...


2

To execute commands remotely, you'd normally wrap them in a powershell Invoke-Command command with the -ComputerName parameter. So you could wrap the appcmd command in an Invoke-Command command. There is a native IIS powershell snapin, but I'm not a big fan of it. It's a bit clunky to use and to get working reliably (and its another dependancy you need to ...


1

One way that could work would be to download and install a Utility called PSExec - http://technet.microsoft.com/en-us/sysinternals/bb896649 Copy contents to a folder on the Compuer you log onto and add the PSExec command to that users login script. Psexec.exe \\{IIS8server} "appcmd recycle apppool app_pool_name"


2

This is usually because you have a custom application on top of IIS. If it is an in house built application, speak with the Developers about it. If it is not developed in house, please have a look at .net CLR with counters https://msdn.microsoft.com/en-us/library/x2tyfybc(v=vs.110).aspx and more tips on CLR performance ...


0

There are two solutions to this as I found out. Set correct permissions for every user accessing the file share if "Pass Through" Authentification is selected. Because then the username connecting to the FTP Server will be used to access the file share. Set a "specific user" whom has access to the file share with read/write access. We ended up using ...


0

I was moving this question from Stack Overflow as it was off topic there. Eventually I found the power outage messed up the sharing security settings on the host of the shared folder. I added everyone into the shared user list and then remove it and now the nodes are working fine. Hope it could help others in the future.


2

Having read around this some more I have come to the following conclusions; The DH parameters Microsoft used in TLS_DHE_RSA_WITH_AES_128_GCM / TLS_DHE_RSA_WITH_AES_256_GCM are, for compatibility reasons, only 1024 bits in length and are thus considered 'weak'. The new cipher suites continue to not be present in the default cipher suite priority due to ...


1

To answer your specific question, yes, you can view application pool recycle events in the Windows System event log. Filter for event source 'WAS'. By default only the following recycle reasons are logged; Private Memory Limit Exceeded Regular Time Interval Virtual Memory Limit Exceeded You can change the defaults and enable logging for other recycle ...


0

There is an additional parameter ("delete") you can add to the "clear" command to force IIS to remove the section as well as clearing the contents of it; C:\Windows\System32\inetsrv\appcmd.exe clear config "ParentSite/ChildSite" /delete:true /section:system.webServer/security/ipSecurity /commit:apphost I've tested this on server 2012 R2 / IIS 8.5, but it ...


0

You cannot use a self signed certificate externally (and should not internally), since self signed certs are not automatically trusted by the Client.


-2

To log custom headers you can use IIS Advanced Logging feature. A good article on it can be found at http://www.iis.net/learn/extensions/advanced-logging-module/advanced-logging-for-iis-custom-logging


0

If you are using asp.net authentication and if you want to see the results thru your site you can use the following code in c# from your site code: using System.Web.Security; MembershipUserCollection users = Membership.GetAllUsers(); foreach(MembershipUser user in users) { if (user.IsOnline) { ...


3

It seems you are using Passive mode. Passive mode uses TCP ports from 1024 to 65534 for Data channel. Make sure no Firewall is blocking this port range. Else, switch to active mode to only use TCP/20 for Data channel. EDIT : Also, FTPS can operate in two distinct mode : implicit or explicit. Explicit will use standards ports (for Active mode) : TCP/21 ...


0

You Can solve this issue by following this. Alternatively: <system.webServer> <rewrite> <rules> <rule name="1" stopProcessing="true"> <match url="(trabajos)/(3ba2a9e4)/(some-cool-title)" /> <action type="Redirect" ...


2

You can do this by Microsoft NLB, or IIS shared configuration as Lior mentioned. You can also use the "Application Request Routing" or a hardware load balancer but all depends on the environment, resources and your requirements. Here are some resources: https://technet.microsoft.com/en-us/library/jj129384.aspx ...


2

Are you sure that's the required solution for you? You are basically asking for a clustered solution for web hosting. Generally IIS is best left out of clustering and should utilise Network Load Balancing (NLB) instead. With NLB you will have both servers up simultaneously and split the load between them. If one of them goes down the second will handle all ...


1

A few things: A rewrite should be used if you want to transfer to a different URL within the same site. The IIS rewrite module can change the requested url internally and it can be processed in the same existing request pipeline. A redirect is required when you want to transfer to a different site on the same server or a different server, which is your ...


1

One thing I didn't mention was that I am using the IIS Centralized Certificate Store - which turned out to be important. For my sites let's pretend they're the following groups (the IP is internal and mapped through the firewall). Group A : red.com, blue.com, green.com (UCC certificate A) 10.0.0.1 Group B : cat.com, dog.com, mouse.com (UCC ...


1

You will need to use the 'Feature Delegation' or IIS Remote Management to enable users access to this without making them local admins.


1

What permissions do you have set on the physical folder path? You've mentioned the FTP permissions, but no the NTFS perms you have set-up, could be possible the default of 'MACHINE\Users' has read access but not write. You don't need to touch application pools, anyway application pools only apply to websites and not FTP servers, have I misunderstood that? ...


1

Does your computer have a firewall ? If yes, try to open your HTTP port on the computer serving your website. netsh advfirewall firewall add rule name="HTTP TCP Port 80" dir=in action=allow protocol=TCP localport=80 netsh advfirewall firewall add rule name="HTTP TCP Port 139" dir=out action=allow protocol=TCP localport=80 Does your IIS server is listening ...


-1

I had the same problem. In my code I had the following line of vb.net code Dim mPath as string = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) My whole ASP.NET crashed, because it can't access this folder at runtime. Errorhandling doesn't work. Clr simply crashes. Replacing this line by an existing directory solved my problem.


0

Rewrite rules are processed AFTER the HTTPS channel being established. Think about it, the address, HTTP method, and everything else in HTTP header and body are encrypted when using HTTPS, and the rewrite rules use them. So, the HTTPS handshake must complete before the request even reaches the rules. If you want to allow your users to start from ...


0

Unfortunately your redirect isn't going to work. When the browser tries to navigate to https://mysite.internal.domain.com/, the browser is noticing the mismatch of common name and hostname (as you say) and dropping the connection before the redirect has a chance to take effect. For the redirect to work, the HTTPS connection would need to be successfully ...


0

From what I understand, you have your domain registered with GoDaddy and you have a Google compute engine instance running your website. On the GCE side, you do not need to do anything, just make sure your webserver is running and serving pages on the external IP. On the GoDaddy side, all you need is to create an A record pointing to the GCE machine ...


1

While I am not proficient in IIS in particular (I deal with Apache mostly), I would expect this is be a custom logging sort of thing. The following page documents some of the advanced logging functionality of IIS; while it doesn't show SSL things in the screenshots, it may still be useful. ...


0

IISRESET fixed this for me. I believe it is similar to the solution of resetting the SMTP service since this service depends on IIS. After it restarted the mail inside C:\inetpub\mailroot\Queue started to disappear!


2

A few things to clear up, first. We are mixing two different concepts a bit: the protocol and cipher suites. SSLv3 being the protocol, and forward secrecy being a trait of the negotiated cipher suite. Which cipher suites are selected depends on the client, the server, and the protocol that gets negotiated. This means you cannot rely on the version of the ...


0

I got caught out by a similar message, and it turned out that I had not installed the CGI Server Role (under IIS -> Application Development).



Top 50 recent answers are included