Questions tagged [sql-server-express]

Microsoft SQL Server Express is a freely downloadable and distributable version of Microsoft's SQL Server relational database management system. It is targeted for embedded and smaller-scale applications, having a number of technical restrictions.

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

Query working in management studio and not working when run from installer created with wix toolset

The problem is when I run the setup.msi, RESTORE DATABASE terminate abnormally error code is returned but when I run the query in ssms, it's working fine. Is there any limitation of sqlstring element? ...
masterhei's user avatar
-1 votes
0 answers
33 views

VB.NET - MDF Database access issues

I know it could sound like an already asked question, but I was not able to find the information I need in the questions posted. I have the application that I described here (I open a new link because ...
sickboy's user avatar
  • 11
0 votes
0 answers
14 views

Named SQL Server that connection stopped to run if named connection

I installed a named SQL Server Express edition engine, with SQLEXPRESS as its instance name, some months ago. An application used to connect to that engine with a named connection. Last week it ...
Lucio Menci's user avatar
0 votes
0 answers
20 views

I need to create a SQL Server 2019 Express database from a SQL Server 2022 database [migrated]

I have developed a database in SQL Server 2022 (and have SSMS), I need to recreate and include all data from that database on a different server which contains SQL Server 2019 Express. When in SSMS, I ...
mchapman13's user avatar
0 votes
0 answers
22 views

Is SQL Server Express compatible for developing online - offline desktop application?

I'm trying to build a desktop application using electron, which will be online first app, where the data needs to be synced from the live server to the local database. I want to use SQL Server Express ...
JEFF BRO's user avatar
0 votes
0 answers
79 views

How to solve “SqlClient connection fails when ran in Docker Desktop”?

I'm attempting to connect to a local SQL Server Express instance I have on my dev box. I'm using the following code: var cs = new System.Data.SqlClient.SqlConnectionStringBuilder(); cs.InitialCatalog =...
Paulo Santos's user avatar
  • 11.4k
0 votes
2 answers
89 views

How do I fix "no such interface supported" when using replication with SQL Server 2014 Express

I need pointing in the right direction as I seem to have hit a brick wall. I am getting the following error when I try to synch on subscriber on one of the laptops: Type : Microsoft.SqlServer....
lardymonkey's user avatar
0 votes
3 answers
98 views

Cannot connect to local SQL Server Express from my ASP.NET web app

I am developing an ASP.NET web app on my Windows 11 machine. I have set up SQL Server Express to accept tcp connection, tested it using dbeaver and able to connect successfully. But when I run my app, ...
Aryabhima A. Rahman's user avatar
1 vote
1 answer
114 views

Connecting to SQL Express from WSL - SQL Network Interfaces, error: 25

I've been working through this for nearly two days and I'm running out of options. Maybe you guys can help. Background: I migrated a .netcore api from Windows to WSL2 (Ubuntu 20.04). My Database is ...
gin93r's user avatar
  • 1,583
0 votes
1 answer
150 views

Cannot access SQL Server Express on Mac using Docker

I use Visual Studio 2022 on Windows Parallels on a MacBook Pro M2 chip. My goal is to use SQL Server Express on Windows Parallels. I found this guide: https://kb.parallels.com/en/129699 I was able to ...
Joseph Anderson's user avatar
0 votes
0 answers
30 views

F# SQL Serve Handshake Errors after upgrading from .net 6 to .net 7

I am trying to upgrade from .net 6 to.net 7 in my solution and I have intermittent issues when trying to connect to SQL server Express. Message=Connection Timeout Expired. The timeout period elapsed ...
Martin Thompson's user avatar
0 votes
0 answers
48 views

Error in Parameterized Query using Classic ASP [duplicate]

I am getting the following Error in this parameterized query using Classic ASP. ADODB.Command error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one ...
Babar's user avatar
  • 75
1 vote
0 answers
72 views

INSERT INTO linked server on Trigger OLE DB provider "Microsoft.ACE.OLEDB.16.0" for linked server does not support the required transaction interface

I have created a stored procedure, which among other things contains and INSERT into an Access linked server. I want to trigger this stored procedure upon INSERT into an SQL table. If I run the stored ...
Matt Crumpler's user avatar
1 vote
0 answers
32 views

T-SQL results have J prefix

SQL Server Express. My table 'weather' contains two relevant columns: snapdate (date) temp (decimal 18,2) snapdate contains a date like 2023-07-30 My query is intended to return the maximum and ...
Jacques's user avatar
  • 21
0 votes
0 answers
60 views

.Net error connecting to SQL Server in docker container

I have 2 docker containers, one with sqlexpress and one with my asp.net app. Both of these containers are in the same network and see each other. I can connect to the database from the host machine ...
Paul Vinogradov's user avatar
0 votes
0 answers
18 views

Emulate "Generate script" from SQL Server Management Studio with Pyodbc

I'm trying to automate a backup process that my company is doing over a database managed with SQL Server Management Studio. The backup process involves regenerating a snapshot of a database, and so ...
J. Maria's user avatar
  • 372
0 votes
0 answers
164 views

How to disable SQL Express Automatic updates

I have a deployment of MS SQL Express 2019 on a Windows 10 machine and I want to disable SQL Automatic updated (any update it may receive). How to do it? Thanks
Luka's user avatar
  • 4,095
1 vote
1 answer
70 views

MS-SQL Server query to find record where column row is part of nominated string using Classic ASP

The query needs to find a record where the value stored in a column row matches the nominated variable. For example the column row value might be https://example.com/docs/ and the nominated url might ...
Kendo's user avatar
  • 181
0 votes
0 answers
23 views

A form application throws System.NullReferenceException in the database if it is installed on another computer, but not on the development computer

Before getting into the subject, I would like to say that before getting to this problem I had to solve another one that I asked in the this link. Thanks to Erland Sommarskog, I think I have solved a ...
Aarón BD's user avatar
0 votes
0 answers
21 views

Ensure that 782 version of a SQL Server Express LocalDB 2014 (.mdf) is respected when importing it into Visual Studio 2017

I have a database that I have generated in SQL Express 2014 (its version right now is 12.0.2000.8). However, I have noticed that when adding it to Visual Studio 2017 as a local copy (to make it server ...
Aarón BD's user avatar
0 votes
1 answer
152 views

Raspberry Pi Debian 11 looking how to connect to SQL Server through python

I have tried multiple ways to create a connection but have been unsuccessful. I have attempted to install unixobdc. I get it downloaded but I cannot seem to get a driver... I am unsure what I am doing ...
KShaw's user avatar
  • 1
0 votes
0 answers
27 views

Getting EREQUEST error: Incorrect syntax near '{'

I have integrated SQL Server Express into my ReactJS website. I am able to retrieve data from the database table, but when I try inserting data from my website to the database, I get an error with the ...
sanchi jain's user avatar
0 votes
0 answers
77 views

DotNet EF 7 ignores changes in List<string> after mapping using AutoMapper

I am trying to fetch an object from an SQL-Express DB, map a new object to the it using AutoMapper, and then save changes to the DB with the updated properties. The source class properties: public int ...
Avshalom's user avatar
0 votes
1 answer
184 views

Convert instance name in SQL Server 2022 [closed]

I use a VM with a fresh installed SQL Server 2022 Express. Also installed latest SSMS 19. Normally I can refer to local databases as localhost. But it is not available. The only way to access local ...
Roland Bengtsson's user avatar
0 votes
0 answers
34 views

Group a timestamp column by day and add a column with the first and a column with the last value from that day [duplicate]

I have a timestamp table like this: t_stamp 2023-04-28 20:20:28.497 2023-04-28 20:00:27.940 2023-04-27 19:37:27.413 2023-04-27 16:55:26.817 2023-04-26 15:16:26.273 2023-04-26 12:04:25.753 I ...
Luciano Furini's user avatar
0 votes
0 answers
140 views

Cannot get result from tQuery after success connected to SQL Server 2019 Express from my old Delphi 7 (using BDE and SQL Server as Driver Name)

I'm trying to access into a database in SQL Server 2019 Express from my old Delphi 7 project that still using BDE and SQL Server as Driver name (for migration only). With the db1 (tDatabase) setting ...
Jasen's user avatar
  • 1
0 votes
2 answers
109 views

Blazor WASM SqlException: Cannot insert explicit value for identity column in table 'Categories' when IDENTITY_INSERT is set to OFF

Sorry for posting what might seem a duplicate but please bear with me! My first time working on a Blazor .NET Core applications with Entity Framework. My project is based of Thomas Beck's project from ...
Eliya Amanoeel's user avatar
0 votes
0 answers
141 views

How to store files in SQL Server varbinary(max) column from Access

I am building an application that uses SQL Server Express as backend and a frontend of MS Access. I am trying to store small pdf files in the database using the varbinary(max) column type. I am ...
DoShawhan's user avatar
0 votes
1 answer
209 views

Excel VBA - Insert worksheets into SQL Database

Hello im new to VBA and im struggling a bit, so i need your help. About the requirements: Every day a special csv file is updated by our CRM. From this Excel table 4 columns are to be written into a ...
Chewbacca's user avatar
  • 139
0 votes
0 answers
169 views

Unable to connect to my SQL Server (Error 0)

I am trying to connect to SQL Server using Management Studio, with 'sa' user, but I get this error: A connection was successfully established with the server, but then an error occurred during the ...
otacksverflow's user avatar
0 votes
1 answer
212 views

Unable to connect to local SQL Server database using JetBrains products

I'm having troubles trying to connect to a local SQL Server database on JetBrains products (DataGrip, PhpStorm...) although I'm able to connect using SQL Server Management Studio. The server name that ...
naspy971's user avatar
  • 1,167
0 votes
0 answers
52 views

how to convert selectitem in combobox with datarow value

I got error when I run my program that user choose item form combo box (from database) then program display a row that connect with value in list box This is my code: public partial class Form5 : Form ...
hana's user avatar
  • 37
1 vote
1 answer
90 views

MSSQL procedure to insert data in a table

I'm trying to create a procdeure to insert data in a table, but there is an error: Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= ...
Maxim Rudolovskii's user avatar
0 votes
0 answers
76 views

Parameterized query, parameter not passed Error, only on Win 11 asp.net Web Api

The web Api works 100% on windows 10 but as soon as I run it on a windows 11 machine it doesn't work. The error I get. System.Data.SqlClient.SqlException (0x80131904): The parameterized query '(@...
DarthNinja45's user avatar
0 votes
0 answers
1k views

Error when trying to install SQL Server 2022 Express Edition

I have been trying to install SQL Server 2022 Express Edition on my machine but I always get the same error which in summary mentions the following: "The account that is running SQL Server Setup ...
Francisco Javier Espinosa L's user avatar
0 votes
0 answers
100 views

Python SELECT with parameters: The data types text and nvarchar are incompatible in the equal to operator

Im trying to find out if an entry is already in the database like so: cursor.execute('SELECT id, text FROM dbo.tags WHERE text = ?', str(tag.text)) row = cursor.fetchone() In Microsoft SQL Server ...
Chud37's user avatar
  • 4,967
0 votes
0 answers
69 views

SQLExpress instance is definitely running but can not connect IntelliJ DB Navigator

I have SQLExpress installed and running and have created a database called "test". Using SQL Server Management Studio I am able to connect and carry out all operations: However when I try ...
mattsnow's user avatar
0 votes
0 answers
31 views

Clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions

Here is the query WITH PopVSVac (continent, location, date, population, new_vaccinations, RollingPeopleVaccinated) AS ( SELECT DEATHS.continent, DEATHS.location, DEATHS.date, ...
Marco Palayad's user avatar
0 votes
1 answer
69 views

SQL Server FREETEXT search not returning any results

For some reason, I do not get a result on the SQL Server Freetext search term with the following code. Both tables are fulltext indexed (in a catalog), and the query somehow works, but as mentioned, I ...
Bernhard Sailer's user avatar
0 votes
1 answer
4k views

Strong password for SQL Server doesn't follow the documentation

I'm installing a new instance of SQL Server Express with mixed mode for access. The password I'm setting is Abcd1234(). According to the docs for strong password guidelines, it's supposed to be valid ...
Konrad Viltersten's user avatar
-1 votes
1 answer
601 views

Connecting to a remote SQL Server (SQLExpress) gives "network-related" error, but works using Server Explorer in Visual Studio

I am using NET 6.0 and I cannot make it work. I am trying to connect using: var builder = new System.Data.SqlClient.SqlConnectionStringBuilder { DataSource = $"{ip}\\SQLEXPRESS, 1433", ...
ehtio's user avatar
  • 176
-1 votes
1 answer
189 views

saving record in VB.NET [closed]

Thank you for checking my code No matter what I do, the record is not saved, it does not give any error I copied the database file from another project to the root of my project I have a function ...
teymoorei's user avatar
2 votes
4 answers
53 views

Correct syntax for finding all rows with same ID when a certain cell contains a value

I've got to tables merged in SQL. Now i want the output to just show me all rows with the same ID's when a cell contains a certain text. This probably is peanuts, but I just can't seem to find the ...
Tonit Afrekensystemen's user avatar
0 votes
0 answers
104 views

TTL in sql express db

I need to TTL option in my sql express db' table. For example- I have a exampletable in my db. I want to set ttl on one week in this. Can I do that there? Best regards.
brbrbr's user avatar
  • 1
0 votes
1 answer
123 views

SQL Server Express Fargate health check

How do you add a Healthcheck that will pass for a AWS TargetGroup to sit in front of an SQL Server Express container running in ECS/Fargate? Do I need to have a ghetto side car service hosting "...
Dave's user avatar
  • 877
0 votes
0 answers
161 views

Why can't I see "Temporary Tables" under "tempdb" in VS Code?

I've worked with VS Code as my primary IDE for about 6 months and I think this has worked before. At least I can't remember that this would have been a problem. But, I also run Msn SSMS so if I'm ...
MarJer's user avatar
  • 97
0 votes
0 answers
314 views

Failed to update database "C:\Program Files (x86)\folder\dbRecords.mdf" because database is read-only

I am creating a C# WinForms Application along with SQL LocalDB. I am new to SQL. I have also added a setup project to create install the application to other PCs. When I installed the application, it ...
S. B.'s user avatar
  • 196
1 vote
0 answers
111 views

Unable to connect Bamboo to SQL Server Express

I am trying to configure Bamboo with a SQL Server Express database using JDBC however, every time I try the system attempts it then returns me to the set-up screen (see below). Password, Username and ...
Victoria's user avatar
0 votes
1 answer
2k views

Why do I have no TCP Port for my SQLEXPRESS?

I went to computer management-> SQL Server Network Configuration -> Protocols for SQLExpress -> TCP/IP but there is no TCP port. Is this normal? should I be assigning a number?.
user avatar
1 vote
1 answer
591 views

Updating connection string in IIS10 and SQL Server 2019 Express

I have a working web site that is running in IIS on Windows Server 2008 R2 and using SQL Server 2008 Express. I am trying to port the entire site to Windows Server 2022 using SQL Server 2019 Express. ...
htm11h's user avatar
  • 1,739

1
2 3 4 5
35