rewrite rule for specific pattern
IIS 8.5 ASP.NET 4.5.2 Web App Inconsistent behavior
I am a web administrator, not a developer and I have a .NET 4.5.2 web application on a Windows 2012 / IIS 8.5 server. It works when set up as an application under a web site but when I set it up as it's own web site authentication fails. All of the settings are the same between the 2 versions. Windows Authentication Providers: (Negotiate, NTLM) & ASP.NET Impersonation (Authenticated User). The dedicated app pools have the same settings as well (Version v4.0, Mode: Classic, 32-bit = False). I have tried a number of variations of those settings. It will work if I reverse the Windows Auth Providers to (NTLM, Negotiate), but then access to the filer it is trying to reach fails with a not authorized error. This same web app works fine when under a different web site. The server set up for these 2 versions are on 2 load-balanced servers with all settings identical.
URL Rewrite
Afternoon all,
I'm attempting to use URLRewrite IIS7 to create a 301, however the source url has a ? in the url. I'd like when
http://blahblahblah.com/News/Pages/Article.aspx?newsID=26(the ? is the delimiter)
should be redirected to http://blahblahblah.com/news_archive/pages/article.aspx?newsid=26
This is the rule i've created
<rule name="Rule1" stopProcessing="true">
<match url="^(.*/)?news_archive/pages/article.aspx?newsid=26?" />(tried to modify the ? using ?,? is the delimiter)
(This is the url I need to modify) (http://blahblahblah.com/News/Pages/Article.aspx?newsID=26(This is the originial url)
<action type="Redirect" url="http://blahblahblah.com/news_archive/pages/article.aspx?newsid=26" />
</rule>
Any help or questions clarifying what i'm trying to do are welcomed.
Thanks,
Art
Allocate memory to IIS or Pool
Hi,
My question is related to IIS and its pool. I want to increase the memory allocation up to 2Gb or more to my IIS/pools
Actually our goal is to increase the memory allocation to IIS workerprocess for more performance.
How can i achieve this goal.
Thanks
How to set users permissions with IIS7 to access network drive directory
for first mention, this question is extension to my previous question here. And my goal is still same. I have IIS7 server (where i running some PHP) on network drive (drive 1), when im trying acces another network drive (drive 2), where are need to acces PDF files with pdftotext.exe.
On drive 1 i also have a virtual/link directory (virDir) on directory (tarDir) on drive 2 when all files i need to acces are stored.
When i run pdftotext.exe by myself everything work like a charm, on drive 1 output file with pdfcontent is created and everyone lives happy till dead. But when im trying to execute PHP script, stored in drive 1 in virDir, which runs pdftotext.exe via exec command, it returns 1 and no file is created.
In my last question i figured out that it will be probably permission issue, but im bit confused how to set them. IIS7 have some internal users like IUSR and IIS_IUSRS and when i call
get_current_user();in php, its set to testUser.
So which permissions i need to set to both dirs(virDir and tarDir) so server can acces them?
I tried that testUser have set Modify, Read a Execute, List folder contents, Read, Write permissions on tarDir (drive 2), and IUSR, testUser and II_IUSRS have Read a Execute, List folder contents, Read, Write permissions on tarDir (drive 1).
When im trying to acces "normal" files, like txt, pptx, etc i can read them without problem (im using php library for it), but when i try to use pdftotext.exe it fails.
Can someone see what im doing wrong?
EDIT: So i made some other testing, and when i run this comand (im currious who is running command line)
echo "<br> who am i in command line? <br>";$out = array();exec('cmd /c whoami 2>&1',$out,$exitcode); echo "<br />EXEC: ( exitcode : $exitcode )"; echo "<hr /><pre>"; print_r($out); echo "</pre>";
Runned on drive 1 it shows that command line is runned by testUser, but when i run it in drive 1 virDir, it returns 1. So probably issue with permissions about executing commands in shell... i will apreaciaty any hint...
Adding Custom Varibales to HTTP Request Headers
Hi,
We have application that uses IIS to perform HTTP POST. We would like to add Customer Variables ("Content-Type" and "FROM") to all HTTP Request Headers.
Please advise, how we can add these 2 variables to HTTP Request Headers with below values.
Content-Type = application/xml
FROM = Test
Environment: Windows 2008 R2
IIS Version: 6.1
Thank you for your help!!
Best Regards,
Saroj.
Want to delete everything and start from scratch
I want to delete everything I installed through Web Platform Installer, scaling down, then reinstall some things. I've tried "Add/Remove Programs", but WPI still sees things like MySQL, IIS and .NET just to name a few.
IIS performance Issues
Guys
We are using 7.5.7600 Version of IIS for hosting web application. Our clients are facing performance issue like:
1. Pages that would normally take 2-3 seconds to load now being loaded in 15-20 Seconds.
2. We have seen our database side but they are working perfect.
3. Once IIS reset , performance improved for 10-20 minutes but after that it goes to same poor stats.
Required.
I have seen many tools on internet for IIS performance measurement but what i need a tool that can provide tracing on objects level , like in SQL you have profilers help to catch exact calls of DB side.
You guys are experts and i need to know How can i trace where my application is getting stuck and how can i troubleshoot.
This is major concern and kindly help me to resolve this.
Thanks!
Waseem Bukhari
CMer/ALM
Can I re-distribute this Module with my Application
Hi,
This module (IIS 7.5 Application Initialization Module) is a pre-requisite for our product on Windows 7 OS.
Can I re-distribute this module set-up exe as part of our Product set-up exe?
Response/help will be much appreciated.
Thanks,
Deven
FTP Virtual Directories not showing even with setting enabled!
I am running under FTP user isolation mode. If I create a virtual directory under the user's home folder, it doesn't show up in the directory listing, but I can chdir into it.
I have enabled the setting to show virtual directories under the FTP directory listing settings but it still doesn't show up. Unlike HTTP directory listing, creating a physical directory with the same name still doesn't make it show up in FTP, and on top
of that it chdir's into the blank physical directory now.
2 sites share the same files & web.config. How to change JWildCardHandler for 1 of them
Hello,
I have 2 Coldfusion 9 websites that use the same files in the same folder. So for instance webroot for www.abc.com &www.xyz.com is d:\apps\dir1. In dir1 is a web.config that both sites use. I need to change the JWildCardHandler for www.xyz.com to use a different folder than JWildCardHandler forwww.abc.com. If I go into IIS and change the WildCardHandler for abc.com it changes the web.config file which also changes it for xyz.com. I need to do this to get xyz.com into a separate Coldfusion instance from abc.com.
Does anyone know how I can change this either inside web.config or another init/setup file? Would applicationHost.config be the place to do this? I have never made any changes directly to this file so I am not sure how I would change applicationHost.config if it could be done.
Any ideas are appreciated.
Joe
Rewrite numeric IP address to domain name?
I have a domain registered - domain1.com and it automatically redirects to my server at: 111.222.333.444/folder1. My domain registration service allows 'masked' forwarding which retains 'domain1.com' but hides all navigation in the address bar (not what I want). If I turn off masking, I get my IP address along with the navigation folders (partially what I want).
Can I use URL Rewrite to take everything called 111.222.333.444/folder1 and have it show domain1.com/folder1 in the address bar?
I've found several threads out here showing how to do domain rewrites but they don't seem to apply to my exact situation. Thanks for the help.
WebMatrix 3 does not support IIS Express 10
Hi,
I am facing a problem while trying to install WebMatrix 3 over Windows 10 after installing Visual Studio 2015 (IIS Express 10) due to the below mentioned error.
Although it worth mention that I tried to install the older version of IIS on Windows 10; but it failed due to a newer version already installed (IIS Express 10).
Can you please specify what type of logs is needed to investigate the problem, and how can I overcome this message (screenshots in the below url).
URL: https://onedrive.live.com/redir?resid=b0a996d2349d8f9b!275&authkey=!AMRzIKq3jhFPdho&ithint=folder%2c
Error 1: This version of Microsoft WebMatrix requires IIS 7.5 Express or IIS 8.0 Express to be installed. Please install it and then rerun the setup.
Error 2: WebMatrix 3 does not support IIS Express 10. You will not be able to run WebMatrix 3 on the same machine with any version of Visual Studio 2015 that includes IIS Express 10.
Thanks in advance,
Best Regards
Hesham Aboul-Fetouh
Problem when installing PHP through WPI
I've tried to install PHP 5.5.30 and this seems to install fine, but WPI is unable to install "Microsoft Drivers 3.2 for PHP v5.4 for SQL Server in IIS".
.NET 3.5 and 4.5 are installed on the server already if this matters.
The error that is logged is as follows:
DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9842185 DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9842185 responded with 302 DownloadManager Information: 0 : Response headers: HTTP/1.1 302 Moved Temporarily Cache-Control: no-cache Pragma: no-cache Content-Type: text/html; charset=utf-8 Expires: -1 Location: https://www.microsoft.com/web/webpi/5.0/webproductlist.xml Server: Microsoft-IIS/8.0 X-AspNetMvc-Version: 4.0 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Content-Length: 175 Date: Wed, 24 Feb 2016 17:01:35 GMT Connection: keep-alive DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/webproductlist.xml responded with 304 DownloadManager Information: 0 : Response headers: HTTP/1.1 304 Not Modified Content-Type: text/xml Last-Modified: Tue, 23 Feb 2016 17:56:20 GMT ETag: "37845280636ed11:0" Cache-Control: max-age=545 Date: Wed, 24 Feb 2016 17:01:35 GMT Connection: keep-alive Strict-Transport-Security: max-age=31536000 X-CCC: NL X-CID: 2 DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\-94260733.xml.temp DownloadManager Warning: 0 : Could not resolve keyword ID 5nine DownloadManager Warning: 0 : Could not resolve keyword ID Security DownloadManager Warning: 0 : Could not resolve keyword ID 5nine DownloadManager Warning: 0 : Could not resolve keyword ID Security DownloadManager Warning: 0 : Could not resolve keyword ID Backup DownloadManager Warning: 0 : Could not resolve keyword ID Portal DownloadManager Warning: 0 : Could not resolve keyword ID Backup DownloadManager Warning: 0 : Could not resolve keyword ID Portal DownloadManager Warning: 0 : Could not resolve keyword ID Backup DownloadManager Warning: 0 : Could not resolve keyword ID Resource Provider DownloadManager Warning: 0 : Could not resolve keyword ID VMWare DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert DownloadManager Warning: 0 : Could not resolve keyword ID VMWare DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert DownloadManager Warning: 0 : Could not resolve keyword ID VMWare DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert DownloadManager Warning: 0 : Could not resolve keyword ID Usage DownloadManager Warning: 0 : Could not resolve keyword ID Billing DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert DownloadManager Warning: 0 : Could not resolve keyword ID Usage DownloadManager Warning: 0 : Could not resolve keyword ID Billing DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert DownloadManager Warning: 0 : Could not resolve keyword ID Usage DownloadManager Warning: 0 : Could not resolve keyword ID Billing DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert DownloadManager Warning: 0 : Could not resolve keyword ID Usage DownloadManager Warning: 0 : Could not resolve keyword ID Billing DownloadManager Warning: 0 : Could not resolve keyword ID Hybrid Cloud DownloadManager Warning: 0 : Could not resolve keyword ID Windows Azure Pack DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Assert DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Cruiser DownloadManager Warning: 0 : Could not resolve keyword ID Billing DownloadManager Warning: 0 : Could not resolve keyword ID Showback DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Cruiser DownloadManager Warning: 0 : Could not resolve keyword ID Billing DownloadManager Warning: 0 : Could not resolve keyword ID Showback DownloadManager Warning: 0 : Could not resolve keyword ID Terawe DownloadManager Information: 0 : Filtering by current OS DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml responded with 304 DownloadManager Information: 0 : Response headers: HTTP/1.1 304 Not Modified Content-Type: text/xml Last-Modified: Tue, 23 Feb 2016 15:23:50 GMT ETag: "7b5b57324e6ed11:0" Cache-Control: max-age=583 Date: Wed, 24 Feb 2016 17:01:37 GMT Connection: keep-alive Strict-Transport-Security: max-age=31536000 X-CCC: NL X-CID: 2 DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\472191766.xml.temp DownloadManager Information: 0 : Filtering by current OS DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml' after preprocessing, location on disk: 'C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\preprocessor\472191766.xml' DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml responded with 304 DownloadManager Information: 0 : Response headers: HTTP/1.1 304 Not Modified Content-Type: text/xml Last-Modified: Thu, 08 May 2014 18:42:31 GMT ETag: "26a51545ed6acf1:0" Cache-Control: max-age=602 Date: Wed, 24 Feb 2016 17:01:39 GMT Connection: keep-alive Strict-Transport-Security: max-age=31536000 X-CCC: NL X-CID: 2 DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\-376748769.xml.temp DownloadManager Information: 0 : Filtering by current OS DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml' after preprocessing, location on disk: 'C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-376748769.xml' DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml responded with 304 DownloadManager Information: 0 : Response headers: HTTP/1.1 304 Not Modified Content-Type: text/xml Last-Modified: Wed, 09 Dec 2015 19:05:52 GMT ETag: "9fc99b9fb432d11:0" Cache-Control: max-age=678 Date: Wed, 24 Feb 2016 17:01:39 GMT Connection: keep-alive Strict-Transport-Security: max-age=31536000 X-CCC: NL X-CID: 2 DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\750739012.xml.temp DownloadManager Information: 0 : Filtering by current OS DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\preprocessor\750739012.xml' DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml responded with 304 DownloadManager Information: 0 : Response headers: HTTP/1.1 304 Not Modified Content-Type: text/xml Last-Modified: Thu, 08 May 2014 18:42:32 GMT ETag: "8285645ed6acf1:0" Cache-Control: max-age=625 Date: Wed, 24 Feb 2016 17:01:39 GMT Connection: keep-alive Strict-Transport-Security: max-age=31536000 X-CCC: NL X-CID: 2 DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\528376018.xml.temp DownloadManager Information: 0 : Filtering by current OS DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml' after preprocessing, location on disk: 'C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\preprocessor\528376018.xml' DownloadManager Information: 0 : Sucessfully loaded the feed 'https://go.microsoft.com/?linkid=9842185' after preprocessing, location on disk: 'C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-94260733.xml' DownloadManager Information: 0 : Getting ratings file from http://go.microsoft.com/?linkid=9752395 DownloadManager Information: 0 : http://go.microsoft.com/?linkid=9752395 responded with 302 DownloadManager Information: 0 : Response headers: HTTP/1.1 302 Moved Temporarily Cache-Control: no-cache Pragma: no-cache Content-Type: text/html; charset=utf-8 Expires: -1 Location: http://www.microsoft.com/web/handlers/WebPI.ashx?command=getatomfeedwithavgratingquery Server: Microsoft-IIS/8.0 X-AspNetMvc-Version: 4.0 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Content-Length: 203 Date: Wed, 24 Feb 2016 17:01:39 GMT Connection: keep-alive DownloadManager Information: 0 : Content-Encoding header: 'gzip' DownloadManager Information: 0 : Number of bytes downloaded over the internet: '24389' DownloadManager Information: 0 : Number of bytes after possible decompression: '81009' DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150 DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed. DownloadManager Information: 0 : Ratings file loaded successfully DownloadManager Error: 0 : WebClient download error. Uri: http://silverlight.microsoft.com/Assets/vs-webpi.png, Error: System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.WebClient.DownloadFile(Uri address, String fileName) at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath) DownloadManager Information: 0 : http://silverlight.microsoft.com/Assets/vs-webpi.png responded with 404 DownloadManager Information: 0 : Response headers: HTTP/1.1 404 Not Found Content-Type: text/html Date: Wed, 24 Feb 2016 17:01:43 GMT Server: ECAcc (lhr/D22C) Content-Length: 345 DownloadManager Error: 0 : WinInet download error. Uri: http://silverlight.microsoft.com/Assets/vs-webpi.png, Error: System.Net.WebException: Url 'http://silverlight.microsoft.com/Assets/vs-webpi.png' returned HTTP status code: 404 at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile) at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName) at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath) DownloadManager Error: 0 : WebClient download error. Uri: https://www.microsoft.com/web/handlers/webpi.ashx?command=getimage&guid=10af80e0-52ae-4ae1-aa9b-4a73740ebebb, Error: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.WebClient.DownloadFile(Uri address, String fileName) at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath) DownloadManager Information: 0 : Number of bytes downloaded over the internet: '13285' DownloadManager Information: 0 : Number of bytes after possible decompression: '13285' DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150 DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed. DownloadManager Information: 0 : Adding product PHP 5.5.30 (PHP55) to cart DownloadManager Information: 0 : Adding product Microsoft Drivers 3.2 for PHP v5.5 for SQL Server in IIS (SQLDriverPHP55IIS) to cart DownloadManager Information: 0 : Dependent product FastCGIIIS6 does not apply for current OS / configuration. Not adding DownloadManager Information: 0 : Dependent product IIS60 does not apply for current OS / configuration. Not adding DownloadManager Information: 0 : Dependent product VC12Redist does not apply for current OS / configuration. Not adding DownloadManager Information: 0 : Dependent product FastCGIIIS6 does not apply for current OS / configuration. Not adding DownloadManager Information: 0 : Dependent product IIS60 does not apply for current OS / configuration. Not adding DownloadManager Information: 0 : Dependent product VC12Redist does not apply for current OS / configuration. Not adding DownloadManager Information: 0 : Dependent product FastCGIIIS6 does not apply for current OS / configuration. Not adding DownloadManager Information: 0 : Dependent product IIS60 does not apply for current OS / configuration. Not adding DownloadManager Information: 0 : Dependent product VC12Redist does not apply for current OS / configuration. Not adding DownloadManager Information: 0 : Dependent product FastCGIIIS6 does not apply for current OS / configuration. Not adding DownloadManager Information: 0 : Dependent product IIS60 does not apply for current OS / configuration. Not adding DownloadManager Information: 0 : Dependent product VC12Redist does not apply for current OS / configuration. Not adding DownloadManager Information: 0 : Adding product 'SQLDriverPHP55IIS' DownloadManager Information: 0 : Adding product 'PHP55' DownloadManager Information: 0 : Adding dependency product 'MSODBC11 DownloadManager Information: 0 : Setting current install to 1 DownloadManager Information: 0 : Starting install sequence DownloadManager Information: 0 : Downloading file 'http://go.microsoft.com/fwlink/?LinkID=533081' to: C:\Users\Administrator\AppData\Local\Temp\2\tmpE29A.tmp DownloadManager Information: 0 : http://go.microsoft.com/fwlink/?LinkID=533081 responded with 302 DownloadManager Information: 0 : Response headers: HTTP/1.1 302 Moved Temporarily Cache-Control: no-cache Pragma: no-cache Expires: -1 Location: http://download.microsoft.com/download/5/7/2/57249A3A-19D6-4901-ACCE-80924ABEB267/1033/amd64/msodbcsql.msi Server: Microsoft-IIS/8.5 X-AspNetMvc-Version: 5.2 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Content-Length: 0 Date: Wed, 24 Feb 2016 17:05:43 GMT Connection: keep-alive DownloadManager Information: 0 : Content-disposition header: attachment DownloadManager Information: 0 : Number of bytes downloaded over the internet: '3858432' DownloadManager Information: 0 : Number of bytes after possible decompression: '3858432' DownloadManager Information: 0 : File 'C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\installers\MSODBC11\08A089BA4D1F22BB46A4553E20095A271C230D2E\msodbcsql.msi' already exists, deleting old copy of the file DownloadManager Information: 0 : Moving downloaded file 'C:\Users\Administrator\AppData\Local\Temp\2\tmpE29A.tmp' to: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\installers\MSODBC11\08A089BA4D1F22BB46A4553E20095A271C230D2E\msodbcsql.msi DownloadManager Error: 0 : Signature verification failed on downloaded file. URL: http://go.microsoft.com/fwlink/?LinkID=533081. File location: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\installers\MSODBC11\08A089BA4D1F22BB46A4553E20095A271C230D2E\msodbcsql.msi. File size: 3768 kb DownloadManager Information: 0 : Product Microsoft® ODBC Driver 11 for SQL Server® done install completed DownloadManager Information: 0 : Increasing current install to 2 DownloadManager Information: 0 : Using cached file at C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\installers\PHP55\7BE492B612B64710FE59F06C39D1454CC4EC504E\php-5.5.30-nts-Win32-VC11-x86.zip instead of downloading from http://sourceforge.net/projects/phpinstallermsi/files/zip/php-5.5.30-nts-Win32-VC11-x86.zip/download DownloadManager Warning: 0 : Dependency failed for product 'Microsoft Drivers 3.2 for PHP v5.5 for SQL Server in IIS'. Skipping download. DownloadManager Information: 0 : Product Microsoft Drivers 3.2 for PHP v5.5 for SQL Server in IIS had a dependency fail. Increasing install product to 3 DownloadManager Information: 0 : Starting EXE command for product 'PHP 5.5.30'. Commandline is: 'C:\Windows\system32\setx.exe Path "C:\Program Files (x86)\PHP\v5.5;C:\Windows\system32\inetsrv;C:\Program Files (x86)\PHP\v5.5;C:\Windows\system32\inetsrv;C:\Program Files (x86)\PHP\v5.4;C:\Windows\system32\inetsrv;C:\Program Files (x86)\PHP\v5.5;C:\Windows\system32\inetsrv;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\php;;" -M'. Process Id: 4020 DownloadManager Information: 0 : Install exit code for product 'PHP 5.5.30' is '0' DownloadManager Information: 0 : Starting EXE command for product 'PHP 5.5.30'. Commandline is: 'C:\Windows\system32\cmd.exe /C copy "C:\Program Files\runphp\runphp.cmd" "C:\Program Files (x86)\PHP\v5.5\runphp.cmd"'. Process Id: 872 DownloadManager Information: 0 : Install exit code for product 'PHP 5.5.30' is '0' DownloadManager Information: 0 : Install return code for product 'PHP 5.5.30' is Success DownloadManager Information: 0 : Product PHP 5.5.30 done install completed DownloadManager Information: 0 : Increasing current install to 4 DownloadManager Information: 0 : Product: MSODBC11, Install Status: InstallCompleted-Failure, Install Time: 00:00:00 DownloadManager Information: 0 : Product: PHP55, Install Status: InstallCompleted-Success, Install Time: 00:00:01.8613249 DownloadManager Information: 0 : Product: SQLDriverPHP55IIS, Install Status: DependencyFailed-None, Install Time: 00:00:00
How do I fix this, and is this the reason why PHP isn't working on my server? Could there be other reasons?
Many Thanks
Will enabling the RequestMonitorModule causes the IIS Requests performance issues?
Hi IIS Experts,
To view the currently executing requests in a Worker Process, I have to enable the RequestMonitor module in IIS.
Before enabling the RequestMonitor module in IIS on production thinking on
"Will enabling impacts IIS requests and how resources like CPU, Memory and IIS requests"
I could not find documents to read on this. Please add your experiences or inputs.
ARR on server 2012 R2 And TLS1.2
We have been working on our network environment to allow only tls 1.2 connections for PCI compliance, the problem we initially ran into was the inability for sql server 2012 to communicate through the tls 1.2 , Microsoft released some hot fixes and CU update to the sql problem and now that works, the last problem I am running into is as soon as I disable 1.0 on the ARR sever, our websites fail to load. In researching this issue I saw a post that stated ARR wont route over tls 1.2 only tls 1.0. but this was for windows server 2008 R2 not sure if the same issue is on the windows server 2012 R2, If this is correct then I was wondering if there was a fix anyone was aware of?
Creating new website
Hi there,
After installing IIS 10 I wanted to add new website but the problem is that I can't select any port and just can't add it. Its happening on IIS 8 too. Please can someone tell me how to resolve this?
HTTPS and non-WWW problem
Hello,
I have set up IIS 8 and a website, and bind the web site to:
- http://domain.biz - 80 (works well)
- http://www.domain.biz - 80 (works well)
- https://www.domain.biz - 443 (works well)
- https://domain.biz 443 - non-www and it returns "This site can’t be reached ncms.biz refused to connect.
ERR_CONNECTION_REFUSED"
Any suggestions are welcome. Also is it possible to redirect from non-www https to www https at least?
(we have tried to turn off Firewall, there is no antivirus, we have tried different SSL Certificates for www and non-www, and we have tried
different IP addresses )
Thank you all.
use ApplicationPoolIdentity to connect to SQL
Hi All,
I have a WCF web service hosted in IIS 7 (or maybe 7.5, whichever comes with Windows server 2008 R2) using DefaultAppPool running under ApplicationPoolIdentity per Microsoft's recommendation. The web service needs to call a stored procedure to insert data to a db. The web server is on a different VM than the database server. The db server is running SQL 2008 R2. Both VMs run Windows server 2008 R2. In addition, I created an AD group and add the web server VM as member of the group, and created a SQL login for the AD group.
Here's the connection string in web.config:
Application Name=somewebservice;Server=somewebserver;Integrated Security=SSPI;Database=somedatabase;Connection Timeout=60"
When the web service tries to connect to db, it encounters this exception:
Exception in InsertToDb()System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
However, if I change the application pool identity to Network Service, it works fine. But since MS recommends ApplicationPoolIdentity account over Network Service, my boss wants us to look into how to make it work in our architecture.According to this article: http://learn.iis.net/page.aspx/624/application-pool-identities/, when accessing network resource, both Network Service and ApplicationPoolIdentity use machine account, so why in my case Network Service works but not ApplicationPoolIdentity?
What are the differences between IIS application pool Idle Time-out and IIS application pool Recycling interval and web.config authntication time out
I am working on an asp.net mvc-5 web application hosted inside iis-8 & windows 2012 R2. now we are using an asp.net form authentication , which is integrate with our active directory. current i have the following setting for idle time-out, recycling interval& form authentication time out:-
-Recycling interval:-
Image may be NSFW.
Clik here to view.
-Idle Time-out
Image may be NSFW.
Clik here to view.
-web.config:-
<httpRuntime targetFramework="4.5" /><authentication mode="Forms"><forms loginUrl="~/Account/Login" timeout="40320" /></authentication>
so i have these 3 questions, regarding the above settings:-
from my understanding is that recycling interval will mainly recycle the application pool after the specified period (57600 minutes in my case), so login users will need to login again after the recycle, regardless of what is being specified inside the idle-timeout. while the idle-timeout will logout the user after the specific time (43200) in case the user did not have any interaction with the application , regardless of the recycling time.. but not sure what will the timeout inside the web.config do ?
in-case i specify the idle-timeout and the recycling interval to be zero (to never timeout). what will be the drawbacks on the hosting server?will there be any overhead on the server, or these setting only affects when the browser cookies should expire? and in all ways the server will not be affected if i minimize or maximize the idle-timeout and the recycling interval?
- let say i am hosing some background jobs inside IIS using hangfire or quartz.net or i define timer job inside the Global.asax file, so which value i need change to force my application pool to keep working? currently i am managing this by defining a timer task (using windows tasks scheduler to ping the home page each 5 minutes)..