Click here to Skip to main content
15,887,477 members
Home / Discussions / C#
   

C#

 
AnswerRe: event extender providers? Pin
Martin#20-Jun-07 5:07
Martin#20-Jun-07 5:07 
GeneralRe: event extender providers? Pin
TheShaver20-Jun-07 5:20
TheShaver20-Jun-07 5:20 
GeneralRe: event extender providers? Pin
Martin#20-Jun-07 5:23
Martin#20-Jun-07 5:23 
QuestionAnyone know of a web service like this? Pin
gantww20-Jun-07 4:30
gantww20-Jun-07 4:30 
AnswerRe: Anyone know of a web service like this? Pin
nateraaaa20-Jun-07 6:06
nateraaaa20-Jun-07 6:06 
QuestionTaking control of an already running process.. Pin
Ylno20-Jun-07 4:26
Ylno20-Jun-07 4:26 
AnswerRe: Taking control of an already running process.. Pin
Martin#20-Jun-07 4:29
Martin#20-Jun-07 4:29 
QuestionError in Web.Config page Pin
shyamts20-Jun-07 3:59
shyamts20-Jun-07 3:59 
Hi,
I am using Microsoft Enterprise Library 3.0 in visual studio 2005.
I am developing web application.
In my presentation/UI layer,i am having a code like this...
protected void Page_Load(object sender, EventArgs e)
{
AppConfigBO objAppConfig = new AppConfigBO();
DataTable dtLLInstance = new DataTable();
dtLLInstance = objAppConfig.RetrieveLivelinkInst();
gvwLLInstance.DataSource = dtLLInstance;
gvwLLInstance.DataBind();
}

In my Business layer, i am having a class called AppConfig which has the code as follows:

public DataTable RetrieveLivelinkInst()
{
DataSet dsLLInstanceList = null;
try
{
OracleDatabase objOraDB = DatabaseFactory.CreateDatabase() as OracleDatabase;
OracleCommand objOraCmd = objOraDB.GetStoredProcCommand("SDV_GET_LLINST_PROC") as OracleCommand;
//Executing the SP
dsLLInstanceList = objOraDB.ExecuteDataSet(objOraCmd);
}
catch (Exception ex)
{
throw ex;
}
return dsLLInstanceList.Tables[0];
}


NOW WHEN I RUN MY APPLICATION,AN ERROR IS THROWN AT THE FOLLOWING LINE:

OracleDatabase objOraDB = DatabaseFactory.CreateDatabase() as OracleDatabase;


ERROR IS :

An error occurred creating the configuration section handler for dataConfiguration: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. (C:\Projects\SubseaDigitalVideos\SubseaDigitalVideoWebApp\SubseaDigitalVideoWebApp\web.config line 6)


MY CONFIGURATION SECTION IN WEB.CONFIG FILE IS AS FOLLOWS:

<configSections>
<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"/>
<section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"/>
<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"/>
</configSections>




I will be grateful if you kindly help me.


Thanks in advance,
Shyam Frown | :(







AnswerRe: Error in Web.Config page Pin
Manas Bhardwaj20-Jun-07 4:02
professionalManas Bhardwaj20-Jun-07 4:02 
AnswerRe: Error in Web.Config page Pin
Not Active20-Jun-07 4:28
mentorNot Active20-Jun-07 4:28 
GeneralRe: Error in Web.Config page Pin
shyamts20-Jun-07 17:05
shyamts20-Jun-07 17:05 
GeneralTimer not firing Pin
hairy_hats20-Jun-07 3:56
hairy_hats20-Jun-07 3:56 
AnswerRe: Timer not firing Pin
Martin#20-Jun-07 4:00
Martin#20-Jun-07 4:00 
GeneralRe: Timer not firing Pin
hairy_hats20-Jun-07 4:24
hairy_hats20-Jun-07 4:24 
GeneralRe: Timer not firing Pin
Martin#20-Jun-07 4:26
Martin#20-Jun-07 4:26 
GeneralRe: Timer not firing Pin
hairy_hats20-Jun-07 4:56
hairy_hats20-Jun-07 4:56 
GeneralRe: Timer not firing Pin
Martin#20-Jun-07 5:02
Martin#20-Jun-07 5:02 
GeneralRe: Timer not firing Pin
Luc Pattyn20-Jun-07 4:00
sitebuilderLuc Pattyn20-Jun-07 4:00 
Questionhow can I save the affix? Pin
lockepeak20-Jun-07 3:54
lockepeak20-Jun-07 3:54 
Questionhow to get next record Pin
srinivassam20-Jun-07 3:50
srinivassam20-Jun-07 3:50 
AnswerRe: how to get next record Pin
Manas Bhardwaj20-Jun-07 3:58
professionalManas Bhardwaj20-Jun-07 3:58 
AnswerRe: how to get next record Pin
lockepeak20-Jun-07 3:58
lockepeak20-Jun-07 3:58 
QuestionHow to get the "Company Name" of local user? Pin
Affan Toor20-Jun-07 3:50
Affan Toor20-Jun-07 3:50 
AnswerRe: How to get the "Company Name" of local user? Pin
Yitzchok Dev20-Jun-07 19:46
Yitzchok Dev20-Jun-07 19:46 
GeneralRe: How to get the "Company Name" of local user? Pin
Affan Toor21-Jun-07 0:28
Affan Toor21-Jun-07 0:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.