1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Unable to generate a temporary class (result=1).

Unable to generate a temporary class (result=1).

4 posts, 0 answered
  1. anand
    anand avatar
    59 posts
    Registered:
    11 Jun 2008
    29 Dec 2008
    Link to this post
    When i click on edit  any of existing control or want to add new control.
    following error is coming

    Unable to generate a temporary class (result=1).
    error CS2001: Source file 'C:\WINDOWS\TEMP\iyn7ruye.0.cs' could not be found
    error CS2008: No inputs specified

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Exception: Unable to generate a temporary class (result=1).
    error CS2001: Source file 'C:\WINDOWS\TEMP\iyn7ruye.0.cs' could not be found
    error CS2008: No inputs specified


  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    29 Dec 2008
    Link to this post
    Hello anand,

    Probably,  ASP.NET (or NT AUTHORITY\NETWORKSERVICE) account does not have permissions to the ASP.NET temporary files.

    Solutions:
    • grant required user with needed permissions.
    • Try running "aspnet_regiis.exe -ga <username>" from the Windows\Microsoft.Net\Framework\v2.xxxx folder.<username> have to be replaced with the account that ASP.NET is to run under.
    Greetings,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. anand
    anand avatar
    59 posts
    Registered:
    11 Jun 2008
    29 Dec 2008
    Link to this post
    We are using ixwebhosting shared hosting. and it work very fine today morning from evening error is coming.

    on the ixwebhosting i see it working fine in another website
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    29 Dec 2008
    Link to this post
    Hi anand,

    As I see it you cannot load a file called iyn7ruye.0.cs, located under C:\WINDOWS\TEMP\. There is no such file in our implementations. This file is dynamic and it is created by the asp.net environment. However, we are not sure what are the settings of the environment. Please ask your hosting provider if they performed any changes to the servers recently.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered