Unable to generate a temporary class (result=1)

Issue: The error message, “Unable to generate a temporary class (result=1).” is displayed when attempting to generate a WSDL-based plug-in using AppStudio.

Cause: The AppStudio process does not have permission to write to the Windows temp directory. This prevents the temporary class files that are produced as a result of this process from getting generated.

Solution:

  • Right click the Windows temp (C:\Windows\Temp or %windir%\Temp) directory and select Properties.
  • Select the Security tab.
  •  If you see “Network Service” in the list of Groups or users, ensure that it has Read and Write permission (at a minimum). Edit permissions as needed if it does not have those permissions.
  •  If you do not see Network Service listed:
    • Click the Edit button, then click Add.
    • In the “Select Users, Computers, Service Accounts, or Group” dialog click the Locations button.
    • Select the local computer from the top of the list.
    •  Enter “Network Service” in the “Enter the object names to select” box.
    • Click Check Names, and then click OK

Recommendations: If giving the correct permissions to Network Service does not work, you can also try giving it to “System” or whatever account you logged into Windows with when you opened AppStudio. You need to give read/write permission in the Security tab in the format DOMAIN\username using the steps above.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk