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

Using Bitrix instead of inetpub

$
0
0

IIS is on my C: along with MySQL and is using inetpub\www for my site site from the C:.  i need IIS to pull the files from My D: Bitrix\ folder


Problem with Bindings IIS 7

$
0
0

Hello.
I have two websites in II7 on port 80 (I use bindings), when I access, for example, with GoogleChrome/ Firefox www.MySite.com  shows good site, but if I use IE 9 does not show the site, just close the window.
Another question is ...
With Chrome shows the site on the PC where the site is mounted, but if I try to access from a remote PC www.Mysitio.com not find the page.
What am I doing wrong?? Help please.

Migrating from IIS7.5 to IIS8.0 gives framework mismatch error

$
0
0

I'm trying to migrate my web server from IIS 7.5 (on Server 2008 R2) to IIS 8.0 (on Server 2012) using the Microsoft Web Deploy extension thing. When exporting it makes the zip and that seems to work fine, but when I try to import it I get this error:

ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH.

The specific text is:

The versions of the .NET Framework Configuration Provider (machineConfig64) are different on the source (2.0) and destination (4.0).

Both servers have .NET 4.0 and .NET 2.0 installed and showing up in IIS. None of my app pools use 2.0 and all sites/applications are using the same 4.0 app pool.

Looking at the deploy package contents, there are four properties that are coming out with a value of 2.0:

  • .NET 32-bit root Web configuration
  • .NET 32-bit machine configuration
  • .NET 64-bit root Web configuration
  • .NET 64-bit machine configuration

I vaguely understand what these represent but I can't work out where to change them to 4.0 instead of 2.0. I'm not even certain if this is causing the issue, but it seems like it is.

I tried disabling the "Framework Mismatch" rule during the import but the same error still occurs.

I would appreciate any suggestions for ways to resolve this. Or maybe there is an easy way to move my site without Web Deploy? It's nothing complicated, just some forum installs. I don't even use ASP.NET at all, everything is PHP.

I've been bashing my head against this for hours and getting nowhere. Thanks!

Migrate IIS 7.0 Websites to IIS 7.5 Retain Configurations

$
0
0

We are performing a server upgrade from Server 2008 SP2 32bit to Server 2008 R2 SP1 64bit and in the process we need to migrate all websites and retain all the configurations in IIS for all websites.

We are reviewing two different options for migrating all websites and need to verify which IIS migration path would work best. 

Option 1) Use WebDeploy to export websites to *.zip files from IIS 7 and import into IIS 7.5. Note: the msdeploy command indicates that the EXACT same version of .Net Framework needs to be installed on the destination server and our destination server will not allow us to install .net 3.0 because it is Server 2008 R2 SP1 with .net 3.5.  (Is there a possible work around for this scenario)?

Option 2) Migrate websites using the Shared Configuration Export?

We need to ensure all SSL certificates, bindings, etc... are all retained.

http://www.interactivewebs.com/blog/index.php/server-tips/migrate-from-iis-7-0-to-iis-7-5-in-a-new-windows-2008-r2-server/

Any input would be greatly appreciated.

Thanks.

Error during attempted install WPI

$
0
0

Hi, I've downloaded and attempted to install Web Platform Installer multiple times. I'm running Windows 7 SP1 as an administator.  When I choose "Check online for a solution and close the program", a little green bar goes across the screen, then nothing appears, and no windows or new tabs open. 

Each time, I get the following error:

Web Platform Installer has stopped working Windows can check online for a solution to the problem.

Check online for a solution and close the program

Close the program

Show problem details:

Description:   Stopped working

Problem signature:   Problem Event Name: CLR20r3   Problem Signature 01: webplatforminstaller.exe   Problem Signature 02: 4.0.0.0   Problem Signature 03: 510fa231   Problem Signature 04: mscorlib   Problem Signature 05: 2.0.0.0   Problem Signature 06: 4ca2b889   Problem Signature 07: 1b2b   Problem Signature 08: c   Problem Signature 09: System.IO.FileNotFoundException   OS Version: 6.1.7601.2.1.0.256.1   Locale ID: 1033

WPI 4.5 Installation Loop

$
0
0

Hi,

whilst trying to install "ASP.NET and Web Tools 2012.2" the installer advises me of an updated WPI installer version 4.5

Clicking "I Accept" clears the dialog and the installer churns for a few seconds and then reproposes the update advice again.

