iis

How to use Microsoft.Web.Administration without IIS7

I develop my site on Windows 2003 using IIS6 and Development Server that ships with Visual Studio 2008. My production site is on IIS7. How can I use/reference Microsoft.Web.Administration during my development without moving it to IIS7-enabled machine? ...

How to set Authentication Methods in IIS programattically

We are working on automating the deployment of some IIS applications. I've used cscript.exe inside a windows batch file to create the web app and such. There are however a few settings currently done by hand that I need to automate. Namely, if you look at the properties of an app, under Directory Structure -> Authentication and access...

How IIS requests are parallelized using COMET?

I have an ASP.NET MVC 2 Beta application where I need to block incoming requests for a specific action until I have some data available to return or just release the request after 30 seconds with no new data available. In order to accomplish this, I'm using AutoResetEvent.WaitOne(30000); The big issue is that IIS does not seem to be ac...

ASP.NET Webapplication unavailable on Live Environment - How to troubleshoot

I have a asp.net 3.5 web application which is deployed on server 2003 and IIS 6. After running fine for a few weeks it goes "Down" and by down I mean that when I try and access it the browser looks like it's loading but never actually serves the page. After an IIS reset it loads quickly again. My question is what are the steps and tool...

PHP fopen/fwrite problem on IIS7

I am running PHP5 on IIS7 on Windows Server 2008 R2. Check out the below code which writes a string received via a POST request parameter into an XML file. <?php $temp = ""; if($_SERVER['REQUEST_METHOD']=="POST"){ if($_POST["operation"]=="saveLevels"){ $fileHandle = fopen("c:\\inetpub\\wwwroot\\test\\xml\\levels.xml", 'w'); ...

IIS 7 returning an old version of a constantly changing file

I'm trying to use IIS7 to host a HTTP Live Streaming server. For those not familiar with HTTPLS: an audio or video stream is broken into small segments and made available on a web server. Along with the segments an index.m3u8 file is created which is a flat text file that lists segments currently available for download in the order in ...

error when using filehelpers on IIS; sometimes :S : [PolicyException: Required permissions cannot be acquired.]

FileHelpers.dll (2.0) are referenced within 2 class libraryies (Dto and Services) in my solution My webapp (asp.net mvc) is on IIS7 (Full Trust) Windows 7 PRO 64 and I sometimes get this exception when starting my app from VS2008: (to get rid of it I delete the FileHelpers.dll from bin, run, close browser, rebuild the solution and run ag...

Cannot connect to MySQL through PHP

Seems like a beginner question but I can't seem to figure it out ... I have a fresh Windows 7 x64 / Apache 2.2 / PHP 5.2 / MySQL 5 x64 installation. Actually I tried both IIS and Apache. But this PHP Code does not work: <? $hostname = "localhost"; $username = "xxx"; $password = "xxx"; $db = mysql_connect($hostname,$username,$passwo...

Google analytics not gathering data from .asp page

Hi, I've installed Google Analytics several times in the past without trouble. However, recently i've installed GA on a .asp page for the first time. Google Analytics dashboard tells me the tag is properly installed, but ever after several days, i can't see any data. Is there any special setup required for .asp pages or windo...

configuring Rails on IIS ?

We are planning to take a virtual dedicated server where we can host our .NET , PHP and rails application together . Since we need to host .NET webapps , linux is out of question . I have configured PHP on IIS , but was wondering if it is possible to configure rails with IIS . We want to avoid another webserver running just for rails ...

Is is a bad idea to have misc files sitting in bin directory

I have an assembly that contains a function that could be called from IIS or from a console app. Because of this I have opted for the following to get the path: System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) obviously this will return the bin directory in the case of the function being ca...

IIS, multiple CPU cores, application pools and worker processes - best configuration for a single site?

Hi We use Kentico CMS and I've exchanged emails with them about a web garden deployment. We have a single site running on a server with 8 cpu cores. In line with Kentico's advice, we have not altered the application pool web garden setting from the default i.e. it is set to a maximum number of worker processes of 1. Our experience is ...

What am I missing? My app can send e-mail via gmail on my dev box, but not on my server

My config files are identical, except for connection strings. I'm using IIS on both machines I elevated the IIS user on the server to ensure it's not a permissions issue No exceptions are thrown on my server where the e-mails are not being sent I know the gmail configs are correct because I can send e-mails from my dev box. Windows fire...

local iis for mass email newsletter and tracking the newsletter

One of my friend have 3000 email address of their customers. He want to send some email newsletter to them for some running offers and need my help. I know couple of paid services. Can i use local IIS SMTP server (win xp) for sending this email newsletter. Is there any problem in delivery of these emails. IS there any limitation of num...

IIS 6.0+ equivalent to Apache's content negotation/AddLanguage?

Is there a direct equivalent in IIS 6.0+ to the content negotiation for languages in Apache (the AddLanguage and related directives)? If not, what is the most common method for serving multilingual static content with IIS 6.0 and newer? ...

Bad http connection (400) from Simple Native Iphone App to test .net Web Service

Dear all, I have written a simple hello world .net web service which will accept 2 parameters and return the parameters as a string. The web service is hosted by IIS on a windows xp pc. I am able to access the web service using safari on the iphone simulator, successfully tested the operation using HTTP POST by clicking the "invoke" bu...

Does myAssembly.xmlSerializer.dll always get generated?

Hi, I have a web service that does not use any xml attributes for serialization. I just return a string from the web service. In this case, does a serialization dll get created? The reason I ask is I keep seeing c:\windows\temp\xxxxx.dll (where xxxxx is a random sequence of characters) every couple of weeks the web service is running. ...

IE8 and border css property on select menus

I am getting a really strange behaviour when viewing a very simple piece of HTML in IE, served up by IIS. I am at a loss to explain this... Take the following html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <head> <style> .iWantaBorder { border:red so...

Odd (Slow) Behaviour in ASP.NET

Hi, First off I would like to apologize beforehand, in case this turns out to be a really dumb question. I just can't wrap my head around it. I have a C# ASP.NET website running with .net 2.0 Both on my local machine, as well as on production server it runs terribly slow. Even if I disable ALL the code, it still runs slow to serve th...

WebSVN install on IIS 6.0

I am trying to set up WebSVN on a Windows Server 2003 machine and not having any luck. I have done the following: Installed FastCGI Installed PHP 5.3.1.0 to c:\PHP Updated php.ini with the following: cgi.force_redirect = 0 cgi.fix_pathinfo = 1 fastcgi.impersonate = 1 fastcgi.logging = 0 Downloaded and extracted WebSVN 2.3.0 to D:\...