iis-7

How to enable sharing of web site on localhost?

房东的猫 提交于 2019-12-23 15:54:18
问题 I tried to enable my site on loclhost to be accessed from other computers but i can't find a way to do this. I have tried to add shareing to "Internet Guest Account" but that doesn't work either. I just can't forse it to enable access from my other computer. alt text http://img162.imageshack.us/img162/7379/sharee.jpg 回答1: You need to allow web service hosting out of your windows firewall which is in your control panel. File Sharing doesn't enter into it unless you are wishing to share your

Visual Studio 2015 Error 500.19

半城伤御伤魂 提交于 2019-12-23 14:50:37
问题 I have problem with opening project in VS 2015. In VS 2012, and VS 2013 is everythink ok. But when I start web application in VS 2015, I got error 500.19 while loding css and js files. I know, that it shoud be because of permissions, so I set NETWORK, NETWORK SERVICE and IIS_IUSRS to read, write, modify on my project folder, but it did not help. Have anyone idea? 回答1: Finally I can handle with it. I just need to remove from my web.Config <staticContent> <mimeMap fileExtension=".less" mimeType

How to configure SMTP in IIS 7?

冷暖自知 提交于 2019-12-23 13:09:14
问题 How to to configure SMTP mail in IIS 7? I am new to IIS 7 and want to know how to configure that, or its better to keep using the IIS 6 SMTP? Any one know where to find some videos to learn SMTP in IIS 7? 回答1: The IIS7 SMTP server is managed using IIS6 management console. 来源: https://stackoverflow.com/questions/1046620/how-to-configure-smtp-in-iis-7

Mixing Windows and Forms Authentication in ASP.NET MVC

狂风中的少年 提交于 2019-12-23 12:56:03
问题 I'm currently trying to set up a website that uses both windows authentication and forms authentication. I am using ASP.NET MVC and both IIS6 and 7 need to be supported. How would I go about letting known AD users into the app (their AD id is stored against their user record in the application database) and directing everyone else to a standard username/password page. 回答1: It seems the answer is no. We've had to set up 2 sites, the main application with forms authentication and a separate

Context.Session object is null in Application_AcquireRequestState

早过忘川 提交于 2019-12-23 12:42:25
问题 I upgraded my website from .NET 1.1 to .NET 4.0. In my Global.asax.vb file I'm trying to access the Context.Session object in the Application_AcquireRequestState method and I am getting a null reference exception when I first attempt to access the website. I installed the .NET 4.0 version of the website on a different test server using IIS 7.5 and everything seemed to work OK. But when I install the .NET 4.0 version of the website on the original server that uses IIS 6 I'm getting the

IIS 7 Service Unavailable 503 ERROR

青春壹個敷衍的年華 提交于 2019-12-23 12:02:49
问题 I am encountering a 503 - Service Unavailable error. I checked the event log and found this: The Module name FastCgiModule path C:\WINDOWS\System32\inetsrv\iisfcgi.dll returned an error from registration. The data is the error. Note: Every time I try to visit my website, I found that the DefaultAppPool will auto-stop. And also found this in event log: Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.

IIS7 MVC Routing Not Working

痴心易碎 提交于 2019-12-23 10:39:06
问题 Our company ships an MVC based product (targeting v4.5) which has stopped working on a customer site for what appear to be environmental issues - a build which worked with no problems once upon a time now gives a 403.14 - The Web server is configured to not list the contents of this directory . . What I think is happening... The user accesses http://server/AppName Because it's an MVC app, the default route ( Reports/Index ) should be used. Instead IIS is looking for a default document... ...

IIS7 MVC Routing Not Working

梦想的初衷 提交于 2019-12-23 10:38:59
问题 Our company ships an MVC based product (targeting v4.5) which has stopped working on a customer site for what appear to be environmental issues - a build which worked with no problems once upon a time now gives a 403.14 - The Web server is configured to not list the contents of this directory . . What I think is happening... The user accesses http://server/AppName Because it's an MVC app, the default route ( Reports/Index ) should be used. Instead IIS is looking for a default document... ...

How do I disable gzip compression for flv files in IIS 7 with runAllManagedModulesForAllRequests set to true?

断了今生、忘了曾经 提交于 2019-12-23 10:00:11
问题 I have an ASP.NET 3.5 Website that is running on IIS 7 and I would like to have my static content (like css files, javascript files, etc) gzip compressed as well as my dynamic content (.net pages). The problem is that I need to make sure flv files (flash video files) are not gzip compressed because that causes problems with the flash video player I'm using, Flowplayer. I've added the following line to my web.config which enables compression, but then my flv files are also being gzip

What is the difference between 'classic' and 'integrated' pipeline mode in IIS7?

谁说胖子不能爱 提交于 2019-12-23 09:58:50
问题 I was deploying an ASP.NET MVC application last night, and found out that it is less work to deploy with IIS7 set to integrated mode. My question is what is the difference? And what are the implications of using one or the other? 回答1: Classic mode (the only mode in IIS6 and below) is a mode where IIS only works with ISAPI extensions and ISAPI filters directly. In fact, in this mode, ASP.NET is just an ISAPI extension (aspnet_isapi.dll) and an ISAPI filter (aspnet_filter.dll). IIS just treats