This goes on until I "Decline" and the installer launches but doesn't find the product that I'm trying to install (which is presumably in the 4.5 version)

Thanks for any help you can provide.

here is the log:

DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9819333
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9819333 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 174
Content-Type: text/html; charset=utf-8
Expires: Tue, 19 Feb 2013 12:55:35 GMT
Location: http://www.microsoft.com/web/webpi/4.2/webproductlist.xml
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
Set-Cookie: MC1=GUID=71721e37e0381941b58675e2f40473a7&HASH=371e&LV=20132&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/
X-Powered-By: ASP.NET
Date: Tue, 19 Feb 2013 12:56:34 GMT


DownloadManager Information: 0 : Updated WebPI available
DownloadManager Information: 0 : Upgrade: Will offer the option to upgrade to WebPIv4Upgrade
DownloadManager Information: 0 : Upgrade: Launching WebPI upgrade
DownloadManager Information: 0 : Content-disposition header: attachment

Cannot Update/Uninstall/Open WPI 4.0

$
0
0

When I open WPI, it tells me that there is a new version available and gives me the option to download or decline. If I choose "I Decline" WPI4 opens as normal, but if click "I Accept" to download the new version, it begins the installation process, but after a few seconds it rollsback with a message "Failed to install Web Platform Installer. Click OK to use the browser to download installer." But when i download the file, it too, fails to install. I begin the installation (of WPI4.5), but it soon rollsback with a message "Microsoft Web Platform Installer 4.5 Setup Wizard ended prematurely." Please help me get WPI upgraded to 4.5 Cool

I looked for the installation log file at %temp%\webpi_launcher.txt, but that file doesn't exist

MS Word and PDF crawler. Examples or Walkthroughs?

$
0
0

I was wondering if anyone has seen or posted blog posts regarding creating a Crawler to index DOC and PDF files with the MS IIS SEO toolkit?

I was fairly disappointed when I found out these files were not being indexed(and I am looking for broken links). Has anyone pulled this off and documented it? The files to be indexed are being served via SP 2010.
Thanks (so much) for any replies, 

Tyhicks as a brick,


Crawling section of my website

$
0
0

Hi,

Please is there a way i can specify what URL I wanted to be crawled?

I dont want all my website to be crawled, i just want to be able to tell IIS Site Analysis tool what URL to crawl.

Thanks in advance

 

Slow installation with IIS7 - inetinfo.exe eats up to 100% CPU

$
0
0

Hello guys.
I'm testing web application. When I'm runnging web services setup file on w2k3 and IIS 6 it takes about a minute. But when I,m running the same setup on w2k8 and IIS 7.5 inetinfo.exe eats up to 100% CPU and installation takes about an hour. I believe that's not code issue but some IIS configuration. Am I right?

How do I generate a CSR needed to install SSL cert on IIS8

$
0
0

Just upgraded to Windows Server 2012 / IIS 8.   I cannot see how to generate the Certificate Signing Request (CSR) that is necessary to obtain the certificate from GoDaddy.  Seems like this feature was removed.  What do I do?

Port conflict Sharepoint and Default Website

$
0
0

Not sure if this is a Sharepoint issue or an IIS issue, but hopefully you can point me in the right direction if this forum is incorrect.

I've installed SharePoint 2010 on a Windows Server 2008 R2 system. It appears Sharepoint has taken over the default website port 80. I'm finding a lot of issues online, but not fully understanding or seeing a step-by-step work around to this.

I want to be able to use the default website for non-Sharepoint Internal sites. It appears that the port can be changed, but not sure how to do this. If anyone can point me to a 'how to' doc, that would be very helpful.

I've right-clicked the Default Website, and then clicked Bindings, and changed the port number from 80 to 4444 ... and then restarted IIS... but still no connection... what am I missing... ?

Thanks!

IIS Reset/Crash problem

$
0
0

Hello,

I am facing IIS reset/crash problem in my server.

I am using IIS6 on Windows Server 2003.

I have investigated IIS log files and found that "Connection_Dropped" sometimes, and "Connection_Abandoned_By_AppPool" sometimes.

In some log files i found "/phpMyAdmin/scripts/setup.php 400".

If any one help me what this indicates for?

Thanks in Advance.

 

IIS7 Directory Browsing won't work at all

$
0
0

