iis

2 servers, same website on both: IE shows two slightly different version

I'm getting a weird issue involving IIS and IE, and I'll try to describe it clearly. I have a regular html-css-js/jquery website that I've developed locally. Now that it's ready, I'm trying to deploy it on a server. Once it's hosted on the server, I see two problems in IE only: The rendering is slightly different: there's a few pixel...

How can I query IIS for MIME Type Mappings?

How can I programatically read IIS's MIME types? I'd like to use them when I stream data to my clients using WCF. Any tips, or API would be appreciated ...

How do I properly read the AccessFlags property using DirectoryServices on IIS 7.x?

I have IIS 7.5 on Windows 7 x64 and IIS 7.0 on Windows 2008 SP2 x86. In both cases, all the IIS 6 Compatibility features have been installed. In IIS Manager, I have created a virtual directory named TestAccess with the physical path c:\inetpub\wwwroot\TestAccess I am trying to read the AccessFlags properties using VB.NET code like th...

IIS7, deployment and HTTPS connections

I realized, that when i deploy a new version of my app. to my webserver ( IIS 7.5 ), it takes about 10 seconds, until a client is able to establish a HTTPS connection ( HTTP is fine )... The problem is gone after 2 or 3 minutes... I wonder why this is? Any ideas? ...

ASP.NET - IIS 7 - DotNetNuke - How do I force browsers to reload the site's CSS?

I have run into the problem where my css files are being cached in browsers. This is a fairly common problem, and a common solution is to simple add a version number in the url to the css file. Example: MyCSS.css?ver=1.12 However, I'm using a custom skin for DotNetNuke which forces the usage of the file: skin.css I don't have a way to ...

Which server is best suitable for image hosting?

I want to move all the website (developed in ASP.NET) images to another server. The image hosting server should be dedicated only image processing like image resizing and etc. Which server is best suitable for this? Taking another IIS server would require more investment again. Instead can I go for Apache or Lighttpd? Also the server s...

WCF 4 Call Works with Cassini Not IIS

I have a simple ASP.NET site making a call to a WCF service. The call works in Visual Studio 2010 (both sites running under Cassini using basic HTTP binding). Moving the same thing to XP , running the web site page (which makes a simple call to the WCF service) makes the web server throw a "500" error. There is nothing in the Event Log....

asp.net redirecting to login page

If I have set the forms authentication timeout to 30 days (in minutes) and I have set the session timeout to 5 mins and I am using a cookie to persist the different session variables .. why does asp.net or IIS always always issue a 302 and redirects to the login page when the session times out ? (Doing http debugging it puts an "object ...

How do I show videos on a second server to authenticated users in ASP.NET ?

I have a simple user-registration website where I keep records of registered users. I also have an admin page to upload videos, however videos are uploaded to a different server. I'm using the <video> tag to show the video: <video width="560" height="340" controls> <source src="path/to/myvideo.mp4" type="video/mp4";> </video>` I w...

Accesing, Merging IIS extended log files

I need to access, merge and parse my log files using my asp.net application programmatically. I use shared hosting and as I can see log files are out of the root directory of my website? Is there anyway to access those files from my application? ...

Object reference not set to an instance of an object error ( error description included )

I am trying to initialize an application that runs in IIS 7 and I cannot start it because I receive the following error: Object reference not set to an instance of an object error eInitWizard.frmMain.CreateVirtualDirectories() eInitWizard.frmMain.DoObjective() eInitWizard.frmMain.wpResume_CloseFromNext(Object sender, PageEventArgs e) ...

Simple-as-possible task schedule to call web page

Hi, I have a web page on a which does some database updates (e.g. http://www.mysite.com/updates.asp). I want this page to be called automatically each day at 09:00. I know how to schedule a task in IIS, but the process of scheduling a task requires that I select a programme to operate the task. So I'm thinking perhaps I need to make ...

Does having the IIS log header in the log file mean that IIS was reset during the day?

Hi Folks, When I'm viewing IIS log files I can see various times during the day where the header line is written out to the log file. The only time I've seen this is happening is when IIS resets; or starts up. For example the header line below; #Software: Microsoft Internet Information Services 6.0 #Version: 1.0 #Date: 2010-10-18 07:28:...

Uploading files with asp.net FileUpload. Buffering to disk before filling up memory?

System.Web.UI.WebControls.FileUpload uses a FileInputStream when uploading files. Does this store everything in memory when uploading or does it start writing to disk after a certain buffer size has been filled? I know it used to work like that years ago, but I would think that has changed now... Can't find it in the docs though. ...

iis7 website set up

Hi, I've done this a few times in IIS 6 but never on IIS 7 so I'm having a bit of trouble... To create a website on IIS 7, do I create a website or an application? Also, what goes on the bindings (host name, ip address)? I want www.whatever.com to point to C:\inetpub\wwwroot\whatever so far I got www.whatever.com to point to C:\ine...

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level

Hi Excepts, I want to manage two web.config file in a application one for the front-end user and second for the back-end(admin) user.for admin section I have created a folder with name admin in the same website.following settiongs are in the admin/web.config ...

Instruction for deploying asp.net app on Windows Server 2008 R2

Is there a complete instruction for deploying an asp.net application on windows server 2008 r2? I've got to send some instructions to admins who are not experienced with using Win/IIS, but I'm not willing to write it myself, because I'm not good with server administration too. I've googled the topic for a number of times, but didn't find...

IIS 7 metabase: Setting the framework version and the managed pipeline mode programmatically

How can I set the ehe .net framework version and the managed pipeline mode programmatically for a IIS 7 programmatic via C#? What a the metabase property names for that? ...

Umbraco - web.config issue when installing

I'm trying to install a default Umbraco installation on IIS7, and I'm getting the following error on my (unmodified) web.config file, any ideas? Config Error The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration Thanks, ...

Newbie question for Flex Remoting with WebOrb

Since Flashbuilder does not support WCF over https, i am considering to use weborb remoting as alternative, but not really sure how flash is going to know weborb location, if they are sitting on different servers. Looked at destination, source fields, but not really find a field called url in remoteObject in Flex. Has anyone done similar...