iis

ASP.NET: Unable to automatically step into the server. The remote procedure could not be debugged.

Hi there, can anyone help? I am having a problem stepping into code which is a website hosted on IIS7. Basically i have a test class which calls a WCF service like so ISecurityService service = new SecurityServiceClient(); MembershipUser membershipUser = null; membershipUser = service.GetMembershipUser("Mark")...

IIS6 Metabase Compatiblity not installing correctly for Vista IIS7

I've been bashing my head against this one for a few days, and haven't had any luck with it. I'm unable to get my VS2010 ASP.NET project to deploy to IIS. I receive the error "Unable to create the virtual directory. To access local IIS Web sites, you must install the following IIS Components IIS 6 Metabase and IIS 6 Configuration Compa...

Publishing project in VS 2008 with excluded files

Hey all I am trying to publish my website project to an IIS server, and I have a few excluded files in the project, i wish they would be published as well. how can I achieve that thanks all ...

wcf callback exception after updating to .net 4.0

I have a wcf service that uses callbacks with DualHttpBindings. The service pushes back a datatable of search results the client (for a long running search) as it finds them. This worked fine in .Net 3.5. Since I updated to .Net 4.0, it bombs out with a System.Runtime.FatalException that actually kills the IIS worker process. I have no...

Windows Server 2008 R2 + IIS 7.5 + ASP.NET 4.0 = HTTP Error 500.0

I am having an impossible time getting asp.net 4.0 to work in any fashion at all. In fact, I completely wiped my server, reinstalled with Server 2008 R2 Standard (running on a VMWare ESXi box, not that it should matter), and cannot even get a test .aspx page to work. Here is exactly what I did: Installed 2008 R2 Standard Activate...

Resolve http form post as https form post

Is there a way to force a non-secure form post to be secure? I understand there are ways to automatically resolve an http URL as an https URL but with form posts, is this type of redirection too late? Will the posted data have already gone through the wire as plain text? ...

Microsoft IIS: how can I change file permissions ?

how can I change file/folders permissions on Microsoft IIS ? Should I use icacls ? Can I use it from ftp ? I'm currently logged in with Microsoft ftp protocol but I get: ftp> icacls ?Invalid command. What's the equivalent of ls -l (to see the permissions) and chmod -R folder +arwx thanks ...

How to enable IIS server functions on windows from your C# Programm (or just using BAT file)?

How to enable IIS server functions on windows from your C# Programm (or just using BAT file)? ...

How to find size limits for POST on IIS with ASP.NET?

I have a web service on which the end users will be uploading ZIP archives that can be very large (one test file is over 200MB). I'd like to handle oversized files proactively and size-limited upload failures gracefully. Since the web app will be deployed on customers' machines, so I cannot easily ensure that the configuration matches...

Does IIS6 or IIS7 suppports client connection affinity to a worker process when using Web Gardens?

We have a .NET 3.5 application that stores sessions "In process". The application works fine when Web Garden in IIS6 is set to 1. However, when we change to 2 or more, users gets kick out and asked to log in again. As far as I have read, this can be solved by storing sessions out of the process (either state server or database). Assumi...

IIS6 HTTP request prioritization

Hi all, I am submitting POST requests to an external server running IIS6. This is a time critical request where I want to ensure that my request is processed at a specific time (say 10:00:00 AM). No earlier. And I want to ensure that at that specific time, my request is assigned the highest priority over other requests. Would any of thi...

IIS: How do I log non-ASPX 404s?

I have a lot of broken links that are not being logged. Is there a way to setup IIS to send them through ASP.NET so that my normal 404 logging routine catches them? ...

ERROR_INTERNET_SECURITY_CHANNEL_ERROR on MS IIS

I'm using MS IIS 6. And I have 3 https web pages: c1.aspx with a link to c2.aspx, this one has a Response.Redirect, on page load, to c3.aspx, where this last accepts client certificates. I'm using a smart card reader to get the certificate from a card. The problem is when I cancel the box to insert the PIN I receive an http response with...

Sharing DFS via WEBDAV

I know this is easily achievable via FTP, but the users where I work aren't very tech-savvy. Users need to be able to access their files from the DFS server (\office\dfs) via a webdav site. I tried simply mapping the DFS to a directory in webdav, but no such luck. I'm getting "500.19 internal server error". I have successfully mapped a l...

debugging asp.net & pinvoke

I know you need to turn on the 'Native Code' debugger in order to step into the pinvoke'd dll, however I am not even getting to that point. Instead, when I try to step into the dll I am getting the following exception "Unable to load DLL 'Native.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)" If I c...

The resource cannot be found. WCF .svc file

I am making a WCF service. System Config: Widnows 7, ASP.NET 3.5, IIS 7.0 Server Config: IIS7, ASP.NET 3.5 It works fine on my system, but when i deploy this on the server i get following error The resource cannot be found. when i try accessing my .svc file. Please help me out in this. My server is with GoDaddy, so i have no contr...

where to put login.aspx when SSL is enabled.

Hi, I want to know where is most desirable location to put the login page when SSL is required. I can put ~/login.aspx in the root directory and check "require secure chancel(SSL)" in IIS just for file login.aspx. In this article, http://msdn.microsoft.com/en-us/library/ms998310.aspx#paght000012_additionalconsiderations, it suggests put...

Get the tcp port web site is served on

I need to get a tcp port of the specified web site on IIS 7 and IIS 6 using C#. I have a console application that knows the web site's name. It should find a port this web site is served on. ...

How to replicate wwwroot over multiple IIS web servers with NLB without NAS?

We're adding a second server with Windows NLB for a bit of redundancy (ie the power goes on one of the servers - I know its not the best solution). How can we keep the data identical between the servers? Dont want to use a SAN or NAS as thats just something else to go wrong. Customers can upload images with the web app so changes could ...

Can't get "IIS 6 Metabase and IIS 6 Configuration Compatibility" installed on Windows 7

I'm trying to get Visual Studio setup to be able to use my local IIS server for hosting projects-- it tells me I need to install "IIS 6 Metabase and IIS 6 Configuration Compatibility". So I have tried to do so via Add/Remove Windows Components. The installation process gets to the end and then states that an error has occurred and not al...