944,026 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 1412
  • ASP.NET RSS
Mar 26th, 2007
0

Passing An Connecting String

Expand Post »
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
Reputation Points: 10
Solved Threads: 0
Light Poster
karan_21584 is offline Offline
32 posts
since Mar 2007
Mar 26th, 2007
0

Re: Passing An Connecting String

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?
Reputation Points: 26
Solved Threads: 11
Posting Whiz in Training
f1 fan is offline Offline
275 posts
since Jan 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: need help with sql database in asp.net using VB
Next Thread in ASP.NET Forum Timeline: How to transfer values between ASP.NET pages





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC