iis-6

Why Does My ASP.NET Cache Keep Clearing Itself?

耗尽温柔 提交于 2020-01-25 00:32:07
问题 I have a .Net 3.5 application installed on a server running Windows Server 2003 SP2, IIS 6. Every few minutes the cache it clearing itself. This doesn't happen when the traffic is low. This is the performance graph taken with Process Explorer, every drop in the graph is when the cache is cleared. The system has 8GB of RAM. In the same app pool there are several applications but the cache is not being reset at the same time. The app pool doesn't have Memory Recycling turned on. What should I

Security Exception When Deploying Asp.net web application in Shared Hosting and Things to Consider

元气小坏坏 提交于 2020-01-23 17:27:27
问题 I'm looking to deploy a ASP.net web application in Shared Hosting. I'm getting Security Exception, System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Any help to fix and any other common issues that can be taken care when planing to deploy in Shared Hosting will be greatly appreciated. 回答1: Many hosting providers will provide a control panel

Does asp.net setting affect classic asp (IIS 6 settings)

久未见 提交于 2020-01-23 11:10:11
问题 My company has some classic asp sites and developing new sites in asp.net, and everytime we create a new site in IIS 6 all the sites go down for a couple of seconds. So I'm thinking of changing the default value of the ASP.NET version to 2.x since that is what we're developing and I'm wondinger if these settings somehow affect the classic asp sites that are running on same IIS. All of them are asp.net 1.1 versioned right now but we have to get around this all-sites-down everytime we add a new

Secure MediaWiki from Public Access Authenticate Windows ASP server on Linux PHP

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-17 03:15:05
问题 We have a web application that runs on a IIS6 ASP.Net server. You must be logged in to use the software. Basically when you login a cookie is generated then when you visit subsequent pages they check for that cookie; if it is not there then you are redirected to login. We want to implement a MediaWiki server using Linux/PHP (LAMP) to provide a "wiki" formatted help section for our users. However, we want to only allow access from people that are logged in to the software. So we have software

how to allow .com in a url path using IIS6 on Win2003 R2 x64?

半腔热情 提交于 2020-01-16 02:13:09
问题 it seems IIS6 on Win2003 R2 Enterprise x64 SP2 will not allow you to use .com in a url path. e.g if i create a folder foo.com in my web root, containing a default.htm, this url results in a 404: http://localhost/foo.com/default.htm however, following the exact same steps on Win2003 R2 Standard x86 SP2, and IIS6 will serve up the file just fine. Neither server has urlscan installed. Is there a way to tell IIS6 on Win2003 x64 to allow .com in a url path? 回答1: This looks like it might relate the

How to Elevate Role in ASP.net From anonymous to windows auth?

会有一股神秘感。 提交于 2020-01-15 14:23:30
问题 I have a few websites which allow both anonymous and window auth users at the same time. Basically if you hit the site with IE or Webkit based browsers on a windows system, the server instantly recognizes your active directory user and group. In the past I've provided a link to a windows auth only page which allows the current user to login, or bounce back to where they started. I find the management of this kind of frustrating as I need to make certain that IIS has the correct security

How to configure the timeout of your ASP.NET web application?

独自空忆成欢 提交于 2020-01-15 13:25:50
问题 My previous experience with ASP.NET web application (regarding the timeout) is that it logouts the user every 30 minutes, regardless of what module is running, Is there a way that we can increase the application timeout to an hour or two? Any help is highly appreciated, thanks in advance. 回答1: You can set the Sesion timeout in your web.config file. <sessionState timeout="60" /> The value is defined in minutes. I think you can set it programmatically as well from the HttpContext.Current

How to configure the timeout of your ASP.NET web application?

ⅰ亾dé卋堺 提交于 2020-01-15 13:23:18
问题 My previous experience with ASP.NET web application (regarding the timeout) is that it logouts the user every 30 minutes, regardless of what module is running, Is there a way that we can increase the application timeout to an hour or two? Any help is highly appreciated, thanks in advance. 回答1: You can set the Sesion timeout in your web.config file. <sessionState timeout="60" /> The value is defined in minutes. I think you can set it programmatically as well from the HttpContext.Current

How to create an application in IIS using command line?

我的梦境 提交于 2020-01-15 03:05:27
问题 What would be the equivalent, by command line, of the create button in the Home Directory tab in IIS 6.0 ? (Used to create an application on a directory). Edit : I already know of iidvdir. Unfortunalety, it doesn't seem to work the way I want it to (or I dont use it properly). Let's say that I have a website called Website for witch the root directory is C:\Website. I want to create the application in C:\Website\Application. If i try iisvdir /create Website Application c:\website\Application

IIS 6 Website root vs Application? ResolveUrl()?

。_饼干妹妹 提交于 2020-01-13 11:48:49
问题 IIS 6 ASP.NET 3.5 (C#.NET) We are having an issue where the same set of files behave differently depending on if it is a root IIS website versus an application under an IIS website. The urls produced using ResolveUrl() are different - i.e.: <a href="<%=ResolveUrl("~/contact.aspx") %>">Contact Us</a> As the root website, it produces: http://contact.aspx As an application under a website, it produces: http://domainname.org/DSC/contact.aspx Both are utilizing the same files. The first example is