Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear friends

Hi all, i have developed my project in .net 2003(c# with asp.net 1.1). After that i have uploaded to our server. when i try to access that page it wil show some error msg like below,

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section 'connectionStrings'


If any one Knows Pls Help Me...

regards,
Saja Nassar
Posted
Updated 19-Sep-12 6:55am
v5
Comments
AshishChaudha 14-Aug-12 5:21am    
and have you checked <connectionstrings> in your web.config file??
Santhosh Kumar Jayaraman 14-Aug-12 5:26am    
please post ur web.config
Santhosh Kumar Jayaraman 14-Aug-12 8:40am    
are u sure? it looks like all are commented and there are no proper connectionstring
Saja Ali Nassar 14-Aug-12 8:48am    
this my connectionstring
<add value="Server=ITG-DBSTAGING;DataBase=DEV_ACC;uid=acc;pwd=acc221;" key="ConnectionString">

there is many connctionstrings commented so you didnt find it in the web.config
Saja Ali Nassar 14-Aug-12 8:54am    
when I past it all the connection disappeared, I dont know why :(
this is the first time for me using codeproject site,
could you help me to solve this bug please?

It is case sensitive. Try changing it to <connectionStrings>.

Good luck!
 
Share this answer
 
v2
Please check whether your config file looks like this.

-->
<configuration>
<appSettings />
<connectionStrings>
<add name="MainConnStr" connectionString="server=localhost;database=myDb;Integrated Security=SSPI;" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>

</system.web>

</configuration>

updated:

it looks like you have .net framework 1.1 and 2.0 application hosted together.
Check this.
http://forums.asp.net/t/1080128.aspx[^]
 
Share this answer
 
v2
Comments
Saja Ali Nassar 18-Aug-12 6:48am    
I don't have this tag (<connectionstrings>) in my web.cofig

see this please:






<configuration>
<appsettings>
<!-- Conection Strings -->
<add key="PrintcardWS_URL" value="http://10.0.0.237/wsPrintCards/PrintCards.asmx"> <!-- RHA @29/06/2005 Reports Connection String-->


<add key="ConnectionString" value="Server=ITG-DBSTAGING;DataBase=DEV_ACC;uid=acc;pwd=acc221;">



<add key="ConnectionStringDocuments" value="Server=ITG-DB;DataBase=GRP_Documents;uid=wave;pwd=wavenewera;"> <!-- connections for documents DB -->
<add key="WorkFlowConnectionString222" value="Server=EduWaveServer;DataBase=WF;uid=Eduwave;pwd=ITGEduwave;"> <!-- connections for Work Flow DB --> <!-- AZE -->
<add key="WorkFlowConnectionString" value="Server=PSDGRP\SQL2005;DataBase=PSD_WF_UoNQA;uid=wave;pwd=wavenewera;"> <!-- connections for Work Flow DB --> <!-- AZE -->
<add key="WorkFlowConnectionString55555" value="Server=ITG-DB;DataBase=WF_20111027;uid=wave;pwd=wavenewera;"> <!-- connections for Work Flow DB --> <!-- AZE -->
<add key="ITDCConnectionString" value="Server=EDUWAVESERVER;DataBase=AccessCard;uid=Eduwave;pwd=ITGEduwave;">
<add key="ChargeCardWS" value="http://itg-rayyad1/wsChargeCard/ChargeCardWS.asmx">
<!-- System Values -->
<add key="AppliedSystem" value="ERP"> <!--TFF This Key For using switch the system form GRP to ERP system or visversa; values=String format(ERP,GRP) -->
<add key="adminUser" value="sa"> <!--MAA Admin user name.-->
<add key="FloatNumbersFormats" value="###,##0.000"> <!--MAA @14/08/2005 Decimals Numbers Format.-->
<add key="PagingSize" value="5"> <!--PagingSize--> <!--Modified by maa-->
<add key="MaxLength" value="9"> <!-- mbarhouma @22/05/2006 To set the MaxLength for the TextBox(s) -->
<add key="SystemDateFormat" value="en-gb"> <!-- Daite format-->
<add key="SystemDateTimeFormat" value="ar-jo"> <!-- DateTime format-->
<add key="ValidateRequest" value="false"> <!-- maj @ 07/06/2007 To Enable and Disable Changing URL In WaveERP -->
<!-- ERP/GRP Web Services -->
<add key="AutomaticVoucherServiceURL" value="http://itg-snassar/WaveERP/WaveERP_Financial/Web_services/ERP_AutomaticVoucher.asmx"> <!--maa - Path of Automatic Voucher Service -->
<add key="SupportWebServiceURL" value="http://itg-snassar/WaveERP/WaveERP_WebServices/ERP_SupportWebService.asmx"> <!--eya - Path of Automatic Voucher Service -->
<add key="Payroll_WebServiceURL" value="http://itg-snassar/WaveERP/WaveERP_Payroll/Web_Services/Payroll_WebService.asmx"> <!-- Adi Smadi 9-4-2007 used to terminate an employee's service -->
<add key="MailServer" value="10.0.0.12">
<add key="HR_EMail" value="rayyad@itgsolutions.com">
<add key="VacationSender_EMail" value="rayyad@itgsolutions.com">
<add key="WaveERP_URL" value="http://itg-snassar/WaveERP/ERP_Login.aspx">
<add key="Mail_Domain" value="@itgsolutions.com">
<add key="NizwaLogoURL" value="http://PSDGRP/WaveERP_UoN_QA/Images/enter.jpg">
<add key="AccessButtonURL_Arabic" value="http://PSDGRP/WaveERP_UoN_QA/Images/dd555d.jpg">
<add key="AccessButtonURL_Eng" value="http://PSDGRP/WaveERP_UoN_QA/Images/dd555d.jpg">
<!-- Applications Paths -->
<add key="ApplicationPath" value="http://itg-snassar/WaveERP/"> <!-- Path 1 of Application-->
<add key="WaveERP_ApplicationPath" value="http://itg-snassar/WaveERP/"> <!-- Path 2 of Application-->
<add key="Financial_ApplicationPath" value="http://itg-snassar/WaveERP/WaveERP_Financial/"> <!-- Path of Application-->
Santhosh Kumar Jayaraman 18-Aug-12 6:51am    
Then where you are mentioning about server and database?
Saja Ali Nassar 18-Aug-12 6:56am    
I've updated my Question, could you see it please?

thanks,
Santhosh Kumar Jayaraman 18-Aug-12 6:57am    
now what u r getting?
Saja Ali Nassar 18-Aug-12 7:08am    
1.1 farmework dose not support (ConnectionStrings) tag, dose it?
so I add it as a key in the (appSettings) tag,
i dont know why this bug raised although I'm not using (ConnectionStrings)!!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900