Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can this work?
Message
From
23/01/2015 14:01:05
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
How can this work?
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:
01614237
Views:
46
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.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform