title: Type.GetType(string typeName) returns null
body: <p>My code is </p>
  
  <pre><code>type = Type.GetType(key);
  </code></pre>
  
  <p>Key which i pass is a namespace qualified name . </p>
  
  <p>My code is in BusinessLayer. I am creating a instance of DataAccessLayer. 
  DataAccessLayer reference is added to BusinessLayer.</p>
  
  <p>I am getting the error as <strong>"Could not load type 'Catalyst.DAL.ExamDAO.CExamDAO' from assembly 'BusinessLayer, Version=1.9.3.0, Culture=neutral, PublicKeyToken=null'."</strong>.</p>
  
  <p>What should i do to specify explicitly thats the class is from DataAccessLayer  ?</p>
  
  <p>Key vale is "Catalyst.DAL.ExamDAO.CExamDAO"</p>
  
  <p><strong>Edit :</strong></p>
  
  <p>My actual code is</p>
  
  <pre><code>public static object getClassInstance(string key, params  object[] constructorArgs)
          {
              string assemblyPath = null;
              string customClassName = null;
              DataSet objDataset = getAssemblyInfo(key);
              if (objDataset != null &amp;&amp; objDataset.Tables.Count &gt; 0 &amp;&amp; objDataset.Tables[0].Rows.Count &gt; 0)
              {
                  assemblyPath = objDataset.Tables[0].Rows[0]["ACA_ASSEMBLY_PATH"].ToString();
                  customClassName = objDataset.Tables[0].Rows[0]["ACA_CLASS_NAME"].ToString();
              }
  
              Assembly assembly;
              Type type;
  
              if (assemblyPath != null &amp;&amp; assemblyPath != string.Empty)
              {
                  assembly = Assembly.LoadFile(assemblyPath);
                  type = assembly.GetType(customClassName);
              }
              else // if no customisation
              {
                  type = Type.GetType(key);
              }
  
              object classInstance = constructorArgs == null ? Activator.CreateInstance(type) : Activator.CreateInstance(type, constructorArgs);
              if (classInstance == null) throw new Exception("broke");
              return classInstance;
  
          }
  </code></pre>
  
  <p>I am trying to load the default classes if there is no customization . Method is in BO . 
  If i pass the key as namespace qualified names of any Bo type  it converts . But DAO type it wont </p>