I am trying to setup directory browsing and having no luck at all. I get a 500 error.

Through the UI for the site I have enabled Directory Browsing and deleted the default.asp which was in the directory because I no longer need it. The web.config file has the following line:

<directoryBrowse enabled="true" showFlags="Time, Size, Extension" />


"Network Service" and IUSR have read/execute permissions on the folder and I disabled the "Default Document" feature. The folder is located on a USB drive. If I put in a reference to a direct file, it's not even working now  and the content view isn't even updating properly! It's still showing files I deleted! Extremely frustrating, I miss IIS6...

URL Rewrite and ARR Behind a Firewall Issue

$
0
0

I have configured and setup my url rewrite and ARR with no issue.  The primary server is hosting the main website, I have a second web server hostng a blog site.  Users on teh inside of my firewall have no issues navigating to either pages in a few seconds.... everything works great.

The primary web server has been hosting our site for some time and responds well on the internet.  We are now testing going to the blog on the secndary server from the internet and it is slow (about 2 minutes to to load the blog landing page) and I can actually see the private IP address of the blog server as it is trying to load.  the primary site works fine.  I am curious if anyone know what Firewall Rules or Nat rules must be in place to get it to work faster, assuming that is what my problem is.  I have a call in to the FW vendor, and thought I would give this site a try as well.

Thanks

mc


Cannot uninstall WebPI v4.0

$
0
0

I am trying to uninstall WebPI v4.0 from my computer.  When I running msiexec with full logging, the log includes the following:

1: IISCA IISExecuteCA : Begin CA Setup 
1: IISCA IISExecuteCA : CA 'ExecuteRegisterUIModuleCA' completed with return code hr=0x80040154 
1: IISCA IISExecuteCA : CA 'IISExecuteCA' completed with return code hr=0x80040154 
1: IISCA IISExecuteCA : End CA Setup 
CustomAction IISExecuteCA returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)


How can I fix this?  I am trying to update to WebPI 4.5, but that fails for the same reason.

Maybe the following information helps:

Installed WebPI v4.0 as Windows 7.  Then upgraded to Windows 8.  Now trying to uninstall v4.0.

HTTP/1.1 500 Server Error With ASP classic

$
0
0

Hi  All,

At the very outset I would like to state that this is my first ASP classic page that I have created which since the first deployment on IIS is giving me server 500 error. I have searched the entire web and have done almost everything possible to get this right, but all in vain.

I have created a classic ASP page using Web Matrix. This is a web based dashboard which connects to MSSQL server and fetch necessary information. I have a similar app in php which is working perfect, but I wanted to learn ASP hence was trying to make a similar web app on ASP. This app works absolutely fine onf Web Matrix. When I run this app from within web matrix (both on chrome as well as IE) it connects to the required database and I can browse the details as expected. The problem starts when I host this on IIS (localhost on my windows 7 pc). This is the exact procedure that I have followed :

1) Created a new Site on IIS named "YCube" 2) Using basic settings I have given the following Physical path for the app (D:\YVXS\Personal\ASP\SSTool\Ycube) {the project output folder} 3) In the bindings page I have assigned port 81 4)IIS authentication is set to "Anonymous Auth" 5) Application pool for asp is set to classic (as IIS first stated it cannot perform the task in integrated mode) 

After this when I tried browsing localhost:81/menu.asp, it given me server 500 error. The 21 days research starts now (bullet points below)

1) To get the descreptive errors on the web page I did following but the error description did not change IIS->asp->Compliation->send error to browser =true, friendly http error on IE = disabled

2) IIS log files, not sure if iam not able to understand the error but  am getting follwing on the log file (C:\inetpub\logs\LogFiles\W3SVC1

2013-02-23 08:07:44 ::1 GET /menu.asp |-|ASP_0147|500_Server_Error 80 - ::1 

3) On the IIS forum only I underatood at time global.asa file can cause this problem, I deleted this file and tried, all in vain

4) The folder and files permission for my site is read only, however I have tried the same with read and write access also, this also did not help

5) On the error pages in IIS, i have changed the "Edit feature settins" to "Detailed error", this also didnot give me any futher error desc.

6) 24 times i have uninstalled IIS and installed back, nothing has happend

