Last post Aug 05, 2011 01:16 AM by kamalchhabra
Aug 03, 2011 03:40 AM|manisha walia|LINK
when i connect my asp.net application with the mysql 5.1 then an error occur:---in connection string:-ArgumentException was Unhandled by user code keyword not supported .parameter name :dsn.............plz can anybody tell me the solution of it:
Thanks in advance
Aug 03, 2011 03:47 AM|Raja Boopathi|LINK
Check here for different types of connectionstrings for MySql in .Net.
The error shows that there shouldn't be a attribute named dns in the connection string. Try to remove the attribute dns from connection string if any. And follow any one of the connection strings provided in above link.
Aug 03, 2011 03:51 AM|kamalchhabra|LINK
Aug 04, 2011 01:05 AM|manisha walia|LINK
not working....another error occur which is:-
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified ...plz tell me how to solve it...........
Aug 04, 2011 03:28 AM|kamalchhabra|LINK
you have to be use
Aug 04, 2011 04:35 AM|manisha walia|LINK
i have already use it.
Aug 04, 2011 05:29 AM|kamalchhabra|LINK
if there create problem you have to be add as a aweb refrence (data.odbc)
Aug 04, 2011 08:01 AM|manisha walia|LINK
How can i make Dll from a class in c#....plz explain the steps .....
Thanks & regards:-
Aug 04, 2011 08:19 AM|kamalchhabra|LINK
Administrative Tools --> Data Sources (ODBC) --> Create a connection
In Visual Studio --> Open your server browser and then create a new connection.
Select the connection type as Microsoft ODBC Data Source (ODBC)
Select the radio button for Using Connection String, Select Machine Data Source and
the select your data source you just created.
You can just copy this string and paste it in to your web/app.config file.
Aug 04, 2011 08:22 AM|manisha walia|LINK
have done it .... but not working....but i have done it without odbc ...pls tell me how to make dll of my class....Thanks
Aug 04, 2011 08:37 AM|kamalchhabra|LINK
the way that i tell you it's a way
this time you do with odbc
if this not worked then u have be show your code
then, i can do someting for u?
Aug 04, 2011 08:42 AM|kamalchhabra|LINK
see this link i hope this link also helps
Aug 05, 2011 12:42 AM|manisha walia|LINK
pls tell me how i can covert my class into dll.
Aug 05, 2011 01:00 AM|kamalchhabra|LINK
yaaar kyu maze le rahe ho....... iska solution yahi hai......
i think you wanna make my fun
if not then re-install all software under a perfectionalist
Aug 05, 2011 01:14 AM|kamalchhabra|LINK
see below link
new Projects >> class library >> add reference >> add reference >>>>>>>>>>>>> using System.Data.SqlClient; using System.Web; Projects run C:\Documents and Settings\Senol\Belgelerim\Visual Studio 2005\Projects\free\free\bin\Debug\free.dll
Aug 05, 2011 01:16 AM|kamalchhabra|LINK
See tis link then This Helps
Do It now