473,382 Members | 1,752 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,382 software developers and data experts.

ASP.NET WebSite: Permission Issue

Hi All,

I have installed an ASP.NET application under a web site.

ASP.NET application uses an Impersonation Account, specified in Web.Config.

Authentication mode is set to Windows and anonymous access is disabled (deny
="?").

While accessing the Web Site (Web App) it prompts for User Name and
Password.

However, the application works only for me ( I had installed it ) and does
not allow any one else to view the app.

What could be wrong?

Any pointer or help?

Thanks in advance
Sachin Pawar
Nov 19 '05 #1
9 1181
Sachin wrote:
Hi All,

I have installed an ASP.NET application under a web site.

ASP.NET application uses an Impersonation Account, specified in
Web.Config.

Authentication mode is set to Windows and anonymous access is
disabled (deny ="?").

While accessing the Web Site (Web App) it prompts for User Name and
Password.

However, the application works only for me ( I had installed it ) and
does not allow any one else to view the app.

What could be wrong?


What is the full status code that you get? It will be a 401.#. Need to
know that to tell what it might be.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003


Nov 19 '05 #2
It just prompts standard dialog asking user to enter user name and password
continuously.
"JIMCO Software" <co*******@jimcosoftware.com> wrote in message
news:#a*************@tk2msftngp13.phx.gbl...
Sachin wrote:
Hi All,

I have installed an ASP.NET application under a web site.

ASP.NET application uses an Impersonation Account, specified in
Web.Config.

Authentication mode is set to Windows and anonymous access is
disabled (deny ="?").

While accessing the Web Site (Web App) it prompts for User Name and
Password.

However, the application works only for me ( I had installed it ) and
does not allow any one else to view the app.

What could be wrong?


What is the full status code that you get? It will be a 401.#. Need to
know that to tell what it might be.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003

Nov 19 '05 #3
Sachin wrote:
It just prompts standard dialog asking user to enter user name and
password continuously.


Right. You have to check the IIS logs.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003


Nov 19 '05 #4
If it prompts then its good becos u are using Windows Auth..
But after they enter their username and passowrd do they get it?
Can you post your web.config?
Patrick

"Sachin" <an********@microsoft.com> wrote in message
news:OV**************@TK2MSFTNGP15.phx.gbl...
It just prompts standard dialog asking user to enter user name and password continuously.
"JIMCO Software" <co*******@jimcosoftware.com> wrote in message
news:#a*************@tk2msftngp13.phx.gbl...
Sachin wrote:
Hi All,

I have installed an ASP.NET application under a web site.

ASP.NET application uses an Impersonation Account, specified in
Web.Config.

Authentication mode is set to Windows and anonymous access is
disabled (deny ="?").

While accessing the Web Site (Web App) it prompts for User Name and
Password.

However, the application works only for me ( I had installed it ) and
does not allow any one else to view the app.

What could be wrong?


What is the full status code that you get? It will be a 401.#. Need to
know that to tell what it might be.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003


Nov 19 '05 #5
On Wed, 12 Oct 2005 21:49:30 +0100, "Sachin" <an********@microsoft.com> wrote:

¤ Hi All,
¤
¤ I have installed an ASP.NET application under a web site.
¤
¤ ASP.NET application uses an Impersonation Account, specified in Web.Config.
¤
¤ Authentication mode is set to Windows and anonymous access is disabled (deny
¤ ="?").
¤
¤ While accessing the Web Site (Web App) it prompts for User Name and
¤ Password.
¤
¤ However, the application works only for me ( I had installed it ) and does
¤ not allow any one else to view the app.
¤
¤ What could be wrong?

Remember that impersonation only applies to application code. What's probably occurring is that the
impersonated account does not have sufficient access to an application resource (not a resource
being referenced via code) and that is why the authentication dialog is being displayed.
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 19 '05 #6
No. Even after entering the User Name and Password, they cant get in.

The only person who can get in is me...and I had installed the application.

I am wondering, whether Web Site is allowing me in just because I installed
the application.

Does the installation type (Just for me, or For Everyone) matter in this
case?

I had created WebSite using IISWeb.VBS and copieds Wep App file using Setup
project (Not web setup).

I installed it in silent mode.

Web.Config cotains...

Authetication Mode: Windows

<deny users="?">
<allow users="*">

Regards
Sachin

"Patrick.O.Ige" <na********@hotmail.com> wrote in message
news:OY**************@TK2MSFTNGP14.phx.gbl...
If it prompts then its good becos u are using Windows Auth..
But after they enter their username and passowrd do they get it?
Can you post your web.config?
Patrick

