w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
  Home » IIS » Page 1
What is the minimum acceptible value for Idle Time-out(minutes) in IIS?
If it is a public facing website many things could be requesting it even if you are not. That is a bad test. We set it at zero so it never gets unloaded, no real point in recycling for modern apps unless you have a known memory leak.

Categories : Iis

Error when activating IIS-feature IIS-NetFxExtensibility 4.5
The point ist, that some features are dependent upon the feature NetFx4Extended-ASPNET45. Before all these features NetFx4Extended-ASPNET45 has to be activated. That's all :) Nice to know: If You try to activate one of the complicated features by commandline, You can get here a more significant advice.

Categories : Iis

How to repair IISExpress that wont compile simple application?
I actually managed to get this working myself by doing the following: Uninstall IISExpress Run a 'Repair' installation of Visual Studio 2013 Clean the solution and set Copy Local = True in the properties of the references for System.Web.MVC (following some of the answers in this question) Using the Package Manager dialog do an update of all MS and .NET DLLs Update JQuery and Bootstrap (only as a

Categories : Iis

Deploy .NET web application on AWS using ElasticBeastalk
You need to create a 'New Application' and then a 'New Environment'. When you are creating a new environment, under 'Environment Type' the option is there to select IIS, see screen grab below:

Categories : Iis

Remove index.cfm by IIS URL rewriting
This works perfect for me <rule name="Default Document" stopProcessing="true"> <match url="(.*)index.cfm" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_METHOD}" pattern="^POST$" negate="true" /> <add input="{PATH_INFO}" pattern="^.*(/index.cfm/).*$" negate="true" /> <add input="{QUERY_STRING}" pattern=".+" ignoreCa

Categories : Iis

classic ASP not seeing vbscript
before using any variable you should give a data type to that variable dim or var vbDate vbDate=Cstr(Day(Date()))+"/"+Cstr(Month(Date()))+"/"+Cstr(Year(Date()))+" "+Cstr(hour(Now()))+":"+Cstr(Minute(Now()))+":"+Cstr(Second(Now()))

Categories : Iis

Uploaded Files Are Not Viewable in Laravel. Permission Is Denied
I had the same issue and searched over the net but couldn't get a solution. The problem is not Laravel specific, it's a general php issue on iis. This is a permission issue. When you upload a file using php the file first goes to the temp folder before your Laravel code moves it to the desired folder in you application. The issue here is that a different user account is used to write the file to t

Categories : Iis

Multi-application Coldfusion 7 server and CFC paths
I once asked for directions to a fishing lake from an old farmer in southern Illinois. He scratched his head for a moment and then said to me, "Son, you can't get there from here." :) I think you may be in the same boat Leo. The problem is not packaging, the problem is your SDLC goes against best practice. Any sort of "dev" server should mirror production - something you have already scrambled

Categories : Iis

Configure IISExpress 8 to use ASP.NET to handle requests for a .gif file?
I had the same problem, what worked for me was this <system.webServer> <handlers> <add verb="GET,HEAD" name="DocHandler" path="*.pdf" type="Web.DocHandler" /> </handlers> </system.webServer> Problem is that you need to map every extension singularly, you cannot put multiple extension in the path property. In your case, try t

Categories : Iis

IIS: self-signed certificate for external web api
Yes it is secure to use a self-signed certificate even.though it is not best practice for Production environment. Indeed the Root CA will be unknown and the client cannot validate the issuer. Your client will have to accept such a certificate (this means you will have to handle the certification check yourself) How to ignore the certificate check when ssl If the API is used only internally, it

Categories : Iis

Serving audio files from Web Api Project in IIS7.5
I seriously wasted an entire day on this. My IIS server is using a self signed cert. I was trying to load the audio file through https. apparently every other browser is cool with this except Safari and mobile browsers. I changed the src attribute to be http instead of https and safari started working as well as my iOS simulator.

Categories : Iis

Smooth Streaming Apple URL gives 404
After exploring some related questions, I came across this answer: The stream needs to use h.264 video and AAC audio. Unfortunately, it's not quite that simple. The free version of Expression Encoder 4 doesn't support h.264 or AAC; they are locked down and advertised as a paid feature. The thing is, Microsoft refuses to sell Expression Encoder anymore but nonetheless haven't made these features f

Categories : Iis

Access Host Machine IIS from Hyper-V VM
Since you already have a switch attached to the VM, I don't see anything that is required to be done on the VM, but I would ping the host from VM and make sure that works. If you are running the website just out of Visual Studio, which would inturn be running IIS Express and not the IIS on the host, you should follow the instructions here to configure IIS express and host to accept requests from

Categories : Iis

How to activate IIS-features after installation by WiX-Bundle?
To resolve that problem, You need a second WXS-file containing ExePackages, which will activate the IIS-features. Then You have to implement another PackageGroupRef in the Bundle. Here the WXS with the IIS-features: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <PackageGroup Id='ActivateIisFeatures'>

