none
application error RRS feed

  • Question

  • when i deploy my website on iis7 i get this error

    i don't understand this 

    the site works perfect on localhost

     

    Compilation Error
    
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 
    
    Compiler Error Message: CS0246: The type or namespace name 'UserInfo' could not be found (are you missing a using directive or an assembly reference?)
    
    Source Error:
    
    
    Line 9: {
    Line 10: 
    Line 11:  private UserInfo userInfo = new UserInfo();
    Line 12: 
    Line 13:  protected void Page_Init(object sender, EventArgs e)
    

     

    UserInfo is placed in App_Code folder

    Tuesday, February 1, 2011 11:30 AM

Answers