iis-7

401 Unauthorized error with WebDeploy using non-administrator user

拈花ヽ惹草 提交于 2019-12-30 03:00:06
问题 <TLDR> Is it at all possible to use ms web deploy to deploy a web application to a remote host from the command line with a non-administrator user? </TLDR> I have followed every point in Microsoft's guide for Installing and Configuring Web Deploy. My goal is to be able to do a remote web deploy with an IIS user/non-administrator user. After doing all the steps as described under Install and configure web deploy for non-administrator deployments , I get the following log messages (indicating

Dynamic compression doesn't seem to be used in IIS 7.5

一曲冷凌霜 提交于 2019-12-30 02:45:07
问题 I currently have both static and dynamic compression configured. The static compression is working, however the dynamic compression, when checked through YSlow and Fiddler, is not working. In my applicationHost.config, I have the following settings: <urlCompression doStaticCompression="true" doDynamicCompression="true" dynamicCompressionBeforeCache="true" /> <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files" maxDiskSpaceUsage="100" minFileSizeForComp="256">

Classic ASP Sending errors to browser does not work on IIS7 for remote connections

谁说胖子不能爱 提交于 2019-12-30 02:44:07
问题 I can’t get detailed error reporting for IIS7 for ASP pages on a remote browser connection. However, when I run the page locally on the server I do see a detailed error message. I have enabled Send Errors To Browser but IIS keeps sending an internal server error. I have unchecked show friendly HTTP error messages on IE. Does anyone know how to enable error messages to be sent to a remote browser? 回答1: If "Send Errors To Browser" is not working set also this: Error Pages -> 500 -> Edit Feature

accessing file of another drive

浪子不回头ぞ 提交于 2019-12-29 09:41:38
问题 previously I could download wav file in php and IIS. But now file is not downloadable.I don't know what is going wrong . After installing and changeing php 5.3 to php 5.4 with php manager in IIS, the file is not able to downloaded. I have link to file to download it which looks like this: <a href="download.php?voice='$filename'"> Download </a> download.php scripts <?php $filename = $_GET['voice']; $dir = 'd:/temp_file/voice/'; if(is_file($dir.$filename)) { header('Content-type: audio/wav');

Relative Links with Extension-less URLs

ぃ、小莉子 提交于 2019-12-29 09:17:06
问题 I have an ASP.NET 4.0 application that implements URL routing. This gives me page URLs with no extension (e.g. /Articles/{title}) Some of these pages contain relative links. When I test the site from Visual Studio, relative links point to /Articles/{title}/mylink. However, when I deploy my site to a shared hosting account, the same relative link points to /Articles/mylink. You can see the problem at http://blackbeltcoder.com/Articles/asp/creating-website-thumbnails-in-asp-net. The link to an

Enable GZIP Compression error: STATIC_COMPRESSION_NOT_SUCCESS

心已入冬 提交于 2019-12-29 07:55:10
问题 I'm trying to enable GZIP compression on IIS 7.5. I think all the settings are okay. In ApplicationHost.config I have this httpCompression section: <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files" minFileSizeForComp="0"> <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" /> <staticTypes> <add mimeType="text/*" enabled="true" /> <add mimeType="message/*" enabled="true" /> <add mimeType="application/x-javascript" enabled="true" /> <add mimeType=

Powershell command to set IIS logging settings

血红的双手。 提交于 2019-12-29 06:18:33
问题 I'm creating a powershell script so I can create website hosting with a single command using the IIS Powershell Management Console. I have the commands I need to create the IIS Site and add bindings for the domain names etc... The one piece of the puzzle I'm missing though is how to change the default Logging directory from %SystemDrive%\inetpub\logs\LogFiles to my own folder that's not on the boot drive of the server. After extensive searching I expected to find a command along the lines of

Powershell command to set IIS logging settings

非 Y 不嫁゛ 提交于 2019-12-29 06:17:05
问题 I'm creating a powershell script so I can create website hosting with a single command using the IIS Powershell Management Console. I have the commands I need to create the IIS Site and add bindings for the domain names etc... The one piece of the puzzle I'm missing though is how to change the default Logging directory from %SystemDrive%\inetpub\logs\LogFiles to my own folder that's not on the boot drive of the server. After extensive searching I expected to find a command along the lines of

Global.asax not firing for .aspx pages in IIS7

老子叫甜甜 提交于 2019-12-29 05:34:12
问题 We run a link redirection service which can handle links thrown at it in various formats. One of these formats is to append the destination URL to the end of the link, for example http://url.fwd/abcd/http://www.mydomain.com/page.aspx This was working on a Windows Server 2003 / IIS6 box for the last two years, but now we're trying to move to a Windows Server 2008 / IIS7 setup and its not working anymore. I've read about the problem with colons in the URL but it doesn't affect pages not ending

What is required for an IIS site to send error details to the browser?

痞子三分冷 提交于 2019-12-29 05:22:28
问题 I am receiving a Server Error on an ASP Classic site running on IIS 7.5. I have "Send Errors To Browser" set to True , however I still receive the following error screen: 回答1: IIS is hijacking your classic ASP app's response. In your web.config file ensure that the following is configured: <configuration> <system.webServer> <httpErrors existingResponse="PassThrough"/> </system.webServer> </configuration> Also make sure that you've enabled "Send Errors To Browser" in the ASP configuration