iis

F# Asp.Net CodeDom ProviderOptions Issue

I'm creating an ASP.NET MVC application using F# on IIS 7. When I attempt to run it from the browser, I'm met with a YSOD containing the following: [ArgumentNullException: Value cannot be null. Parameter name: dictionary] System.Collections.Generic.Dictionary2..ctor(IDictionary2 dictionary, IEqualityComparer`1 comparer) +127...

How to keep a WCF site online?

I have an WCF site on IIS 7. The site is rarely being accessed which causes the application to unload. How can I keep the application (WCF) up all the time? ...

ASP page displaying old request.

I have an ASP.net page which has fields for filtering a dataset. When I apply the filter (through a button), the results load fine. If I navigate to another page (on the same session), and then come back to the page, I'm re-setting the value of the filter fields on page load. Sometimes, the fields will reset fine, sometimes they will c...

Setting up user permissions for reading and writing document files in IIS7

Hi I want to make a very simple CMS for my sites. So what I am thinking is this a user logs in and a list of their pages shows up. Now they change their ends and save it. My C# code would then write over the file/section. So I don't think it would be to bad to do this however I am not sure about how it works with read and write premis...

ASMX + external dll

I am working on Silverlight client to Microsoft Team Foundation Server. I am using an ASMX web service to make the actual calls using the TFS api. Everything works fine when I run it with the visual studio development server, but I cannot figure out how to deploy the app to IIS. I can get the ASMX web service to work unless it is a ca...

OWA sessionid cookie lost when logging into a Tomcat site iframe

Hi, we have made an extension to OWA page, connecting to a web application running in Tomcst. The content served by this application is shown in an iframe inside OWA page using isapi. This is working everywhere but in a customer where the session cookies set by OWA (sessionid and cadata ) get deleted as soon as a succesful login is done...

Unwanted caching of usercontrols and masterpages forcing iisreset

My setup is a standard Windows 7, Visual studio 2008 and IIS 7.5 and I suffer from unwanted caching of usercontrols and masterpage files. Often but not always when I make changes in a usercontrol in Visual studio I have to reset the IIS to be able to see the changes I made in the HTML. I have also experienced this problem with IIS 6 and ...

Utilizing less memory in ASP.NET

My asp.net application is 3 static pages (no database) and it initializes with 48Mb of memory in use. Can I configure the application to use less memory? NB: I've already set the memory limits in IIS. I set maximum value for working process to 30 MB of physical memory. What other ways can I employ to make ASP.NET use less memory...

Connect to web service fails

I have a web application which fetches information from a web service. It works fine in our development environment. Now I'm trying to get it to work in a customer's environment instead, where the web service is from a third party. The problem is that the first time the application tries to fetch information it cannot connect to the web...

ASP MVC in IIS 7 results in: HTTP Error 403.14 - Forbidden

Hi everybody! I 'm developing an ASP MVC web project. Now i have a requirement which forces me to deploy to an IIS7 inmiddle of development (to check some features). I 'm getting the above mentioned error message whenever i try to type the URL of the web site. (Note: development machine: Vista Home Premium, IIS7) What i have done until...

How to setup a test HTTPS site under IIS

I have a WCF service that I would like to run on https:// how can I setup a test site on local host for this? ...

SSL WCF Could not establish trust relationshop

I have a WCF web service that works perfectly with an http address, but since then I've needed to make sure it works over https. Because I am using IIS 7, the process was pretty easy to get the web site https binding up and running using this guide here I opened up a browser, and got the usual security prompts, but everything worked f...

Alternative to installing IIS locally to access IIS remotely?

I have an app that accesses information about websites running on IIS on a remote machine, using DirectoryEntry objects (in System.DirectoryServices). Any client machine that runs the app needs to have IIS installed or the app throws a System.Runtime.InteropServices.COMException when it accesses the IIS information. Is there a way I ca...

WCF : Could not establish trust relationship for the SSL/TLS secure channel with authority - back to the drawing board

Really thought I had this issue fixed, but it was only disguised before. I have a WCF service hosted in IIS 7 using HTTPS. When I browse to this site in internet explorer, it works like a charm, this is because I HAVE added the certificate to the local root certificate authority store. I'm developing on 1 machine, so client and serve...

Reporting Services 2005 configuration

I need help with configuring Reporting Services. I have the ReportServer and Report Manager running successfully under a virtual website and under their own virtual directories (Reports and ReportServer) on port 80. I then tried to set up another virtual website running on port 1001 with the same virtual directory names I am able to ...

"Must Know" IIS features for .NET Architect/Lead

What all IIS features in regards to maintain application/optimization should an .NET (ASP.NET) architect or team lead should be aware of? LIST of features HTTP Compression. This option significantly improves bandwidth utilization and application performs much faster. Load Balancing (chris-lively) Sessions (chris-lively) Different opti...

Should AspBufferLimit ever need to be increased from the default of 4 MB?

A fellow developer recently requested that the AspBufferLimit in IIS 6 be increased from the default value of 4 MB to around 200 MB for streaming larger ZIP files. Having left the Classic ASP world some time ago, I was scratching my head as to why you'd want to buffer a BinaryWrite and simply suggested setting Response.Buffer = false. ...

Using Elmah with Cassini

Does anyone know if I can use Elmah with Visual Studio build-in web server(aka Cassini)? I get it working easily on IIS, but using same configuration, it doesn't work with Cassini. When I requested the log page via http://localhost:62364/elmah.axd, I had "The resource cannot be found." ...

Session Management with Windows Authentication

In an ASP.NET web app, using Integrated Windows Authentication, is the session tied to the windows identity? In other words, if I login (using IWA) to the app, and the app stores some "stuff" in my session, is this stuff accessible by session id alone? For instance, if a malicious someone managed to steal my session id, but NOT my creden...

System.Runtime.InteropServices.COMException: Unknown error (0x80005000)

This is the detailed error info. Failures: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: Unknown error (0x80005000) at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.Di...