473,549 Members | 2,346 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows logon dialog appears even though authentication mode is set to None?!?


(trying again with a shorter message - hope anyone has any ideas)...

Trying to get my aspx application to run on a remote server beyond
my control (except ftp access).

First time I access an aspx page, I get a Windows logon dialog.
If I click cancel, I get an "access denied" error when the app tries
to access a file located in the same folder as the aspx page, but if I
then press F5, everything works fine.

My web.config below.

How can I change my app or web.config so the first-time
Windows logon dialog disappears?

TIA,

Joergen Bech

---snip---

<?xml version="1.0" encoding="utf-8" ?>
<configuratio n>

<system.web>

<httpHandlers >
<add verb="GET"
path="FtbWebRes ource.axd"
type="FreeTextB oxControls.Asse mblyResourceHan dler,
FreeTextBox" />
</httpHandlers>

<compilation defaultLanguage ="vb" debug="true" />

<customErrors mode="Off" />

<authenticati on mode="None" />
<identity impersonate="tr ue" />

<authorizatio n>
<allow users="*" />
</authorization>

<trace enabled="false" requestLimit="1 0" pageOutput="fal se"
traceMode="Sort ByTime" localOnly="true " />

<sessionState
mode="InProc"
stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data
source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se"
timeout="20"
/>

<globalizatio n requestEncoding ="utf-8" responseEncodin g="utf-8" />

</system.web>

</configuration>
Nov 19 '05 #1
2 1778
Ru
Check the properties of the virtual directory's properties, "Directory
Security" tab, Edit "Anonymous Access and Authentication control" and check
the "anonymous Access" and uncheck all others and see if it helps or not.

"Joergen Bech @ post1.tele.dk>" <jbech<NOSPAMNO SPAM> wrote in message
news:c8******** *************** *********@4ax.c om...

(trying again with a shorter message - hope anyone has any ideas)...

Trying to get my aspx application to run on a remote server beyond
my control (except ftp access).

First time I access an aspx page, I get a Windows logon dialog.
If I click cancel, I get an "access denied" error when the app tries
to access a file located in the same folder as the aspx page, but if I
then press F5, everything works fine.

My web.config below.

How can I change my app or web.config so the first-time
Windows logon dialog disappears?

TIA,

Joergen Bech

---snip---

<?xml version="1.0" encoding="utf-8" ?>
<configuratio n>

<system.web>

<httpHandlers >
<add verb="GET"
path="FtbWebRes ource.axd"
type="FreeTextB oxControls.Asse mblyResourceHan dler,
FreeTextBox" />
</httpHandlers>

<compilation defaultLanguage ="vb" debug="true" />

<customErrors mode="Off" />

<authenticati on mode="None" />
<identity impersonate="tr ue" />

<authorizatio n>
<allow users="*" />
</authorization>

<trace enabled="false" requestLimit="1 0" pageOutput="fal se"
traceMode="Sort ByTime" localOnly="true " />

<sessionState
mode="InProc"
stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data
source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se"
timeout="20"
/>

<globalizatio n requestEncoding ="utf-8" responseEncodin g="utf-8" />

</system.web>

</configuration>

Nov 19 '05 #2

Well, that is the problem: As I mentioned, the server is beyond my
control, but seeing that everything works after dismissing the first
Winlogon box and pressing F5, I was hoping I could solve the
problem by changing a setting in the web.config file.

"Beyond my control" means one of those cheap web hotels that offer
space and a limited number of services/components, but little/no
technical/developer support.

/JB

On Sat, 2 Jul 2005 18:52:23 +0530, "Ru" <ru**********@y ahoo.com>
wrote:
Check the properties of the virtual directory's properties, "Directory
Security" tab, Edit "Anonymous Access and Authentication control" and check
the "anonymous Access" and uncheck all others and see if it helps or not.

"Joergen Bech @ post1.tele.dk>" <jbech<NOSPAMNO SPAM> wrote in message
news:c8******* *************** **********@4ax. com...

(trying again with a shorter message - hope anyone has any ideas)...

Trying to get my aspx application to run on a remote server beyond
my control (except ftp access).

First time I access an aspx page, I get a Windows logon dialog.
If I click cancel, I get an "access denied" error when the app tries
to access a file located in the same folder as the aspx page, but if I
then press F5, everything works fine.

My web.config below.

How can I change my app or web.config so the first-time
Windows logon dialog disappears?

TIA,

Joergen Bech

---snip---

<?xml version="1.0" encoding="utf-8" ?>
<configuratio n>

<system.web>

<httpHandlers >
<add verb="GET"
path="FtbWebRes ource.axd"
type="FreeTextB oxControls.Asse mblyResourceHan dler,
FreeTextBox" />
</httpHandlers>

<compilation defaultLanguage ="vb" debug="true" />

<customErrors mode="Off" />

<authenticati on mode="None" />
<identity impersonate="tr ue" />

<authorizatio n>
<allow users="*" />
</authorization>

<trace enabled="false" requestLimit="1 0" pageOutput="fal se"
traceMode="Sort ByTime" localOnly="true " />

<sessionState
mode="InProc"
stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data
source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se"
timeout="20"
/>

<globalizatio n requestEncoding ="utf-8" responseEncodin g="utf-8" />

</system.web>

</configuration>


Nov 19 '05 #3

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

Similar topics

8
3682
by: Bob Everland | last post by:
I have an application that is ISAPI and the only way to secure it is through NT permissions. I need to have a way to login to windows authentication so that when I get to the ISAPI application no boxes come up. I want an ASP page to sit between the user and the ISAPI application. The rest of my application is using authentication that is...
3
1794
by: Rodney Lane | last post by:
Hi, I want to use windows authentication for my web site, but i dont want the user to have to use that little windows logon dialog box when they first access the web site. Is there any way that I can create a web form that will take the place of the windows logon dialog box? Cheers
4
6792
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. :)
3
1313
by: Rich Miller | last post by:
I have a strange situation IIS. Take a sample web site which contains only Index.htm. If I choose anonymous access and go to the site, the page loads fine. If instead of Index.htm I use Index.aspx, I get promped for windows authentication even though I've chosen anonymous access in IIS. I've reset the permissions a bunch of times, but keep...
3
7471
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work on her local machine. Everything looks pretty good. OpenLDAP/cygwin works great. PostgreSQL works great. Apache runs. PHP runs. But when I...
1
1179
by: ruca | last post by:
Hi, In my Web Application I have windows authenthication logon. Usually login dialog don't appear, but in one of the computers this dialog appears when it's not supposed. If I logon the Web App works fine, but every time I try to run on same computer, dialog appears. I think the problem maybe was the computer don't belong to domain and I...
3
3025
by: tshad | last post by:
I have my windows authentication on our intranet set up as: <authentication mode="Windows"/> This works for 15 machines at work fine. Doesn't ask you to logon. It uses the logon credentials the user used to logon originally There are 4 machines that it asks for logon credentials (even though they have already logged on). Obviously,...
4
2340
by: Preben Zacho | last post by:
Hi there The scenario I got is this: I have created a Windows application in VS and I want to deploy it to another machine running Windows Vista. Since I have no control over this other machine, I've set it up to run SQL Authentication and I have added a new user called "MyUser" and applied a password. This user/password is used in my...
0
7546
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7471
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...
0
7830
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...
0
6071
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5111
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...
0
3496
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1962
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
1
1082
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
784
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...

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.