iis

ASP.NET - I am generating an .XLS file and I need to send it to the visitor

When a user clicks a button, the server generates an Excel file. When it is generated, I need for it be sent to the user as a standard download. Is the correct way to do this to redirect the user to the path of the Excel file? Thanks ...

ASP.NET - I am generating an .XLS file with a DLL, how do I grant permissions for writing to file? (IIS 7)

I'm generating an .XLS file with a DLL (Excel Library http://code.google.com/p/excellibrary/) I've added this DLL as a reference to my project. The code to save the .XLS to disk is running, but it's encountering a permissions issue. I've attempted to set full access for IUSRS, Network Service, and Everyone just to see if I could get ...

Why do I get a "Bad Gateway" error with my Perl CGI program on IIS?

I'm trying to run sample Perl script on Windows 7 and I configured IIS 7 to allow ActivePerl to run but I'm getting this error: HTTP Error 502.2 - Bad Gateway The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "Hello World. ". Module CgiModule Notification Execut...

ASP.NET Debugging Timing out with IIS

Finally broke down and seeking help, my client/iis (not sure which) usually times out after about 30s - 1 minute while im debugging (stepping through code) which not only causes me to lose my spot and have to start over (usually stepping faster, making more mistakes) but the IIS Debug session closes completely and I have to warm up the e...

How to get the current application pool user in IIS when using impersonate=true?

In .net when a website hosted in IIS how do you get the current user the website is running under. ie the Application Pool user not the the current user accessing the site. Using windows integrated and impersonate. <authentication mode="Windows"/> <identity impersonate="true"/> ...

How do i simulate IIS6/ASP.net 4 settings on IIS7?

I have a Windows2k3/IIS6 server but at home i'm using Windows7/IIS7 pc. I just installed VS2010 and trying out the new Web form. After i setup a application in IIS7, I set the Application Pool to ASP.net v4.0 Classic thinking this is the correct setting to simulate IIS6 but when I browse to the website. I got HTTP Error 404.2 Not found b...

how to remove spaces and newlines from server response ?

When i request a page using browser / AJAX request i see lot of spaces and newlines which i think must be adding some overhead for retrieving the response as they too belong to characters means bytes and size. right ? Is there some way it can be removed while sending from the server ? how ? (I am using IIS and asp.net for development) ...

App with MVC Virtual application shared AuthCookie.

I have a 3.5 ASP.Net WebForm parent application. The parent uses forms authentication. I have a MVC child virtual application, I would like to make it so the user logs in to the parent application, user then navigates to the virtual application by pressing a link on the parent. However every time I do this it goes to the login screen ...

IIS 7.0 - Every site suddenly redirecting root request to forms authentication

Suddenly, IIS 7.0 is redirecting every request for the root of any domain hosted on the box to ~/Account/Logon, which is our Forms Authentication redirect. Additionally, some JavaScript and image requests are being similarly redirected, but not other aspx pages. This is not desirable. Nobody will admit to changing anything. Any ideas?...

Show subdomain as domain on IIS 6

I want to show subdomain.domain/somfolder as domain/somfolder on clients browser? Help please. ...

Websphere with IIS getRemoteUser returns null

Hi, I am trying to use the HttpServletRequest getRemoteUser() method to obtain the Windows authenticated user on an internal website. I am currently using Websphere 6.1 with IIS 6.0 as the web server. I have two web servers, one on machine A and another on machine B. Everything works fine when I pass my request through the IIS server...

MailEnsable VS hMail server

if we have two options MailEnable Standard hMail Server which one we should choose...? thanks ...

Mercurial on IIS7 connection timeout.

I configured Mercurial on IIS 7 and I am able tu push and pull without problems some test files. But if I try to push a bigger repository I get for the hg push command line this error: abort: error: An existing connection was forcibly closed by the remote host From Tortoise HG I get some more detail: lopen error [Errno 10054] An exis...

IE7 and 8 Hangs Randomly on CSS Images

We have an ASP.NET 3.5 application that has been in production for over a year. Our last release was a couple of months ago. We use CSS for styling and application of background images to divs and such. The server is Windows 2003 with IIS. Suddenly, this week, we have had reports from some users that the page seems to hang up while l...

What to write in "Web location" field when starting an "New website" in Visual Studio 2010?

I want a website to be deployed automatically to a local IIS (built in Windows XP Pro SP3), avoiding VisualStudio-built-in server if possible. I'd like development source files to be stored in a project folder outside wwwroot (I wouldn't mind built files to be copied to wwwroot each time I press F5). I don't store my projects inside def...

How to check what the value of app concurrent requests are in IIS

In step 4 of this link there is a description of how to set the maximum concurrent request in IIS throught scripts. Is it possible to see what these values are set to, either through the IIS UI, or in the registry? Note: This is for Windows 2008 and IIS 7 ...

Sessionstate not being saved between pages

Hi, i am having problems with an asp.net c# site whereby i am setting a session state object to true and then redirecting to another page that needs to check the value of the session state object and it is null. Sometimes it is set correctly and other times is is simply null. When i debug on my local machine it works perfectly every ti...

Is AsParallel() good practice in a web environment?

I have no doubt that for client applications, AsParallel() will bring some out-of-the-box performance gains. But what if I would use it in a web environment. Let's say I have a widget framework that loops over all widgets to get their data and render output. This would parallelize great no? I do have my doubts on using AsParallel() in t...

Images not shown when publishing MVC application to virtual directory inside default web-site

Hi! I am developing an application using ASP.NET MVC 1 and VS2008. When I deploy it to the default web-site in my IIS6 on WinXP, all images are shown correctly, path to any given image is localhost/Content/ImagesUI/[image].[ext] When I deploy it to the virtual directory, created inside the same site, any image request returns IIS stand...

Increasing Max Upload File Size on IIS7/Win7 Pro

I'm setting up a server for a client (something I don't typically do), and I'm running into issues with uploading larger files (11MB). The server is running Windows 7 Professional with IIS added. In web.config I've tried setting <system.web> <httpRuntime maxRequestLength="65536" /> <!-- 64MB --> </system.web> ... and that doesn't...