Quantcast
Channel: SQL Server Express forum
Viewing all 3319 articles
Browse latest View live

Failed to install and start SQL Server.

$
0
0

I have SQL Server Express 2017 on  a Windows 10 Home. Its my development machine. 

My SQL Server sttoped working, when I tried to start it, i get some messages on event log saying that there were problems with NT SERVICE\MSSQL$SQLEXPRESS user profile temp folder due to insufficente security rights. I couldn't get this fixed, so i uninstall SQL Server and its related services, remove NT SERVICE\MSSQL$SQLEXPRESS user from windows, deleted the MSSQL$SQLEXPRESS folder from c:\Users and tried to install again.

At then end, the installation gaves me the messagem: Wait on the Database Engine recovery handle failed. The SQL Service was added to the services list, but gaves me an error on starting. I check the sql server ERRORLOG file, and found this message:

FCB::Open failed: Could not open file d:\dbs\sh\sprel\0822_164025\cmd\33\obj\x64retail\sql\mkmastr\databases\mkmastr.proj\MSDBData.mdf for file number 1.  OS error: 3

I don't have a d: drive, neither a folder like that on my computer. 

Could you help me fix that? 


Márlon Medeiros Brum


SQL Server Express is damaged, want to delete and reload 2019

$
0
0

I was trying to install SQL Server Express 2017 on a new Windows 10 machine and ran into an "oops...rules" message. So I then tried to remove all SQL related items using "Programs and Features".  That did not work as so I deleted a number of folders under Programs/Microsoft/Microsoft SQL Server.  That did not work so I took a look at the registry and it would not let me modify anything. 


This is a new PC and I could probably restore the Programs/Microsoft/Microsoft SQL Server from my old PC (one week).  There hasn't been any use of that folder, except to back up all the DB files in it.


I may be able to get some help on 12/26, however, I'm hoping I can make some progress or at least learn some things between now and then.


In the meantime I decided to install SQL Server Express 2019:  SQL2019-SSEI-Expr.exe.  When I run that, it says:  "another instance of this application is already running".  However that's not obvious from Task Manager Applications or Processes; I don't see anything that says "SQL".


Below is what I have for the Registry and for the Program Files.

Any guidance on how to get from here to a working copy of SQL Server Express 2019 would be appreciated.

Thanks!



MS SQL Server Management Studio 2014 - Backspace, Enter Key, Arrow Keys Have Stopped Working in Text Editor.

$
0
0

I've had MS SQL Server 2014 Express installed and working on my Windows 7 machine for quite a few years now. 

I am now seeing that the backspace, enter, and arrow keys no longer work when writing a query in the Management Studio text editor. 

It cannot be my keyboard as these keys work fine in all other Windows applications, including Office and Visual Studio. 

Any/all assistance gratefully accepted. 

Here is the Help...About information:

Microsoft SQL Server Management Studio                12.0.2000.8
Microsoft Analysis Services Client Tools                    12.0.2000.8
Microsoft Data Access Components (MDAC)             6.1.7601.17514
Microsoft MSXML                                                     3.0 6.0
Microsoft Internet Explorer                                      9.11.9600.18893
Microsoft .NET Framework                                      4.0.30319.42000
Operating System                                                   6.1.7601

is SQL Server 2017 Express Free , Can I use in Enterprise ?

$
0
0

 is SQL Server 2017 Express Free , Can I use in Enterprise ?

Can I install SQL Server (2014 or higher) on a Surface X w/ ARM processor running W10 Home?

$
0
0

I've got a user that I need to install ACT!22 on his new Surface X. Is there a version of SQL that will install given the system configuration he has?  ARM processor, Win10 Home?? 

TIA for any info anyone can provide!

DJF

install sharedwowdir not valid error

$
0
0

I have an installsharedwowdir error .

Teh error says: Please ensure the specified path is valid and different than the INSTALLSHREDDIR

my question : how can i totally remove SQL server 2008 r2 enterprise (program??)

