Urgent. Unexpected errors came out while Build Solution RRS feed

  • Question

  • User944339287 posted

    Hi, my web application working fine previously. Not sure why suddenly so many errors come out when I try to [Build Solution]. 

    1) Error 191 Could not load file or assembly 'AjaxControlToolkit, Version=, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

    2) Error 404 'ConfigurationSettings' is not declared. It may be inaccessible due to its protection level. C:\Projects\MyFirstProject\App_Code\DBjob.vb 11 29 C:\...\MyFirstProject\

    3) Error 405 Type 'Exception' is not defined. C:\Projects\MyFirstProject\App_Code\DBjob.vb 69 21 c:\...\MyFirstProject\

    Error 517 Maximum number of errors has been exceeded. C:\...\MyFirstProject\

    Thursday, August 6, 2020 9:37 AM

All replies

  • User475983607 posted

    Usually there is a syntax error in a class library.  When the library  build fails the errors cascade to the parent projects.  Simply building one project at a time.  Build the child libraries first. 

    Thursday, August 6, 2020 11:07 AM