ASP.NET WebSite: Permission Issue

  • Thread starter Thread starter Sachin
  • Start date Start date
S

Sachin

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
 
Sachin said:
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
 
It just prompts standard dialog asking user to enter user name and password
continuously.
 
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
 
¤ 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)
 
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
 
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

 
Sachin said:
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
 
¤ 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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top