iis7

Cannot run ASP.NET MVC Websites on IIS7

I have Windows 7 professional running IIS7. I have installed ASP.NET MVC 1.0 and VS2008. When I run the app with Cassini it runs fine. When I create a virtual directory and run it on IIS7, the app comes up with a blank web page and no errors at all. How do I get ASP.NET MVC projects running on IIS7? ...

IIS7 URL rewrite with pixel tracking?

I'm trying to setup a PNG image to handle pixel tracking in IIS7 Url Rewrite, but it doesn't seem to be working with the way I'm entering it. Any idea what I am doing wrong? <rule name="PixelTracking"> <match url="^pixel([0-9]*).png?OrderTotal=([0-9]*)&amp;OrderID=([0-9]*)" /> <action type="Rewrite" url="^Confirm.aspx?StoreID={R:1}...

Page intermittently takes 2 minutes to load

We're getting ready to switch our ASP.Net application to a new web farm environment. However, our testing has revealed an intermittent problem whereby a page takes up to 2 minutes to finish loading, where normally it would take less than 2 seconds. Browser diagnostic tools (like Firebug) show that the delay occurs when the page is loadin...

WCF AuthenticationService in IIS7 Error

I have a WCF Server running on IIS 7 using default application pool, with SSL activate, the services is installed in a SBS Server 2008. I implement client application services with wcf and SQL 2005 for setting the access control in my application. The application run under windows vista and is make with WPF. In my developer machine the ...

Subtext 2.1.2 SecurityException

I'm trying to get Subtext 2.1.2 working on my local machine (IIS7). I downloaded the zip file (http://subtext.googlecode.com/files/SubText-2.1.2.zip) and extracted it, then created the application in the directory. Now, when I try to run the application it throws a security exception (note: I am running full trust). Here's the exception...

Captcha not working with IIS

i m using a dll file MSCaptcha.dll for my web application its works fine on localhost but not with iis server..what should i do to make it work ...

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 ...

Visual Studio ASP.NET Dev server and IIS server.

I just configured my web application to use IIS rather than ASP.NET dev server and I am getting some weird behavior. http://localhost:49584/Templates/UI/Img/featured%5Farea%5Fbg.gif http://localhost/NopCommerceStore/Templates/UI/Img/featured%5Farea%5Fbg.gif When I visit the first url, I the image, like it supposed to. When I visit th...

The SMTP server requires a secure connection or the client was not authenticated

in my forgot password page user enters email id and clicks on submit button,the submit click event sends a mail on his emailid,,now i m getting an error that smtp server requirs a secure connection or the client was not authenticated,,let me show my code protected void PasswordRecovery1_SendingMail(object sender, MailMessageEventArgs e...

How to get the REMOTE_PORT (the client port) in Python running at IIS 7.5? REMOTE_PORT server variable cannot be found!

Hey. I'm coding a cgi in Python, running on an IIS 7.5 web server, on Windows. I would like to get the tcp port (usually was the server environment variable REMOTE_PORT) from which the client is connecting to it. I've tried to look up all the way throuhout the keys as in os.environ.keys() and I can get the user IP address, his browser,...

How do you best offload a database insert, so a web response is returned quicker?

Setup I have web service that takes its inputs through a REST interface. The REST call does not return any meaningful data, so whatever is passed in to the web service is just recorded in the database and that is it. It is an analytics service which my company is using internally to do some special processing on web requests that are ...

how to configure iis7 http 301 redirection?

I have http://thewebsite.com/blah/category/hello.html We need to redirect any url with /blah/ to the root of the site so that the new url is http://thewebsite.com/category/hello.html How can we do this with iis7? Thanks in advance. Edit: I have just learned that our problem is not about 301-redirection but rather about url-rewrite. We...

Upload vCard (.vcf) file to IIS7 Site

I'm trying to upload a vcard file to a site i've built with ASP.NET. It's hosted on an IIS7 server. I keep running into the "content type not allowed" error when i try to upload the file. I have write permission to the directory, I've already added the MIME type for vcards and restarted the IIS server, however it still refuses to take i...

get IIS6+ to load JSON files without server-wide change?

I've got a PHP-based web app that runs on all kinds of my customer's servers, mostly apache, but sometimes IIS. I'm using a bunch of JSON files for storing image URL data to be loaded by flash elements. Problem: IIS6+ won't load a .json file, it returns a 404 error because it's not a known mime type (why IIS doesn't recognize .json is b...

HttpError will not show custom error pages

I've got this in the web.config: <httpErrors errorMode="Custom"> <remove statusCode="404" subStatusCode="-1" /> <remove statusCode="500" subStatusCode="-1" /> <error statusCode="404" prefixLanguageFilePath="" path="/Error/NotFound.aspx" responseMode="Redirect" /> <error statusCode="500" prefixLanguageFilePath="" path="/Error/Ser...

Silverlight xap file hosting issue

Hello everyone, I am using VSTS 2008 + .Net 3.5 + C# + Silverlight 3.0. I am developing a Silverlight xap application. And I want to allow 3rd party web sites to reference my xap file, for example, 3rd party web site could use an iframe to reference my xap application directly from my IIS 7.0 web server, and using such iframe to embed m...

IIS7, including .html in asxp, prevent caching

We currently are running windows 2008 Server Standard Edition. We are running a .net site and on some of the pages we are using includes to include some .html files that are used with our javascript. We are having an issue though with caching. When we edit one of those .html files, we can navigate to it by typing in the URL directly and ...

"The Resource Cannot Be Found: /Login.aspx" on new v5.20 Install

Please see my DNN Forum Post for more details. I've never had any issues with DotNetNuke installations. But with the new v5.20 (or v5.02, whichever it really is), everything runs perfectly fine through installation. I then get to the main default portal homepage. But as soon as I click any of the links available to continue (Home, Regis...

IIS 7 Rewrite Rules -> Apache rewrite rules

Besides being a horrible programmer I can't make proper use of Google. I am making a small web site and it uses IIS7 rewrite rules. It all worked good for me until now when I need to migrate it all to Apache and its rewrite rules. Are there tools that can convert ISS rewrite rules (they are XML in web.config) to apache rewrite rules. I...