One or more queries are using the data source you want to remove. You must first close the queries that are using the data source.