interop.ADOX and interop.ADODB assemblies


  • when creating a strongly named library assembly that contains references to interop.ADOX and interop.ADODB name spaces and this library assembly is being referenced or accessed by an .APSX page via the @ASSEMBLY/@IMPORT page keywords, the library assembly fails with a file not found exception.Here's the message text:

    System.IO.FileNotFoundException was unhandled by user code
      Message="Could not load file or assembly 'Interop.ADOX, Version=, Culture=neutral, PublicKeyToken=0e98756fa7be071a' or one of its dependencies. The system cannot find the file specified."
      FileName="Interop.ADOX, Version=, Culture=neutral, PublicKeyToken=0e98756fa7be071a"
           at SurveyToAccessExporterLIB.AccessDBhandlerNS.AccessDBhandlerCLS.createAccessDatabase(String DBname)
           at SurveyToAccessExporterLIB.SurveyActionMenuNS.SurveyActionMenuCLS.SurveyActionMenu(Guid guid)
           at ASP.surveytoaccessexportfeature_aspx_aspx.OnLoad(EventArgs e) in d:\!WA!\090903!2!TE!\SurveyToAccessExportFeature\SurveyToAccessExportFeature\SurveyToAccessExportFeature.aspx.aspx:line 32
           at System.Web.UI.Control.LoadRecursive()
           at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    ?Question: how are these assemblies put in the GAC. I tried the GACUTIL with no errors and the /lr reports the assembly as being in the GAC and yet I keep getting the error, then I reset iis, nothing, then I re-booted and nothing.

    the library assembly is a SharePoint library trying to get the contents of a survey into an access database...

    Thanks for any and all Help

    Thursday, September 03, 2009 2:56 PM