473,408 Members | 1,966 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

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" ?>
<configuration>

<system.web>

<httpHandlers>
<add verb="GET"
path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler,
FreeTextBox" />
</httpHandlers>

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

<customErrors mode="Off" />

<authentication mode="None" />
<identity impersonate="true" />

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

<trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true" />

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>

<globalization requestEncoding="utf-8" responseEncoding="utf-8" />

</system.web>

</configuration>
Nov 19 '05 #1
2 1770
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<NOSPAMNOSPAM> 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" ?>
<configuration>

<system.web>

<httpHandlers>
<add verb="GET"
path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler,
FreeTextBox" />
</httpHandlers>

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

<customErrors mode="Off" />

<authentication mode="None" />
<identity impersonate="true" />

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

<trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true" />

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>

<globalization requestEncoding="utf-8" responseEncoding="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**********@yahoo.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<NOSPAMNOSPAM> 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" ?>
<configuration>

<system.web>

<httpHandlers>
<add verb="GET"
path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler,
FreeTextBox" />
</httpHandlers>

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

<customErrors mode="Off" />

<authentication mode="None" />
<identity impersonate="true" />

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

<trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true" />

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>

<globalization requestEncoding="utf-8" responseEncoding="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
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...
3
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...
4
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
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...
3
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...
1
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...
3
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...
4
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,...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...
0
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,...
0
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...

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.