Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access to the test.aspx message denied
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01532606
Message ID:
01532660
Vues:
25
>>>Hi,
>>>
>>>I am in the process of installing an ASP.NET app on the customer virtual server. When I try to run a simple (one line) test.aspx, I get this message:
>>>
>>>
>>>Error message 401.2.: Unauthorized: Logon failed due to server configuration.  Verify that you have permission to
>>> view this directory or page based on the credentials you supplied and the authentication methods enabled on the
>>> Web server.  Contact the Web server's administrator for additional assistance.
>>>
>>>
>>>What permissions should I be looking at?
>>>
>>>Additional information. This is Server 2008 64-bit.
>>
>>Can you attach the web.config you are using?
>>
>>Have you configured the default page for the website in IIS (you can set start page in you aspnet project, but sometimes IIS ignores that when you publish).
>
>You were right; it was my web.config. By mistake, I copied to the customer site "my" copy of web.config that I use for testing on my computer. And it has a million settings. Once I replaced this copy of web.config with my "light" web.config, I can see the page. Sorry for troubling you guys with my silly questions.
>
>Thank you.

You're welcome.

BTW questions about ASP.NET and IIS aren't silly. It can be a real minefield working with this stuff - especially when you are just getting your feet wet.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform