Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can this work?
Message
From
23/01/2015 17:16:47
 
 
To
23/01/2015 14:01:05
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01614237
Message ID:
01614250
Views:
35
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform