Weird error due to permissions

So it is 1:30 am and I am sitting here trying to hodge-podge a medium server farm together to test a Kerberos issue/theory. My environment is a Windows Server 2008 box as my central admin, WFE, Excel, and query server (physical hardware), Windows Server 2003 VPC as the Index server, and a another VPC (running on another host) playing the role of SQL Server 2005 and Domain Controller. Does it sound like fun? Yeah right.

Anyway, I started getting the error below whenever I tried to start the Office SharePoint Server Search service on the index box.

An unhandled exception occurred in the user interface.Exception Information: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\xm7qyq1x.0.cs' could not be found
error CS2008: No inputs specified

Quick search? Nothing. A little playing and guessing and the issue turned out to be permissions. For some reason WSS_Admin_WPG and WSS_WPG did not have the any rights to c:\windows\temp on the central admin server. So I gave wss_admin_wpg full control and wss_wpg read & execute. Fixed everything instantly. I am guessing this is an issue with my random servers (not clean installs for this test) and not a W2K8 issue. Anyway, hopefully the error message and fix saves someone else some time.

Shane

SharePoint Consulting

Comments

# Weird error due to permissions

Thursday, January 10, 2008 2:13 AM by SHAREPOINTBlogs.com Mirror

So it is 1:30 am and I am sitting here trying to hodge-podge a medium server farm together to test a

# consulting » Blog Archive » Weird error due to permissions

Thursday, January 10, 2008 4:28 AM by consulting » Blog Archive » Weird error due to permissions

Pingback from  consulting  » Blog Archive   » Weird error due to permissions

# re: Weird error due to permissions

Monday, January 14, 2008 8:23 PM by john_moss

Thanks buddy...

# re: Weird error due to permissions

Tuesday, February 12, 2008 12:07 AM by Prasad P M

Hi Shane,

Thank you for your post :-)

I also encountered the same problem and didn't realize it could be related to some permission problems.

I gave full permission to authenticated users and was able to solve the problem.

Thanks,

Prasad.

# re: Weird error due to permissions

Sunday, February 17, 2008 8:52 PM by Sheng koh

Hi Shane

I have the same exact issue and have been Googling this issue for half an hour with no match till I saw this blog.

I did what you did and works finally.

wss_admin_wpg - full control

wss_wpg - read & execute

# re: Weird error due to permissions

Sunday, February 17, 2008 8:57 PM by Sheng koh

Hi Shane

I have similar error message on the web page.

I did what you did and it works fine for me.

I have also pasted my application message from my event viewer.

Event Type: Error

Event Source: Office SharePoint Server Error Reporting

Event Category: None

Event ID: 5000

Date: 18/02/2008

Time: 10:36:29 AM

User: N/A

Computer: WINSERVER2K3R2

Description:

EventType ulsexception12, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 system.xml, P5 2.0.0.0, P6 471ebef7, P7 8455, P8 548, P9 invalidoperationexception, P10 837w.

Thank you.

# re: Weird error due to permissions

Monday, March 30, 2009 2:32 PM by Mihir

Thanks this work perfectly..

Leave a Comment

(required) 
(required) 
(optional)
(required)