I need to use LDAP to authenticate users for an old ASP website.
I have been using the code found here.
It looks like this:
<%@ LANGUAGE=VBSCRIPT %>
<%Option Explicit%>
<%
Function getADUserInfo(strUID)
on error resume next
strGeneralLookupError = false
strBase = "<LDAP://DC=[DOMAIN], DC=[DOMAIN EXETENTION]>"
strFilte...
I've followed the steps to setup ASP.NET routing here: ASP.NET Routing… Goodbye URL rewriting?
I'm on IIS5.1 (yeah, i know) so I had to do the "Wildcard Application Mapping". And now my IIS DefaultDoc "default.aspx" is giving a 404.
I can see other people with the same problem here and here, but no solutions.
David Wang makes it soun...
Did you know you can prevent the revalidation of files in browser cache and subsequent 304 response by completely removing both the ETag and Last-Modifed response headers?
Of course, this is easy in Apache, but as clear as mud in IIS 6. Does anyone know how to remove both of these headers in IIS?
...
Hello all,
This is in VS 2005. And IIS is 6.0. I am trying to use Self signed certificate for HTTPS. In the code i am redirecting from http to https for few pages. It is nt working fine.
And in the IIS manager, for each page that i want HTTPs, i have changed its setting by checking "Require Secure Channel(SSL)" and "Require 128 bit encr...
Hello,
I am using a Self signed certificate for HTTPS. I have it ready. Could someone please tell me what should be changed in IIS and also what should be changed in the code for https to come into affect. I need https for some pages(not all).
Thanks in advance!!
...
Hi All,
I'm running two server 2003 boxes with IIS6 that are in a dmz. I also have a server 2003 box running IIS6 behind a firewall inside the dmz. So, what I basically have is a staging environment in the dmz and my production environment outside the dmz. This is for serving up a small business website.
All three servers have an insta...
Hi,
I have a asp.net 2.0 web site with WCF service hosted inside it running on .NET 3.5 framework. The website is setup with Integrated Windows Authentication only. The web server is IIS 6 with load balancing on Windows 2003 Sp2 (2 servers). I am unable to access the WCF service (.svc) using the full url (http://myqa2.abcdefg.com/trxn/W...
I wrote a test page that does a bunch of busy work in a method called at page load. This process as I have it now takes around 12 seconds.
If I try to load another page while the first long running page is loading, this second page doing nothing except writing out a hello world, it doesn't load until the first long running page is finis...
Hi guys,
I've built an ASP.Net MVC 2.0 site in VS2010, targeting .Net 3.5.
I'm trying to 'bin deploy' to a server running IIS 6.0.
The server is a 'test' virtual server running Windows Server 2003 R2 64bit, and .Net 2.5 SP1.
MVC has not been installed on this server.
I am trying to replicate the hosting environment where this applicat...
Hi,
I am new to asp.net & IIS. Now I am deploying a web site with wcf service to IIS. The WCF service needs windows authentication, so i have used impersonate attribute in web.config.
But everytime I change my password, the web page is not served and it throws error. I think it is basic, but I donno.
How I can fix this permanently? ...
We have recently installed Bugzilla on IIS6.0 in windows 2003 Server. Everything is working fine except sending email. We have configured SMTP email configuration. We provided the smtp server, user name and password. Still Bugzilla is not able to send an emila and reports "Could not authenticate the user". When the same details are provi...
Is there any reason why a route would be properly mapped in one environment and not another? I am deploying the exact same routing information from my local development server to a production server, and the routes are not being evaluated the same.
I have downloaded Phil Haack's Routing Debugger, and it is confirming that the routes ar...
I work in company with many servers and Pcs for developers. Servers are win2003, PC developers Windows XP.
In a server Win2003 named preiis01, in preproduction environment, other people in company install a client certificate using any other user (domainCompany\adminsystems) for logging in server preiis01.
Anyone admin uses the user "d...
After trying for long time I am not able to run my silverlight 4 business application successfully on my deployment server, where I don't have visual studio 2010 installed.
I have IIS 7.5, OS:windows web server 2008 R2, I installed RIA services, Silverlight 4 etc. I configured IIS it works for normal silverlight websites But this silver...
This is a quite a big, quite a badly coded ASP.NET website that I am currently tasked with maintaining. One issue that I'm not sure how to solve is that at seemingly random times, the live web site will lock up completely, page access is ok, but anything that touches the database causes the application to hang indefinitely.
The cause se...
I have ASP.Net application with a simple cache helper.
Under VS web server it works fine.
Under IIS 6.0 cache doesn't work- object, was saved previos, doesn't returns after a minute (with no exception).
What could be wrong?
public static class CacheHelper
{
public static string Share<T>(T @object, TimeSpan period)
{
...
On my test machine running (Windows XP, IIS5.1) the following code executed within a C# .NET WebService (.SVC) under a custom process identity (using machine.config to specify the user)
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
correctly returns
c:\Documents and Settings\myUserName\Application Data
Howev...
i have an application which i developed on my local machine win7, iis7
which does something like this:
deny all anonymous users on all root pages
and redirect them to login
they will be able to access the root pages after logging in.
It uses forms authentication to log the user in.
it is structured as an subapplication in a website
...
There are quite a few solutions here that discuss accessing a UNC path from IIS, however I need to get this to work under XP.
How does one get ASP.NET (on XP) to access a remote UNC path? Where do I set the credentials?
I've attempted the SU4User Impersonation extensions, setting the IIS anonymous account, etc, and think there is more...
I currently have a IHTTPModule set up to handle all 404 and 500 errors. It is working on aspx pages, and items set up on those pages, but not on any other extensions. I have changed IIS to use aspnet_asapi.dll as the wildcard. Is there any way to route all traffic, even image and plain text, through the .net handlers so that 404's and...