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

Webmatrix on Windows 8

$
0
0

Hello,

when i try to start a site i get a binding failure. I already changed the url to http://localhost:8081/ and also checked that the port is free.

Also disabling firewall didn't help.

Any idea how could i find out what the problem is.

Thanks and regards,

George


Using WebMatrix to create and manage WordPress site

$
0
0

A month ago, I created an Azure hosted Wordpress site. Being a WordPress/PHP novice, I spent a lot of time to determine how my best option forward would be to make a local copy of what I already created on my Azure hosted site, and then fully evolve the site on my Windows 8 workstation.

It took me even more time to learn how WebMatrix is far superior tool to get a local copy from Azure to any WordPress Plugins of MySQL server related tools - because WebMatrix is a completely aware of Windows environment. As I am not sure that I use WebMatrix in optimal fashion, I would hope that someone can set me straight. Here is what I did:

  1. Installed WebMatrix on my Windows 8 workstation.
  2. Since I am not sure whether WebMatrix' is aware of most current MySQL version, I installed MySQL 5.5 before using WebMatrix to download my Azure hosted site.
  3. Started WebMatrix and pointed it to my Azure hosted WordPress. Used this site's publishing profile to define the WebMatrix connection to my site and clicked on WebMatrix Download button. WebMatrix fetched the WordPress site files and the database and I was given the URL as http://localhost:34987 . When clicked, I got my Azure hosted site shown as hosted locally.
  4. Using MySQL Workbench, I could verify that there is a copy of the remote database, carrying the same name as original augmented by a three letter suffix.

Issue 1: while I could see where the site files are located (C:\Users\Fred\Documents\My Web Sites\WordPress1 - note that the site name also got changed in the process by adding suffix "1"), I do not know what entity hosts this site - Windows 8 IIS does not seem aware of this site and I do not have Apache installed.

