Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access to the test.aspx message denied
Message
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01532606
Message ID:
01532648
Views:
17
>>>>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.
>
>:-}
>
>Best way of avoiding a recurrence of that problem is to take the time to setup web.config transforms:
>http://msdn.microsoft.com/en-us/library/dd465318.aspx

Thank you for the link; I will read it. My deployment is usually done via 1980s approach <g>. I copy a ZIP file to the customer site and then unzip it there.
"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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform