iis

ASP.NET Friendly URLs

In my research, I found 2 ways to do them. Both required modifications to the Application_BeginRequest procedure in the Global.Asax, where you would run your code to do the actual URL mapping (mine was with a database view that contained all the friendly URLs and their mapped 'real' URLs). Now the trick is to get your requests run throu...

What is the encoding of an .eml file from IIS's SMTP server?

I need to write a program that read the .eml files from IIS's mail drop box, but I can't find a definitive source that tells me the encoding of the .eml files. Is there a specification somewhere that tells me the encoding of the files, or do I just have to guess/assume one? ...

Multithreading with ASP.NET and IIS

Hello, We have a web application that needs to process a large amount of data and push messages to a series of MSMQueues. This operation is likely to take upwards of 10 minutes but we want a response back (consisting of an ID) quickly. Therefore, we have implemented a system that generates the ID and starts the push process on a separ...

ASP.NET: Legitimate architecture/HttpModule concern?

An architect at my work recently read Yahoo!'s Exceptional Performance Best Practices guide where it says to use a far-future Expires header for resources used by a page such as JavaScript, CSS, and images. The idea is you set a Expires header for these resources years into the future so they're always cached by the browser, and whenever...

IIS SMTP Server

I am trying to set up an SMTP server on a virtual private server. I have typically hosted applications with hosting companies in the past. I am using SMPT on a website to send mail but need to configure IIS's SMTP Server to allow me to send the mail. I have a couple of questions around this: 1.What settings do I need to set to enable m...

IIS7 rewrite for REST not working

I have a REST service and am trying to remove the .svc - a common task/problem. The application on the server is in a virtual directory under the default website (not sure if this is important) I have installed the IIS Rewrite Module and have tried to create a rewrite rule for this. http://blah.me.com/here/thingys/get?id=1111 to rew...

asp.net iis error

I am using asp.net 2.0 and IIS 7 on vista 64 bit. everytime, when i try to open page in browser, i get following error. Access is denied. Description: An error occurred while accessing the resources required to serve this request. You might not have permission to view the requested resources. Error message 401.3: You do not have perm...

IIS restarts W3Svc when Creating new Virtual Directory from Default Web site

Hey Any ideas why MS in their infinite wisdom makes IIS 6 restart the W3C Service when I create an application/or virtual directory and then change the runtime version? Thanks Mark ...

Why do I get a 405 Error in ASP.NET when posting back to "/"?

Whenever I do a postback to "/", I get a 405 error. However, when I post back to "Default.aspx", things work fine. As I am somewhat new to web devleopment, I haven't the foggiest idea on how to debug this. The issue driving me particularly nuts because I'm testing submitting a form on the front page of the site I'm working on. Some e...

How to Identify that IIS Restarted?

In my application I save some data related to the users sessions in the database. When the user logoff I cleanup all his session data from the database. So far, so good. But, when IIS is restarted, all the active sessions are invalidated without the chance to gracefully cleanup. So, I need to identify when IIS is restarted to solve thi...

Deploying WCF application

I have IIS-Hosted WCF application and services. I want to automate the process to deploy this application into test/Acceptance test/production environments What is the best way to automate the process and make it very easy to the system administrators? assuming that the web site / (or virtual directory) is already there and I don't have ...

WCF windows authentication with IIS and Application Pool

I have a WCF Server running on IIS 6 using a application pool with a custom identity right now the I looked on the web for two days and I can't find the exact answer to my problem. I know there are a lot of similar ones outer there On IIS6 the virtual directory has anonymous access disable and Integrated Windows authentication enabled...

IIS6 not doing gzip compression when including Via header in request

I have some static content going through a CDN. I am using IIS6's built in compression (gzip & deflate) for static content and this is working fine when I request it. However, when the CDN makes the initial request for the content, it is not being returned compressed. They therefore don't have compressed content to forward to people r...

Why does HttpContext.Current.User.Identity.Name return the wrong username when used in a webpart?

In a Sharepoint web page I am having a problem identifying the logged in user! The Masterpage contains a normal ootb control that displays the username <%@ Register TagPrefix="wssuc" TagName="Welcome" Src="~/_controltemplates/Welcome.ascx" %> ..... ..... <wssuc:Welcome id="explitLogout" runat="server" /> This always displayed the cor...

IIS 6.0 new server

Hi all, I have a server that is going buggy, so we built a new server to replace it. Now I am tasked with moving all of the sites in iis to the new server. I thought there was a way to export all the settings and I tried using the export and import option - but the sites do not exist on the new server - I assume I am using the comman...

Cached image problem

Hey all. Right, my problem is that I need to replace an image that appears on every page of a site, which is fine, the problem is I want every user to see the new image and not a cached version of the old one. This is made especially difficult because I can’t make any code changes (far too many places to do it for it to be viable) so I...

Where to install ReportServer

I have 2 servers (IIS & SQL). A web site on the IIS server uses the ReportViewer web control. Should ReportServer be installed on the IIS box or the SQL box. (IIS is in the DMZ) TIA J ...

URL rewrite in IIS6 - Third party tools

I have collected the following api/sdk/whatever which provide modules for doing url rewriting in IIS 5/6/7. Some are free-open source and some require $. I haven't tried any of them. I would like to know if anyone is currently using or used or have any kind of experience with these tools (website listed). UrlRewritingNet.UrlRewrite - ...

Is it possible to debug IIS without affecting all users of the service?

This may seem like a silly question, but we are having an issue debugging IIS in a shared test environment and I'm hoping that someone out there can give us an answer. We have a Windows Server 2003 that is running IIS 6 and sharepoint 2007. We are debugging locally on the server with visual studio 2008. When someone attaches the debug...

SQL ReportServer 2005 on Win Server 2008 & IIS7 gets "unable to load client print control"

I have SQL Reporting Services 2005 running on a Win 2008 server with IIS7. SQL and RS have all of the latest patches applied (as of 11/19/2009). When I access a report through Report Manager on the same server or ReportViewer on a different IIS server I can not print. I get the "unable to load client print control". This occurs with IE...