Quantcast
Channel: All Forums
Viewing all 26310 articles
Browse latest View live

replace path during msdeploy website copy

$
0
0

Hi All: I'm trying to get msdeploy 3.6 to transform a destination path on the fly to copy a website from one server to another. My syntax looks like:

msdeploy -verb:sync -source:appHostConfig="localsite" -dest:appHostConfig="remote",computername=192.168.1.34,username=administrator,password=######### -enableLink:AppPoolExtension -verbose -replace:objectname=metaproperty,scopeattributename=name,scopeAttributeValue=Path,targetAttributename=value,match=^D:,replace=C: -allowUntrusted=true -whatif > c:\temp\msdeploy.log

I receive "Error: Access to the path 'd:\websites' is denied."

The destination server has its root directory at "C:\websites" while the local server has "D:\websites".

I've tried a number of matches:

  • match=^D:,replace=C:
  • match=D:,replace=C:
  • match="D:",replace="C:"
  • match="D:\\websites\\folder",replace="C:\websites\folder"

but I get the same error every time.

It feels like I am very close but I can't resolve this error.


Rewrite URL to subfolder without change address bar

$
0
0

Hi,
I found many articles about this subject, but nothing works for me.

I'm using IIS 8.5 under Windows Server 2012 R2.
I have an application installed in the virtual directory "myapp" under root of IIS. I would like that when the user types https://www.mysite.com/login.aspx iis shows the page https://www.mysite.com/myapp/login.aspxwithout changing url in address bar (user continues to see https://www.mysite.com/login.aspx).

It's possible?

Thanks to all in advance

Ivan

IIS7 Machine Key

$
0
0

I am working on security compliance and have a specific technical directive that is telling me I need to choose SHA2 for the machine key in IIS7.  The directive instructions are:

1. Open the IIS Manager
2. Click the site name under review
3. Double-click the Machine Key in the website Home Pane
4. Ensure "SHA2" is selected for the Validation method.

I do not have SHA2 available to choose in the drop down box.  I have AES, MD5, SHA1 and 3DES. Is there a way to get SHA2 in the drop down box?

Thanks!

How can I use msdeploy from the DMZ into the internal network using one ID

$
0
0

I am following the instructions on several forums...including the following from MS:

  • Create a separate user group MSDepSvcUsers on remote computer.
  • Create an local account A on both local & remote computer. (Created "CompanyDev")
  • Add A to MSDepSvcUsers on remote computer.
  • Use account A to publish, this will allow you to publish without needing to use built-in admin account.

I made user NETWORK SERVICE has access to "C:\Windows\System32\Inetsrv\Config". I also followed instructions from:

https://johan.driessen.se/posts/Deploying-to-remote-IIS-with-MsDeploy

To Create IIS Manager User, CompanyDev, and gave permissions to LOCAL SERVICE as WMSVC runs as that to the site publishing rights. I am still getting an ERROR_USER_NOT_AUTHORIZED_FOR_CONTENTPATH when running my command.  If I drop the user into the admin group, it works, but I am not allowed to leave it that way.  To give some context.  We are building a Jenkins platform, with the master in the DMZ, access to internet for plugins and upgrades, and the deploy to server being internal.  The DMZ Jenkins master, has no domain controller. We also have a few servers we want to deploy to, so we want to use the same CompanyDev user for all our development deployments. As far as I can see Management Service Delegations look good, ie defaults.  ContentPath and iisApp are both under the same provider rule, so without deploying I am running a verb:dump using the contentPath provider. Figured if I can do a dump using that provider, then iisApp should work too.  For that Actions is "*". Path type is Path Prefix, Path is {userScope} and it is set to run as current User.   Please help.

Authentication required for an external website ONLY from internal network devices

$
0
0

First off, I'm fairly rusty when it comes to IIS.  It's been a few years since I've worked with it.

Secondly, I have an issue where the internal network domain and the external domain of the website are the same (the external domain is hosted outside).  The DNS has pointers to WWW and WEB which are external IPs.  When users try to access www.domain.com, there is no problem. Everything works fine.  However, when they try to access web.domain.com, they are served with an Authentication Required dialog box (the site indicates that it is Digest).  When they try to access either site from outside of the internal network, everything is fine.  No dialogs.

