I seem to remember that at some point, Microsoft removed the need for the Interop dlls. But it may have only applied to Office.
>I removed the following two files from the Web site Bin directory:
>
>Interop.ADODB.dll
>Interop.CDO.dll
>
>...so I can run the Web site application pool in 64 bits.
>
>I would have assumed that a specific page on the Web site would no longer work as it has lines like this:
>
>
> Dim loStream As ADODB.Stream = New ADODB.Stream
>
> loStream.Mode = ADODB.ConnectModeEnum.adModeReadWrite
> loStream.Type = ADODB.StreamTypeEnum.adTypeText
> loStream.Open()
>
> loStream.LoadFromFile(cFile)
>
> oMessage.DataSource.OpenObject(loStream, "_Stream")
>
> ' From
> If Not RetrieveHeader(oMessage.From) Then
> Return False
> End If
>
> cFrom = oMessage.From
> cFromAddress = cAddress
> cFromName = cName
>
>
>So, if the two 32 bit library files required for ADODB related commands to work are no longer in the Bin directory, how can this work? I did stop and start the Web site a few times.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer