R
rockdale
hi, I just downloaded Microsoft Enterprise Library Jan 2006 and try to
integrate it into my asp.net application. As i am going to connect to
mySQL database, I need to include the source code in my project so that
I can debug better. But I all those examples I found are reference the
compiled dll only.
What are the steps to include the source code of Microsoft Enterprise
Library into my project?
I created a new dir and copy Microsoft Enterprise Library source code
under my new dir.
But when I put
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
in my class. I got error
The type or namespace name "Practices" does not exist in the namespace
"Microsoft"( are you missing an assembly reference?)
Also, I just noticed that there is no namespace in your class in
VS2005?
As I need to connect to MySQL and MSSQL, I put
<connectionStrings>
<add name="MSSQL"
providerName="System.Data.SqlClient"
connectionString= "myCOnnectionString" />
<add name="MySql"
providerName="System.Data.SqlClient"
connectionString="myConnectionString" />
</connectionStrings>
<dataConfiguration
defaultDatabase="MSSQL"/>
into my web.config file, but I got error - could not find schema
information for the attribute "defaultDatabase"
Does DAAB has its own config file, if it has, where and what's the name
of the config file. Do I need to put this configuration into config
file that DAAB
Please bear with me since I just upgrade to VS2005 from VS2003
Thanks a lot
-rockdale
integrate it into my asp.net application. As i am going to connect to
mySQL database, I need to include the source code in my project so that
I can debug better. But I all those examples I found are reference the
compiled dll only.
What are the steps to include the source code of Microsoft Enterprise
Library into my project?
I created a new dir and copy Microsoft Enterprise Library source code
under my new dir.
But when I put
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
in my class. I got error
The type or namespace name "Practices" does not exist in the namespace
"Microsoft"( are you missing an assembly reference?)
Also, I just noticed that there is no namespace in your class in
VS2005?
As I need to connect to MySQL and MSSQL, I put
<connectionStrings>
<add name="MSSQL"
providerName="System.Data.SqlClient"
connectionString= "myCOnnectionString" />
<add name="MySql"
providerName="System.Data.SqlClient"
connectionString="myConnectionString" />
</connectionStrings>
<dataConfiguration
defaultDatabase="MSSQL"/>
into my web.config file, but I got error - could not find schema
information for the attribute "defaultDatabase"
Does DAAB has its own config file, if it has, where and what's the name
of the config file. Do I need to put this configuration into config
file that DAAB
Please bear with me since I just upgrade to VS2005 from VS2003
Thanks a lot
-rockdale