IIS Connection string error
Trying to figure out the correct connection string for a sql server express db. Trying to publish my app to IIS and test before publishing to my hosting site.
"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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
I started here and also used connectionstrings.com. I also started reading the deploy asp.net app using sql compact article here
Using this connection string Data Source=.\SQLExpress;AttachDbFilename=H:\DB\Guestbook.sdf;Integrated Security=True
I get the above error
This connection string
Throws a trust level error. Ive changed to medium and full and still get one of the two errors.
I've tried a variation of a few different strings with no luck.
Connection String for a Hosted Database (Domain/Web hosting Provider) --- Windows Forms
I have domain name, and host account with a service provider. I want to host a sql server database through the service provider. I'm developing a windows forms application that I want to access this database. Whats the way to go with this situation?0 votes0 answersOageng Escobar Barution Oct 24, 2017
How to see the database for localdb in Visual Studio2013?
I have just started to learn ASP.NET. Now, I have created a code first, database. It is using localdb v 11.01 The database which is generated show 3 tables. But, I do not know where to open the database to see the data inside.0 votes0 answersKaren Gohon Jul 10, 2016
Relative connection string for SQLCE
Dear Friends I have developed a Windows form c# application in which I've used SQL CE toolbox to create contacts application to store phone numbers. When I run this application file in other PC, then all woks fine except contacts application as it says database not found.0 votes0 answersNAVEEN MANGALon Jun 24, 2016
Error: A native exception has occurred in SQLCompact 3.5 under Windows Embedded Compact 7
Hi,I have developed an application using Visual Studio 2008 on C# for stand-alone device, working under Windows Embedded Compact 7. Application work with SQLCompact 3.5 . using System; using System.Linq;0 votes1 answerVladimir Sokolovon Jun 08, 2015
MS SQL Native Client for ODBC driver's Security
Hi everyone, I'm currently doing some research on the MS SQL native client for ODBC driver's security. I would like to seek details on how secure is ODBC driver in MS SQL Native client?0 votes0 answersVincent Wongon Jan 08, 2015
Please help me
Hi all Together ! How to Connect VB.NET to SQL Server? Please Answer when you saw my question , I'm waiting .0 votes1 answerYea Chandyon May 05, 2014
Multi user in MS Sql Server Compact Edition
I am Developing Winform Application in C# with MS Sqlserver Compact Edition as Database. In Have trouble in multiple User access in this Application. Already i tried Sharing Concept in My Application but getting Error.0 votes1 answerBrinda Arumugamon Feb 18, 2014
Problem windows XP & 7
I used SDF file in c# in windows application. Program works in windows 7 Correctly ,but when I bring Program in windows XP , program send an error and can't read sdf file.0 votes1 answerAnonymous useron Jan 28, 2014
Most basic example: No connection made
...I can not help this editor creating funny layout... sorry....here is my question: Just basic exercise connecting to database: why is there no connection made conString shows right value messag0 votes7 answerspierre ruijterson Nov 07, 2013
- Load more posts