title: error in running transformation:indexoutofrangeexception - petapeco
body: <p>as per suggestion for by @CreativeManix I started investigating petaPeco</p>
  
  <p><strong><a href="https://stackoverflow.com/questions/18214873/retrieving-large-number-of-rows-more-than-10-mil-in-asp-net-mvc-application">Retrieving large number of rows (more than 10 mil) in asp.net mvc application</a></strong></p>
  
  <p>After adding exact system.data.oracleclient + putting web.config in the bin where mvc is getting compiled in .dll I got following error:</p>
  
  <pre><code>Error   3   
  
  Running transformation: System.IndexOutOfRangeException: Index was outside the bounds of the array.
     at System.Array.InternalGetReference(Void* elemRef, Int32 rank, Int32* pIndices)
     at System.Array.GetValue(Int32 index)
     at Microsoft.VisualStudio.TextTemplating5F4490FB7AE018243DBB4DF6250E7211.GeneratedTextTransformation.GetCurrentProject()
     at Microsoft.VisualStudio.TextTemplating5F4490FB7AE018243DBB4DF6250E7211.GeneratedTextTransformation.GetConnectionString(String&amp; connectionStringName, String&amp; providerName)
     at Microsoft.VisualStudio.TextTemplating5F4490FB7AE018243DBB4DF6250E7211.GeneratedTextTransformation.InitConnectionString()
     at Microsoft.VisualStudio.TextTemplating5F4490FB7AE018243DBB4DF6250E7211.GeneratedTextTransformation.LoadTables()
     at Microsoft.VisualStudio.TextTemplating5F4490FB7AE018243DBB4DF6250E7211.GeneratedTextTransformation.TransformText()
     at Microsoft.VisualStudio.TextTemplating.TransformationRunner.RunTransformation(TemplateProcessingSession session, String source, ITextTemplatingEngineHost host, String&amp; result)
  </code></pre>
  
  <p>This error shows up when i run the transformation after installation of petaPoco.</p>
  
  <p>One thing I do know the error is coming from <strong>"GetCurrentProject"</strong> - and probably - "(Array)dte.ActiveSolutionProjects" </p>
  
  <p>I think something is wrong in the way petaPoco is set up with my project! somehow it can't find the activesolution project. I am not too sure how to fix it.</p>