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:
01532661
Vues:
18
>>>>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.

You are so right. Especially when moving from one version of OS to another. It took me a while to get use to new interface in Server 2008 and Windows 7.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform