iis

Server-side button works in Firefox but not IE

Anyone know why a simple onclick="btnSubmit_Click" button that calls a server-side function would work in Firefox but not IE. ...

IIS 5.1, MVC 2, SQL Server 2005 deployement error

Hello, I have deployed a solution correctly on IIS 5.1 (hopefully) as it loads up and shows a "User not authorised page which I created myself". The fact this shows is a good sign but it also hides any errors as I think I should be authorised. To try an get an error message I ran a method on a controller which didnt require any author...

How to host WCF Data Service (OData) in IIS7?

Does anyone know how to host a WCF Data Service (or OData) inside IIS7? I'm seeing lots of articles about hosting WCF, but none specific to WCF Data Service. Thank you very much. ...

switched DNS pointer today and site renders in compaibility mode

We have been developing a corporate intranet site on an IIS7 server. Today we changed the DNS to point to a domain name - and I don't know much about that end of things - and the site is rendering in IE7 mode. The DNS is just a pointer like thing, right? It translates an IP address to a domain name? Why would things show up differently? ...

What are the major pros and cons to developing .NET Web Apps on Windows Server 2008 R2 vs. Windows 7?

My question is in the context of ease of development with MS development tools and IIS. What are the pros and cons to developing directly on Windows Server 2008 R2 instead of Windows 7? ...

Code behind function not being fired in IE but in Firefox - C#, .Net, IIS

Does anyone have any clue why a code behind function would work in Firefox but not in IE. It seems that the client side wouldn't effect what's going on in the code behind. ...

How do i prevent direct linking to a few pdf files?

I'm working on a website where I need to prevent the direct linking to a few pdf files. I'm using ASP.net 2.0. Is there an easy way in code to do this? or some simple IIS setting? Right now i'm just using a standard anchor tag to link to the files. i can validate the user on the page containing the anchor tag but that still doesn't ...

Debugging application behavior during IIS App pool recycle

I have a web service written in C#. It behaves rather strange during pool recycling. If I configure a pool with 5 worker processes which should recycle after say 100 requests (in production its actually 10000 but nevermind that). I get the proper response for the first 100 per process (i.e 500 requests), but after that some of the reque...

Install ClientAccessPolicy.xml to Default Web Site using Wix

I'm using Wix to install my web application, and it includes a Silverlight app. Because of cross-domain restrictions, I need to install a ClientAccessPolicy file to ensure that the Silverlight app can talk to the included web services. Unfortunately, ClientAccessPolicy.xml has to be available from the root of the site, so I can't just p...

coldfusion scheduled tasks iis permission

I am trying to use the ColdFusion administrator to schedule a task. It is returning an error which says that there are not enough permissions to execute the task. I can successfully execute the cfm file in IE, so it's not an error with the actual file. So from what I've read about this, it appears to be an IIS problem. Do I need to c...

WCF hosted in IIS, Problem connecting to database with integrated security

I have a WCF service hosted in IIS 5.1 on my development XP machine. The service cannot connect to sql server DB with integrated security=true. The same service works fine when hosted in a console app. I have unchecked Anonymous access and checked the Integrated Windows Authentication in IIS These are my setting in Web.Config <connect...

IIS SMTP configuration settings

I am using windows XP S2. I am sending email by using IIS SMTP. Now the problem I am facing is with SMTP server. All the mails I am sending are storing in SMTP Queue folder but its not sending them to the respective domains. I think that there is some SMTP setting problems, I need to configure SMTP. One more thing that I dont have any re...

URLscan: block empty user agent

I'm able to block specific user agent, but i like to block all requests with a empty user agent using urlscan 3.1. Anyone knows how to do this? ...

Restricting access to files within a folder to webservice IIS6/7

I am looking for a way to restrict direct access to a certain folder or folders on our website which is hosted in IIS7 in our second dev environment, IIS6 in our first dev environment and IIS6 on production. Basically we should be able to link to these files from our website i.e.: http://www.domain.com/stuff/survey.pdf But if someone t...

Virtual directory problem in IIS for asp.net web application

My asp.net web application works fine locally and when I deploy it as the default web site on my test server. So for example, when I type http:// 10.10.10.100 it works fine. I created a virtual directory called "Test" under my "Default Web Site". When I type http://10.10.10.100/Test it loads correctly to my log-in page, however when ...

Has anyone found out how this was done? SQL Injection

Since so many other websites have been hit I have to assume it is a bot! It has injected a script with: Yesterday: http://google-stats50.info/ur.php Today: http://google-stats49.info/ur.php It injected it into multiple tables. First, how did it identify the tables and columns? Second, what should I search for in the logs to identify...

WCF Duplex Service problems with IIS AppPool recycling.

Hello All I have a WCF Silverlight(3) Http Duplex Service set up in IIS. It works wonderfully until I recycle the ApplicationPool in IIS. Connected SL clients who then call methods on this duplex service then start to get TimeoutExceptions/CommunicationExceptions from the web service. Increasing the timeouts on the client side does not...

How to Determine ASP.NET Application Domain Lifetime

We have an application gathering counter statistics and we would like the values to reset after executing the iisreset command and that's all. Microsoft says Application_Start is: Called when the first resource (such as a page) in an ASP.NET application is requested. The Application_Start method is called only one time durin...

Web service call limitations when using async controllers in MVC2?

I am running a MVC2 application (.net 4.0 on IIS7) and when a form is submitted I have to send invoke two external web services, wait for the responses, do something with it, and return a response. The problem is that the web services take about 20 seconds each to reply (this is beyond my control). I decided to move to async controllers ...

ASP.net URL problem: Website Domain not appearing on front of URLs

I create a menu structure from a compiled class that returns an unordered list with ~/ menu options. On my localhost, they show up as http://localhost:port/applicationpath/Default.aspx I actually have to pass the Application Path to the function to prefix the URLs. The problem, however, is that we moved the application to our developmen...