7) Someone suggested to created a dummy asp file and try hosting the same of IIS, so I used a small code ("[

<HTML>
<BODY>
This page was last refreshed on <%= Now() %>.
</BODY>
</HTML>"], this is giving correct output (This page was last refreshed at 18:88:22....), however with my original asp page I still get server 500 error

8) A friend of mine suggested to delete all other hosted web pages from IIS and try (I had one PHP on the IIS), hence I deleted the same and tried, no changes at all

9) Event log file is showing nothing pertaining the ASP (only few files are there which tells about unexpected shutdown of my PC)

10) I created a second ASP file which had MS access at the backed, this only is also giving me same server 500 error

11) Other things that I have tried is changing the web.config file to send detailed error, (thouh i forgot the exact line) but that also did not help me

Here are my system config and other details Windows 7 professional, IIS7.5.7600, MSSQLR2express. Also please note that I have tried hosting this on two othe pc's that I have(both windows 7) and in office server 2003, but all are giving me same server 500 error.

Never thought learning a classic asp will put me into all this Jazz...please help..

Regards,

Youbaraj Sharma

Product List download fails due Proxy Error 407 in WebPI4.5

$
0
0

Hi there,

When I try to run WebPI I get this error: Unable to download product list .... Check your network connection and try again.

Here is the Log file:

DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9817844
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9817844 responded with 407
DownloadManager Information: 0 : Response headers:
HTTP/1.0 407 Proxy Authentication Required
Server: squid/3.1.10
Mime-Version: 1.0
Date: Thu, 21 Feb 2013 14:55:47 GMT
Content-Type: text/html
Content-Length: 4027
X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
Proxy-Authenticate: Negotiate
Proxy-Authenticate: NTLM
Proxy-Authenticate: Basic realm="Internet Proxy"
X-Cache: MISS from cz00psqd01
X-Cache-Lookup: NONE from cz00psqd01:3128
Via: 1.0 cz00psqd01 (squid/3.1.10)
Connection: close


DownloadManager Error: 0 : Error downloading product file: 'System.Net.WebException: Url 'https://go.microsoft.com/?linkid=9817844' returned HTTP status code: 407
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.ProductManager.DownloadFile(Uri url, String cacheFileLocation, DateTime productFileLastModified)
at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)
DownloadManager Error: 0 : Error loading cached XML file: System.IO.FileNotFoundException: Could not find file 'C:\Users\janmarek1\AppData\Local\Microsoft\Web Platform Installer\-1250132447.xml'.
File name: 'C:\Users\janmarek1\AppData\Local\Microsoft\Web Platform Installer\-1250132447.xml'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at Microsoft.Web.PlatformInstaller.ProductManager.LoadDocument(String xmlPath)
at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile, Boolean loadEnclosures)
at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)
DownloadManager Error: 0 : WebClient download error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.Configuration.ConfigurationErrorsException: Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section. ---> System.IO.FileNotFoundException: Could not load file or assembly 'WebPI.Net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'WebPI.Net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Net.Configuration.DefaultProxySectionInternal..ctor(DefaultProxySection section)
at System.Net.Configuration.DefaultProxySectionInternal.GetSection()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

--- End of inner exception stack trace ---
at System.Net.Configuration.DefaultProxySectionInternal.GetSection()
at System.Net.WebRequest.get_InternalDefaultWebProxy()
at System.Net.HttpWebRequest..ctor(Uri uri, ServicePoint servicePoint)
at System.Net.HttpRequestCreator.Create(Uri Uri)
at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
at System.Net.WebRequest.Create(Uri requestUri)
at System.Net.WebClient.GetWebRequest(Uri address)
at Microsoft.Web.PlatformInstaller.AutoProxyHttpWebClient.GetWebRequest(Uri address)
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at Microsoft.Web.PlatformInstaller.ProductManager.WebClientDownloadFile(Uri url, String cacheFileLocation)
DownloadManager Error: 0 : WebClient error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.Configuration.ConfigurationErrorsException: Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section. ---> System.IO.FileNotFoundException: Could not load file or assembly 'WebPI.Net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'WebPI.Net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Net.Configuration.DefaultProxySectionInternal..ctor(DefaultProxySection section)
at System.Net.Configuration.DefaultProxySectionInternal.GetSection()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

