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.
- I am sure it can be done! :) I am a no code guy ;)...
- Can this be done with code?; For example when the webpart is...
- Fab 40 for MOSS 2010 are now available http://microsofttec...
- i was try to remove site with "Remove-SPSite http://....." ...
- I am unable to do this in Outlook2007 :( .. I have tried eve...
- Hi, I need to ask something that regard the lookup field for...
- how do I download windows live hotmail plus to gain more MB'...
- What I did was to extend the webapplication to port 80 inste...
- I have a question... If i extend the web application to the ...
- in part 11 when i submit the info i get the error "The va...








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 [...]