Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keyword not supported: 'provider' in MM Northwind Sample
Message
 
À
31/10/2008 13:05:24
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
MS SQL Server
Divers
Thread ID:
01358635
Message ID:
01358708
Vues:
19
>Hi Joe,
>
>>I'm trying to run MM Northwind Sample Application_CSharp and it works good when using mssql server. When I switch to vfp data and click Customer->Orders I get an application exception "Keyword not supported: 'provider'".
>>
>>Here is part of my app.config:
>>
>>
>>
>>add key="CustA\Northwind\Connection" value="Data Source=GMI160\SQLEXPRESS;Initial Catalog=Northwind;Integrated Security=True"
>>add key="CustA\Northwind\DataAccessClass" value="DataAccessSql" 
>>add key="CustB\Northwind\Connection" value="Provider=vfpoledb.1;Data Source=C:\Program Files\Mere Mortals .NET Framework 2008\Samples\VFPData\northwind.dbc" 
>>add key="CustB\Northwind\DataAccessClass" value="DataAccessOleDb" 
>>
>>
>
>I don't know if I have tried to switch so can't say it works for me but I will try it later. This shouldn't have anything to do with it, but
> have you installed the VFP data where it is supposed to be?

Yes

>Also I can't remember what is in the DevGuide with this, but I seem to remember I have a VFP Ole Db provider installed. I have to >run to an appointment, but I will check when I get back if someone else hasn't answered this.
>Tim

I installed oledb from the ms vfp site.

BTW - That app appears to be riddled with bugs. I can make it crash in quite a few ways. Do you suppose it is the app, the framework or my installation?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform