Framirez
|
Posted: 06/21/2004, 7:52 PM |
|
Testing CCS with ASP.NET AND C#
OS Windows XP
Problem accesing VFP database
When I run a page accesing VFP tables through "vfloledb" connection I always get the following message
Server Error in '/vfpproject' application
Invalid Path or file name
Error code 0x80004005
Any ideas?
Anyone working with CCS and VFP?
Thanks,
|
|
|
framirez
|
Posted: 06/22/2004, 6:55 PM |
|
I just wanted to share the solution I found for the "vfpoledb" connection in case there are some vfp programmers out there. By the way I'm not sure it is a vfp problem. Happy to be able to use Codecharge. So far so good. I'm impressed with what can be done with the product.
Here is what I found to be the solution:
***********
By modifying the web.config file, you can enable each ASP.NET app to login
as a particular user. The relevant bits look like this:
<configuration>
<system.web>
<identity impersonate="true" /> <!-- results in identity of
IUSR_xxxxx -->
-or-
<identity impersonate="true" userName="domain\account"
password="whatever"/>
...
</system.web>
</configuration>
You can also reference an encrypted store for the username and password.
This is obviously preferred for security reasons.
See the full doc here: http://msdn.microsoft.com/library/en-us/cpgenref/html/g...titysection.asp
*********
|
|
|
Gerry Lang
|
Posted: 06/23/2004, 8:45 PM |
|
Thanks for the tip. Yes CCS is pretty cool.
Btw, check this out too.
http://www.hrskole.com/vpm2afp/a_index.htm
|
|
|
|