Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection String......
Message
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00981737
Message ID:
00981994
Views:
36
>Hi, I'm having trouble connecting to a VFP 6 database via c#. The problem is, my domain account that is running the process does not have access to that machine, how do I specify in connection string to specify domain account and pwd? (VFP6)
>
>Works fine when domain account has access to unc share.
>
>Thanks!


You can use identity impersonate tag in the web.config file.

E.g.:
<identity impersonate="true" userName="DOMAIN_NAME\DOMAIN_ACCT" password="MYPASSWORD" />
HTH
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform