Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP.NET and VB6 DLL
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00682033
Message ID:
00682107
Views:
18
I had the same problem. The computer running ASP.NET app is different than your VB Test computer?

>Hello everyone
>
>I would really apprecaite your assistance with C#, and a VB6 DLL that access Visual FoxPro DBF on a mapped network drive. I am hoping that some of you can aid me in finding a solution to the problem:
>
>The error that occurs is:
>[Microsoft][ODBC Visual FoxPro Driver]File 'table name.dbf' does not exist.
>
>Something I would like to note is that the VB6 DLL works as it should with a Visual Basic test project, but breaks when used under ASP.NET. I have tried impersonating user in Web.config. This gives native C# coede the right to access the Visual FoxPro data, but the code in the VB6 DLL still fail. Another strange side affect is that the connection to the network share "vanishes" in Windows Explorer.
>
>Has anyone encountered this problem and know of a solution that can be used to give the VB6 DLL permission to access the network resource from within C#? One thing I would like to note is that native C# code can get to the FoxPro information when the user is impersonated in Web.Config.
>
>Thank you for your time and effort.
- Jayesh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform