Sometimes IIS or IIS permissions go corrupt or just leave the planet for different reasons. When you need to delete and recreate these folders do the following…
- Back up the IIS Metabase on your Exchange Server:
- Start IIS Manager.
- Right click the Default Website, choose All Tasks, and click Save Configuration to a File.
Now delete the OWA virtual directories:
Right click Exadmin and click Delete. When prompted if you are sure click Yes.
Now delete the below listed virtual directories:
- Close the IIS Manager.
- Open the command prompt.
- Change to (driveletter:)\inetpub\adminscripts
- Type adsutil, and hit Enter.
- Click Yes when prompted to register CScript as your default host for VBscript and then click OK.
- Click start, then run and type services.msc. Hit enter.
- Right click on Microsoft Exchange System Attendant and choose restart.
- Note that the MS Information Store and MTA Stacks will also restart. This will cause users to lose temporary connection to Exchange.
- Make sure that all services (Microsoft System Attendant, Microsoft Information Store, MTA Stacks) have started.
- I have found that a few times that restarting the System Attendant did not create the virtual directories but a server reboot did.
- Now start the IIS Manager, right click on the ExchWeb virtual directory, click on properties and click on Directory Security.
- Click on Authentication and Access Control then click Edit and then verify that Enable anonymous access is checked.
- Check Integrated Windows Authentication, click OK, click Apply.
- When the Permission Inheritance box appears, click on select all and then OK.
- Now open Authentication and Access Control again. Click Edit and uncheck Integrated Windows Authentication.
- Click OK twice.
Now your IIS Virtual Directories have been recreated. Test OWA. If OWA does not work reboot the server and after you logged in try OWA again as it should work like expected.
I recently received a request to report on OWA for a 2003 Exchange environment.
Needless to say without any 3rd party tools you are kind of left in the dark. However, I found the below website that assisted me with pulling some stats from the IIS logs using Log Parser 2.2 and 2 SQL scripts.
First browse to this website and follow the instructions. The site will give you 99% of the information you need to pull the reports. There was one issue that they failed to mention though. How do I export the data to CSV???
Here is a screenshot of how the command looks like: (you need to add -o:CSV to export the data to CSV format)
Other things to keep in mind:
1. I had to copy the log files to c:\public\Logs for Log Parser to run against the logs
2. Add -o:CSV before the SQL Script path to export the output to CSV
3. The CSV file is found in C:\Public\LogParserOutput
4. Open the CSV in Excel and panel beat the report to your heart’s desire
This article was very helpful and there’s some other commands that you might want to use.
Lastly I could not get the 2nd script to work for exporting the data to a pie graph.
Hope you found this useful.
I had a very interesting problem today that I’ve never experienced before with Exchange 2003 and OWA.
Some users advised that when in OWA the mail shown is a month old and no new mail is shown in OWA newer than the previous month. All e-mail is visible and accessible in Outlook though.
I logged onto OWA using the user’s credentials and noted the same. I then saw that the view in OWA is set to messages (which should show all messages) as per below:
I then chose unread messages (which shows unread mail but not necessarily all or recent mail) as per below:
This showed all unread mail but not the results we wanted. I then chose messages again and all mail was shown as we expected it in the first place. All read, unread, most recent and old mail as per the Outlook client was visible.
This however is a quick fix and the first time that I’ve personally seen it. I’m sure with some more investigation there will be a patch or config that will resolve this.