I have a text file that I am trying to browse to using the browser http://files.mydomain.com/test.txt and I get a:
HTTP Error 404.0 - Not found
I double checked and the text file does exist. When I add a test.htm file, I have no issues.
Can someone help? Something tells me it's security issue.
...
Hi,
I have an asp.net web page to serve large file downloads to users.
The page is hosted on IIS7, Windows Server 2008.
The strange thing is that users can download at good speeds (2MB/s) when I don't add a content-length response header but as soon as I add this header, download speed drops to somewhere around 35kbps/s.
This is the c...
It's a .svc IIS hosted service with ssl and membership.
My wcf client reports:
System.ServiceModel.ServiceActivationException was unhandled
Message="The requested service, 'https://www.greenjump.nl/WebServices/OrderService.svc' could not be activated. See the server's diagnostic trace logs for more information."
Source="mscorlib"
...
Hi All,
I get the following error when overwriting my asp.net .dll sometimes on my web server. The server is running Windows 2008 and IIS7. The only way I can seem to resolve the issue is to restart IIS7 completely.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. P...
I'm writing a WCF service in Visual Studio 2008 to be hosted on a Windows 2008 Standard server.
I've created a new Web Site in IIS7 with its own application targeted to ASP.NET 2.0. I added .NET 3.0 Framework features to the server role. I've already gone through all of the steps involving *.svc extensions and the aspnet_isapi module. I...
I'm using JavaScript to send textarea updates back to a server in real-time. My HTML page uses a single XMLHttpRequest object to POST data to the server asynchronously. The messages are sent potentially at every onKeyUp event, but because I only use a single XMLHttpRequest object I throttle the requests by only POSTing when the readySt...
The answer to this may be a link to a good tutorial, but I've been unable to find one and it's getting rather frustrating.
I'd like to dive into the source code of DotNetNuke 5.2 which I have downloaded to a folder. I've opened up the solution that ships with it and it opens & compiles just fine.
What are the recommended steps for:
S...
I have configured IIS7 to gzip static content.
http://www.coderjournal.com/2008/04/iis-7-compress-javascript-gzip/
However, the files don't "stay" gzipped.
Here's my use case:
Request test.css file. It is not gzipped.
Request it again within a few seconds. It is gzipped.
Wait 5 minutes.
Request test.css file again. It is not gzipped...
What are the configuration file settings to enable webservices on IIS 7.0 in classic mode?
The site has to be in a classic mode application pool because the Report Viewer controls crash when running in Integrated Mode. However in a classic mode application pool, webservices produce the following error message:
The requested content a...
How to force example.com to be redirected to www.example.com with URL rewriting in IIS7? What kind of rule should go into the web.config? Thanks.
...
I have the following lines of code:
xslt.Load(XmlReader.Create(new FileStream(@"C:\website\TransList.xslt", System.IO.FileMode.Open)));
xslt.Transform(mydoc.CreateReader(),null, sw);
It works fine, if I stop the project and launch it again, I get the following error:
[System.IO.IOException] = {"The process cannot access the file 'C:...
Hi everyone,
My client gave me this web solution, in it various projects, and the problematic project (for me) is the Web Site.
I've copied the code to test web server (2008) and installed VS 2008 so I could step through the code on the server due to some weirdness.
Anyhow, when I open the solution locally on my personal computer, i...
Hi,
I am trying to get a asp.net 4.0 beta 2. website running that is working on my dev machine, but not when I published to my server. Where I get the HTTP 500.22 error when using the 4.0 as application pool and "Integrated" in "Managed Pipeline Mode".
What am I missing?
Thanks,
Anders
...
I hope someone out there has some update to date information on sessions and their IDs.
I'm running on IIS 7 and we're seeing Sessions assigned to more than 1 IP address.
I ruled out the possibility of it being caused by users resetting their IP addresses, for instance by unplugging their modems.
In at least one instance a user logge...
Using ASP.Net, I am trying to determine the actual URL requested by the user. For example if I type the following into my address bar:
http://mysite/////one//two
Fiddler shows me that this is the URL being sent over the wire however by the time it reaches ASP.Net all of the variables in HttpContext.Current.Request are showing this UR...
LS,
I'm using the following code to test the outputting of fatal errors to the browser:
use CGI;
use CGI::Carp qw(fatalsToBrowser);
die "test";
I am expecting to see some error in the browser, but there isn't any, I just get a regular 500 response. I forgot that I had custom error pages on for remote requests, and I now get Script f...
I'm trying to do a very simple CFHTTP GET call to a local website running on IIS7, however it throws a 408 Connection Failure.
I've done all the obvious things:
The site is listed in the hosts file locally
I've added the CFHTTPPARAM tags for IIS compression issues (deflate;q=0)
Surfing to the URL in the browser works fine
Doing a CFH...
I've just setup an application under the default web site installed by IIS 7.
I've tried loading both http://localhost and http://localhost/myappname
in both cases, all I am getting is a blank page, no errors. And although directory browsing is enabled, I can't even see a list of the files in that directory.
Any ideas why this is?
...
This is not an MVC topic.
I have an ASP.NET Application which performs URL Routing in the Application_Start method.
The routing looks like:
RouteTable.Routes.Add(new Route(
"Profile/{query}",
new RouteValueDictionary() { {"query",string.Empty} },
new GenericRouteHandler("~/ProfileHttpHandler.ashx")
));
A GenericRouteHandler loo...
I have a simple web site with two pages. One displays a list of files, and the other streams a file when it's clicked in the list. All was fine in production for 6 months, but now I have to move the site to Windows 2008/IIS7. I have it mostly working, but the files don't open properly (in Firefox) because my content-type header is bei...