iis-6

What can cause IIS app pool to recycle?

痞子三分冷 提交于 2020-01-03 04:52:10
问题 I am currently experiencing some instability in my session variables and believe the app pool is where the error is coming from. What I cannot find is a list of possible culprits for the issue. What can cause the app pool to recycle on its own, other than a scheduled recycle? 回答1: Common reasons why your application pool may unexpectedly recycle EDIT : Full Text in the event that the link goes 404: If your application crashes, hangs and deadlocks it will cause/require the application pool to

CS0234 error with System.Linq namespace in ASP.NET

依然范特西╮ 提交于 2020-01-03 01:15:09
问题 At my company, we have tiered environment for our web applications (development, staging, production). I made a bunch of changes to one of my applications and deployed them to the development environment (Windows 2003 w/ IIS 6.0). I also had to make an immediate change to one of the user control files that needs to fix issue with the current production application. I just deployed the one file to the staging environment (Windows 2003 w/ IIS 6.0), which is an exact copy of production on got

How can I deploy an MVC 4 application to IIS 6?

南笙酒味 提交于 2020-01-02 17:34:13
问题 I'm working on my first MVC application (also my first web project) and want to deploy it to a test server running Windows Server 2003 with IIS 6. It's a simple CRUD app built with VS 2012 using .NET 4, Entity Framework 5. I built the DB first on SQL Server 2005 since my manager wanted to see the DB first. I used the EF Power Tools Beta 4 to reverse-engineer back to Code First. I customized the T4 templates to allow for Data Annotations. The app works fine using IIS Express on my development

What controls the url used in the soap address location of the WSDL?

让人想犯罪 __ 提交于 2020-01-02 06:48:31
问题 I am exposing a wcf service over https from iis 6. I have verivied, as best I understand, that the binding is correctly set in iis (yes, positive that the site id is '1', and have done iisreset). when I run this: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>cscript.exe //NoLogo %sys temdrive%\inetpub\adminscripts\adsutil.vbs enum W3SVC/1 this is in the list: SecureBindings : (LIST) (1 Items) ":443:dev.mydomain.com" When I open the url to the service, I can see that it is correctly

Is it absolutely necessary to manually configure IIS6 to use ASP.NET MVC?

吃可爱长大的小学妹 提交于 2020-01-01 12:07:17
问题 I have a web hosting that replied to me it was not possible to alter the IIS6 settings to set the mapping of .mvc to the Asp.Net ISAPI dll, nor enable Wildcard Application Mappings. In short, I cannot change any IIS setting. Is there any way to run ASP.NET Mvc in that conditions? Note : I read a few related questions here about this, but didn't understand them in some cases, and it wasn't what I needed in others. I'd appreciate it if before closing this one as duplicate, there was an

Do you lose functionality when hosting ASP.NET MVC on IIS 6? If so, what?

末鹿安然 提交于 2020-01-01 11:37:12
问题 As a dev team, we're looking to switch to asp.net MVC and I've heard rumors about IIS 6 not being able to support all of the MVC functionality. Is this true? Is there any official set of functionality supported in IIS 7 vs IIS 6? Should we completely avoid running it on IIS6? 回答1: You do not loose any functionality of ASP.Net MVC; however, you have one of two options. You can either define an extension on your URL's which will allow you to set up mapping. So for example: www.example.com/books

IIS 6 with wildcard mapping and UNC virtual directory problem

元气小坏坏 提交于 2020-01-01 07:03:29
问题 On our production servers (win 2003 with IIS6 and load balanced with an F5 BIGIP), we have a problem when introducing wildcardmapping on IIS6. We use .net Framework 3.5 SP1. The issue manifests itself as by the server only sometimes serving the images stored on a virtual directory pointing to a UNC path. Sometimes the images are displayed, and sometimes not. Removing the wildcard mapping solved this problem. I will need wildcard mapping on the server for future features, so any help/pointers

Restart a WCF service after a server reboot

喜夏-厌秋 提交于 2019-12-31 03:54:19
问题 Is there some mechanism in WCF that can be used to "pre-start / warm-up" WCF services that are hosted in IIS ? - something like the warm-up scripts for SharePoint sites I have the situation where servers are re-booted over night and next day there is a long delay while the WCF services spin-up. I can't change the time-out in various applications that use the services, so the first users are reporting errors in the morning when they go to use their applications This is on Windows 2003 Server

Unable to open download save dialog

拈花ヽ惹草 提交于 2019-12-31 02:58:14
问题 Using the below code I am unable to show the open/save as file dialog: public void ProcessRequest(HttpContext context) { string link = context.Request.QueryString["Link"]; string extension = Path.GetExtension(link); string fileName = Path.GetFileName(link); string fullPath = String.Format("{0}\\{1}", context.Server.MapPath("~/Content/Uploads/"), fileName); if (File.Exists(fullPath)) { context.Response.ClearContent(); context.Response.ClearHeaders(); context.Response.AddHeader( "Content-Length

ASP.NET Custom Errors being ignored

不想你离开。 提交于 2019-12-31 02:34:27
问题 I have custom errors configured in my web.config, but IIS 6.0 is returning the custom error specified in the Custom Errors tab of the website configuration. <system.web> <customErrors> <error statusCode="404" redirect="UrlRedirect.aspx" /> </customErrors> </system.web> What can I be missing? 回答1: Bear in mind that the 404 handler specified in the web.config only kicks in for files handled by the ASP.NET runtime - .htm, images, css, javascript will all be handled by the 404 page specified in