So i can to install a correct SQL 2008 R2 enterprise version

 

Allow IP connection

$
0
0

I have a SQL 2008 express and installed SQL management studio.

Now I found that when I use localhost\sqlexpress , .\sqlexpress or domain_name\sqlexpress can connect SQL database ,however using IP address eg.  IP_address\sqlexpress can not connect SQL database

I search from google , it can be changed to allow IP address to connect by using SQL server configuration manager , as below url.

https://blogs.msdn.microsoft.com/walzenbach/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008/

I would like to ask

1) can SQL management studio and SQL server configuration manager installed and run together on SQL server ?

2) By using SQL management studio , select "Allow remote connection to this server" includes allow IP address connection ? no need to use  SQL server configuration manager to allow IP address connection ?

thanks

Can I install some sort of management studio on SQL 2012 Express setup by a separate software package?

$
0
0
I have a server that's hosting a piece of software.  This software installs an instance of SQL 2012 Express for it's data management.  The instructions they provide for backup/restore consist of manually stopping the SQL service, and copying the MDF/LDF files elsewhere.  I'd prefer a scheduled SQL managed backup.  Can I install management tools for this instance of 2012 Express?  My Google-fu has failed me thus far.

SSL Self Signed Fallback certificate

$
0
0
I have a large number of client machines running SQLExpress as their offline database to be used when disconnected from the network.  When the machines are scanned with Nessus, they come back with a vulnerability related to the SSL Self Signed Fallback certificate.  I know how to solve this manually by using Sql Server Configuration Manager, but is there a way to push this out to all the machines via group policy or another mechanism so that I don't have to touch every client machines separately?

Retail POS w SQL 2005 upgrade

$
0
0

Hello

I'm struggling to perform am upgrade from SQL 2005 to any version of SQL that's higher. However, first, a bit of background.

My retail shop uses Microsoft Dynamics 2.0 which originally came with SQL 2005. It's now January 2020 and I'm attempting to ditch Windows 7 by fresh installing Windows 10. In this regard I'm also trying to get SQL higher than 2005.

An upgrade from 2005 always ends the same: Service 'SQL Server VSS Writer' (SQL Writer) failed to start.

What I've tried:

  • Windows 10 > SQL 2017 > RMS (exc SQL 2005) > no VSS writer error > Open port 1433 > can connect to db locally, but not from a client
  • Windows 10 > RMS (inc SQL 2005) > SQLServer2005_BC_x64 > Upgrade to SQL 14 or 17 > VSS Writer error (ignored) > restore database > open port 1433 > clientcan connect

In an scenario I've been able to restore the backup database without issue. If I don't install SQL 2005, I have to enable the sa account with Microsoft Dynamics does automatically.

Any clues about how I can get SQL 2005 upgraded and have a functioning VSS writer?

sqldependency , Sql server 2017 express

$
0
0

Does sqldependency  works with express edition of sql server 2017 ?

On the internet they say it works , but work for me with sql 2019 entreprise and doesn't for 2017 express.

ty for help

SQL Server Express AWS

$
0
0

Is there a limitation to the number of SQL Server express instaces a user can set up?  Receiving an error on AWS stating we need additional licenses to deploy new RDP.   I am not aware of any restriction on Microsoft's side but I wanted to check with the broader community.

Thanks,

Mike


Mike

Directory lookup for the file failed with the operating system error 5

$
0
0

Hi

I have a Windows desktop application that uses a SQLServer Express database.  The database files are downloaded from my website, followed by the application download (written in VBE).  The first procedure is to attach the database to the SQLServer instance from within the application. I have two test machines one runs Windows XP x84, the other Windows 7 x64.  I never have issues on attaching the database files in my test envirnoment but twice now other people downloading have got the following error

System.Data.Sqlclient.sqlexception (ox 80131904) Directory lookup for the file C:\Documtents and Settings\Administrator\Desktop\Tem1.mdf failed with the operating system error 5 (failed to retrieve text for this error. Reason 1815) changed database context to 'master'.

