Home > Success Center > Network Performance Monitor (NPM) > Unable to Add Account PRB: Compiler Error CS0246: The Type or Namespace Name Type/Namespace Could Not be Found

Unable to Add Account PRB: Compiler Error CS0246: The Type or Namespace Name Type/Namespace Could Not be Found

Updated April 7th, 2016

Overview

When trying to add Windows Domain Accounts you receive the following Error. 

 

Unable to Add Account PRB: Compiler Error CS0246: The Type or Namespace Name <Type/Namespace> Could Not be Found

 

"c:\inetpub\SolarWinds\Orion\Admin\Accounts\Add\WindowsAccount.aspx.cs(109): error CS0246: The type or namespace name 'AccountName' could not be found (are you missing a using directive or an assembly reference?)"

 

unexerr.PNG

 

2015-11-13 09:30:45,370 [35] ERROR ASP.global_asax - Application_Error(ab367202fd1541208daf7d775efec321)
System.Web.HttpCompileException (0x80004005): c:\inetpub\SolarWinds\Orion\Admin\Accounts\Add\WindowsAccount.aspx.cs(109): error CS0246: The type or namespace name 'AccountName' could not be found (are you missing a using directive or an assembly reference?)
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

Environment

  • NPM 11.5.2 

Resolution

  1. Stop All Orion Services. 
  2. Clean up following Folders
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary
    • C:\Windows\Temp 
    • NOTE: You may not be able to clean all the files in use however try to delete all of them including SolarWinds folder from windows/temp 
  3. Now Restart all Orion services 

 

 

You must to post a comment.
Last modified
15:25, 19 Jan 2017

Tags

Classifications

Public