The answer to this question is relevant to me because when I repeated the same set of steps on Windows 2008 Server, trying to run the site (again ashttp://localhost:xxxx) I get the error: HTTP Error 403.14 - Forbidden -- issued by IIS 8 Express, which clearly got installed as a part of WebMatrix installation. If this error was issued by IIS 7, I would fix it right away, of course.

Issue 2: How can I run IIS 8 on Windows 2008 server to fix the problem created by WebMatrix download of a remote Azure hosted site?

Note: my final plan is to get a copy of my Azure hosted site to my workstation, and then practice uploads of that same local site to my Windows 2008 server, so I do not destroy the Azure hosted site, while practicing uploads. As you see, I failed to even download the remote site to 2008 Server, which clearly behaves differently than my Windows 8 workstation.

How use WPI to install IIS7/PHP/MySQL on windows 7?

$
0
0

I downloaded WPI 4.5 but all it offers to install are various windows azure things. I have no idea what they are.

I wanted to install IIS7 and PHP and MySQL on windows 7 prof. Is this still possible using WPI? If so how the heck?

Questions about Site Analyzer suggestions and some general comments

$
0
0

First of all, thanks for the Site Analyzer, I managed to find quite a few errors with my site using it. I fixed most of the problems it found, however there are a few things I am not sure about, and I also have some comments / questions on the Site Analyzer itself.

1. Location Header encoding

On my site, if a url is typed incorrectly, then I do a 301 redirect to the correct url. I send the Location header encoded as per RFC3987, but the Site Analyzer seems to choke on this when non-ascii characters are included, and so gets stuck in a redirect loop:

The link to "http://www.photosite.com/photos/3109-Seokgasa-Suraksan-%C3%AC%C2%84%C2%9D%C3%AA%C2%B0%C2%80%C3%AC%C2%82%C2%AC-%C3%AC%C2%88%C2%98%C3%AB%C2%9D%C2%BD%C3%AC%C2%82%C2%B0.xhtml" has resulted in a redirection to "http://www.photosite.com/photos/3109-Seokgasa-Suraksan-%C3%AC%C2%84%C2%9D%C3%AA%C2%B0%C2%80%C3%AC%C2%82%C2%AC-%C3%AC%C2%88%C2%98%C3%AB%C2%9D%C2%BD%C3%AC%C2%82%C2%B0.xhtml" which resulted in another redirection. Search engines can only pass page rankings and other relevant data through a single redirection hop. Using unnecessary redirects can have a negative impact on page ranking.

In IIS the Headers tab for the request shows:

Location: http://www.photosite.com/photos/3109-Seokgasa-Suraksan-석가사-수락산.xhtml

However, checking the actual header sent using Fiddler shows:

Location: http://www.photosite.com/photos/3109-Seokgasa-Suraksan-석가사-수락산.xhtml

The url encoded per RFC3986 should be:

Location: http://www.photosite.com/photos/3109-Seokgasa-Suraksan-%EC%84%9D%EA%B0%80%EC%82%AC-%EC%88%98%EB%9D%BD%EC%82%B0.xhtml

If I change my code so that the Location header is encoded per RFC3986 instead of RFC3987, then IIS makes the new request okay and doesn't get stuck in a redirect loop.

Do Location headers always have to be encoded per RFC3986? If not, is this a bug in the IIS Site Analyzer, or is there some way to specify that the Location header is UTF-8?

2. Canonical formats

I get the error "The page contains multiple canonical formats." even when a link tag with rel="canonical" is specified on the page. The same problem also with Duplicate titles errors.

3. Too many hyperlinks

I get the error "The page contains too many hyperlinks." on the sitemap, even though the number of links is well below the 50,000 max limit for a sitemap. On some other pages I got the same error, with the advice "Reduce the number of links on the page to fewer than 250." But the page details said the page "contains 213 links", so it was already fewer than 250.

4. Title too long

On quite a few pages I was getting the title too long error. I use the title formatTitle · Site name. Would I be better to drop the site name from the title, or just ignore this error?

5. X is missing for redirects

For 301 and 302 redirects, there isn't any content returned by the server other than the headers, and the Site Analyzer is showing the errors:

  • "The title is missing"
  • "The <h1> tag is missing."
  • "The description is missing."

Obviously I can filter these manually to show only those with Status OK, but it would be more sensible not to include redirects by default. If anything, I would think it should have a warning if a redirect did have any content.

6. Internal link options break it

When setting up a report to run, if I set "Consider as internal link if coming from" to "Host and subdomains", then only robots.txt and the specific url are checked. None of the pages linked from the url are checked, so it does not analyze the site.

7. Missing headers

I noticed that no HTTP_ACCEPT, HTTP_ACCEPT_LANGUAGE, or HTTP_ACCEPT_CHARSET headers are sent. For my site I serve the same content, but in a different format depending on the HTTP_ACCEPT header. Is there any reason that these headers are not sent?

8. Last modified header

Where feasible I send a Last-Modified header for any new page requests. However, if replying 304 Not modified should you also send a Last-Modified header as well? I read the W3C guidanceHeader Field Definitions - Last-Modified, but this just says that you should send the header whenever feasible. It is feasible to send a Last-Modified header when replying 304 Not modified, but I can't see any point?

9. Saving / loading queries

Relating to point 5 above, in the IIS Site Analysis report I can modify a violation query so that it only includes requests with a status of 200 OK. Using the save query button allows you to save the query options as an xml file, but I can't see any way to load the saved query options?

10. Unnecessary redirects

For showing unnecessary redirects in the Site Analyzer it would be helpful to be able to count links (Linked By Count) to the redirect rather than the page that was redirected to.

Thanks

Dave

Reverse Proxy to Oracle Issue

$
0
0

So i'm new to the ARR Url-Rewrite game and am having some issues proxying a website running on an Oracle Tier. I've got ARR installed and checked to enable proxy, then setup a rewrite to send all traffic from externalurl.com(IIS Site on the server) to 10.x.x.x:8010. The setup is used with basically all the defaults. So when I browse the externalurl.com I get a quick Oracle Redirect page, then get a DNS error that myresourse.mydomain.com:8010? So it is basically redirecting the request and not proxying against the internal resourse. I am trying to expose that internal page 10.x.x.x:8010. Maybe and ARR Proxy Server Setting error? Any ideas or help would be greatly appreciated.

Built in Help and "Change feed sources for help"

$
0
0

WebMatrix has a nice feature under "Options" "Learning" Change feed sources for help. I have added common URL's that I use for referencing HTML and CSS information however they do not show up in the help list (F1). Anybody figured out how to make this feature work correctly?

PHP Webmatrix

$
0
0

Help!

Loaded up Web Platform Installer and it has no reference to PHP, want to install wordpress but when I do I keep getting errors (from the webmatrix). This is beacuse PHP is not installed as a dependency. I can see that in the WebMatrix under the wordpress settings there is a php setup but eveytime I select php 5.3 WebMatrix crashes... I have tried SugarCRM, which uses PHP too and same issues. Pulling my hair out.

Any help would be great.

m.

Windows 8 interface with windows server 2008 datacenter or above?

$
0
0

I was curious with the rollout of Windows 8, Surface RT, Windows Mobile and JAVA patchs in systems and software,

can.....

The windows 8 GUI be used for future server software?

             If not, how long untill so?


Setup for IIS, DNS

$
0
0

Hi hope all is well.

I've built Server 2008 DataCenter with DNS, Hyper-V(IIS), ADDS, Application Server, File Services ROLES.

I have a domain.com and my.domain.com               CName Nameservers, DNS

Having trouble creating this environment with  ISP router and still have some red x's, in the rolls summary. Tried setting up IIS 6.0 manager too. Any help is appreciated, thanks.

Steve--

Force IIS 6 to roll over to new log file.

$
0
0

I want to do some examination of a clean IIS log to see the effect Google Analytics on it, so I want to generate a log file that only contains the entries for my one GET request to an ASP.NET page.  How do I configure IIS to allow this?  How do I force IIS to roll over the log so I can have clean logs that only show my actions?

Working Fine, went for lunch, now Error 500.0 - Internal Server Errors!

$
0
0

So I spent the morning working with WebMatrix locally and everything was going smoothly. I went for lunch and in that time my PC went to "sleep". So I try to start working again and all I get are HTTP Error 500.0 - Internal Server Errors. WTF? Any help would be much appreciated.

Thanks.

automatically ticket generating in IIS 7.5 web server

$
0
0

Dear Team,

Good Evening!

I have problem one web server (IIS 7.5) automatically I will get the ticket from the monitor tool  everyday same time we are getting the ticket how we need to solve the problem please help me.

That server have monitor tool configuration ,anything happened wrongly we will get the ticket.

Need Consulting Help for IIS Rewrite rules

$
0
0

My web site at www.nhfinehomes.com is running on IIS7 and per the blog post at http://www.seomoz.org/blog/what-every-seo-should-know-about-iis#chaining, my site has upper case urls and lower case pointing to the same content. Wish to set up proper rewrite rules like this post suggests so url's likehttp://www.nhfinehomes.com/Waterfront/Lake-Winnipesaukee-Real-Estate redirect correctly tohttp://www.nhfinehomes.com/waterfront/lake-winnipesaukee-real-estate. I do not know how to do this nor does my programmer so I'm looking for some assistance. Can anyone provivde help or a trusted resource?

Link

Rename files on upload

$
0
0

I would like to control the names of the files that are uloapded to my IIS 7 FPT server.

The requied behavious is that any files "PUT" onto the server by a user is renamed with that usersusername plus a timestamp.

Does anyone have any ideas how this can be achieved?

 

iis 6.0 w3c logs sc-bytes & cs-bytes not reporting into a web site log

$
0
0

Hello All:

Can you help here?

I want to use Log Parser 2.2 to set up an analysis of which are the fastest and slowest web pages to load and determine bandwidth usage.

Before enabling the cs-bytes and sc-bytes fields in IIS for w3c logs, I stopped the applications app-pool (dedicated) and the web site, did an IISRESET /stop.  I then enabled said fields and did an IISRESET /start to kick-off the application. When I checked the logs, data for the said fields was not being loggged and the said fields were set as inactive in IIS.

Is there something in Local or Domain Group Policy which would disable cs-bytes and sc-bytes?  if so, where can I find it?

Should have I rebooted the server as my final action to kick-off the logging, as an IISRESET stop & start  cmd is not necessary?

The tech-net notes makes no metion of stopping web-sites or application-pools.  I take it I have this wrong?

Does anyone have any ideas?

I look forward to hearing from someone.

Thanks,

Spainish Waiter


cant work on mysql and php together

$
0
0

i have installed php and mysql my php file is saved as php and when i run my php fie it shows me the code instead of UI and when i change the php file name to php.ini i get a database error stating mysql connection not made

No output IIS Live Smooth Streaming PB with Authentication on iPhone/iPad

$
0
0

Hello,

Hope someone can help me with this problem.

I have setup a Live Smooth Streaming PB and all works fine. I can watch my stream on my PC and iPad/iPhone. But .. when i change the authentication to Basic,  i can watch the stream (after logging in) without any problem on the PC/Laptop but NOT on my iPad/iPhone anymore after logging in. I cant press the "Play" button .. it is disabled.

Anybody any idea? Would be very thankful on an answer.

Greetz

"Downloaded file failed signature verification and may have been tampered with"

$
0
0

Hello,

I'm on Windows 7 (64bit) and I'm trying to download WebMatrix. It's not going well.

Here's the Log:

DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9817844
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9817844 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 175
Content-Type: text/html; charset=utf-8
Expires: Sun, 24 Feb 2013 19:40:23 GMT
Location: https://www.microsoft.com/web/webpi/4.5/webproductlist.xml
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
Set-Cookie: MC1=GUID=df784666dfe4c64aa0eae33525e2b3d2&HASH=6646&LV=20132&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/
X-Powered-By: ASP.NET
Date: Sun, 24 Feb 2013 19:41:22 GMT


DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.5/webproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Cache-Control: max-age=900
Accept-Ranges: bytes
ETag: "1518501dcfece1:0"
Server: Microsoft-IIS/8.0
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
VTag: 791534742000000000
X-Powered-By: ASP.NET
X-Powered-By: ARR/2.5
X-Powered-By: ASP.NET
Date: Sun, 24 Feb 2013 19:41:22 GMT


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\-1250132447.xml.temp
DownloadManager Warning: 0 : Could not resolve keyword ID WIF
DownloadManager Warning: 0 : Could not resolve keyword ID identity
DownloadManager Warning: 0 : Could not resolve keyword ID federation
DownloadManager Warning: 0 : Could not resolve keyword ID claims
DownloadManager Warning: 0 : Could not resolve keyword ID authentication
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.5/webapplicationlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.5/webapplicationlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Cache-Control: max-age=900
Accept-Ranges: bytes
ETag: "668c7ca33211ce1:0"
Server: Microsoft-IIS/8.0
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
VTag: 791229141800000000
X-Powered-By: ASP.NET
X-Powered-By: ARR/2.5
X-Powered-By: ASP.NET
Date: Sun, 24 Feb 2013 19:41:24 GMT


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\1257519080.xml.temp
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/4.5/webapplicationlist.xml' after preprocessing, location on disk: 'C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\preprocessor\1257519080.xml'
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.5/mediaproductlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.5/mediaproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Cache-Control: max-age=900
Accept-Ranges: bytes
ETag: "f97d7c1bdeace1:0"
Server: Microsoft-IIS/8.0
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
VTag: 279172341800000000
X-Powered-By: ASP.NET
X-Powered-By: ARR/2.5
X-Powered-By: ASP.NET
Date: Sun, 24 Feb 2013 19:41:24 GMT


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\-645085719.xml.temp
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/4.5/mediaproductlist.xml' after preprocessing, location on disk: 'C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-645085719.xml'
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.5/toolsproductlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.5/toolsproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Cache-Control: max-age=900
Accept-Ranges: bytes
ETag: "f73486819ece1:0"
Server: Microsoft-IIS/8.0
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
VTag: 438983245000000000
X-Powered-By: ASP.NET
X-Powered-By: ARR/2.5
X-Powered-By: ASP.NET
Date: Sun, 24 Feb 2013 19:41:25 GMT


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\1822752924.xml.temp
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/4.5/toolsproductlist.xml' after preprocessing, location on disk: 'C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\preprocessor\1822752924.xml'
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.5/enterpriseproductlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.5/enterpriseproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Cache-Control: max-age=900
Last-Modified: Thu, 14 Feb 2013 18:06:16 GMT
Accept-Ranges: bytes
ETag: "a744a9fbddace1:0"
Server: Microsoft-IIS/8.0
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
VTag: 438234143500000000
X-Powered-By: ASP.NET
X-Powered-By: ARR/2.5
X-Powered-By: ASP.NET
Date: Sun, 24 Feb 2013 19:41:25 GMT


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\-1611415340.xml.temp
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/4.5/enterpriseproductlist.xml' after preprocessing, location on disk: 'C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1611415340.xml'
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://go.microsoft.com/?linkid=9817844' after preprocessing, location on disk: 'C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1250132447.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 Found
Cache-Control: private
Content-Type: text/html; charset=utf-8
Expires: Sun, 24 Feb 2013 19:40:27 GMT
Location: http://www.microsoft.com/web/handlers/WebPI.ashx?command=getatomfeedwithavgratingquery
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Sun, 24 Feb 2013 19:41:27 GMT
Content-Length: 203
Connection: Keep-Alive
Set-Cookie: MC1=GUID=9055511ac2c1544180f915e1cf3c4a45&HASH=1a51&LV=20132&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/


DownloadManager Information: 0 : Ratings file loaded successfully
DownloadManager Information: 0 : Adding product Microsoft WebMatrix 2 Refresh 2 (WebMatrix) to cart
DownloadManager Information: 0 : Dependent product WebMatrixforWin8 does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product IISExpress8RTWforWM does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product WebMatrixforWin8 does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product IISExpress8RTWforWM does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product WebMatrixforWin8 does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product IISExpress8RTWforWM does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Adding product 'WebMatrix'
DownloadManager Information: 0 : Adding dependency product 'WebMatrixforWin7orBelow
DownloadManager Information: 0 : Adding dependency product 'MySQLConnector
DownloadManager Information: 0 : Setting current install to 1
DownloadManager Error: 0 : WebClient download error. Uri: http://www.microsoft.com/web/media/gallery/apps-screenshots/Microsoft-MediaServices2.png, Error: System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
DownloadManager Error: 0 : System.OutOfMemoryException: Out of memory.
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
at Microsoft.Web.PlatformInstaller.UI.ImageServiceImplementation.GetImage(Uri imageUri)
DownloadManager Error: 0 : WebClient download error. Uri: http://www.microsoft.com/web/media/gallery/apps-screenshots/Microsoft-IPandDomainRestrictions.png, Error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.WebClient.DownloadBitsState.RetrieveBytes(Int32& bytesRetrieved)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream, CompletionDelegate completionDelegate, AsyncOperation asyncOp)
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.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
DownloadManager Error: 0 : WebClient download error. Uri: http://www.microsoft.com/web/media/gallery/apps-screenshots/mvc_logo.png, Error: System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
DownloadManager Error: 0 : System.OutOfMemoryException: Out of memory.
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
at Microsoft.Web.PlatformInstaller.UI.ImageServiceImplementation.GetImage(Uri imageUri)
DownloadManager Error: 0 : System.OutOfMemoryException: Out of memory.
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
at Microsoft.Web.PlatformInstaller.UI.ImageServiceImplementation.GetImage(Uri imageUri)
DownloadManager Information: 0 : Starting install sequence
DownloadManager Information: 0 : Downloading file 'http://mysql.mirrors.pair.com/Downloads/Connector-Net/mysql-connector-net-6.5.4.msi' to: C:\Users\bevan\AppData\Local\Temp\tmp9D08.tmp
DownloadManager Information: 0 : File 'C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\installers\MySQLConnector\D5972EBB29291F736C76354904A924F2DCBF452B\mysql-connector-net-6.5.4.msi' already exists, deleting old copy of the file
DownloadManager Information: 0 : Moving downloaded file 'C:\Users\bevan\AppData\Local\Temp\tmp9D08.tmp' to: C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\installers\MySQLConnector\D5972EBB29291F736C76354904A924F2DCBF452B\mysql-connector-net-6.5.4.msi
DownloadManager Error: 0 : Signature verification failed on downloaded file. URL: http://mysql.mirrors.pair.com/Downloads/Connector-Net/mysql-connector-net-6.5.4.msi. File location: C:\Users\bevan\AppData\Local\Microsoft\Web Platform Installer\installers\MySQLConnector\D5972EBB29291F736C76354904A924F2DCBF452B\mysql-connector-net-6.5.4.msi. File size: 9 kb
DownloadManager Information: 0 : Product MySQL Connector/Net done install completed
DownloadManager Information: 0 : Increasing current install to 2
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft WebMatrix 2 Refresh 2'. Skipping download.
DownloadManager Information: 0 : Product Microsoft WebMatrix 2 Refresh 2 had a dependency fail. Increasing install product to 3
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft WebMatrix 2 Refresh 2'. Skipping download.
DownloadManager Information: 0 : Product Microsoft WebMatrix 2 Refresh 2 had a dependency fail. Increasing install product to 4
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft WebMatrix 2 Refresh 2'. Skipping install
DownloadManager Information: 0 : Product Microsoft WebMatrix 2 Refresh 2 had a dependency fail. Increasing install product to 5

Server Error in '/' Application

$
0
0

Hi. I am running IIS 8 on Server 2012. I have three Web sites running on the machine, along with companion FTP sites. Two HTTP sites are public; one is private (password protected). Everything is fine on the public sites, but I am having trouble getting the private site to work as expected.

I have set up the private site with a Windows User account. I am using Basic Authentication. When I point a browser to the addresshttp://www.doimain.com I receive the following error:

"Server Error in '/' Application. Runtime error."

However, when I point a browser to the address http://www.domain.com/default.htm" it works fine. I see a log-in box and the site works as expected. Note that the only difference between the successful and unsuccessful log-in is that the actual file name of the home page is included (default.htm).

I have checked the Default Page settings in IIS and "default.htm" is on the list.

What am I missing here? Thanks,

PS: Is there a way to create a password-protected site without the need to create Windows User Accounts for it? It would be very convenient to have a database (or just a list) of username/password combinations that could be used for this purpose. I noticed that a contributor to this site has posted such a plug-in, but the last documentation on it appears to be for IIS 7.

IIS 7.5 serviceAutoStartProvider strange behaviour

$
0
0

I am running into a bit of an issue whereIIS7.5 is exhibiting some strange behavior when using a single serviceAutoStartProvider across multiple app pools. Basically I have two different applications, in two different AppPools using the same serviceAutoStartProvider. When one AppPool starts, it will execute the Preload method for the application in that AppPool (as expected), but it also executes the Preload method for the application in the other app pool.

Here is an overview of the setup.

-- applicationHost.config file

<applicationPools>

                <addname="AppPoolA"managedRuntimeVersion="v4.0"startMode="AlwaysRunning" />

                <addname="AppPoolB"managedRuntimeVersion="v4.0"startMode="AlwaysRunning" />

</applicationPools>

 

<serviceAutoStartProviders>

                <addname="MyAutoStartProvider"type="MyAutoStartProvider, MyAssembly" />

</serviceAutoStartProviders>

 

<sites>

                <sitename="Default Web Site"id="1">

                                <applicationpath="/MySiteA"applicationPool="AppPoolA"serviceAutoStartEnabled="true"serviceAutoStartProvider="MyAutoStartProvider">

                                                <virtualDirectorypath="/"physicalPath="C:\inetpub\wwwroot\MySiteA" />

                                </application>     

                                <applicationpath="/MySiteB"applicationPool="AppPoolB"serviceAutoStartEnabled="true"serviceAutoStartProvider="MyAutoStartProvider">

                                                <virtualDirectorypath="/"physicalPath="C:\inetpub\wwwroot\MySiteB" />

                                </application>

                </site>

</sites>

 

 

// Auto Start Entry Point.... Both applications have their own copy of the assembly

 

publicclassMyAutoStartProvider : System.Web.Hosting.IProcessHostPreloadClient

{

                publicvoid Preload( string[] parameters )

                {

 

                                // Start a several long running processes here...

 

                }

}

 

 

Example Scenario:

AppPoolA and AppPoolB are both stopped.

When AppPoolA is started MySiteA runs its MyAutoStartProvider.PreloadBUT MySiteB ALSO runs its own preload even though it is in a different application pool (AppPoolB) which isstopped.

 

The same happens when starting AppPoolB, it will run the Preload for MySiteB and MySiteA.

 

This seems like it may be an IIS bug. Is this expected behaviour (if so why?), or is it an issue that is known about? Also what are the suggestions to work around the issue (obvious one that comes to mind is oneserviceAutoStartProviderper AppPool)?

Viewing all 27852 articles
Browse latest View live




Latest Images