I have a website that is hosted on IIS6 and set to use .NET 4.0, but I still have a WCF service on the site that is using 3.5. When i browse my svc file, i get the error:
unrecognized attribute 'targetFramework'
and it point to the websites root web.config. I have tried this MSDN article and still get the same error. My site is usi...
My company has a C# asp.net application deployed with IIS 7.0.
The location the app is deployed in is
C:\inetpub\wwwroot\my.domain.www\
Under that we have a storage folder which is where we hold temporary files. This folder needs to be writable with each deployment. We reference this folder from within our Web.conf file, and thus the e...
We are moving an application from a hosting environment using IIS 6.0 and ASP.NET session state server (both on Windows 2003) to IIS 7.5 and ASP.NET session state server (on 2008 R2).
We are having a problem, in the new environment, where if a user gets moved across servers in the farm, their session state is lost. We had this exact pr...
I have a site which uses simple server-side includes to pull in the header and footer on some static HTML pages:
<!--#include virtual="/_top.html"-->
...
<!--#include virtual="/_bot.html"-->
The downside is that IIS can't cache SSIed pages (or more specifically, it won't allow browsers to cache the page no ETag nor Last-Modified h...
Hi all,
Exsits any way to modify the temporary folder path returned by System.IO.Path.GetTempPath() method?
My asp.net application run under iis 7.
Thanks
...
Hello all,
I created an asp.net web application that can create dynamically asp.net web application projects within it's file system (subdirectories).
Lets say I manually create Virtual Directory in the IIS for each webapp created.
When I try to access those applications (http://localhost/<virtual-dir>/) I get an error:
Parser ...
Here is the exact issue:
I have a client app calling a wcf service, in both the client app and the wcf service i have set the time outs to be over 3 hrs. when the service runs about 20 min there is no issue but more than than it times out in a weird way. I started debugging the service to see what actually happens since the time outs s...
I have a request to my own service that takes 15 seconds for the service to complete. Should not be a problem right? We actually have a service-side timer so that it will take at most 15 seconds to complete. However, the client is seeing "the connection was forcibly closed " and is automatically (within in the System.Net layer--I hav...
I'm attempting to configure a webdav server example application (https://sourceforge.net/projects/webdav/) to run on IIS6 (Win2003 Server). The application runs correctly on my dev machine (Win7, IIS7.5).
When I attempt to map a drive to the DAV share, several requests are issued, including one OPTIONS request and two PROPFIND requests....
I'm writing a Ruby on Rails app that normally runs on Heroku or a Linux Box, but I'd need to deploy it to a Windows Server as well.
The Server is a 64-Bit Win2008 Server with IIS 7.0 installed, so normally I'd prefer using IIS instead of setting up an Apache next to it.
I just don't know if Ruby/Rails works with IIS? Do Gems work? Is 6...
Hi,
I have two asp.net pages. In the first page i have a fileupload control and a submit button. In the submit button click event a file will be posted to second page.
The second page receives the file using request.files method. My problem is when i upload a huge file, IIS is using the memory while receiving the file. But it is not cle...
We have an old asp application that instantiates a .NET com visible class. In this class, we do some serialization to store our object in the session.
When I call the following line of code in my test class, it works fine.
var cereal = new XmlSerializer(couponApplicator.GetType());
However, when it gets called in the website and...
This is a very wierd issue - any thoughts/help/hints would be greatly appreciated.
Our web app streams PDF files to the browser using the following code
byte [] fileBytes = GetTheFileBytes();
string contentType = "application/pdf";
context.Response.Clear();
context.Response.ClearHeaders();
context.Response.ContentType = contentType;
c...
Hi guys,
How can enable remote request en ISS Express, Scott wrote that is possible but he didn't say how :(
thanks!!
...
I am running an IIS 7.5 site that serves up content for http://www.foo.com/
I've been asked to properly route http://www.foo.com./ (note the trailing dot). If you hit that page now, you'll get an IIS error:
Bad Request - Invalid Hostname
HTTP Error 400. The request hostname is invalid.
This happens even for http://www.micro...
System.Configuration.ConfigurationErrorsException: The value for the 'compilerVersion' attribute in the provider options must be 'v4.0' or later if you are compiling for version 4.0 or later of the .NET Framework.
...
hey all,
I am trying to run web application scripted in PHP on windows server 2008. I have configured PHP (as fastcgi) and IIS. Everything goes fine except the following scenario.
In the php.ini document "doc_root" edited with the correct root path for my php projects which is "c:\inetpub\wwwroot\". I created a new site on IIS and mapp...
I have a need to submit some data to a different host name and was hoping to utilize the reverse proxy guide found here for IIS 7.5
http://learn.iis.net/page.aspx/659/reverse-proxy-with-url-rewrite-v2-and-application-request-routing/
I have added the following code to my system.webserver entry in the site's root web.config
<system.we...
I am trying to change the name of a c# WCF logfile based on the name of the IIS Virtual directory it is deployed to.
I tried to use the Directory.GetCurrentDirectory() call but it returns the directory c:\windows\system32\inetsrv regardless which virtual directory the WCF apps was deployed to..
So should I be looking into the Virtua...
I'm trying to set up an installer to register a web site. Currently, I've got it creating an Application Pool and Web Site under Windows Server 2003. Unfortunately, whenever I try to modify the ServerBindings property to set the IP Address, it throws an exception at me. I first tried this because the documentation here told me to http://...