|  |  | TITLE Web Service Methods Return "System.InvalidOperationException: Unable to Generate a Temporary Class"
| | | TOPIC The Web service's HTML description and help pages appear to work fine, however when using a web browser to invoke a specific method a "System.InvalidOperationException: Unable to generate a temporary class..." message appears.
| | | DISCUSSION This error condition is usually related to the access privileges of the Temp folder used by account that is processing the Web service request. Make sure that the the "ASPNET" account (or other account, e.g. if impersonation is used) has read/write access to the "C:\WINNT\TEMP" folder (or whatever Temp folder is used by the account). Also see:
| | | Article Information | | | Article ID: | 4-129 | | Platform: | XML Web Services | | Products: | Currency Server | | Additional Keywords: | CS2001, CS2008 | | Last Update: | 2007-01-05 | | | Your feedback is always appreciated. It is safe to link to this page. |
|  |
|  |