iis

Changing customErrors in web.config semi-dynamically

The basic idea is we have a test enviroment which mimics Production so customErrors="RemoteOnly". We just built a test harness that runs against the Test enviroment and detects breaks. We would like it to be able to pull back the detailed error. But we don't want to turn customErrors="On" because then it doesn't mimic Production. I'v...

IIS headers of aspx page appear on page sometimes, any idea why?

At random this output it occurring at the top of the page. Site is installed on a lot of servers issue only happens on one server. HTTP/1.1 200 OK Date: Mon, 24 May 2010 04:18:30 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 3...

IIS server, web page giving error, some XML ERROR

whenever i needed to test my web site, i used to press ctrl and f5. i recently installed installed iis service. kept an html page accessed it from host kept an fully developed default.aspx page in the www directory tried to access gave error of XML something.... that means i can only use HTML pages, ? so what to do if i am using c# a...

IIS 7.5 receive emails?

In the good old days with IIS 6, it was possible to use the SEOLib to make a managed hook in the SMTP service that would run whenever a mail got delivered. In Vista and W7 they stopped shipping SEOLib, so we can no longer develop for it. What is the replacement for this functionality? ...

How to check if file exists in Apache

I've set this up successfully in IIS in the past, but i'm not sure how to do it in Apache. I want to check to see if a file exists, whether it be: /path/to/file.php /path/to/file.cfm /path/to/file.html /path/to/ If the file does not exist, I want to redirect to /404/, where I have a file that does all 404 related handling. Lastly, w...

Redirect loop problem in IIS on shared hosting

Hi, I have a problem where when I go to my website it comes up with a redirect loop. I've tried clearing the URL Redirects from the IIS Admin Console in the web control panel from my hosting provider and I've also tried removing the httpd.ini file from the site root directory to try and clear all re-directs, but for some reason when I ...

Server-side auto-minify?

Is there any way to automatically minify static content and then serve it from a cache automatically? Similar to have mod_compress/mod_deflate work? Preferably something I could use in combination with compression (since compression has a more noticeable benefit). My preference is something that works with lighttpd but I haven't been ab...

IIS Directory listing doesn't reconize .mkv files

Hello I use the directory listing function in IIS to upload a bunch of files for friends and family to easy access and download. My problem is that .mkv files it lists but when you click it i get a 'The page cannot be found'. Ive tried relocating the file and renaming it but i get the same error each time. Why does it do this? Its onl...

Make IIS7.5 Web Site an Application

What I'm doing SHOULD be simple. In IIS6 I could just go to Properties on the Web Site and Create/Remove the application status from it. However, I cannot for the life of me figure out how to convert the Web Site itself (not virtual directories under it) an application! Ultimately, my problem is in using the Publish feature from Visual ...

JavaScript problems in one IIS server but not another

Hi everyone, I have a problem that only occurs in one environment. On this particular page, somewhere in the top half of the element, an array is created and populated. This is later used in the onfocus event handlers of various controls. I use Firebug to debug the page and discovered the problem. In our dev environment the array is in...

Unable to ping server from client B but able to ping from client A. Please help

This is not really a programming question, but I am at my wit's end ... I am trying to configure a IIS 6.0/Windows Server 2003 web server with a ASP.net application. When I try to ping the server from client computer A I get the following: PING 74.208.192.xxx ==> Ping fails PING 74.208.192.xxx:80 ==> Ping succeeds! From client compu...

IIS 6.0 Hanging

I have IIS 6.0 web srver my web pages are hanging with more than 25 request. is there any way to eresolve this problem . ...

Either_BOF_or_EOF_is_True__or_the_current_record_has_been_deleted

hi, I am using Plesk on windows 2008 with IIS One of the site uses ASP, and a ODBC DSN data source, I have set all the correct permissions, but still i get this error Either_BOF_or_EOF_is_True__or_the_current_record_has_been_deleted Is there anything else i should check ...

IIS 6.0 Server and Unicode Characters

We are performing a pen test on a simple asp application that uses MS SQL Database. It seems for the authentication they are using dynamic constructed queries but escaping single qoutes. When we use Unicode quotes like %uFFO7,%u02b9 etc we are able to successfully inject SQL injections. Want to understand is it more a kind of configura...

Why IIS 6.0 metabase compatibility is required to be installed on IIS 7.0?

I recently encountered some harrowing time with our application's installer not able to run due to the non-availability of IIS 6.0 metabase compatibility on my Win2008 machine. I am curious to know why is this required, can anybody provide some insights? ...

ServiceRoute + WebServiceHostFactory kills WSDL generation? How to create extensionless WCF service with ?wsdl.

I'm trying to use extenionless / .svc-less WCF services. Can anyone else confirm or deny the issue I'm experiencing? I use routing in code, and do this in Application_Start of global.asax.cs: RouteTable.Routes.Add(new ServiceRoute("Data", new WebServiceHostFactory(), typeof(DataDips))); I have tested in both IIS 6 and IIS 7.5 and I ...

Config trouble on first IIS7 setup on localhost

Hey. So I want to set up IIS7 for development on my local machine. I created a blank directory, added it to the host file, and created index.html with basic hello-world information. I browse to http:// blank/ and it works fine. However when I drop in the files for another .net site that is currently working fine in Visual Web Develop...

Using .NET 4.0 Task in ASP.NET

Are there any caveats or short comings to using the new Task API in System.Threading.Task in ASP.NET hosted under IIS? I know prior to .NET 4.0 working with any of the ThreadPool actions inside of IIS was always recommended to be avoided. ...

IIS hosting vs Built In Web server that ships with VS 2010

Hi there, I am looking to host a wcf service while i am developing. Is this best with IIS or can i just use the default BUILT IN web server that ships with Visual Studio? I can change the Assign automatic port to specific port so in my client i always ahave a fixed address. I was hoping somebody could advise the best way to go? ...

web.config custom error path

<httpErrors defaultPath="/Views/Error/Error.htm" errorMode="DetailedLocalOnly"> <clear /> <error statusCode="404" path="/Views/Error/404.htm" /> <error statusCode="500" path="/Views/Error/500.htm" /> </httpErrors> Is the paths over here are valid? how can I use valid relative path? ...