Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with accessing VFP data
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00846683
Message ID:
00846724
Views:
16
>>I'm new to MM .Net and I'm having a problem setting up a business object
>>Here is what my webconfig looks like:
>>
>>  <databases>
>>    <add key="Emmis\Connection"value="provider=VFPOLEDB.1 ;data source='U\emmis.dbc';password='';user id=''" />
>></databases>
>>
>>Any of you guys know where I may have gone wrong here?
>>Thanks,
>
>Add a space between Connection" and value="
>
>The source='U\emmis.dbc is missing a colon.
>
>XML also tends to be case sensitive (although I'm not sure if the connection string is), so you might also want to change "data source" to "Data Source" and "provider" to "Provider" You can drop the password/userid attributes. They're not really necessary.


The web config errors were typos. I should have cut and past.
I did try dropping the login info and make a capital P in provider but still get the same error.
A cut and paste from webconfig:
	<databases>
		<add key="Emmis\Connection" value="Provider=VFPOLEDB.1 ;data source='U:\emmis.dbc'" />
	</databases>
Are there any samples on using oledb data? Maybe I’m not using the classes correctly.
Chris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform