C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » Windows »

Error in setup file


Posted Date: 03 Jul 2009      Posted By: Anu      Member Level: Silver     Points: 1   Responses: 3



Hi,

I am creating setup for my project

i am using c# windows application and back end sqlserver express in mdf format

my database in my application folder.

i created setup file and install another system

the exe installed but open the project some errors are occur

Error
----------------
sql server does not allow remote connections

SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified

An error has occured while establishing a connection to the server. When connecting to SQL Server 2005,this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.(provider:Named Pipes Provider,error:40-Could not open connection to SQL Server))
-----------------------------

How to create setup file with sqlserver

Thanks





Responses

Author: Anil Kumar Pandey    03 Jul 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

hi,

please set the property of the SQL server so that it can allow the Remote connection.

Thanks & Regards
Anil Kumar Pandey



Author: ABitSmart    03 Jul 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

By default remote connections are disabled. You need to enable it. See this link - http://support.microsoft.com/kb/914277

Kind regards,
ABitSmart
DNS Web-master, DNS MVM
My blog
Thoughts.exe



Author: viji    06 Jul 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

HI..

I think the problem is there with connection info to the Sql Server.
Please Check this URL.
Hope You get the Solution.

http://blogs.msdn.com/sql_protocols/archive/2007/05/13/sql-network-interfaces-error-26-error-locating-server-instance-specified.aspx



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Button images
Previous : About special characters
Return to Discussion Forum
Post New Message
Category: Windows

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use