Categories : Iis

Azure Cloud Service : Scaled in web site (web role) instance recieves requests before iis is ready
See http://blogs.msdn.com/b/kwill/archive/2012/09/19/role-instance-restarts-due-to-os-upgrades.aspx, specifically the Common Issues #5 and associated code. If your website takes several minutes to warmup (either standard IIS/ASP.NET warmup of precompilation and module loading, or warming up a cache or other app specific tasks) then your clients may experience an outage or random timeouts

Categories : Iis

How can I schedule a program to run whenever after iis recycle?
If you have a batchfile or exe that does the warming up you can schedule it as follows for a manual issreset execute on ONE single line on a commandprompt: schtasks /create /tn warmup-app /tr drive:pathwarmup.cmd /sc ONEVENT /EC System /MO *[System/EventID=3201] and if executed you're greeted with SUCCESS: The scheduled task "warmup-app"

Categories : Iis

SignalR thinks request is cross domain
If you've implemented load balancing then you must implement scale out in SignalR take a look at ScaleOut in SignalR One approach is ScaleOut with SQL Server : Have a look

Categories : Iis

I'm setting the site up for windows authentication in the web.config, but it's not being picked up by IIS
is your site a sub application? try adding <authorization> <deny users="?" /> </authorization> or <identity impersonate="true" />

Categories : Iis

Go back one directory web.config
You can use URL rewrite rules for that, but I'm not sure how you would distinguish files that are actually at the root from files that should be mapped to the /i/ path.. See this module for adding URL Rewriting for IIS: http://www.iis.net/downloads/microsoft/url-rewrite

Categories : Iis

What's the proper method to tweak the URL in IIS or in web.config?
In Sitefinity 6.3 and above you can edit the URL structure: http://www.sitefinity.com/developer-network/forums/general-discussions-/sitefinity-6-3-released This means, that even if the page is under the Footer group page, then you can remove the /footer/ from the URL of the page. Just edit the Title and Properties and click on Change next to the URL.

Categories : Iis

Msdeploy failed: The account 'xxx' does not appear to be valid
The error being returned here is just a general authentication failure error. In this particular scenario the authentication failure was being caused by a discrepancy between the User Principle Name and the SAM Account name of the user the application pool was running as. See the following question for an explanation of which name is used when authenticating an Active Directory user - http://serv

Categories : Iis

SignalR Not Using Web Sockets
Make sure it is enabled on the dev server. On the taskbar, click Server Manager. In Server Manager, click the Manage menu, and then click Add Roles and Features. In the Add Roles and Features wizard, click Next. Select the installation type and click Next. Select the destination server and click Next. On the Server Roles page, expand Web Server (IIS), expand Web Server, expand Application Devel

Categories : Iis

IIS 7 and Ms Access 2007 32 bit on Windows7 (64 bit)
If it's Access 2003 or earlier the database will have the extension .mdb, not .accdb Use the JET OLEDB driver PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & Server.Mappath("db/dbTest.mdb") JET is 32 bit so you do need to enable 32 bit applications For Access 2007 onwards use the ACE driver as per your example. ACE is 64 bit so you don't need to enable 32 bit applications, in fact you

Categories : Iis

Error 404. Using IIS7.5 URL Redirect from HTTP to HTTPS
Solution I could not get URL rewrite 2.0 to work. The solution was to create an empty second website on IIS with a webconfig. I then told it to http reroute from http://myapplication.herp.derp.edu to https://myapplication.herp.derp.edu.

Categories : Iis

Is it possible to bind port 443 to HTTP on IIS?
"HTTPS URLs begin with "https://" and use port 443 by default, whereas HTTP URLs begin with "http://" and use port 80 by default." Source: Wikipedia, HTTP Secure/HTTPS. Port 443 is categorised as well-known port.

Categories : Iis

Make IIS stop running on port 443 for all bound IPs
I can accross the same problem i used the following article to fix it. Though, warning i had to restart the system as net stop HTTP crashed and did not come back until i rebooted. http://support.microsoft.com/kb/954874 Click Start, click Run, type cmd, and then click OK. A Command Prompt window opens. At the command prompt, type the following command: netsh http add iplisten xxx.xxx.x.x Note

Categories : Iis

SELECT PercentTimeinGC FROM Win32_PerfRawData_NETFramework_NETCLRMemory
This vbs code will do it. This was created for splunk to ingest. On Error Resume Next Set objWMISvc = GetObject( "winmgmts:\. ootcimv2" ) Set colItems = objWMISvc.ExecQuery( "Select * from Win32_ComputerSystem", , 48 ) For Each objItem in colItems strComputerName = objItem.Name Next CommandLine = "c:windowssystem32inetsrvw3wp.exe" processName = "w3wp.exe" QueryLine = "select * from win32_

