>But when I run the site from inside IIS or from "outside" the code runs until the first mentioning of the Foxpro-dll:
>
>Dim objDll As New admininterface01.iFoxClient01
>
>The procedure stops there, and the exception message is as mentioned above.
>
>
>I have no clue...
>
>Any help would be very much appreciated!
Check the settings for your application pool - allow 32-bitness. You may also need to do something for your dot net settings in that regard:
To set up ASP.NET for 32 bit:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i
To set up ASP.NET for 64 bit:
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727>aspnet_regiis -i
Don't know what this does, and why is this necessary, but I had problems until I found these lines on Rick's site.