저는 SubSonic을 시작합니다. 나는 sqlite가 내 DB 변경을 원하고 나는 내가 참조 섹션에서 SQLite는 참조를 제외하고SubSonic, SQLite 및 데이터 제공 업체를 찾을 수 없습니까?
A first chance exception of type 'System.ArgumentException' occurred in System.Data.dll
Additional information: Unable to find the requested .Net Framework Data Provider. It may not be installed.
을 얻을 내 config 파일
<connectionStrings>
<add name="NorthwindSQLite"
connectionString="Data Source=C:\unzipped\WindowsFormsApplication1\my.db"
providerName="System.Data.SQLite"/>
</connectionStrings>
이 있습니다. 그래서이 문제를 어떻게 해결합니까?
나는 공급자를 별도로 설치해야한다는 것을 결코 알지 못합니다. 어떻게 든 나는 참조를 추가하는 것이 프로젝트가 공급자 (또는 뭔가 ...)로 사용하게 만들 것이라고 생각했다. 문제가 해결되어 모든 코드가 작동합니다. –
컴파일되었지만 런타임에 예외가 발생했기 때문에 프로덕션 환경에 SQLite 공급자를 "설치"해야합니까? 나는 "설치가 없다"는 것이 SQLite의 장점 중 하나라고 생각했습니다. – flipdoubt
SQLite readme.txt 파일과 http://stackoverflow.com/questions/1117683/add-a-dbproviderfactory-without-an-app-config/1118089에서 구성 파일에 DbProviderFactories를 추가 할 수 있음을 발견했습니다. – flipdoubt