Categories : Iis

ColdFusion 11 IIS Connector ExecuteAppCmd.exe side-by-side config is incorrect
I found the answer in a bug post: https://bugbase.adobe.com/index.cfm?event=bug&id=3761543 Since the ColdFusion install is 64-bit it needs a MS C++ 2008 x64 SP1 Redistributable package installed. The ColdFusion install only installs the 32-bit version of 2008. http://www.microsoft.com/en-us/download/details.aspx?id=2092 Once I got that installed, it worked.

Categories : Iis

Service Temporarily Unavailable error on IIS 8.5 and ColdFusion 10
I ran into this problem as well. You can Google a lot of information about it but it comes down to "Tuning ColdFusion 10 IIS Connector configuration". Extensive information can be found in this page. http://blogs.coldfusion.com/post.cfm/tuning-coldfusion-10-iis-connector-configuration My {CF-Home}/config/wsconfig/{some no}/workers.properties file looks like this: worker.list=cfusion

Categories : Iis

How to enable FTP Passive Mode for Amazon EC2 server with IIS
The following link is what finally solved it for me. I will highlight some of the main things below in case the link stops working. https://forums.aws.amazon.com/thread.jspa?threadID=98905 In IIS, highlight the top-level server (not the FTP site). Click FTP Firewall Support. Under Data Channel Port Range, set a small range, e.g. 41000-41099. Under External IP Address to your Elastic IP Address

Categories : Iis

DNN: The Web Application Project xxx is configured to use IIS. The Web server "http://dnndev/desktopmodules/xxx/' could not be found."
I found two common answers online, which did not work for me but did work for others. I then discovered that I just needed to tweak one of these answers: Make sure that you are running Visual Studio as administrator. Make sure that you have set up a binding for your site in IIS for dnndev.me The KEY part of #2 above, for me, is that when binding was set to dnndev.me I could open the module pro

Categories : Iis

IIS FTP cannot connect, 421 Service not available error
Sorry, the problem turned out to be an incorrect setting in the IIS FTP-site Site Bindings. EC2 instances have 2 IP addresses, one private and one public. It seems that the FTP server was set with the EC2 instance private IP address, and when the instance re-booted, it got a different private IP, but was re-assigned the same public IP using the Elastic IP feature. Live and learn.

Categories : Iis

Assert User.Identity.Name is set right in my MVC app
This answer looks like it might accomplish what you're after. The identity of an application pool in IIS When creating a new application pool, it’s often convenient to be able to identify the identity the pool is using. The issue arises usually on IIS 7/7.5 where default application pools use identities of a form IIS APPPOOLidentityname. And when you grant access to databases/file

Categories : Iis

Why Server header in not getting removed from the response in 500 error?
If you mean the Server HTTP header, which will probably be set to something along the lines of Microsoft-IIS/7.5 then the easiest way is to overwrite it with a blank or custom value in IIS. You can remove it completely by creating your own HTTP module. The following link discusses the manifold methods you can try: http://www.dionach.com/blog/easily-remove-unwanted-http-headers-in-iis-70-to-85

Categories : Iis

405 Method Not Allowed Error on IIS Site
Well I feel very silly, but I answer my own question to hopefully save others from running into the same issue. PHP was installed on my local web server but not in the production environment. Very stupid of me not to think of this right away, but hopefully this answer will save some others a few hours of frustration.

Categories : Iis

IIS Rewrite URL Condition Grouping
You can achieve your goal using the distributive law: (A + B)C = AC + BC Use a concatenation of variables in the condition input. Use a separator that is not expected in any of variable values. In the example below the '|||' sequence is used as a separator: <conditions logicalGrouping="MatchAny"> <add input="{HTTP_USER_AGENT}|||{StaticRedirects:{R:1}}" pattern="(midp|mobile|phone)||

Categories : Iis

Web.config Transform: Optionally Insert Parent Nodes of Node You Want to Insert or Patch
Solution: You need to create the parent nodes of that node first since they probably do not exist. That way you are ensuring that they exist without just ignoring other entries there if they do exist as some solutions do with a Remove option. Here is an example that I've recently created and tested: <system.webServer> <!-- Creates the rewrite node if it does not exist yet (ensures it e

Categories : Iis

ColdFusion 10 Update Killed My Admin
Check this blog by Adobe on similar issue - http://blogs.coldfusion.com/post.cfm/resolving-500-internal-server-error-with-coldfusion-10-update-14

Categories : Iis

IIS web.config - same file for multiple websites
The web.config should be capable of doing this actually. Put the common web.config file into a folder that each site has read permission for. Then modify the individual web.config files to call the common file: <appSettings file="/path/to/some/common/web.config"> Then this common file can be used for any files that need it and ignored for those that don't. You can even rename it to common

Categories : Iis




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.