Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: Default value selected in Combo Box after another form closes. Pin
atulonweb@hotmail.com20-Jun-07 21:27
atulonweb@hotmail.com20-Jun-07 21:27 
GeneralRe: Default value selected in Combo Box after another form closes. Pin
bhoomi kakaiya21-Jun-07 4:27
bhoomi kakaiya21-Jun-07 4:27 
AnswerRe: Default value selected in Combo Box after another form closes. Pin
atulonweb@hotmail.com20-Jun-07 21:31
atulonweb@hotmail.com20-Jun-07 21:31 
GeneralRe: Default value selected in Combo Box after another form closes. Pin
bhoomi kakaiya21-Jun-07 4:24
bhoomi kakaiya21-Jun-07 4:24 
GeneralRe: Default value selected in Combo Box after another form closes. Pin
~~~Johnny~~~21-Jun-07 6:20
~~~Johnny~~~21-Jun-07 6:20 
Questioncode to store the original array index of the sorted array Pin
Arun Raj.K20-Jun-07 5:43
Arun Raj.K20-Jun-07 5:43 
QuestionDataSet does not support System.Nullable Pin
Brady Kelly20-Jun-07 5:25
Brady Kelly20-Jun-07 5:25 
AnswerRe: DataSet does not support System.Nullable PinPopular
Lisa Jorgensen20-Jun-07 7:29
Lisa Jorgensen20-Jun-07 7:29 
GeneralRe: DataSet does not support System.Nullable Pin
Brady Kelly20-Jun-07 7:47
Brady Kelly20-Jun-07 7:47 
SuggestionRe: DataSet does not support System.Nullable Pin
WiiMaxx24-Apr-14 1:29
WiiMaxx24-Apr-14 1:29 
QuestionAdvanced Search Pin
arslanjatt20-Jun-07 5:10
arslanjatt20-Jun-07 5:10 
AnswerRe: Advanced Search Pin
nateraaaa20-Jun-07 5:56
nateraaaa20-Jun-07 5:56 
Questionevent extender providers? Pin
TheShaver20-Jun-07 4:48
TheShaver20-Jun-07 4:48 
AnswerRe: event extender providers? Pin
Luc Pattyn20-Jun-07 4:52
sitebuilderLuc Pattyn20-Jun-07 4:52 
GeneralRe: event extender providers? Pin
TheShaver20-Jun-07 5:14
TheShaver20-Jun-07 5:14 
AnswerRe: event extender providers? Pin
Martin#20-Jun-07 4:57
Martin#20-Jun-07 4:57 
GeneralRe: event extender providers? Pin
TheShaver20-Jun-07 5:11
TheShaver20-Jun-07 5:11 
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 | :(







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.