| | |
Passing An Connecting String
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2007
Posts: 32
Reputation:
Solved Threads: 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
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
•
•
Join Date: Jan 2006
Posts: 275
Reputation:
Solved Threads: 11
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?
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?
![]() |
Similar Threads
- connecting characters (C)
- String to integer conversion (C)
- passing empty string to SqlCommand.Parameter.Add (VB.NET)
- error while trying to retrieve text for error ora 01019 (ASP.NET)
- DataGrid: Edit mode, the index of a dropdownlist does not start at the right Value (ASP.NET)
- Simple ASP.Net Login Page (Using VB.Net) (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: need help with sql database in asp.net using VB
- Next Thread: How to transfer values between ASP.NET pages
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn checkbox class click commonfunctions compatible confirmationcodegeneration content contenttype control countryselector courier css database datagrid datagridview datagridviewcheckbox datalist deadlock deployment development dgv dropdownlist dropdownmenu dynamic edit embeddingactivexcontrol expose findcontrol flash flv formatdecimal forms formview gridview homeedition iframe iis javascript jquery list login menu microsoft mono mssql multistepregistration nameisnotdeclared numerical objects order panelmasterpagebuttoncontrols problem ratings rotatepage save schoolproject search security serializesmo.table silverlight smartcard sql sqlserver2005 ssl suse textbox tracking unauthorized validation vb.net video virtualdirectory vista visual-studio visualstudio vs2008 web webarchitecture webdevelopemnt webdevelopment webservice wizard xml youareanotmemberofthedebuggerusers





