iis-7.5

Can PHP and ASP.Net run together within the same web site in IIS 7.5?

百般思念 提交于 2019-11-26 22:50:06
A portion of our site is done in PHP and a portion of our site is done in ASP.Net. We just set up a new web server with Windows Server 2008 R2 which has IIS 7.5 installed. I understand that IIS 7+ supports PHP, but can PHP and ASP.Net run side-by-side within a single web site in IIS, or would I have to set up one web site for the PHP pages and one web site for the ASP.Net pages? You should be able to run both in the same site, but be sure that the AppPool for the site runs a "classic" ASP.NET pool configuration. The default AppPool routes everything through ASP.NET, and you won't want that for

Impersonate Domain User with Integrated Pipeline

浪尽此生 提交于 2019-11-26 22:34:36
问题 In an local Intranet environment, are we doomed to use "Classic" pipeline mode in our App Pool if we want to use Impersonate our Windows domain users, or is there a new way to declaratively "run as" them (so-to-speak)? My goal is to use Windows Authentication for local web applications on my Intranet so users can authenticate and run apps under their active directory account (principle). Every time I try this (Using the NetworkService identity of course), I get this error: 回答1: I wrote a

How to rewrite URL as subdomain in asp.net without actually creating a subdomain on server

依然范特西╮ 提交于 2019-11-26 21:28:20
问题 I hope this isn't the first time i'm asking this question on SO. I've URLs in my website and which are using query string values For example: http://foo.com/xyzPage.aspx?barvalue=yehaa to http://yehaa.foo.com/ Please suggest how it can be accomplished without actually creating subdomains on server .. I've IIS 7.5 installed on server machine and using Asp.net 4.0 . Many thanks 回答1: EDIT following our comments: To access http://foo.com/xyzPage.aspx?barvalue=yehaa using http://yehaa.foo.com/ ,

The layout page “{path}” could not be found

社会主义新天地 提交于 2019-11-26 21:13:13
问题 We just got a new Windows 2008 R2 server and I am trying to set up an MVC 3 site in IIS 7.5 with the Razor View Engine. I am getting a strange error when I access the default route. The layout page "~/Views/Shared/_Layout.cshtml" could not be found at the following path: "~/Views/Shared/_Layout.cshtml". This is strange because I explicitly set the Layout from within /views/home/index.cshtml like so: @{ Layout = "~/Views/Shared/_Layout.cshtml"; } I am 100% certain that the /views/shared/

PHP flush stopped flushing in IIS7.5

喜你入骨 提交于 2019-11-26 21:04:58
问题 We have been using php flush to "blank" a page immediately as soon as it is clicked, and also to send the navigation and main components of the page so that a page appears nearly instantly, even though sometimes the content may take a long time to load. This has been working very well. Recently we upgraded from IIS 7.0 to 7.5 and now flush does not work. While investigating the problem we have turned off compression for both static and dynamic files. We have also turned off output caching. We

How to enable ASP classic in IIS7.5

孤街醉人 提交于 2019-11-26 20:55:39
I am running IIS 7.5 in Windows 7 and have already gone into "Turn Windows features on or off" and enabled ASP in "Internet Information Services/World Wide Web Service/application Development Features". Once I did that I started getting an HTTP 404 error saying: The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. So I took this to mean that I needed to add a mapping to *.asp in the Handler mappings and the handler is mapped to C:\Windows\System32\inetsrv\asp.dll. But when

SignalR WebSockets on IIS 7.5

橙三吉。 提交于 2019-11-26 20:54:35
问题 On my IIS 7.5, my SignalR application always used long polling. As per my search, IIS 7.5 does not support WebSockets yet. I hope, I missed some tools or configurations to enable WebSockets in IIS 7.5. Or I didn't? 回答1: Here's a summary of the required setup steps to host on Windows 2008r2 with IIS 7.5: Update the SignalR application's web.config file to enable "run all managed modules for all requests" (for short, this is the RAMMFAR setting). Update the web page that uses SignalR to

Kerberos double-hop in ASP.NET 4.0 & SQL2008R2

青春壹個敷衍的年華 提交于 2019-11-26 20:41:45
问题 I have an ASP.NET 4.0 application within which I need to forward the authentication to the database. For the purposes of this request for assistance, lets call the web server "app1" and the database server "sql1". The SQL2008R2 database service is running as a named instance "SQL2008R2" under a custom domain account "SqlServer". The server is running Windows Server 2008 R2 Enterprise Edition. I have created an SPN for this... setspn -a MSSQLSvc/sql1.mydomain.local:SQL2008R2 SqlServer The ASP

HTTP Error 403.14 - Forbidden IIS Error for ASP.Net MVC 4 Application

亡梦爱人 提交于 2019-11-26 19:43:56
问题 we developed an asp.net mvc 4 application. in vs 2012 this work fine. we publish this web application and putting it on iis 7.5, but when we want to browse web application through iis, this error message was show: HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory. we think that this error may be from this web application, but we create another asp.net mvc 4 application (without any change and with internet template) and putting it on iis,

Asp.net Sessions Getting Crossed / Mixed Up

不打扰是莪最后的温柔 提交于 2019-11-26 19:31:14
问题 Few weeks ago we had one of our customers contacting us saying that sometimes when he creates an activity it gets created under someone else's name! We did some troubleshooting and couldn't find anything. We asked the user to contact us the next time he was experiencing these issues. He did contact us and we were able to do a gotomeeting with him and see the issue with our own eyes. It was not only the activities, he was recognized as someone else in the application. He had access to