Hello! I have trouble with JSON response compression. I look to response headers after uploading website to production server (Windows 2008, IIS 7) and found uncompressed response. Turning on "Enabled static compression" and ""Enable dynamic compression" in IIS control panel does not effect. ASPX pages was responsed gzipped, but webservi...
Basically we moved from IIS 5 to IIS 7 and I am trying to update some of our old COM objects to .NET by rewriting them in C#. What I am have so far is a Classic ASP page calling the COM+ object and then I am trying to do a simple redirect within the COM+ object (this is just for testing purposes, it's not what the object will do eventual...
I am trying to convince my boss to upgrade a couple web app servers from Win 2003 to Win 2008 so I can utilize ASP.Net 4.0 on IIS7. I am also trying to get our SQL Server 2000 upgraded to 2008 so I can use Linq2SQL in VS2010 plus a bunch of other reasons.
But the boss is experiencing sticker shock now that I have told him what it all c...
I have an ASP.NET web application that is using forms authentication. Everything is configured and working correctly. However, i'm dealing with the issue of creating and maintaining users and role membership.
I know that I can roll my own solution but I'm wondering if there is an alternative solution?
Does iis7 provide screens for man...
Okay, I am trying to deploy a .Net framework 4 website on IIS7 server. I have already changed the application-pool's target framework to .Net 4, but the app is still showing me the error:
"The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration"
I am guessing that has something to do...
I have got IIS7 running on my Windows 2008 Server
It works perfectly working for the sites and the folder that I hosted before.
Now I am trying to host a folder which contains two subfolder(the subfolders contain some
images).
I have correctly set the IIS_IUSRS permissions on the site folder. When I try to browse
the folder I got the f...
I would like to execute a frame redirect in C# from my managed module for the IIS 7.
When I call context.Response.Redirect(@"http://www.myRedirect.org");the correct page is shown but also the address is shown in the browser. And that is exactly what I do not want.
So I want something like:
private void OnBeginRequest(object sender, Even...
From searching around it seems the old style trace.axd does work with MVC. Not sure how well, but people to appear to be using it.
I am having difficulty getting running on my setup (IIS7, Windows Server, ASP.NET 3.5 with MVC 1.0. I have tried following classic the guidelines, but I get a trace not enabled message when trying to load tr...
What is the difference between configuring a Caching Profile in Web.Config and configuring it in IIS?
If you have this in Web.Config
<caching>
<outputCache enableOutputCache="true" />
<outputCacheSettings>
<outputCacheProfiles>
<add duration="14800" enabled="true" varyByParam="*"
name="Asset...
I'm building a few SharePoint sites, and I want to make use of zones so I may set security different in the various zones.
My workstation has a local SharePoint, and I use it for development.
My workstation has a static IP, and is connected to the internet.
When I make a SharePoint site, I want to add a host header, for instance, devbox...
Here is the error:
System.TypeInitializationException: The type initializer for 'NHibernate.Cfg.Environment' threw an exception.
---> System.Security.SecurityException: Request for ConfigurationPermission failed while attempting to access configuration section 'hibernate-configuration'. To allow all callers to access the data for ...
I'm using the following function to create an IIS7 Application and/or Virtual Directory.
How would I also set the Application to use a different Application Pool?
Private Sub CreateVirtualDir(ByVal WebSite As String, ByVal AppName As String, ByVal Path As String, Optional ByVal IsApplication As Boolean = True, Optional ByVal RunScript...
I have the following bit of code that worked as expected before we upgraded to Integrated Pipeline in IIS7.
public void RedirectPermanently(string url, bool clearCookies)
{
Response.ClearContent();
Response.StatusCode = 301;
Response.AppendHeader("Location", url);
if(clearCookies)
{
Response.Cookies.Clear();
Response.F...
All routes within my ASP.NET URL Routing web application are receiving a 404. However, the actual pages that exist are showing up correctly. I'm using IIS7. Any ideas?
...
What I am trying to do is simple. I have some Classic ASP with include headers like the following referencing MDAC 2.5:
METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.5 Library" UUID="{00000205-0000-0010-8000-00AA006D2EA4}" VERSION="2.5"
Now I am trying to call this same include file on a Windows 2008 box with ...
How to Setup IIS 7.5 Website Physical Path to a Network Share?
When I point the physical path to a network share and try to access the page, I get the following error:
...
I have the following situation:
multiple virtual directories under same application pool in IIS
copy of same DLL in all those directories (same version number)
a singleton class in one in this DLL
The question is, is this singleton class created only once for all those Virtual Directory instances or is there for each of these directo...
I need to find out which account is running one of my websites application pool.
I need to add the user to a database in SQL Server.
Using IIS Manager, is there a way to check?
...
Hi there, we're looking to compress our gargantuan JavaScript files with GZip to speed up the page loads of our site. I know this can be done through IIS, but I can't seem to find a simple step-by-step guide on how to implement it.
If someone could point me towards such a guide, I'd really appreciate it. I've never done this before, so ...
Here's the thing:
Due to a new project, I have to learn PHP from scratch. I'm now in windows and I DON'T want to change quickly, so, don't tell me to change.
I need to setup a DreamWeaverCS4/PHP5 develop environment, and, I don't have a clue whether to use Apache or IIS7.
I just need some advice relating to it.
Remarks:
I really don'...