I'm not sure what the problem is and therefore how to correct the issue.  I attach the database in code using the create statement e.g.

cmd7.CommandText = "USE Master CREATE DATABASE Tem1 ON PRIMARY (FILENAME = '"& DBFullPath & "') LOG ON (FILENAME = '"& DbLogPath & "') FOR ATTACH"

Any help or suggestions would be very much appreciated.

Chris

 

 

run batch job

$
0
0
I have a batch job as below , which is prepared by previous colleague , to export data from SQL database ( SQL server 2000 run on windows server 2008)

dtexec /f db.dtsx

Now , I have migrated the server to SQL 2008 express and windows server 2016 .

I just try to run it on the new server but not work , therefore , I would like to ask what I need to change to the batch , so that it can be run on new server  ? do I need to convert the batch ?

thanks

Copy a database with copy the .mdf file and attaching it with a new name?

$
0
0

Hello,

if i have a given database (a model) and i want to copy this database in the same database instance. Is it ok to copy the mdf and ldf file and attach the files with a new database name in the same instance.

Or is the datebase name part of the .mdf file?

Regards
Markus

 

 

 


Install of SQLServer2017-SSEI-Expr.exe fails with "A required file could not be downloaded...."

$
0
0

I have downloaded the free version of SQL Server 2017 Express Edition.  Upon trying to install, it fails with

"Oops....A required file could not be downloaded.  This could mean the version of the installer is no longer supported.  Pleas download again from the download site.  https://go.microsoft.com/fwlink/?LinkID=853017 "

When I click the link it downloads another instance of the same executable.  This second instance renders the same error message.

OS is Windows Server 2016

Running install as an Administrator.

Tried SQL Server 2016 Express Edition and that executable also gave me the same error message.

This is a clean installation in the sense that no prior versions of SQL Express have ever been installed.

I cannot find an installer that has the complete build (ie. will install without trying to go outside to download anything else).

Thanks for any help / advice.

How to round value that I'm querying from a table

JDBC with SQL Express

$
0
0

The java code :

  Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");

   String connectionUrl = "jdbc:sqlserver://localhost:1433;" +
     "instance=SQLEXPRESS;databaseName=UPM;integratedSecurity=true;";
  Connection con = DriverManager.getConnection(connectionUrl);

returns "connection refused" no matter what I do.

 

I've used the surface config tool to enable TCP, I've added sqlsrvr.exe to the firewall exceptions, I've tried a dozen or so variations on the connection string.

I can connect to the database using the Management Studio.

 

Any ideas what I'm missing ????

Thanks.

Windows Installer 3.1 for Win XP SP3 ?

$
0
0

I am need of a Windows Installer that can install SQLServer2008v2-Express inWindows XP Pro 32bit Service Pack 3.  Microsoft Download Center says "Windows Installer 3.1 v2 (3.1.4000.2435) is available)", but when you go to the download it is a blank page that says"Server Error 404 - File or directory not found...The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable."  I have tried Windows Installer 3.1 Redistributable (v2) and it will not install in XP-SP3. I can not install SQLServer2008v2-Express on my Guest-XP on my Host-Win10 Hyper-V without it.

I would sure appreciate some help on this. Thank You!!!

Cannot save password for new login created

$
0
0

I'm using SQLExpress with Mgmt Studio V18.3.1.  When I create a new login (right click on Security/Logins folder, New Login...), I choose SQL Server Authentication, then supply the Login name and password, as well as the default DB, then hit OK to save.  I can't log in with this, and when I log in the normal way (Windows authentication) and then find the new login (again going to Security/Logins)and look at its properties, I see that the password is different (I can't see what it is, but it's longer, 15 characters long).

I've repeated this several times with new logins, and each time it shows a password that is 15 characters long, which I did not do.

Is this a limitation?  Its as if it asks for a password but then ignores it and uses some other probably pre-existing password.  What gives?

Viewing all 3319 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>