Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can this work?
Message
De
23/01/2015 17:16:47
 
 
À
23/01/2015 14:01:05
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01614237
Message ID:
01614250
Vues:
33
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform