iis

Disable form authentication for public pages

Hi, In my development environment everything works as I expect. I can access all the pages and as soon as I get to a secured page I check the Request.IsAuthenticated and redirect to the login page if needed. The problems starts when I deploy the project under IIS7. When I access the site I'm being redirected to the login page (as defin...

iis: Integrated Windows authentication still pops up account info login

I have a website running on a Windows 2003 server on IIS 6, serving pages for a LAN where everybody is working with a domain account. On other machines this works fine, no-one has to login to the website, the dynamic scripts pick-up the account-name from the HTTP request. Only, when browsing from the server itself (via remote desktop e....

Asp.net - When I run my website on IIS, Database login fails.

In my website I am accessing my sqlserver database using "windows authencation mode". Everything works fine when I run my website using visual studio. but when I hosted my website on IIS, everytime an error message comes that "database login failed". Login failed for user 'HAL\IUSR_HAL'.(HAL is the name of my webserver) Should I do som...

Virtual directories not showing up in VS 2005

How come when I create an IIS based website, any virtual directories created under the main app show up in VS2005 but if I create a file-system based website, then use IIS to configure a virtual directory and use it to run the app, the sub-virtual directories do not show up in VS2005 ? Thanks in advance. -SK ...

SQL Server Express - Website not working

I have a new website that I'm trying to deploy. It works great on my local machine, but when I install on the server, it no longer works and I don't get any error messages. I'm using SQL Server Express, but this isn't installed on the server. Do I need to do this? ...

.NET Application pool often overflowing

.NET application pool often overflowing. What Should I do for solving this problem? I am using singletton class for db connection. Also; My all db connection lines in using code block. So, it be dispose by .NET engine. What Should I do for solving this problem? ...

IIS Virtual Folder URL encryption

We have a c# asp.net web application that, amongst other things, allows users to download previously uploaded files such as PDF's, Word docs etc. The asp.net app is served up via an IIS6 server and the file resources live on a different server. When the user requests a file (i.e. click a button on the web form), we stream the file back ...

What is the fatest way to format return data in WCF on Compact Framework?

We have a handheld application running in .NET 3.5 Compact Framework. I am wondering what is the fastest means for WCF to communicate response information? I have heard of Binary XML but am not sure it is available to us in the restricted environment that is CF. Any thoughts? Jason ...

I want to run a .net web application on local computer

I wanted to run a .net application on a laptop. I created the application(aspx pages and SQL database) on a computer that has VS 08 installed. Now i wanted to run this application on a laptop that does not have SQL sever 2005 installed. As far as the aspx pages if i publish them to a zip drive copy it to my laptop and go into IIS and de...

IIS7 Integrated vs Classic Pipeline - which uses more ASP.NET threads?

With integrated pipeline, all requests are passed through ASP.NET, including images, CSS. Whereas, in classic pipeline, only requests for ASPX pages are by default passed through ASP.NET. Could integrated pipeline negatively affect thread usage? Suppose I request 500 MB binary file from an IIS server: With integrated pipeline, an AS...

Does QNetworkManager get accept compressed replies by default?

I am using QNetworkManager to fetch files from a server, however what I cannot figure out is if the files are compressed during the transfer with the standard gzip compression and if not how to get them to download compressed. How would I go about checking? ...

IIS - HTTP 403.1 Forbidden Error on Website

Hi all, I have copied parts of an old ASP website out into a new website. On my local machine where the code was cleaned up and tested the website works perfectly, however, on the Windows Server 2000 machine it needs to run on I am getting an error: HTTP 403.1 Forbidden: Execute Access Forbidden Internet Information Services ---------...

How can i give access to IIS_WPG user role in IIS

How can i give access to IIS_WPG user role in IIS. I am trying to run .net 2.0 application on windows xp laptop ...

i am getting this error failed to execute request because the app-domain could not be created on IIS 5.1 win XP

i am getting this error "failed to execute request because the app-domain could not be created" on IIS 5.1 win XP any ideas? i tried looking online....i put my .net application in the INETPUB folder ...

IIS 404 Custom Error: URL return response code 200 instead

I'm trying to return a custom 404 page using IIS6. (I have a site that is mostly .shtml pages built using movable type). I have tried it 2 ways: 1) set the 404 error handler in IIS to be type "file" with the path \404.html. This works, but it also means that I can't import the header and footer of my site (hence the .shtml) Trying t...

Legacy ASP site issue

I'm dealing with an issue where there was a site setup, and the default.htm used an iframe which pointed to an ASP directory. It seems like the ASP directory isn't readable and not processed - is there anything special that needs to be done to the ASP directory like permissions-wise? wwwroot/sitename <iframe src="ASP/file.asp"></iframe...

forms authentication with web.config. Always works on dev, never works on live!

Here is the web.config; <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.web> <customErrors mode="Off"> </customErrors> <authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="login.aspx" protection="All" timeout="999999"> <credentials passwordFormat="MD5"> <user name="admin" p...

WebRequest Exception in .NET

I use this code snippet that verifies if the file specified in the URL exists and keep trying it every few seconds for every user. Sometimes (mostly when there are large number of users using the site) the code doesn't work. [WebMethod()] public static string GetStatus(string URL) { bool completed = false; H...

Why does Sitecore throw a NullReferenceException exception when I redirect to one of its pages?

I'm running Sitecore 6.1 on Windows 2008, IIS7, and I'm trying to use the URL Rewrite Module to do a redirect. When I enable the rule and hit the URL that triggers it, I get a YSOD. The same rule works perfectly on a non-sitecore site on the same machine. According to the Failed Request Trace, the rewrite module does its thing just fine,...

Endless runtime for a script that sometimes works

After I execute this code asp scripts quite working. <!-- #include file="Connection.asp" --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <% function Page() { var db = new DBConnection; this.DAL = db.retriveDAL("Content"); var url = new String(Request.ServerV...