This tells me that there is some type of authentication requirement on the internal Windows 2012 R2 server.  IIS is running, but the default site is not started (they don't use it).

My question:  What is causing this authentication required?  Since it only happens from computers/devices on the internal network, it has to be something with the internal server, correct?  What should I check?  Digest is NOT installed on the internal server.  What should I be looking for?

Or could it be on the website host's end?

Thanks for any help.

502 - Web server received an invalid response while acting as a gateway or proxy server.

$
0
0

I have OS Windows Server 2008 Standard SP2 with IIS 7.0 on which portal application is setup which has a Url Rewrite rules, as per the Web Pen Test report we have to disable weak ciphers and protocols so we disabled SSL3.0 and TLS1.0 and installed the support patch and enabled registry for TLS 1.1 and TLS 1.2. But immediately after this steps I am getting error "502 - Web server received an invalid response while acting as a gateway or proxy server." while communicating with rest service. 

We also did registry settings as per the post https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-a-default-secure-protocols-in and Enable the SchUseStrongCrypto property in the Windows registry to use as the default protocols: TLS 1.1 and TLS 1.2 for below registry keys,

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NetFramework\v4.0.30319

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319

But still I am getting same error. What else I am missing or is Windows Server 2008 standard SP2 and IIS 7.0 do not completely support TLS1.1 and TLS1.2. I feel this is something related to ARR and WinHttp but I am not getting any thing from web, any help on this is really an appreciable.

Thanks,

Prohharish

Primary Server Failed to run method 'Microsoft.Web.Farm.GetInstalledProductsRemoteMethod'

$
0
0

Hello 

      I created a Server Farms. I have 2 servers, IIS1 and IIS2, both w2k8r2 

      Add IIS1 as primary, IIS2 as secondary, both ready for LB areNO

     

      Steps to reproduce:

      Install webplatforminstaller_3_10_amd64_en-US.msi and WebFarm2_x64.msi on IIS1

      Install webplatforminstaller_3_10_amd64_en-US.msi and WebFarm2_x64.msi on IIS2

      Most Recent Error below:

      Primary Server Failed to run method 'Microsoft.Web.Farm.GetInstalledProductsRem on server '192.168.80.128'.

      Exception in response stream.

      Invalid URL : Unable to determine URL format

      I don't know what can cause such problems, any help appreciated.

logparser result: "The description for Event ID 5 in Source "Microsoft-Windows-Sysmon" cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer"

$
0
0

I use logparser to save sysmon event log into txt file.  Got these two "not found" error for eventcatogeryname and message (or data? the last (2) fields)

In event viewer GUI, the XML format for the event is something like following: 

++++++++++++++++++++++++
-
-

  5
  3
  4
  5
  0
  0x8000000000000000

  9676


  Microsoft-Windows-Sysmon/Operational
  my_source.ad.local


-
  2018-03-15 23:40:44.810
  {52944BE0-047C-5AAB-0000-0010ECD4C000}
  1716
  C:\Windows\System32\wbem\WMIC.exe

-
  Process terminated: UtcTime: 2018-03-15 23:40:44.810 ProcessGuid: {52944BE0-047C-5AAB-0000-0010ECD4C000} ProcessId: 1716 Image: C:\Windows\System32\wbem\WMIC.exe
  Information
  Process terminated (rule: ProcessTerminate)
  Info

++++++++++++++++++++++++++++++

the logparser result saved in txt format is as following: 

++++++++++++++++++++++
EventLog,RecordNumber,TimeGenerated,TimeWritten,EventID,EventType,EventTypeName,EventCategory,EventCategoryName,SourceName,Strings,ComputerName,SID,Message,Data C:\sysmon\ForwardedEvents.evtx,1925,2018-03-14 05:00:37,2018-03-14 05:00:37,5,4,Information event,5,The name for category 5 in Source "Microsoft-Windows-Sysmon" cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer,Microsoft-Windows-Sysmon,2018-03-14 05:00:37.140|{52944BE0-AC75-5AA8-0000-00105F982300}|3536|C:\Windows\System32\wbem\WMIC.exe, my_source.ad.local,S-1-5-18,The description for Event ID 5 in Source "Microsoft-Windows-Sysmon" cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer,
++++++++++++++++++++++

(Please skip the timestamps in the events, I picked an event of the same type, basically every event has the same format.)

I did some search online but did not find the right solution. Appreciate some help. thanks


PHP Manager for IIS [Installer Fail]

$
0
0

Hello,

I use Windows Server 2012 R2 Standard

and i have NetFramework 3.5 and C++2015 installed

*All windows update is installed too

I'm installing these services:

X-Windows Cache Extension 2.0 (x64) for PHP 7.1
X-Microsoft Drivers 4.14 (x64) for PHP v7.1 for SQL Server in IIS
X-PHP 7.1.7 (x64)
X-PHP Manager for IIS

All are OK, but Php Manager for IIS, I get this error

"We're Sorry.The following products have failed to install"

Php manager for IIS

This product did not install sucessfully:Downloaded file failed signature verification and may have been tampered with 

Web Platform Installer Log

Logs:

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://webpifeed.blob.core.windows.net/webpifeed/WebProductList.xml
Server: Microsoft-IIS/8.5
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Content-Length: 185
Date: Thu, 15 Mar 2018 20:13:49 GMT
Connection: keep-alive
Strict-Transport-Security: max-age=31536000 ; includeSubDomains


DownloadManager Information: 0 : https://webpifeed.blob.core.windows.net/webpifeed/WebProductList.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 The condition specified using HTTP conditional header(s) is not met.
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 88753d4f-601e-0059-1a9a-bc3def000000
x-ms-version: 2009-09-19
Date: Thu, 15 Mar 2018 20:13:48 GMT


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://aka.ms/webapplicationlist
DownloadManager Information: 0 : https://aka.ms/webapplicationlist responded with 301
DownloadManager Information: 0 : Response headers:
HTTP/1.1 301 Moved Permanently
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Location: https://webgallery.microsoft.com/feed/webapplicationlist.xml
Server: Microsoft-IIS/8.5
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Content-Length: 177
Date: Thu, 15 Mar 2018 20:13:51 GMT
Connection: keep-alive
Strict-Transport-Security: max-age=31536000 ; includeSubDomains


DownloadManager Information: 0 : https://webgallery.microsoft.com/feed/webapplicationlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
ETag: "0e1ba712b1d31:0"
Date: Thu, 15 Mar 2018 20:13:51 GMT


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\1138067037.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://aka.ms/webapplicationlist' after preprocessing, location on disk: 'C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\preprocessor\1138067037.xml'
DownloadManager Information: 0 : Loading product xml from: https://webpifeed.blob.core.windows.net/webpifeed/MediaProductList.xml
DownloadManager Information: 0 : https://webpifeed.blob.core.windows.net/webpifeed/MediaProductList.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 The condition specified using HTTP conditional header(s) is not met.
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 88753fe8-601e-0059-519a-bc3def000000
x-ms-version: 2009-09-19
Date: Thu, 15 Mar 2018 20:13:51 GMT


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\1733029559.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://webpifeed.blob.core.windows.net/webpifeed/MediaProductList.xml' after preprocessing, location on disk: 'C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\preprocessor\1733029559.xml'
DownloadManager Information: 0 : Loading product xml from: https://webpifeed.blob.core.windows.net/webpifeed/ToolsProductList.xml
DownloadManager Information: 0 : https://webpifeed.blob.core.windows.net/webpifeed/ToolsProductList.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 The condition specified using HTTP conditional header(s) is not met.
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 88753ff1-601e-0059-5a9a-bc3def000000
x-ms-version: 2009-09-19
Date: Thu, 15 Mar 2018 20:13:51 GMT


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\-1148081224.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://webpifeed.blob.core.windows.net/webpifeed/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1148081224.xml'
DownloadManager Information: 0 : Loading product xml from: https://webpifeed.blob.core.windows.net/webpifeed/EnterpriseProductList.xml
DownloadManager Information: 0 : https://webpifeed.blob.core.windows.net/webpifeed/EnterpriseProductList.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 The condition specified using HTTP conditional header(s) is not met.
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 88753ffb-601e-0059-649a-bc3def000000
x-ms-version: 2009-09-19
Date: Thu, 15 Mar 2018 20:13:51 GMT


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\2036870298.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://webpifeed.blob.core.windows.net/webpifeed/EnterpriseProductList.xml' after preprocessing, location on disk: 'C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\preprocessor\2036870298.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.5
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Content-Length: 203
Date: Thu, 15 Mar 2018 20:13:52 GMT
Connection: keep-alive


DownloadManager Information: 0 : Number of bytes downloaded over the internet: '0'
DownloadManager Information: 0 : Number of bytes after possible decompression: '0'
DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150
DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed.
DownloadManager Error: 0 : Error loading rating files: System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Microsoft.Web.PlatformInstaller.ProductServiceImpl.GetAppRatings()
DownloadManager Information: 0 : Adding product PHP Manager for IIS (PHPManager) to cart
DownloadManager Information: 0 : Adding product 'PHPManager'
DownloadManager Information: 0 : Setting current install to 1
DownloadManager Information: 0 : Starting install sequence
DownloadManager Information: 0 : Downloading file 'http://phpmanager.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=253209' to: C:\Users\Administrator\AppData\Local\Temp\2\tmp5CF3.tmp
DownloadManager Information: 0 : http://phpmanager.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=253209 responded with 301
DownloadManager Information: 0 : Response headers:
HTTP/1.1 301 Moved Permanently
Content-Type: text/html; charset=UTF-8
Location: https://phpmanager.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=253209
Server: Microsoft-IIS/10.0
Date: Thu, 15 Mar 2018 20:14:31 GMT
Content-Length: 0


DownloadManager Information: 0 : https://phpmanager.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=253209 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Redirect
Content-Length: 165
Content-Type: text/html; charset=UTF-8
Location: https://archive.codeplex.com/?p=phpmanager
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET
Date: Thu, 15 Mar 2018 20:14:31 GMT


DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '667'
DownloadManager Information: 0 : Number of bytes after possible decompression: '1408'
DownloadManager Information: 0 : File 'C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\installers\PHPManager\74A45CC210DC63534738EDF67CAA1E342802A0F5\-p=phpmanager' already exists, deleting old copy of the file
DownloadManager Information: 0 : Moving downloaded file 'C:\Users\Administrator\AppData\Local\Temp\2\tmp5CF3.tmp' to: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\installers\PHPManager\74A45CC210DC63534738EDF67CAA1E342802A0F5\-p=phpmanager
DownloadManager Error: 0 : Signature verification failed on downloaded file. URL: http://phpmanager.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=253209. File location: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\installers\PHPManager\74A45CC210DC63534738EDF67CAA1E342802A0F5\-p=phpmanager. File size: 1 kb
DownloadManager Information: 0 : Product PHP Manager for IIS done install completed
DownloadManager Information: 0 : Increasing current install to 2
DownloadManager Information: 0 : Product: PHPManager, Install Status: InstallCompleted-Failure, Install Time: 00:00:00
DownloadManager Information: 0 : Clearing cart
DownloadManager Information: 0 : Adding product Microsoft Azure PowerShell (WindowsAzurePowershellGet) to cart
DownloadManager Information: 0 : Removing product Microsoft Azure PowerShell (WindowsAzurePowershellGet) from cart
DownloadManager Information: 0 : Adding product PHP Manager for IIS (PHPManager) to cart
DownloadManager Information: 0 : Adding product 'PHPManager'
DownloadManager Information: 0 : Setting current install to 1
DownloadManager Information: 0 : Starting install sequence
DownloadManager Information: 0 : Downloading file 'http://phpmanager.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=253209' to: C:\Users\Administrator\AppData\Local\Temp\2\tmp73D.tmp
DownloadManager Information: 0 : http://phpmanager.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=253209 responded with 301
DownloadManager Information: 0 : Response headers:
HTTP/1.1 301 Moved Permanently
Content-Type: text/html; charset=UTF-8
Location: https://phpmanager.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=253209
Server: Microsoft-IIS/10.0
Date: Thu, 15 Mar 2018 20:15:14 GMT
Content-Length: 0


DownloadManager Information: 0 : https://phpmanager.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=253209 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Redirect
Content-Length: 165
Content-Type: text/html; charset=UTF-8
Location: https://archive.codeplex.com/?p=phpmanager
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET
Date: Thu, 15 Mar 2018 20:15:14 GMT


DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '667'
DownloadManager Information: 0 : Number of bytes after possible decompression: '1408'
DownloadManager Information: 0 : File 'C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\installers\PHPManager\74A45CC210DC63534738EDF67CAA1E342802A0F5\-p=phpmanager' already exists, deleting old copy of the file
DownloadManager Information: 0 : Moving downloaded file 'C:\Users\Administrator\AppData\Local\Temp\2\tmp73D.tmp' to: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\installers\PHPManager\74A45CC210DC63534738EDF67CAA1E342802A0F5\-p=phpmanager
DownloadManager Error: 0 : Signature verification failed on downloaded file. URL: http://phpmanager.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=253209. File location: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\installers\PHPManager\74A45CC210DC63534738EDF67CAA1E342802A0F5\-p=phpmanager. File size: 1 kb
DownloadManager Information: 0 : Product PHP Manager for IIS done install completed
DownloadManager Information: 0 : Increasing current install to 2
DownloadManager Information: 0 : Product: PHPManager, Install Status: InstallCompleted-Failure, Install Time: 00:00:00

Please some one help me ?

503 error and App pool crashing

$
0
0

I have recently copied a web server VM from another server and am trying to get the default web site working.  The site returns a 503 error message and in the event viewer I can see that the Application Pool 'Classic .NET AppPool' is being disabled at the same time.  These are the messages I am seeing in Event Viewer.

Log Name: System
Source: Microsoft-Windows-WAS
Date: 3/15/2018 1:44:57 PM
Event ID: 5002
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: Web301.solutioncenter.biz
Description:
Application pool 'Classic .NET AppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
<EventID Qualifiers="49152">5002</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-03-15T19:44:57.490853500Z" />
<EventRecordID>24574</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>Web301.solutioncenter.biz</Computer>
<Security />
</System>
<EventData>
<Data Name="AppPoolID">Classic .NET AppPool</Data>
<Binary>
</Binary>
</EventData>
</Event>

and this one as well right before the app pool shuts down.

Log Name: System
Source: Microsoft-Windows-WAS
Date: 3/15/2018 1:44:57 PM
Event ID: 5139
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: Web301.solutioncenter.biz
Description:
A listener channel for protocol 'http' in worker process '6160' serving application pool 'Classic .NET AppPool' reported a listener channel failure. The data field contains the error number.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
<EventID Qualifiers="32768">5139</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-03-15T19:44:57.490853500Z" />
<EventRecordID>24573</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>Web301.solutioncenter.biz</Computer>
<Security />
</System>
<EventData>
<Data Name="AppPoolID">Classic .NET AppPool</Data>
<Data Name="ProcessID">6160</Data>
<Data Name="param3">0</Data>
<Data Name="ProtocolID">http</Data>
<Binary>7E000780</Binary>
</EventData>
</Event>

Web Platform Installer 3.0: Invalid URI

$
0
0

Hi.

We have a web farm based on WFF which uses WebPI 3.0 to provision a new server to our farm when needed. Earlier in the week I went to add a new server to our farm and the new server failed to provision with an "Invalid URI: The format of the URI could not be determined".

Even if I try to access the WebPI GUI on a number of different servers they all receive the same error. It is as if the 3.0 feed is no longer available (https://www.microsoft.com/en-us/web/webpi/3.0/webproductlist.xml), in fact you receive a 'Sorry, we couldn't find that page' message if you visit the site.

I tried upgrading to WebPI 5.0, but that doesn't work with WFF. I only added a new server a month or so ago and everything was working correctly. Could someone please point me in the right direction of a 3.0 feed? give me any clues as to why this feed may have stopped working? or at least how I can create a custom feed. I have done this using 5.0, but I don't know if there is a similar process for 3.0?

Thanks. 

Outbound rule for customTags that contains xmlNamespace.

$
0
0

I can not make run outbound rule to rewrite an attribute of  a custom Tag in xml response when tag or attribute has a xml namespace.

I need to rewrite an attribute like this:

<ows:Get xlink:href="https://192.168.1.16:3000/alacant/WMTS/tile/1.0.0/">

The rule is next:

<rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1">
<match filterByTags="CustomTags" customTags="WMTS" pattern="^http(s)?://192.168.1.16:3000/(.*)" />
<action type="Rewrite" value="http{R:1}://tiles.geonet.es/{R:2}" />
</rule>

<customTags>
<tags name="WMTS">
<tag name="ResourceURL" attribute="template" />
<tag name="ows:Get" attribute="xlink:href" />
</tags>
</customTags>

 

The other tag "ResourceURL"  works fine.

Any Idea ¿?

Thanks in advance.

IIS Media Services in a web app to display CCTV video

$
0
0

Hi all. I'm totally new to IIS Media Services and was wondering how to use it in an ASP.NET MVC app to display live CCTV video. The video comes across as RTSP, MP4, or H.264. A few questions:

  • Does IIS Media Services support the formats mentioned above?
  • How do you set up IIS Media Services to serve the live CCTV video?
  • How do you then display the media in an ASP.NET page?

Thank you. 

ASP high compilation

$
0
0

Hello all,

I've IIS 7.5 hosting ASP.NET site, we're monitoring them with Zabbix template. We're looking to IIS current connections per site and also number of ASP.NET requests.

I'm normal way, ASP request are near to 0, but happen that ASP.NET request increase when traffic is higher and at then number ot requet are so high that web site is unavailable and we have an 503 error.

I don't know how to find clue on the reason of this high value. In term of server, CPU, RAM etc are still good, only ASP.NET requests are high.

Any idea how to monitor it, or to see what's wrong in code maybe ? 

Tks in advance.

Rewrite rule that finds the decription of the ID from the database and displays it as a friendly URL

$
0
0

Hello, I really have searched for an answer to this but my knowledge of SQL, databases, Rewrite Modules is by no means extensive so I apologise if I am asking something that has an obvious solution.

My website has a built in search facility which can query the database for combinations of up to three variables.

So I can have a returned URL that reads: http://www.mysite/Display_Results.asp?cboService=248&cboCountry=123&

cboRegion=646

I could have: http://www.mysite/Display_Results.asp?cboService=487

I could have: http://www.mysite/Display_Results.asp?cboService=248&cboCountry=123

or any number of combinations of ID's

I have successfully created a rewrite rule that will return http://www.mysite/248/123/646 but that only half of it.

Service ID 248 in the database = boatsales

Country ID 123 in the database = uk

Region ID 646 in the database = essex

In my mind creating a friendly or man-readable URL would be http://mysite/boatsales/uk/essex.

Anyone out there come across this in their Classic ASP website and does any one know how I begin to tackle this please?


ARR + URL Rewriting on 2 services located on the same server, different ports

$
0
0

Hello !

So I have this problem, I'm on it since quite a long time now and I'm a little desperate.

So here is what I want to achieve :

my config :

  • Windows Server 2016
  • IIS v10.0.14393.0
  • ARR v3.0.1988
  • URL Rewriting v7.2.1980

A domain is already configured to my server IP address, let's say [mydomain].com

My Windows Server contains :

  • an IIS Website, (Server A), on port 8888, accessible from mydomain.com:8888
  • another server, not IIS and not managed by it, let's name it ServerB on port 9999, accessible from www.mydomain.com:9999

Nevertheless, I want to access my services accross ports 80 and 443

What is I want is to acces my website from mydomain.com/myIISwebsite , and my ServerB from mydomain.com/serverB

I already tried a lot of configurations, activating ARR proxy server, and creating rules in the Default Site on port 80.

I also tried to create rules directly on the server level. Doesn't work either.

I noticed too that if I put my Server A on port 80/443, stop the Default Site and create Rewriting rules for addresses of type ^serverB/*(.*), but the server A is trying to reach the resource "serverB" instead of redirecting.

Well, do you have any sugestions? I've already lost a lot of my time on it ^^'

Thank you in advance, and sorry if this is unclear, i'll try to clarify any point you want me to.

replace path during msdeploy website copy

$
0
0

Hi All: I'm trying to get msdeploy 3.6 to transform a destination path on the fly to copy a website from one server to another. My syntax looks like:

msdeploy -verb:sync -source:appHostConfig="localsite" -dest:appHostConfig="remote",computername=192.168.1.34,username=administrator,password=######### -enableLink:AppPoolExtension -verbose -replace:objectname=metaproperty,scopeattributename=name,scopeAttributeValue=Path,targetAttributename=value,match=^D:,replace=C: -allowUntrusted=true -whatif > c:\temp\msdeploy.log

I receive "Error: Access to the path 'd:\websites' is denied."

The destination server has its root directory at "C:\websites" while the local server has "D:\websites".

I've tried a number of matches:

  • match=^D:,replace=C:
  • match=D:,replace=C:
  • match="D:",replace="C:"
  • match="D:\\websites\\folder",replace="C:\websites\folder"

but I get the same error every time.

It feels like I am very close but I can't resolve this error.

need rule to route image requests from /content/images/ to /wwwroot/images/

$
0
0

Hello-

I recently upgraded our nopCommerce installation to 4.0, and as such, it is now running on ASP.NET Core 2.

The architecture has changed and all image resources are now required to be under the /wwwroot folder inside the web application. rather than in the /content folder as before.

I tried adding a new rewrite rule to my web.config to handle it, but I get unexpected results:

<rule name="IMAGE_FOLDER_REDIRECT" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAny">
<add input="{HTTP_HOST}{REQUEST_URI}" pattern="(.*)/CONTENT/(.*)" />
</conditions>
<action type="Redirect" appendQueryString="false" url="/WWWROOT/{C:2}" redirectType="Permanent" />
</rule>

This causes my stylesheets not to render when the pages are viewed...but my stylesheets are actually located here:

/Themes/

..so I am clueless...

Any help would be greatly appreciated!

Thanks!

IIS SEO Toolkit Not Crawling Sites w/ TLS 1.0 Disabled?

$
0
0

I can't seem to crawl sites that have TLS 1.0 disabled, e.g. lelabofragrances.com

...But I don't know of anOTHER site w/ TLS 1.0 disabled to try, so I can't confirm it's all non-TLS 1.0-friendly sites, or just that one.

I already have this update, which might allow TLS 1.1/1.2 for IIS SEO Toolkit?
https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-a-default-secure-protocols-in

Any thoughts?

More to the point: do you know of any other sites w/ TLS 1.0 disabled I could try to crawl?

Quick way to see which protocols are enabled on a site:

https://cryptoreport.websecurity.symantec.com/checker/

Thanks!

-Dan

PHP ignored

$
0
0
<div>Hi</div>

I'm developing an IOT project where a client will run on a micro-controller and will be configured and fed data via a backend web server and database.  I'm a newbie when it comes to web servers but I successfully installed IIS & PHP on Windows 10.  Over several days I wrote a bunch of test web pages with embedded PHP to learn how to drive them.  The test pages did what was expected so all was well.  

I then found that after a laptop reboot the test pages no longer worked - the HTML was executed OK but the embedded PHP scripts were ignored.  There are no IIS or PHP run time error messages.  I've checked the configuration of IIS and PHP and all seems fine as far as I can tell.   I would understand it if the test pages had never worked, as that would imply I'd got the installation wrong, but to have worked and then to stop working when there have been no changes seems strange.

I don't know whether PHP runs as a background process listening for calls or whether IIS spawns it when it encounters PHP, but I can't see any background processes in Windows Task Manager that look like they're related to PHP.   I half expected to see php-cgi.exe running in the background as it's been defined as the FastCgi handler module in the IIS configuration.

If I invoke any of the test pages from the command line using "php.exe filename.php" then the PHP code executes as expected (of course the HTML does not) - so at least php is working from the command line. 

In case it's relevant I installed PHP using the instructions here. 

Any suggestions appreciated.

Viewing all 26310 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>