hai, i m passing the filename(with path), connection string and database field to an DLL file.but its showin the error "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.ArgumentException: Keyword not supported: 'provider'."
the error is in : DBmig.DB_migration(strpath, conv, dbstr)
(where, DBmig is an DLL file and the DB_migration is a public function AND 'strpath' is the filename, conv is the connecting string, dbstr is the database name). HOW TO RECTIFY THIS ERROR. can anyone help me plz? thanks in advance

the error is in your dbmig dll. The reason you see the error is you dont have debugging on that dll (probably because you have just the dll and not the source code there).

In the code in the dll you are trying to connect to the database but your syntax is incorrect and you are incorrectly using the "provider" keyword (or something you setup is trying to use it incorrectly).

Check your dll source code for that method. Have you tested it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.