Solved

Getting a strange error in IIS

Posted on 2013-05-13
3
1,264 Views
Last Modified: 2013-06-03
Test enviironment with Windows 2008 R2 and Exchange 2010 SP3 installed. We have been playing around with authentication in IIS and SSL settings to get services to work through a load balancer. This is just test so no big issues. In IIS, when I click on the Public virtual directory and select Authentication, I get the error below:

There was an error while performing this operation.

Details:

Filename c:\Program Files\Microsoft\Exchange Server\v14\ClientAccess\Owa\web.config
Line Number : 37
Error: Configuration section not allowed to be set below application.

Line 37 reads <authentication mode="Windows" />

I Googled as usual and found an article (Not Microsoft) that say to delete this line which I did. Error went away. Question I have is why should I have to delete it to begin with. This Exchange install is about 3 months old. By deleting this line, what else will break. I am sure its there for a reason. I really don't even understand that error. Can someone elaborate please?
0
Comment
Question by:shadowtuck
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
Amit earned 400 total points
ID: 39162535
I even faced same issue. Seems to be authentication issue. Though, i didn't saw any MS KB which explains the reason.
0
 

Author Comment

by:shadowtuck
ID: 39162730
Seems to me messing with the web.config file is probably not good. I made a backup of course before doing anything but I am not sure why I had to delete that line. Perhaps those virtual directories do not get used anymore. I verified the Exchange and ExchWeb do not but not sure about the Public virtual directory. All the others seem fine. Basically the ones used by Exchange 2010. I wonder if this is just normal behavior when you try to examine Authentication of those directories.
0
 

Author Comment

by:shadowtuck
ID: 39216805
Seems to be a generic error that most people are getting. Since the VDirs it complains about are not used anymore in Exchange 2010, I just chose to ignore it.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Utilizing an array to gracefully append to a list of EmailAddresses
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now