"Sachin" <an********@microsoft.com> wrote in message
news:OV**************@TK2MSFTNGP15.phx.gbl...
It just prompts standard dialog asking user to enter user name and

password
continuously.
"JIMCO Software" <co*******@jimcosoftware.com> wrote in message
news:#a*************@tk2msftngp13.phx.gbl...
Sachin wrote:
> Hi All,
>
> I have installed an ASP.NET application under a web site.
>
> ASP.NET application uses an Impersonation Account, specified in
> Web.Config.
>
> Authentication mode is set to Windows and anonymous access is
> disabled (deny ="?").
>
> While accessing the Web Site (Web App) it prompts for User Name and
> Password.
>
> However, the application works only for me ( I had installed it ) and > does not allow any one else to view the app.
>
> What could be wrong?

What is the full status code that you get? It will be a 401.#. Need to know that to tell what it might be.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003



Nov 19 '05 #7
But it should happen for all users...

However, application works fine for me...

The only difference is that I had installed the application.

- Regards
Sachin

"Paul Clement" <Us***********************@swspectrum.com> wrote in message
news:0h********************************@4ax.com...
On Wed, 12 Oct 2005 21:49:30 +0100, "Sachin" <an********@microsoft.com> wrote:
¤ Hi All,
¤
¤ I have installed an ASP.NET application under a web site.
¤
¤ ASP.NET application uses an Impersonation Account, specified in Web.Config. ¤
¤ Authentication mode is set to Windows and anonymous access is disabled (deny ¤ ="?").
¤
¤ While accessing the Web Site (Web App) it prompts for User Name and
¤ Password.
¤
¤ However, the application works only for me ( I had installed it ) and does ¤ not allow any one else to view the app.
¤
¤ What could be wrong?

Remember that impersonation only applies to application code. What's probably occurring is that the impersonated account does not have sufficient access to an application resource (not a resource being referenced via code) and that is why the authentication dialog is being displayed.

Paul
~~~~
Microsoft MVP (Visual Basic)

Nov 19 '05 #8
Sachin wrote:
But it should happen for all users...

However, application works fine for me...

The only difference is that I had installed the application.


Can you get an Ethereal trace from a remote attempt? If you can and you can
post it, I can look at it and tell you what's up.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003


Nov 19 '05 #9
On Thu, 13 Oct 2005 19:06:23 +0100, "Sachin" <an********@microsoft.com> wrote:

¤ But it should happen for all users...
¤
¤ However, application works fine for me...
¤
¤ The only difference is that I had installed the application.
¤

Which could mean that you're the owner of all the web app resources and that no one else has been
provided sufficient permissions to access those resources.
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 19 '05 #10

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

Similar topics

14
by: Alexandre Plennevaux | last post by:
hello ! I would like to measure the time a user needs to connect to my website. In other words, to perform a ping between my website and the user's computer. I'm scratching my head as to how...
11
by: Wayne Wengert | last post by:
I am using VS.NET 2003, VB.NET, ADO.NET and an Access 2000 database. I want to display a list of all tables in an Access database. I want to put that list of table names in a listbox so the user...
6
by: Steve Richter | last post by:
I am getting error in a vbscript: ActiveX component cant create object: Excel.Application. The vbscript code is: Dim objExcel Set objExcel = CreateObject("Excel.Application") I am pretty...
12
by: Jon B | last post by:
Hi There! For some reasons, some images of my ASP.NET website are cannot be displayed in the browser (even tho they exists on the server). They are just normal JPG and PNG images and the website...
1
by: Vishal Gupta | last post by:
Hi This is Vishal this side.I have been trying to create a new sample website using the new Membership Provider Class. Now when I try to a create a new website and then hit on the Website...
4
by: Richard MSL | last post by:
I have a simple application in C++ that uses a dll I wrote in C#. It works fine when I run it on C: on my local PC, but when I attempt to run it on the i: drive on my LAN, it gets a loading...
1
by: doctorhardik | last post by:
other interesting thing i observe during my work which i describe below: i am using dotproject2.0.4 on fc3. it is working fine. but i want to generate pdf file report during this time i face...
8
by: wmotter | last post by:
I have a requirement to execute a legacy DOS program from within an ASP.NET Website. I have it working in my sandbox machine but when I put it live and select the option via asp:button the site...
2
by: =?Utf-8?B?QW5kcmVhIEdhbGxhenpp?= | last post by:
Hello, I have a website on a NAS. Permissions are set correctly because I can open HTML files. When framework is involved i receive this exception: System.Security.Policy.PolicyException:...
4
by: xzzy | last post by:
I have a v1.1 web app that works on my local computer. However, running it at the host computer, the following breaks: when a viewer selects a different country, the State dropdown should...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.