regarding the error in insertion of values

Posted by Eagleprabha653354 under ASP.NET on 3/21/2013 | Points: 10 | Views : 612 | Status : [Member] | Replies : 3
hello sir,
i inserted the values in filling field in front end.
then i run the application its run but in sql server the front-end values are not stored. i face this error:
A network-related or instance-specific error occurred while
establishing a connection to SQL Server. The server was not found or
was not accessible. Verify that the instance name is correct and that
SQL Server is configured to allow remote connections. (provider: Named
Pipes Provider, error: 40 - Could not open a connection to SQL Server)


tell me the soln.......................................................................................

prabhakaran


Responses

Posted by: aswinialuri-19361 on: 3/21/2013 [Member] Starter | Points: 25

Up
0
Down
Hi ,
well in database engine you have server name for that we have a dropdownlist on that you will select browse for more you will get the local servers on
that we have a database engine and you will select the local server on that or else if your local server is disabled means. then you resart your computer you will get it.

Thanks&Regards

Mark as Answer if it helps you
Thanks&Regards
Aswini Aluri

Eagleprabha653354, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: .Netlearner on: 3/22/2013 [Member] Starter | Points: 25

Up
0
Down
Check whether the DataSource you have mentioned in the connection string is the same as the database server name.

Eagleprabha653354, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 3/22/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi
Eagleprabha653354

check your sql server connection put that correct or not
this issue ur connection string and etc details did not correct check them.

refer this url
http://www.dotnetfunda.com/codes/code4285-update-gridview-with-single-button.aspx

Mark as Answer if its helpful to you

Eagleprabha653354, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response