473,698 Members | 2,246 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows prompts for login but using Forms Authentication

Hi all,

I have an ASP.Net application that has worked swell on both my
development environment and production for some time now. Development
is running on a WinXP Pro box, Production is running on a Win 2000
Server.

However, the other day we had to move the application to another
server. The new server is Windows 2003 box.

The problem is that when you visit any page that requires forms
authorization IE will prompt the user to log in to that box. This
doesn't make sense since I'm not using Windows Authentication, I'm
using Forms Authentication.

For the heck of it, I went to IIS and checked. Anonymous authentication
is enabled, and all other forms are disabled. That includes Windows
Integrated and Basic.

Then for the heck of it, I made sure that the local "ASPNET" account
had full control on every single file and folder on that box. Just in
case it's some ACL permission issue.

Still, the browser prompts for logon.

What is strange is, when you click cancel on the logon prompt, it still
lets you in and the page runs. But as soon as you try to access another
page, IE prompts you again to log on.

One thing though, the app works fine if I VPN in to the network, and
access it via IP address instead of using the web domain name assigned
to the app in the DNS.

This gives me a clue that it could have something to do with our ISA
server. Or perhaps DNS?

Has anyone else had this problem? How did you fix it?

Nov 19 '05 #1
1 2119
Turn anonymous on in IIS.

<ch*****@charle sforsyth.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
Hi all,

I have an ASP.Net application that has worked swell on both my
development environment and production for some time now. Development
is running on a WinXP Pro box, Production is running on a Win 2000
Server.

However, the other day we had to move the application to another
server. The new server is Windows 2003 box.

The problem is that when you visit any page that requires forms
authorization IE will prompt the user to log in to that box. This
doesn't make sense since I'm not using Windows Authentication, I'm
using Forms Authentication.

For the heck of it, I went to IIS and checked. Anonymous authentication
is enabled, and all other forms are disabled. That includes Windows
Integrated and Basic.

Then for the heck of it, I made sure that the local "ASPNET" account
had full control on every single file and folder on that box. Just in
case it's some ACL permission issue.

Still, the browser prompts for logon.

What is strange is, when you click cancel on the logon prompt, it still
lets you in and the page runs. But as soon as you try to access another
page, IE prompts you again to log on.

One thing though, the app works fine if I VPN in to the network, and
access it via IP address instead of using the web domain name assigned
to the app in the DNS.

This gives me a clue that it could have something to do with our ISA
server. Or perhaps DNS?

Has anyone else had this problem? How did you fix it?

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
4830
by: Dave | last post by:
Hi, Is there anyway to mimic forms authentication's loginUrl and RedirectFromLoginPage functionality using Windows authentication? We are developing intranet sites using basic authentication and we want to always redirect a user to a default 'splash' or welcome page that is set to anonymous if they are not logged in. This page would have
7
2610
by: Wade Wegner | last post by:
Hello, I have been desperately trying to programmatically authenticate a windows user, create their credentials, and then redirect them to a different server while passing the credentials at the same time so that they don't have to login again. Specifically, I have two webservers in the same domain. When I have a user go to Webserver A (which uses basic authentication) I programmatically create either a user credential or impersonate...
4
6803
by: Andrew | last post by:
Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation, the more advanced stuff is still a challenge. Ok. :)
10
13863
by: Will Gillen | last post by:
I have an ASP.NET application that is using Windows Integrated Authentication (IIS) (as opposed to Forms Authentication). When the user first logs into the application, IIS prompts the user for their credentials. Once they are "authenticated", their credentials remain active while their web browser is open. Now, I want the "authentication" to "timeout" in 3 minutes. This way if they browse to another page after 3 minutes, they are...
2
1491
by: Evan Basalik | last post by:
I have an ASP.NET application which uses forms authentication. For some reason, after someone logs in, they get a Windows logon dialog whenever they try to access any ASPX files in the forms-protected directory. I am inferring this from the fact that the last entry in the IIS log is the ASPX file in that directory. The really odd thing is that I have another ASP.NET application on the same server with the same exact setup (at least as...
1
2789
by: sefe dery | last post by:
Hi ng, i have an Asp.net webapplication on a remote Windows Server 2003. I created on the remote server a windows account and i use the "only windows authentification" in sql server 2000. The name and passwort for the windows account are the same like the credentials in asp.net.
3
2408
by: serge calderara | last post by:
Dear all, I clearly underdand the advantage of both type of authentification but is it allowed or possible to set the Authentication mode to Windows and then handle a login form for defined users in Credential section like as follow : <authentication mode="Windows" > <forms loginUrl="Login.aspx"> <credentials passwordFormat="Clear"> <user name="Jessee" password="JuneBug"/>
3
3494
by: Evan Camilleri | last post by:
I have a problem for a Windows Service to login on an SQL server (different machine) - neither Windows Authentication nor SQL Authentication worked. LOGIN FAILED FOR USER sa (for example). If SQL Server is on the same PC of the Windows Service the connection works OK. The same code works in a Windows Form using same user and authentication methods to the SQL Server on a different machine.
0
976
by: Samba | last post by:
Hi, I'm using Forms authentication in my ASP.NET web application. When I deploy this application in a Windows 2000 server machine and access the application .... everything works fine except that for certain resources like images created using, excel exports a Windows login prompt appears. Now as a temporary fix, I've created a local user in the server and we give the credentials of this user when the login prompt appears. For Info,
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.