iis-8

Upgrade to ASP.NET MVC 5 Error 403.14 Forbidden

巧了我就是萌 提交于 2019-12-13 03:57:42
问题 I upgraded from ASP.NET MVC 4 to MVC 5, and my site stopped working. Accessing it from the internet gave a 403 - Forbidden: Access is Denied. Accessing it from the VM with the site gave the message Error 403.14 Forbidden The Web server is configured to not list the contents of this directory. In addition, the event log said there was an error loading System.Web.Mvc v 5. A lot of the answers for stuff like this said you had to re-register ASP.NET, but that is not allowed for IIS 8. 回答1: I'm

Can't upload file attachments to phpBB3 forum on IIS

穿精又带淫゛_ 提交于 2019-12-13 03:48:52
问题 With reference to this thread (where, to be honest, I'm a bit lost with the technicalities): https://www.phpbb.com/community/viewtopic.php?f=556&t=2520341&e=1&view=unread#unread Does anyone have any suggestions as to why I am unable to upload file attachments to my forum? I've tried every solution I can find via Google, fiddled endlessly with permissions etc. on the webserver - I just can't get it to work, nor can i find any useful error messages anywhere. I'd be great to finally fix this. 来源

iisnode won't run Express

大憨熊 提交于 2019-12-12 18:36:33
问题 I'm trying to run express using iisnode. I followed the examples provided but when trying to use the latest Express version with a basic example, there's no way to make it work. I'm getting the error Cannot GET /node/parislight/hello.js and other times, just a The webpage cannot be found . My created a hello.js file (main express file) taken from the express docs. var express = require('express') var app = express() app.get('/', function (req, res) { res.send('Hello World!') }) var server =

SqlRoleProvider on IIS8 Express

眉间皱痕 提交于 2019-12-12 14:28:57
问题 My web application (a WCF service) uses SqlRoleProvider , which works fine on Visual Studio Development Server . Switching it to IIS8 Express causes it to throw a NullReferenceException though: Roles.IsUserInRole(username, role) // neither of them actually null I could not find a hint for this exception in the IsUserInRole method documentation. Switching back to Visual Studio Development server makes it work. What is the cause of this exception, and how could I fix it properly? The project's

Making MVC 6 deploy on IIS on Windows 10

▼魔方 西西 提交于 2019-12-12 12:29:54
问题 I'm using 1.0.0-rc1-update1 and on IIS Express it works fine, but when I deploy to IIS, I get a blank page. Nothing. No errors, nothing in the event log - this is the same problem even for a vanilla MVC6 web application, so I doubt it's my code! I am pointing the application to the www folder under the published folder and I have my app pool set up for .net 4 Am quite used to getting errors out of IIS, but this is a new one on me! Would anyone be able to help? Or maybe at least point me at

WCF says it exceeds maximum query string value while it is not

China☆狼群 提交于 2019-12-12 09:49:48
问题 I have a WCF service (over a webHttpBinding ) using ASP.NET 4/IIS 8 and I had no problems communicating with it using JSON with GET . However, today I needed to implement a method that sends a large query string (about 3000 characters, not that long but longer than that I've been using). I called the service and immediately got a 404 error, without even stepping into my code at my debug machine. The first thing that came to my mind is the maximum query string length limit. I've added this to

Global.asax Application_BeginRequest not firing After reinstall Server

牧云@^-^@ 提交于 2019-12-12 06:37:36
问题 In windows server 2012 R I formatter server and reinstall server 2012 R with IIS 8.5xx version I copy same file but my website does not work Global.asax Application_BeginRequest method not firing my application pool is integrated v4.0 I changed it to classic but it does not work 来源: https://stackoverflow.com/questions/45060505/global-asax-application-beginrequest-not-firing-after-reinstall-server

IIS Handlers exclude a Directory when processing htm requests

前提是你 提交于 2019-12-12 06:37:20
问题 I am using the below handler in by web.config file. The problem i am now faced with is that i have .htm files in a particular directory that i need to be excluded from this handler. Is there a way to do this? <add name="ASPNETLikeHandler-Classichtm" path="*.htm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode" /> So when a certain directory is targeted i want the

The FastCGI process exceeded configured activity timeout on shared hosting

喜夏-厌秋 提交于 2019-12-12 06:17:01
问题 I was using Godaddy asp.net shared hosting hosting the domain (mycampusnotes.com), everything was fine, until yesterday (15 April, 2015) at 4pm, I started to get these messages on my forum section of the website (http://mycampusnotes.com/forum and blog.mycampusnotes.com) [The forum loading time was fast since 10 months (around 2-3s), never had any issue since yesterday, no significant changes made in the code also] Error link (snapshot containing 2 errors on 2 different subdomains) : http://i

IIRF on IIS8 / Window Server 2012 Throwing w3wp.exe Exceptions

荒凉一梦 提交于 2019-12-12 04:48:37
问题 Has anyone had any luck getting IIRF to work with IIS8? I'm migrating an existing PHP web app off of an IIS 7.5 / Windows Server 2008 R2 server onto the new IIS8 / 2012 server. I downloaded and tested all IIRF 2.x versions to no avail. I've run Debug Diagnostics but don't get much detail information on the failed w3wp.exe process. The IIRF logs show the exception below. I don't have much URL rewriting experience and wonder if I should use Internet Server API's URL Rewrite instead. Error Log