Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access to the test.aspx message denied
Message
 
 
À
10/01/2012 11:44:15
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01532606
Message ID:
01532630
Vues:
22
>>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.
>
>What do you mean be 'virtual server' ?
>IAC, if this is IIS, it sounds as if anonymous access is not allowed for the page. If you *do* want to allow anonymous access you must either configure for same using IIS manager or specifically allow it in web.config (see configuration/location element for details)

As far as virtual server, I meant that the customer built this server as virtual server. But I don't think it matters, as far as my running my ASP.NET app.

I think (but I will double check) that anonymouse access is enabled. The strange thing (to me) was that I could run a simple .html page in my app without any problem. But when I tried to browse a "hello world" .aspx I was getting this "access denied." So I suppose somewhere (and this is what I am trying to find out) in the Server 2008 IIS there has to be a setting to allow .aspx page to be loaded. Or my appl. I will keep looking. Thank you.
"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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform