Error Found When Loading Objects. Get-oabvirtualdirectory
OAB distributionlist The problem is that you cannot add a server to the OAB distributionlist, when one of the CAS (Client Access Server) are offline. When opening the OAB, you'll wait for a LOONG time, and then get an error. Now this is a rather large installation, but only one of the servers are offline: When trying to press the "Add" button you'll get the following error: Well the only solution, besides turning the machine on, that is turned of, is to set it with Powershell. The thing to notice, is if you set the offline addressbook by using: Set-OfflineAddressBook -Identity "\Default Offline Address Book" -VirtualDirectories "NEWSERVERNAME\OAB (Default Web Site)" ...then this NEWSERVER will be the only server in the offline addressbook's virtual directory! So what I did, was to grab the existing Vdirs, and add the new one like this: get-offlineaddressbook | fl Then copy the existing "VirtualDirectories" They will be like this: {SERVERNAME1\OAB (Default Web Site), SERVERNAME2\OAB (Default Web Site)} Then run: Set-OfflineAddressBook -Identity "\Default Offline Address Book -VirtualDirectories "SERVERNAME1\OAB (Default Web Site)", "SERVERNAME2\OAB (Default Web Site)","NEWSERVERNAME\OAB (Default Web Site)" Notice the way I put the quotes. I didn't think it was the obvious way to do it, but it works :-) If you only got one OfflineAddressBook you can run: (you wont need to enter the identity) Get-OfflineAddressBook| Set-OfflineAddressBook -VirtualDirectories "SERVERNAME1\OAB (Default Web Site)", "SERVERNAME2\OAB (Default Web Site)","NEWSERVERNAME\OAB (Default Web Site)" The errors in text: Error found when loading objects, please use command-line to query or edit full list. Error: The task wasn't able to connect to IIS on the server SERVERNAME. Make sure that the server exists and can be reached from this computer: The RPC server is unavailable. It was running the command: 'SERVERNAME\OAB (Default Web Site)' | Get-OabVirtualDirectory. An IIS directory entry couldn't be created. The error message is The remote procedure call failed and did not execute. HResult = -2147023169 It was running the command 'Get-OabV
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Exchange 2010: Configure OAB and Web Services virtual directory. Want to Advertise Here? Solved Exchange 2010: Configure OAB and Web Services virtual directory. http://exchangeenthusiast.blogspot.com/2010/09/cannot-add-server-to-oab.html Posted on 2012-01-21 Exchange 1 Verified Solution 25 Comments 2,714 Views Last Modified: 2012-05-12 Hi there, I’m following the Exchange Server Deployment Assistant and trying to configure the OAB and Web Services virtual directory with the following as instructed. Set-OABVirtualDirectory -Identity "CAS01\OAB (Default Web Site)" -ExternalUrl https://mail.contoso.com/OAB -RequireSSL:$true But I’m getting this Set-OABVirtualDirectory -Identity "CAS01\OAB (Default Web Site)" -ExternalUrl https://mail.contoso.com/OAB https://www.experts-exchange.com/questions/27548415/Exchange-2010-Configure-OAB-and-Web-Services-virtual-directory.html -RequireSSL:$true The operation couldn't be performed because object 'CAS01\OAB (Default Web Site)' couldn't be found on 'my current 2003 exchange server.domian'. + CategoryInfo : NotSpecified: (0:Int32) [Set-OabVirtualDirectory], ManagementObjectNotFoundException + FullyQualifiedErrorId : B3D59D49,Microsoft.Exchange.Management.SystemConfigurationTasks.SetOabVirtualDirectory Oh, obviously, I’m changing the contoso URL to what we are actually using. 0 Question by:liminal Facebook Twitter LinkedIn Google LVL 15 Best Solution byGreatVargas it means that what you were setting was already done. you tried to set an attribute to the exact same value. havent you done this change trough EMC? maybe that was the case and that was why it was already Go to Solution 24 Comments LVL 74 Overall: Level 74 Exchange 60 Message Expert Comment by:Glen Knight2012-01-21 For the properties of the Offline address book, what distribution method have you got it set to? If Web, is it set to the correct server? 0 Message Author Comment by:liminal2012-01-21 Hey, Thanks for the response, I’m not sure what you mean though… in the client access server properties for the Offline Address book Distribut
empty however I do have a GUID folder in C:\Program Files\Microsoft\Exchange Server\V14\ExchangeOAB. In EMC I have already done "Server Configuration", "Offline Address Book Distribution", http://www.networksteve.com/exchange/topic.php/OAB_problem.../?TopicId=20722&Posts=20 "Reset Virtual Directory" and it didn't work. I've also tried the commands here: http://exchangegeek.wordpress.com/2010/02/13/manually-generating-oab-exchange-2007-2010/. My Outlook client just sits there with "Updating address book." Any ideas? November 20th, 2010 8:27am Hi, I've once seen this issue is there any file located within the directory, it should only contain a GUID folder and nothing error found else. In my case a web.config was placed in it which was causing the issue. Besides this please perform the following steps and post the results here: ctrl click the Outlook icon in the system tray choose the option auto e-mail config fill in the fields uncheck both smart options perform the test Regards, error found when JohanExchange-blog: www.johanveldhuis.nl Free Windows Admin Tool Kit Click here and download it now November 20th, 2010 8:30am Alright, I was able to get the folder in "C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\OAB" by checking the box "Enable Web-based distribution" in "Organization Configuration", "Offline Address Book". Then, like you said, I took web.config out of that directory and voila, I no longer have the 500 error. I'm presented with a user/pass dialog when browsing to http://exchange.mydomain.com/oab. I should also add that after I enter my credentials I'm redirected to the login of OWA. I followed the instructions here: http://briandesmond.com/blog/redirecting-owa-urls-in-exchange-2010/ a while back and it told me to uncheck the redirect for the OAB directory. Well, I uncheck that box and then refresh the folder and the checkbox is checked again?!!?!?! I'm guessing this has something to do with my problem. Now, I tried your test and it looks like everything is normal with the OAB. It shows the OAB URL as http://exchan