How to keep images (and other files) out of ASP.NET Pipeline
How can I prevent certain file types from going through the ASP.NET Pipeline (hitting global.asax, etc.)? ...
How can I prevent certain file types from going through the ASP.NET Pipeline (hitting global.asax, etc.)? ...
We have a system where we host a couple of WCF applications in IIS. Some of these applications have a bit of an extended start-up time taking a couple of seconds (more than a users would be happy to wait for). Once it's up and running, everything is snappy though, so it really is only the startup time. The client also has a requirement ...
I have a winform application that controls some transmitters and sound cards. There is a requirement to be able to provide a web interface for controlling those devices. Currently I use WCF to communicate from the controllers in my asp.net MVC site to the winform app. That works well, but there is now a desire to move the hardware to ...
When users access our exchange server via the web mail interface they are required to enter their domain\username and password to log in. I was wondering if there was a way to configure IIS so that they need NOT enter the domain name and just enter their user name and password? ...
I have a C# program that is running as a CGI app in IIS on XP Pro SP3. It runs fine until I reference a library assembly class and use it in the program's code. If I run the CGI program by hand it loads and executes. But when it is run by IIS the referenced assembly fails to bind despite it being right in the same directory as the parent...
The Problem I have a PHP script that uses shell_exec to run a pdf-to-text converter. To simplify the problem I've created a short script that uses shell_exec to just echo the output of the dir command. <?php $cmd = 'C:\\WINDOWS\\system32\\cmd.exe /c '; echo shell_exec($cmd.' dir'); ?> When I run this on my Apache server, everything w...
How to remove index.php in codeigniter on Windows 7 and IIS. I searched net for the solution but result weree based on re-write module of Apache, if anyone has worked on IIS and Windows 7 and had similar situation pls help on this. I want to work on IIS and Windows 7 and if I can remove index.php while calling any particular controller...
i have a few png files in my asp.net 3.5 web app. the images displaying correctly in dev; however, when i load the app on the server, the png files do not display. i'm using w2k8 and iis. when i server another image file from same directory (jpg), it works. is there something i am missing with png files? ...
I hosting a WCF service on Windows 7 IIS. When the service is trying to write to a config file and getting the error: "Access to the path 'C:\Program Files (x86)\MIMS\Master\ahug_uqt.tmp' is denied." This is not the name of the config file although I assume ConfigurationManager is creating a temp file then updating this to the real co...
I have a weird issue with my website. This is asp.net(.net 3.5) website hosted on a dedicated server IIS6. Recently I got a strange behavior, the website hangs and just doesn’t reply unless I go to iis and restart either app pool or whole IIS - BUT what is the most strange thing is that in case I go to remote desktop of the server and ...
I have a WCF service and a web application that both need to be hosted in local IIS virtual directories. I start up the WCF project and then when I try to debug the web app at the same time a popup tells me "Unable to start debugging on the web server. Unable to do an AutoAttach." The same problem happens if I try to manually attach to a...
I've never deployed a WCF service to IIS 6 before. I've got a service that I'm deploying to IIS 6 by using the default configuration as part of the WCF project. I since simplified the configuration thinking that might have been the issue. Here is the error I'm getting if I browse to the service in a browser: HTTP Error 403.1 - Forbid...
I have a question that I can't quite find the answer to... If you have an ASP.Net page that takes longer than the request time-out to render what happens to that process? Does the web service abort it? Lets say I'm writing XML to the response stream in an ASP.Net page and it times-out calling my GenerateXML method. What happens to my ...
I need to create a user login/logout/Session expiry tracking page(ASP.Net).. It is obvious that I can invoke my tracking page when user logs in and logs out.. How do I detect session expirey ? ...
Ok, what i have: Visual Studio 2010 RC, W7 x64, started a new project type of Silverlight application. Hosting the Silverlight application in a ASP.NET Web Application Project. Silverlight Version 3.0. Added a LinqToSQL Class, a WCF Service, a Winform Tester Application (Project in the Solution) and a few Classes (also as Projects in t...
After installing sharepoint on our buildserver, all of our sites in IIS didn't work anymore. Apparently Sharepoint is being installed on port 80 and everything is routed to Sharepoint. I have now changed the port to 81, but my question is if it's possible to run sharepoint on port 80 together with our normal sites? And how off course? We...
For a while I have wanted to automate the setup of several redirects for an IIS-based web sites. What is the best way to achieve that? Note: I am planning to answer my own question as soon as SO will let me do that. I just want to make sure I can find this solution later and help others. ...
Hi, I'm trying to port an ASP.NET MVC 1.0 / Visual Studio 2008 project to ASP.NET MVC RC 2 / Visual Studio 2010. The project is (and has always been) running on IIS 7. Dynamic content (everything that's being delivered by controllers) works fine, but static content such as CSS / Javascript / Images gives me a "200 OK" response, a Cont...
Is there anyway to config IIS to serve static file like CDN? Like Gzip, Cache, E-tag, Mod-date? And how should we config to make it very robust on massive requests? I know it's a short question but that's all I want to ask. To the question on the IIS version, i prefer 6 and 7 IIS. You can give your answer on either 6 or 7 :) Thanks...
Hi there, I have two domains for example www.male.com and www.female.com which both point to the same website app. In this app I have an HTTP module which checks if the session of the user is still active and if so checks if the user is a male or female. I want to check from which domain the user entered the website. If the user is a m...