.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

How to resolve connection string error..

Posted By: parthiban     Posted Date: August 24, 2012    Points:5   Category :ASP.Net
The connection name 'EMPLOYEEConnectionString2' was not found in the applications configuration or the connection string is empty.

wen i host the page in server.. i get dis error..but works fine locally..

i chkd in web.config too.. connection string is present..

Data Source=PARTHI-PC\SQLEXPRESS;Initial Catalog=EMPLOYEE;Integrated Security=True..

should i change to authetication to sqlsever..

Author: kumar             
Posted Date: August 27, 2012     Points: 20   

Add connection string in the web.config file

Author: Baimey Rajesh             
Posted Date: August 28, 2012     Points: 20   

Is the data source correct or is it the local database source.
Please check if the database source and authentication correct then it will work.

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend