0

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

2
Contributors
1
Reply
2
Views
10 Years
Discussion Span
Last Post by f1 fan
0

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?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.