Error 404 on External Cache 1.1
http://download.microsoft.com/download/C/A/5/CA5FAD87-1E93-454A-BB74-98310A9C523C/ExternalDiskCache_amd64.msi
Error 404 on External Cache 1.1
IIS ARR Multiple Ports
HI.
I'm having a hard time configuring the balance in IIS via ARR with multiple ports. The difficulty is in working with different doors than the 80 and 443. On the same server I have applications on port 80, 443 and 8080. I managed to make it work on port 80 and 443. When I add port 8080 it is redirected to port 443.
The structure is as follows:
IP PUBLIC:80 > IIS ARR > Private IP1:80, PRIVATE IP2:80 IP PUBLIC:443 > IIS ARR > Private IP1:443, PRIVATE IP2:443 IP PUBLIC:8080 > IIS ARR > Private IP1:8080, PRIVATE IP2:8080
The rules I have for url rewrite are:
<rule name="ARR_serverfarm_loadbalance" enabled="true" patternSyntax="Wildcard" stopProcessing="true">
<match url="*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="http://serverfarm/{R:0}" />
</rule>
Other Rule:
<rule name="forward proxy" enabled="true" patternSyntax="Wildcard" stopProcessing="true">
<match url="*" negate="true" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTP_HOST}" pattern="*" />
</conditions>
<action type="Rewrite" url="http://{C:1}/{R:0}" />
</rule>
I appreciate the help.
</div> </div> </div>
Performance very slown in pages C#
I have an application running in production developed in ASP.NET 4.6, the application to be published or at any time it takes approximately 1 min to load each page, I have already tested it on other Production servers and with less resources and the application
works perfectly.
I performed a query on an API to check the return time, and to bring 1 record took 700 milliseconds ...
Could anyone help?
In some cases I need to reset IIS several times until it returns to normal.
Broken Download link for Dynamic IP Restrictions IIS Extension
Hi,
I'm trying to install the Dynamic IP Restrictions Extension listed at the following URL:
https://www.iis.net/downloads/microsoft/dynamic-ip-restrictions#additionalDownloads
Unfortunately all direct download links are broken. Also, when I try to install it via Web PI, installation fails due to a 404 error.
Please advise on how proceed.
Thanks,
Adrian
Python-Django Web IIS configuration on VM
Hello guys,
i configured IIS for python Django web Application on VM but i am getting this error. anyone have any idea how to solve this error thanks in advanced
Module FastCgiModule
Notification ExecuteRequestHandler
Handler Python FastCGI
Error Code 0x8007010b
Requested URL http://localhost:8003/
Physical Path C:\inetpub\wwwroot\KPMG_KRX
Logon Method Anonymous
Logon User Anonymous
web hosting on window server for new comer
hi
i want to know where to start to build web hosting on window server on which version for best.where do i get contact from to build-operate-knowledge transfer about web hosting on window server.i read doc site about web hosting but just know a few such ARR,front end server,back end server,etc,i cant continue anymore.i try contacting Partner Technical Consultant before i go to this community but the answer is i need to contact consultant services.who is this guy.may i need guy to build-operate-knowledge transfer for web hosting on window server.
IIS 7.5 adding 'Document Moved' content when 'Location' header is present
Hello,
Using PHP 5.4 and IIS 7.5, I'm trying to develop some REST web services compliant with the HAL specification.
In this context, when we create an object with a POST request, the expect result is a201 http response with the Location header targetting the object URL andthe JSON of the object created in the content.
For example the response to my POST request could be :
Status Code:201 Created Location:http://localphp.aufeminin.com/reloaded/manage/admin/api/user/58 {"id":58,"username":"h","_links":{"self":{"href":"http:\/\/localphp.aufeminin.com\/reloaded\/manage\/admin\/api\/user\/58"} } }
But it seems, that as soon as we have a Location header, IIS adds a 'Document Moved' section to the content.
For example in this case :
<head><title>Document déplacé</title></head><body><h1>Objet déplacé</h1>Ce document peut être consulté <a HREF="http://localphp.aufeminin.com/reloaded/manage/admin/api/user/58">ici</a></body>
{"id":58,"username":...
How can I disable this behavior of IIS ? How can I avoid the 'Document moved' html content while keeping theLocation header ?
Thanks a lot for your help,
Laurent Mirguet
URL Rewrite to different web applications
Hello,
Here's my scenario. I have two web applications running under one web site on my server. I would like to configure my server so that if a user navigates to a specific URL they will access a specific web application. Specifically, the web apps are a mobile app and a standard desktop app.
For example, if a user types in "http://webbapplicationA" I would like them to be redirected to "http://webserver/appA". If a user types in "http://webapplicationB" they should go to "http://webserver/appB".
I've accomplished this before using Host Headers. However, since these are web applications running on the same site, I can't use Host Headers (as far as I know).
Is it possible to use the URL Rewrite module to accomplish this?
Unable to browse certsrv
Added the roles for certsrv but cant seem to browse
This was a WSUS server previously.
Wondering if reinstalling IIS and WAS would resolve without creating ay other issues. Currently this IIS is hosting nothing else
Server Error in Application "application name"
HTTP Error 500.19 – Internal Server Error
HRESULT: 0x8007007e
Description of HResult
The requested page cannot be accessed because the related configuration data for the page is invalid.
This problem occurs because the ApplicationHost.config file or the Web.config file references a module or a DLL that is invalid or that does not exist. In the ApplicationHost.config file or in the Web.config file, locate the module reference or the DLL reference
that is invalid, and then fix the reference. To determine which module reference is incorrect, enable Failed Request Tracing, and then reproduce the problem.
Error during Web-socket handshake: Incorrect 'Sec-WebSocket-Accept' header value"
I am using Windows server 2019 with reverse proxy configured with ARR 3 and hosted my project with node.js and socket.io, I am redirecting the websitewww.mywebsite.com/project to internal addresshttp://192.168.0.190:800.
When I try to access the website http://192.168.0.190:800 inside the server socket.io is working but when i try to access the website outside the network using external address i am getting the error "Error during Web-socket handshake: Incorrect 'Sec-WebSocket-Accept' header value"
My reverse proxy configuration
<rule name="vrp" stopProcessing="true">
<match url="^/project/(.*)" />
<action type="Rewrite" url="http://192.168.0.190:800/{R:1}" />
</rule>
Help me to solve the issue.
Thanks,
Santhosh
Is It Possible to Redirect to a Different Port Using URL Rewrite?
Hi, Everybody!
I would like to be able to redirect (or intercept) a specific URL (e.g., http://<server>/<servicePath>/<serviceName>.asmx) to a different port (http://<server>:<portNumber>/<servicePath>/<serviceName>.asmx) where <server>, <portNumber>, <servicePath> and <serviceName> are placeholders. Is that possible with URL Rewrite? I am having a most difficult time with it.
Logging issue with X-Forwarded-For, wrong location
I have a really strange issue with logging the x-forwarded-for header in IIS logs on a few particular servers.
The log looks like this:
#Software: Microsoft Internet Information Services 8.5 #Version: 1.0 #Date: 2021-05-04 00:00:12 #Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken 2021-04-20 11:24:51 2000000a3+X-Forwarded-For+-+ serverxxx x.x.x.x GET /path/path/paths.png - 443 - x.x.x.x HTTP/1.1 Mozilla/5.0+(Windows+NT+6.2;+WOW64)+AppleWebKit/538.1+(KHTML,+like+Gecko)+PhantomJS/2.1.1+Safari/538.1 ASPSESSIONIDSXXXXX=XXXXXX https://website.company.net/path/path/paths.asp sitename.company.net 200 0 0 51636 465 45
As you can see, the x-forwarded-for info looks all kinds of weird and it appears after the date/time. I have 5 x Windows Server 2012 R2 IIS servers which all have the problem. I have another ~50 servers which are absolutely fine. On the 50 servers that are OK, the x-forwarded-for field appears in the #fields of the log and correctly as the last entry of a line.
I have the logging field setup uniformly across all the servers on the IIS root as it was done via a script.
The IIS log file name doesn't get the _x at the end of the filename like the other servers do.
I can see in the applicationHost.config we have the following, which is exactly the same between a working server and a non working server. There are no other entries in there for <LogFile>
<siteDefaults><logFile logExtFileFlags="Date, Time, ClientIP, UserName, SiteName, ComputerName, ServerIP, Method, UriStem, UriQuery, HttpStatus, Win32Status, BytesSent, BytesRecv, TimeTaken, ServerPort, UserAgent, Cookie, Referer, ProtocolVersion, Host, HttpSubStatus" logFormat="W3C" directory="%SystemDrive%\inetpub\logs\LogFiles"><customFields><clear /><add logFieldName="X-Forwarded-For" sourceName="X-Forwarded-For" sourceType="RequestHeader" /></customFields></logFile><traceFailedRequestsLogging directory="%SystemDrive%\inetpub\logs\FailedReqLogFiles" /></siteDefaults>
Does anyone have any idea why this is happening?
Wincache for PHP 8?
Since Microsoft officially dropped support for PHP 8 and won't provide any binaries for it, will the same be true for Wincache? Or will you continue maintaining Wincache for PHP 8 and future versions?
Python Flask App Stuck in Waiting for localhost
I'm trying to run a flask app on a Server 2016 machine with IIS v10 and the httpplatformhander, here's my web.config:
<?xml version="1.0" encoding="utf-8"?><configuration><system.webServer><handlers><add name="PythonHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" requireAccess="Script" /></handlers><httpPlatform processPath="C:\ProgramData\Anaconda3\python.exe" arguments="C:\Users\test\Documents\test_app\application.py" stdoutLogEnabled="true" stdoutLogFile="C:\Users\test\Documents\test_app\logs\acp.log" startupTimeLimit="60" processesPerApplication="16"><environmentVariables><environmentVariable name="SERVER_PORT" value="%HTTP_PLATFORM_PORT%" /></environmentVariables></httpPlatform></system.webServer></configuration>
When I run `python application.py` in cmd it correctly opens my 'Hello, World!' app, but I can't seem to get it to work through the httpPlatformHandler. I added IIS_IUSRS to the security options for my test_app folder and the anaconda3 folder. Is there a location where I can see more detailed logs for diagnostics?
HTTP Error 404. The requested resource is not found.
Hi there,
I create a website in iis10, it works fine with localhost, but when i try to run the website with ip address, but it shows HTTP Error 404. The requested resource is not found.
Does anyone know why this is?
Redirect to 404 if there is "?" (Question mark) in the url
Friends,
I am trying to redirect a page if there is a "?" in the URL using web.config, but it is not working
I added a condition to negate if the param is "?"
The rule is
<rule name="Activa-LT_rd" stopProcessing="true"><match url="Activa-LT.asp" /><conditions logicalGrouping="MatchAll" trackAllCaptures="false"><add input="{UNENCODED_URL}" pattern="\?" negate="true" /></conditions><action type="Redirect" url="Activa-LT/" redirectType="Permanent" /></rule>
Appreciate any help
Shared configuration with group managed service account
I'm working to use group managed service accounts where possible. Generally it's great, application pools are happy and everything runs fine on one server. I'm trying to implement shared configuration and running into issues. I created a gmsa, installed it on the server, tested successfully, created a share, gave the gmsa access to the share, and edited the redirection.config file have a configurationRedirection element with the proper attributes (enabled true, path to the UNC with FQDN, username is the gmsa including the dollar sign, and password blank). When I set all that up, the IIS manager complains about not being able to access the configuration. These are core servers, and the remote manager does not expose any interface for shared configuration. I tried changing the credentials on the windows process activation service, but it really didn't like that and wouldn't start (even when given the proper user rights) - that seemed like a bad idea any way.
Has anyone got shared configuration working using group managed service accounts for authentication?
Note this is on server core, so the admin gui is not available.
Unable to publish or download because a required dependency is not installed.
The title is the error I am receiving while trying to publish using WebMatrix 3.0. I also have Web Platform Installer 5.1 installed.
I have:
- - Restarted PC.
- - Joined different internet networks.
- - Verified all publishing settings.
- - Tried logging on and publishing on a different computer that another user is able to publish on with their login.
- - Had another user, that is able to publish, sign onto my computer and check that they are able to publish, which they can.
It must be something installed under my user profile, correct? I can't find any other threads about this issue.
I've dumped the full error message below:
Unable to download the Web Platform product list. Check your network connection and try again. If the problem persists, report the issue on the Web Platform Installer forum at: http://go.microsoft.com/fwlink/?LinkId=145244.
Details:
'src' is an unexpected token. The expected token is '='. Line 135, position 19.
Unable to download the Web Platform product list. Check your network connection and try again. If the problem persists, report the issue on the Web Platform Installer forum at: http://go.microsoft.com/fwlink/?LinkId=145244.
Details:
'src' is an unexpected token. The expected token is '='. Line 135, position 19.
System.InvalidOperationException: Unable to download the Web Platform product list. Check your network connection and try again. If the problem persists, report the issue on the Web Platform Installer forum at: http://go.microsoft.com/fwlink/?LinkId=145244.
Details:
'src' is an unexpected token. The expected token is '='. Line 135, position 19. ---> System.Xml.XmlException: 'src' is an unexpected token. The expected token is '='. Line 135, position 19.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at Microsoft.Web.PlatformInstaller.LineInfoDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(TextReader txtReader)
at Microsoft.Web.PlatformInstaller.ProductManager.LoadDocument(String xmlPath)
at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile, Boolean loadEnclosures)
at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 osType)
at Microsoft.Web.PlatformInstaller.ProductManager.LoadExternalFile(Uri uri)
at Microsoft.WebMatrix.Gallery.ProductManagerFactory.Create(Uri primaryFeed, IEnumerable`1 customFeeds, EventHandler`1 updateAvailableHandler)
at Microsoft.WebMatrix.Gallery.OnlineFeedLoader.Load()
at Microsoft.WebMatrix.Gallery.FeedLoader.EnsureLoaded()
at Microsoft.WebMatrix.Gallery.OnlineFeedLoader.get_ApplicationKeywordDictionary()
at Microsoft.WebMatrix.Gallery.WebMatrixProductService.get_ApplicationKeywordDictionary()
at Microsoft.WebMatrix.Gallery.DependencyServiceImpl.<EnsureFeedWithWaitDialogUIInternal>b__b()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at Microsoft.WebMatrix.Gallery.DependencyServiceImpl.EnsureFeedWithWaitDialogUIInternal(String waitDailogMessage)
at Microsoft.WebMatrix.Gallery.DependencyServiceImpl.<>c__DisplayClass9.<EnsureFeedWithWaitDialogUI>b__8()
at Microsoft.WebMatrix.Core.TaskServiceImplementation.<>c__DisplayClass19.<DispatcherInvoke>b__18()
at Microsoft.WebMatrix.Core.TaskServiceImplementation.DispatcherInvokeInternal[U](DispatcherPriority priority, Func`1 method)
at Microsoft.WebMatrix.Core.TaskServiceImplementation.DispatcherInvoke(DispatcherPriority priority, Action method)
at Microsoft.WebMatrix.Gallery.DependencyServiceImpl.EnsureFeedWithWaitDialogUI(String waitDailogMessage)
at Microsoft.WebMatrix.Gallery.WebMatrixProductDependency.GetDependencies(IEnumerable`1 dependencyIds, IServiceProvider serviceProvider)
at Microsoft.WebMatrix.Gallery.WebMatrixProductDependency.GetDependencies(DependencyTypes dependencyTypes, IServiceProvider serviceProvider)
at Microsoft.WebMatrix.Gallery.DependencyServiceImpl.EnsureDependencies(DependencyTypes dependencyTypes, String ensureDependenciesMessage)
Adding SSL to an existing web site
I have a complex website that has evolved over many years, I now need to add SSL.
I understand how to obtain a certificate, add it and enable SSL support, but I don't understand how SSL works and the implications for my site.
I need help to answer these questions...
Do I need to move the app from httpdocs to httpsdocs. If so,
Do I need to change the DNS settings
Do I need to change the app pool settings
How can I redirect from http:
Will FTP still work
using System.Net.FtpWebRequest
using System.Net.Webclient
using Filezilla
Will my Web Services still work
From other computers
From javascript in client pages
From other aspx pages on the server
Will the Post/Get interface to PayPal IPN (instant payment notification) still work
The site is in use 24/365 so I'm terrified of making changes that cause a long outage. Any advice would be most welcome.
(Windows server 2008, IIS and ASPX)
VC++ 2008 Redistributable Package installer is missing
Hello,
I understand Chris Sfanos explained that there might be missing packages(https://forums.iis.net/t/1253017.aspx?PLEASE+READ+Installers+no+longer+available+via+WebPI).
So this is most likely the case with VC++ 2008 Redistributable Package.
http://download.microsoft.com/download/1/1/1/1116b75a-9ec3-481a-a3c8-1777b5381140/vcredist_x86.exe