SharePoint Error 6482 – Related to Hosts File
In our production setup, we experienced this issue when trying to access the Shared Service Provider Admin Web site. In a different environment, the SharePoint Configuration Wizard failed and it was same error that needed to be fixed.
Event Type:Â Â Â Error
Event Source:Â Â Â Office SharePoint Server
Event Category:Â Â Â Office Server Shared Services
Event ID:Â Â Â 6482
Date:Â Â Â Â Â Â Â 26/02/2008
Time:Â Â Â Â Â Â Â 2:00:22 PM
User:Â Â Â Â Â Â Â N/A
Computer:Â Â Â xxxx
Description:
Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (03614600-d68b-43e2-9705-36d06c36b2f7).
Reason: Access to the path ‘C:\WINDOWS\system32\drivers\etc\HOSTS’ is denied.
Techinal Support Details:
System.UnauthorizedAccessException: Access to the path ‘C:\WINDOWS\system32\drivers\etc\HOSTS’ is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append)
at System.IO.FileInfo.CreateText()
at Microsoft.Search.Administration.Security.HOSTSFile.CleanupDedicatedGathering(Hashtable HOSTSFileMappings, StringBuilder HOSTSComments, IEnumerable obsoleteHosts, String dedicatedName, Boolean isDirty)
at Microsoft.Search.Administration.Security.HOSTSFile.ConfigureDedicatedGathering(SearchServiceInstance searchServiceInstance, SPServer dedicatedWebFrontEndServer, IList`1 previousWebApplicationHostNames)
at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.SynchronizeDefaultContentSource(IDictionary applications)
at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)
Resolution
- Check if hosts file exist in c:\WINDOWS\system32\drivers\etc (It should, but in our version of the build, it didn’t exist)
- Assign these permissions to the etc folder
These should be on all the servers in the farm.
Enjoyed this article?
Subscribe to our Free Newsletter and never miss a byte!
- I WANT OPEN WIDOWS LIVE HOTMAIL PLUS PLEASE HELP ME ....
- Unable to uninstall WINDOWS LIVE on my Mac Powerbook. The "...
- You are welcome....
- I could not agree any less. Today I have used Bing for most ...
- I've been using Bing for 2 weeks now and must admit I've lov...
- Brilliant!!! Thanks for the help to create HTML file as sogn...
- Text on a gradient? Where's my code view? Brown?!? I guess I...
- I could not get it to work. I am on a SMB 2003 r2 in portugu...
- Thanks Sebastin for detailed update...
- In Vista, the files are located in 2 locations c:\users\u...




Brad Cote said,
Wrote on September 10, 2008 @ 7:18 am
Great info – just what I was looking for (except that the picture of the permissions is missing). I have been very carefull installing SharePoint (several times) in a medium farm configuration and ALWAYS get wierd errors like this – why is that?
Event ID 6482, Office Sharepoint Server error in Application Log | keyongtech said,
Wrote on January 19, 2009 @ 3:26 am
[...] Event ID 6482, Office Sharepoint Server error in Application Log Hi Mike, Have you seen this? http://www.alpesh.nakars.com/blog/er…e-path-denied/ Let me know if this helps. — Alpesh Nakar blog: http://alpesh.nakars.com/blog "Mike in [...]