Server was unable to process request. ---> Unable to generate a

Server was unable to process request. ---> Unable to generate a

am 07.08.2007 23:56:04 von cp.hayes

Greetings,

After being misled by the Application Event Log messages that my problem was
a BizTalk problem I have discovered it is actually an IIS problem. When I
call a BizTalk Web Service that is in an app pool whose Identity is a weak
domain account I get this error:
Server was unable to process request. ---> Unable to generate a temporary
class (result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\zezde3bz.0.cs' could not be found
error CS2008: No inputs specified

If I change the Identity of the app pool to run under a domain account that
happens to be a Local Administrator the Web Service does work.

What simple setting or membership am I missing with my weak domain account?

Chris

Re: Server was unable to process request. ---> Unable to generate a

am 08.08.2007 03:29:32 von David Wang

On Aug 7, 2:56 pm, Chris wrote:
> Greetings,
>
> After being misled by the Application Event Log messages that my problem was
> a BizTalk problem I have discovered it is actually an IIS problem. When I
> call a BizTalk Web Service that is in an app pool whose Identity is a weak
> domain account I get this error:
> Server was unable to process request. ---> Unable to generate a temporary
> class (result=1).
> error CS2001: Source file 'C:\WINDOWS\TEMP\zezde3bz.0.cs' could not be found
> error CS2008: No inputs specified
>
> If I change the Identity of the app pool to run under a domain account that
> happens to be a Local Administrator the Web Service does work.
>
> What simple setting or membership am I missing with my weak domain account?
>
> Chris


ACL C:\WINDOWS\TEMP to give write permissions to the process identity
of the code that is attempting to write there -- most likely the
customized Application Pool Identity.

You can verify with FileMonitor from www.sysinternals.com to see the
access denied on writing to C:\WINDOWS\TEMP\tempfile.cs and the user
that was denied access.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//