user1429116
user1429116

Reputation: 11

Google drive Dredit sample app for dotnet

I was following exact the same steps as described in this article to test the dotnet app.

https://developers.google.com/drive/examples/dotnet

My env is visual studio 2010 and IIS 7

Everything was fine. The app deployment was successful and I could see the login screen and the "allow access" dialog. However once I granted access, I saw the following error.

Can anyone help?

Thanks, Qiang

Server Error in '/' Application.

Failed to find or load the registered .Net Framework Data Provider. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.

Source Error:

Line 82: { Line 83: StoredCredentialsDBContext db = new StoredCredentialsDBContext(); Line 84: StoredCredentials sc = db.StoredCredentialSet.FirstOrDefault(x => x.UserId == userId); Line 85: if (sc != null) Line 86: {

Source File: C:\Qiang\DrEdit\Models\Utils.cs Line: 84

Upvotes: 1

Views: 681

Answers (1)

Claudio Cherubino
Claudio Cherubino

Reputation: 15014

You have to install Microsoft SQL Server Compact 4.0, which is used by the Entity Framework to map model classes into database entities.

Upvotes: 1

Related Questions