User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 429,971 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,565 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 843 | Replies: 1
Reply
Join Date: Mar 2007
Posts: 32
Reputation: karan_21584 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
karan_21584 karan_21584 is offline Offline
Light Poster

Passing An Connecting String

  #1  
Mar 26th, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2006
Location: Its the internet... i am everywhere lol
Posts: 274
Reputation: f1 fan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 10
f1 fan f1 fan is offline Offline
Posting Whiz in Training

Re: Passing An Connecting String

  #2  
Mar 26th, 2007
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?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 11:53 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC