I have an asp.net web application that allows users to upload files to an 'uploads' directory that is located in the same virtual directory as the web app. Each uploaded file goes into a temporary sub directory that is named after the user's session id. Once I'm finished with the files, I delete the temp sub directory. The only problem i...
I'm trying to use Impersonation and Delegation in an intranet ASP.Net web-app in order to pass authenticated users' credentials onto a SQL Server.
The web server and SQL server are two separate machines, but in the same domain, so Delegation is required.
I've done the following:
set <authentication mode="Windows"/> and <identity impe...
Browsing many websites, I came to a know that IIS7 does not support "Windows Authentication" if computer is running on Windows 7 Home Premium version.
When tried to creating "Virtual Directory" for an web application from "Solution->Properties->Web" it is giving an alert that "Windows Authentication" component should be installed.
If H...
i am using IIRF v2.1 for Rewrite Rule
i write on rule like this but its not working
RewriteRule ^(prod|pag|staf)/([A-Za-z0-9-]+)/?$ $1.php?iid=$2 [QSA,L]
if i use follwoing url
http://localhost/prod/22/new-item
what i need actual URL is
http://localhost/prod.php?iid=22
yes working version is
RewriteRule /^(prod|pag|staf)/([A-Za-z...
I have a simple HTTPModule which does some custom session state management.
public void Init(HttpApplication context)
{
context.AcquireRequestState += new EventHandler(ProcessBeginRequest);
ActivityLogger.LogInfo( DateTime.UtcNow.ToLongTimeString() + " In Init " + HttpContext.Current.Request.Url.AbsoluteU...
I have a ASP.NET MVC site and it works just fine when I run it locally. Once I deploy that site to IIS 7 all links to resources are broken (ie. script files, images, css files). Could this be a route issue or would it be an IIS setting?
Here are my routes:
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRou...
Hi All,
can anyone guide me how to set ASP.NET version for virtual directory in windows 7.
I am searching in IIS Manager, The UI of IIS Manager in Windows 7 is totally changed and I could not find it at all.
...
We have a web application that is installed on Windows 2003 and Windows 2008 systems. In the past, our install code used ADSI to create a couple of application directories in IIS, but this requires the IIS 6 management components to be installed in Windows 2008. I have been trying to use WMI to create the application directories so we ca...
Using IIS 7.5, IIS_IUSRS is supposed to be the account to use. I get '401 - Unauthorized: Access is denied due to invalid credentials' error. If I add an EVERYONE account with Read, it works. But rather not have Everyone account. Any idea why IIS_IUSRS does not work? It has Read access. Anonymous Access=enabled. Specific User=IUSR
As a ...
i keep getting this error. not sure what it is. this is what i have done so far. am working on VISTA and have IIS7. i created a new site and have a directory with my aspx files attached to it. then i converted one of the subfolders to an application. But for some reason when i try to turn on that application (right click browse) i get th...
Hi guys,
I am kind of stumped with this one, and was hoping I could find some answers here.
Basically, I have an ASP.NET application that is running across 2 servers. Server A has all of the business logic/data access exposed as web services, and Server B has the website which talks to those services (via WCF, with net.tcp binding).
T...
I have written a simple redirect rule for IIS7, I would like to apply this same rule across the entire server so I added it to the applicationHost.config via the IIS interface. I have confirmed it has created the rule correctly in the file, however it simply does not work, I get no error so it is hard to know what I am doing wrong?
...
Dear Gurus
I have a WCF Service Deployed on IIS. (BasicHTTPBinding with [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)])
I have built custom in-memory session management and Now I am facing a strange problem that is IIS 7 Restarts Automatically without even throwing any kind of warning...
I'm having difficulty making IIS 7 correctly compress a Json result from ASP.NET MVC. I've enabled static and dynamic compression in IIS. I can verify with Fiddler that normal text/html and similar records are compressed. Viewing the request, the accept-encoding gzip header is present. The response has the mimetype "application/json", bu...
Calling a WCF published orchestration from a C# program usually is sub-second response time. However, on some occasions, it can take 20-50- seconds between the call in the C# program and the first trace message from the orchestration. The C# that runs calls the WCF runs under HIS/HIP (Host Integration Services/CICS Host-Initiated Proce...
I'm running windows 7 64-bit and iis7. I'm trying to setup a web application that was previously in iis6 on XP. It's giving me the error below. I've added the network service user to the Performance Monitor Users group to no avail.
Access to the registry key 'Global' is
denied. Description: An unhandled
exception occurred dur...
Hi,
This is my current situation:
Im trying to execute a website that access to some files in my hardisk.
Im into a network of a company with an ip.
I have IIS 5.1.
This is the problem that im having:
When i try with localhost, there isnt any problem, but when i try with the ip of my
network computer, i get "file not found", an...
Hi,
Does IIS 7 have some limit of simultaneous requests? I'm using Windows Server 2008.
Thanks in advance.
...
I need to understand something about ASP.NET session state, as it applies to IIS 7 and ASP.net 3.5.
If an application is configured to use in-process session state, will that work OK if there are multiple worker processes? In other words, do worker processes share session state?
The default configuration for IIS 7 is to use in-process ...
I wanted to use FormsAuthentication to secure my static files as well on my site, so I followed the instructions located here http://learn.iis.net/page.aspx/244/how-to-take-advantage-of-the-iis7-integrated-pipeline/ under title "Enabling Forms Authentication for the Entire Application".
Now though, when I try to visit the site by going...