--- End of inner exception stack trace ---
at System.Net.Configuration.DefaultProxySectionInternal.GetSection()
at System.Net.WebRequest.get_InternalDefaultWebProxy()
at System.Net.HttpWebRequest..ctor(Uri uri, ServicePoint servicePoint)
at System.Net.HttpRequestCreator.Create(Uri Uri)
at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
at System.Net.WebRequest.Create(Uri requestUri)
at System.Net.WebClient.GetWebRequest(Uri address)
at Microsoft.Web.PlatformInstaller.AutoProxyHttpWebClient.GetWebRequest(Uri address)
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at Microsoft.Web.PlatformInstaller.ProductManager.WebClientDownloadFile(Uri url, String cacheFileLocation)
at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9817844 responded with 407
DownloadManager Information: 0 : Response headers:
HTTP/1.0 407 Proxy Authentication Required
Server: squid/3.1.10
Mime-Version: 1.0
Date: Thu, 21 Feb 2013 14:55:47 GMT
Content-Type: text/html
Content-Length: 4025
X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
Proxy-Authenticate: Negotiate
Proxy-Authenticate: NTLM
Proxy-Authenticate: Basic realm="Internet Proxy"
X-Cache: MISS from cz00psqd01
X-Cache-Lookup: NONE from cz00psqd01:3128
Via: 1.0 cz00psqd01 (squid/3.1.10)
Connection: close


DownloadManager Error: 0 : WinInet error: System.Net.WebException: Url 'https://go.microsoft.com/?linkid=9817844' returned HTTP status code: 407
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.ProductManager.DownloadFile(Uri url, String cacheFileLocation, DateTime productFileLastModified)
at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)
DownloadManager Error: 0 : WebException error loading product file: System.Net.WebException: Url 'https://go.microsoft.com/?linkid=9817844' returned HTTP status code: 407
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.ProductManager.DownloadFile(Uri url, String cacheFileLocation, DateTime productFileLastModified)
at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)
at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory)
at Microsoft.Web.PlatformInstaller.ProductServiceImpl.LoadProducts(String primaryFeed, String[] feeds)

How can I solve this issue?

I tried to compile a dll should be able to connect through proxy with credentials, but with no success... 

Here is the configuration from webPlatformInstaller.exe.config file:

<system.net>
<defaultProxy enabled="true" useDefaultCredentials="false">
<module type="WebPI.Net.AuthenticatedProxy, WebPI.Net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
</defaultProxy>
</system.net>

Here is the code of dll: Name of project(and dll is Proxy.dll) I put this dll to the root of webPlatformInstaller.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;

namespace WebPI.Net
{
public class AuthenticatedProxy : IWebProxy
{
public ICredentials Credentials
{
//Put your user name and password into credentials
get { return new NetworkCredential("Myusername", "MYpassword", "MYdomain"); }
set { }
}

public Uri GetProxy(Uri destination)
{
//Proxy URI will be taken from the current user's IE proxy settings
return WebRequest.GetSystemWebProxy().GetProxy(destination);
}

public bool IsBypassed(Uri host)
{
return false;
}
}
}

Server is behind proxy server, IE browser is able to download product list feed directly after I enter credentials.

Thanks For your help. :)

Best Regards,

Jan Marek

Web Farm framework process memory increase

$
0
0

WebFarmService.exe service continuasly increases until it eventually stops causing the web site not to work. Now for example is at 1.4Gb of RAM allocation on the server. The server is 2008R2.

The only solution I have found is to restart the service, which I think is not very efficient,

Any ideas what causes this? How can I fix this issue?

After browsing the net the only solution I've found was one that stated to log off after RDPing the servers. This does not work.

Please help

encryptPassword not working for backup

$
0
0

I have configured my server to have web deploy backups turned on and enabled.

I am running

msdeploy.exe -verb:sync -source:package="config-management.zip",encryptPassword="password" -dest:auto,encryptPassword="password",computerName="localhost" -setParamFile:"parameters.xml"

This runs successfully (it deploys the files) but it reports the following

Info: Creating backup of existing site.
Warning: BACKUP_FAILED - Skipping backup because it failed due to an unknown reason. For more information, contact your server administrator.

The event viewer contains:

Error: The property 'password' located at '/appPoolConfig[@appPool=AppPoolName']/add[@name='AppPoolName']/processModel' is marked as secure. You must specify an encryption password to archive this property.
Error count: 1.

And no backup is made. I am supplying the correct encryption password in the sync command. Any ideas whats wrong please?

Thanks

Viewing all 27852 articles
Browse latest View live




Latest Images