Skip to content

Instantly share code, notes, and snippets.

@topgenorth
Created May 22, 2012 01:43
Show Gist options
  • Save topgenorth/2766026 to your computer and use it in GitHub Desktop.
Save topgenorth/2766026 to your computer and use it in GitHub Desktop.
Server Error in '/' Application
Cannot add or update a child row: a foreign key constraint fails (`AddOns`.`UserDownloadedAddons`, CONSTRAINT `userdownloadedaddons_ibfk_2` FOREIGN KEY (`AddonID`) REFERENCES `Addons` (`ID`))
Description: HTTP 500. Error processing request.
Stack Trace:
MySql.Data.MySqlClient.MySqlException: Cannot add or update a child row: a foreign key constraint fails (`AddOns`.`UserDownloadedAddons`, CONSTRAINT `userdownloadedaddons_ibfk_2` FOREIGN KEY (`AddonID`) REFERENCES `Addons` (`ID`))
at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0
at MySql.Data.MySqlClient.NativeDriver.ReadResult (System.UInt64& affectedRows, System.Int64& lastInsertId) [0x00000] in <filename unknown>:0
at MySql.Data.MySqlClient.MySqlDataReader.GetResultSet () [0x00000] in <filename unknown>:0
at MySql.Data.MySqlClient.MySqlDataReader.NextResult () [0x00000] in <filename unknown>:0
@topgenorth
Copy link
Author

Trying to download the "Foody" theme from the Xamarin AppStore...

http://addons.xamarin.com/download/foody

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment