title: Classic ASP : C0000005 Error on execution
body: <p>I'm trying to execute classic ASP pages on a windows 2008 64 bit R2 box.</p>
  <p>Initially the problem was with registering dlls; that's now fixed.
  <a href="https://stackoverflow.com/questions/4550229/register-dll-in-on-windows-2008-r2">Register DLL file on Windows Server 2008 R2</a></p>
  <p>Now when I try to access the page I get this error</p>
  <blockquote>
  <p>Active Server Pages error 'ASP 0241'</p>
  <p>CreateObject Exception</p>
  <p>index.asp</p>
  <p>The CreateObject of '(null)' caused exception C0000005.</p>
  <p>Server object error 'ASP 0177 : c0000005'</p>
  </blockquote>
  <p>When I change the code from <code>Server.CreateObject</code> to <code>CreateObject</code>, I end up with this error</p>
  <blockquote>
  <p>Active Server Pages error 'ASP 0115' Unexpected error
  index.asp</p>
  <p>A trappable error (C0000005) occurred in an external object. The script cannot continue running.</p>
  </blockquote>
  <p>I checked everything I could - Access and admin rights etc.
  The application pool are set to No Managed Code + Classic mode.</p>
  <p>Any ideas to fix this?</p>