Thank you, Noel.

I already copied all the files from the Open Babel GUI installation folder, the 
web page can display without error, but the part calling OpenBabel functions 
just return zero or empty. However it worked fine under Visual studio 
environment. I also tried to change some IIS application pool settings, like 
setting as "network service", but not work. Here is the output comparing 
between Visual studio and IIS:

*********** visual studio *******
test 
input smi:c2ccc(c1ccccc1)cc2
output can:c1ccc(cc1)c1ccccc1 
input simile:c2ccc(c1ccccc1)cc2c2ccc(c1ccccc1)cc2
output fingerPrint1:1078035008
output fingerPrint2:335544576
output fingerPrint3:2315388992
output fingerPrint4:155648

************ IIS ******************

test 
input smi:c2ccc(c1ccccc1)cc2
output can:
input simile:c2ccc(c1ccccc1)cc2c2ccc(c1ccccc1)cc2
output fingerPrint1:0
output fingerPrint2:0
output fingerPrint3:0
output fingerPrint4:0



On Friday, November 8, 2013 2:21 PM, Noel O'Boyle <baoille...@gmail.com> wrote:
 
You should probably copy *all* other files from the Open Babel GUI installation.

The overall problem is that the plugin formats are not being found. I
think that in future versions of Open Babel we will try to compile
these directly into the main Open Babel .dll as it causes problems for
people (like you) using Open Babel in more unusual ways.
Unfortunately, this doesn't help you right now of course...

- Noel


On 5 November 2013 18:14, Jun Liu <liujun...@yahoo.com> wrote:
> Sorry to re-post this message, but I'm still stuck at this issue. Another
> thing to add is that when I browsed my test page from IIS, it gave me error
> about can't find openbabel_cSharp.dll, so I copied all the dll and other
> files from the openBabel GUI installation folder to my IIS website, then the
> error is gone, but nothing is returned from openBabel.
>
> Thanks in advance.
>
> Jun
>
>
> On Friday, November 1, 2013 8:15 PM, Jun Liu <liujun...@yahoo.com> wrote:
> I'm working on a project using openbabel OBDotNet.dll, it works great under
> Visual studion 2010/2012, but when I tried to put it under IIS6 or IIS7 for
> further testing, it will not work.
>
> I know there is an issue for openBabel(x86 version) to work on a 64-bit
> machine, so I switched to 32-bit machine, but still same issue as in 64-bit
> machine. Under IIS, the openBabel just return empty and no error alerts.
>
> Following is the same code run under Visual studio 2010 and under IIS 6.1 in
> a windows 7 32-bit machine.
>
> *********** visual studio *******
> test
> input smi:c2ccc(c1ccccc1)cc2
> output can:c1ccc(cc1)c1ccccc1
> input simile:c2ccc(c1ccccc1)cc2c2ccc(c1ccccc1)cc2
> output fingerPrint1:1078035008
> output fingerPrint2:335544576
> output fingerPrint3:2315388992
> output fingerPrint4:155648
>
> ************ IIS ******************
>
> test
> input smi:c2ccc(c1ccccc1)cc2
> output can:
> input simile:c2ccc(c1ccccc1)cc2c2ccc(c1ccccc1)cc2
> output fingerPrint1:0
> output fingerPrint2:0
> output fingerPrint3:0
> output fingerPrint4:0
>
> Any suggestions will great appreciated.
>
> Thanks a lot.
>
> Jun
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to