Link to home
Start Free TrialLog in
Avatar of albevier
albevier

asked on

NETWORK SERVICE' under which XmlSerializer is running does not have sufficient permission

Environment:
SBS2011

Problem:
When I attempt to access the RWW on the server, I receive the following message:
"Identity 'NT AUTHORITY\NETWORK SERVICE' under which XmlSerializer is running does not have sufficient permission to access the temp directory"

Actions taken:
Network Service has been given full rights to:
C:/windows/temp
c:/temp
The dot net framework temp ASP directories
Run aspnet_issreg -i in all directories where that exe is found
Checked WSUS DCOM service and returned the permissions to default

Other facts:
- The web site worked for the first several months of operation
- There have been no changes to the server beyond the addition of users and computers and MS Updates
- I can access the site remote.mydomain.com/owa
- I cannot access the sites remote.mydomain.com/remote or /exchange
- All three of the above sites are under the "Default Web Site" in IIS
- In IIS both the sites "Default Web Site" and the "Sharepoint Web Services" have question marks by them.

Event log entries which seem relevant:
-  It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. (C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa\web.config line 37)
NOTE: The owa web page works.

I have no idea how to use the GetTempPath() function so that cannot be a part of the solution - well.... unless you can give me an executable to run that will verify the temp directory being used.

Al
Avatar of IanTh
IanTh
Flag of United Kingdom of Great Britain and Northern Ireland image

windows 7 temp folder is imho

"%userprofile%\AppData\Local\temp"
Avatar of albevier
albevier

ASKER

Thanks IanTh but this is a SBS 2011 server, not Windows 7

Al
How do I find the "temp directory" referenced in the message:

"Identity 'NT AUTHORITY\NETWORK SERVICE' under which XmlSerializer is running does not have sufficient permission to access the temp directory"

Al
ASKER CERTIFIED SOLUTION
Avatar of albevier
albevier

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I figured out the problem before, and with no help from anyone else