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

Unable to install SQL Server Express Edition

$
0
0

Unable to install SQL Server Express Edition, and is not giving any sort of error message or information to understand where the problem is.

It is just waiting at 42% completion.

Please Help

Regards,
Sandeep


SQL Server 2008 R2 RTM, Express Ed; tempdb not installing with installer

$
0
0

Hi - We're a product provider, and install SQL Server 2008 R2 RTM (10.50.1600.1), Express Edition, with our product via the standard Microsoft installer.

We have many installs under our belt, and have recently run into a single Windows 7 customer/user (so far) who's seeing a failure of the SQL Server install.  The tempDB database is not installing in his "ProgramFiles\..\MSSQL\DATA" directory.  Note that other system databases (i.e. master, model) are present in his DATA directory after install.  Also note that "ProgramFiles\..\MSSQL\TEMPLATEDATA" directory does in fact contain tempDB (along with the other system DB's).  It's just failing to install in his DATA directory.

As a result, SQL Server service won't start and our product won't run.  He's tried an uninstall/reinstall with admin privs more than once, with the same result.  Error from logs: "Could not create tempdb you may not have enough disk space available ….
Unable to open the physical file “e:\sql10_main_t……".  Note that he has over 200GB available, and doesn't have an e:\ drive.  I tried to start him up via cmd line (SQLCMD -S .\instanceName), but no joy: connection timed out, Named Pipes Provider: Could not open a connectin……..  Rationale why this install fail may happen with those results, and ways to correct?  Searches have yielded very little to date.  Thanks!

SQL Server cannot connect to Local DB

$
0
0

Hi

I have installed SQL Management studio 2014 express on my local machine. but after entering server name as localhost\SQLEXPRESS there is the below error. Please help

"Cannot Connect to localhost\SQLEXPRESS"

I have checked no service with name SQL Express is showing. Even 2014 configuration manager is not showing any server.

Please suggest possible solution

Report Builder crashes on start

$
0
0

I cannot start Report Builder anymore. I am trying out the one from SQL2016 ctp3.

The error is this:

Problem signature:
  Problem Event Name:CLR20r3
  Problem Signature 01:MSReportBuilder.exe
  Problem Signature 02:13.0.1400.361
  Problem Signature 03:5708cb5a
  Problem Signature 04:System
  Problem Signature 05:4.6.1075.0
  Problem Signature 06:56cfa343
  Problem Signature 07:364
  Problem Signature 08:73
  Problem Signature 09:System.UriFormatException
  OS Version:6.1.7601.2.1.0.256.4
  Locale ID:1033
  Additional Information 1:0a9e
  Additional Information 2:0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:0a9e
  Additional Information 4:0a9e372d3b4ad19135b953a78882e789

Please help.

Express 2016 with Advanced Options

$
0
0

Is Express 2016 with advanced options, the install page suggests that the installer should provide install options but it doesn't, and the express 2016 product page lists 'with advanced options' as an available install option.

Any suggestions?


Where can I download SQL Server 2012 Management Studio Express?

$
0
0

hi 

i need help you 

i installed vs 2012  express

now i want download sql server management studio 2012 express 

but i have sql server 2012 express jun i need management studio 2012 express

thank you 


creating sqllocaldb an instance in code

$
0
0

Hi,

I created an windows app that check for an sqllocaldb 2012 instance and if one is not there it create it.   It work on my pc and windows 7, but does not work on windows 8.  The error is "Your SQL Server installation is either corrupt or has been tampered with (Unknown package id).  Please uninstall then re-run setup to correct this problem"  In the event log the message is "Winows API call WaitForMultipleObjects returned error code 575.  Windows system error message is: {ApplicationError}  The application was unable to start correctly (0x%lx)  Click OK to close the application Reported at time 3621"   If I run sqllocaldb create instancename command in dos it work.  I run the same command in c# and get the error.   Any ideas.

Thanks

Mark

Calculated Fields in RDLC reports

$
0
0

Hi, am having a calculated filed in a view(query) in ms sql server 2008, but the field do not display in ms report viewer (rdlc).

please i need your assistance.

am new in programming. thanks


Backup database SQL Server by month (Not Full Backup)

$
0
0

Hy friends,

I have a problem

I have database that was created from 2013, 

I want to backup database from January, 2016 until now

Does anyone can help me ?, is there any script that can Backup part from SQL Server (not full all data in database)?

thank you for your help

Regards,

Steve Henry

MSSQLLocalDB Instance Issue

$
0
0

Hi Guys,

I am having an issue that when I try to connect a web application to the SQL Server 2016 LocalDB it am getting the following error thrown by the application;

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: 50 - Local Database Runtime error occurred. Cannot create an automatic instance. See the Windows Application event log for error details.
)

When I look in the event log in find the below error;

LocalDB parent instance version is invalid: MSSQL12E.LOCALDB

If I install MS SQL Server 2014 LocalDB I get an error saying that the MDF File is of a new version than is supported by the server. The MDF File is v13.

I am guessing that the SQLLocalDB of V13 is not starting for some reason but can't seam to find why. Does anyone have any Idea what is going on or what might be causing the issue.

I have tried uninstalling and reinstalling the application but this hasn't resolve the issue.

The Server is running Windows Server 2012 R2 with all updates installed.

Any suggestions or pointer would be helpful at this point as it's driving me up the wall :(.


TPark IT Technician

How to Find Sql Script in an Application?

$
0
0

Hi there.

How to find sql script in a web application? I have a website with user log in credentials, can I have any possibility to trace a SQL code? Or we have any third party tools that helps?

Please help.

Thanks.

Chandu

Changing The Select Command On The Fly

$
0
0

Hello:

I am writing a small windows 7 data application in VB2013 using SQL Express 2014. The form displays data for various parts. There is a combobox at the top that allows the user to select the desired group of parts. Each time a new group is selected, the SQL Select Command is changed to reflect the desired part group. (I do not wish to use a bindingsource filter to select the parts group as there were problems with adding new parts).

The code works as far as clearing the dataset and loading the new group of parts. The problem comes in when I attempt to add new parts to a group. The error message is "Error #5 - The variable name '@CM_KEY' has already been declared. Variable names must be unique within a query batch or stored procedure."

I would be grateful if someone could lend me a hand with this issue.

Thanks,

Developer Dude

Using SQL Server 2012 Express with Bitocker

$
0
0

Hello,

I'm currently working on getting our SQL Server Express database working with BitLocker but I am coming across a few problems. Here is my scenario:

  • The OS is partitioned into two volumes (C and D).
  • The C volume contains the OS and Software, while the D volume is primarily used for the database files (logs, back, and mdf).
  • The D volume is encrypted using BitLocker
  • The database connects using the SA account (SQL Server Authentication)

From what I understand, BitLocker must be enabled with the same account that the SQL Server is running on. So what I have done is change the SQL Server service account to the user account (lets say its called User) via SQL Configuration Manager. While staying logged into User account, I then enable BitLocker via Control Panel -> System and Security -> BitLocker Drive Encryption. I then reboot and then while the software is trying to connect to the database I get the following  exception:'login failed for user sa'.

Is there anything I need to do to get this working? Thanks for the help.

how to undo sql server data

$
0
0
Hi there...

Is it possible to undoing the restore database??

I accidentally restore an old database backup to my current database!!
The worst is I don't have any new backup for my current database....

So ... does anybody here know how to solve this problem??
Can I undo the transaction log?? if it is possible.. could you please teach me the way to undo it?? I'm desperate.....

I'd greatly appreciate if you can answer me....

Pulling data from Salesforce with sql

$
0
0

When I pull data from salesforce with the datatype reference into sql in comes in as string but this is the result:

001E000001UOlZkIAL

In salesforce its a name like John Doe.

How can I convert it back to a readable format?


When Upgrading from SQL Express 2005 to SQL Express 2008, the upgrade fails with SID value.

$
0
0

Hello,

We are facing issue when trying to upgrading from SQL Server Express 2005 to SQL Server Express 2008 R2 the up gradation failed with error message "Security Group SID(Security Identifier)".

We are trying to upgrade Backup Exec 2010 R3 SP4 to Backup Exec 2014 on domain controller and it required SQL Server Express 2008, and we have SQL Server Express 2005 installed on our server and trying to upgrade to SQL Server Express 2008 R2 but no luck.

We tried to troubleshoot the issue but no luck.

Thanks,

"Component error code: 0x84BB0001" while installing SQL Express 2014 with adv. services

$
0
0

OS: MS Windows 10 Enterprise

During the installation I get theerror message. In summary I can see:

"  Feature:                       Reporting Services - Native
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
  Component name:                SQL Server Browser
  Component error code:          0x84BB0001
  Error description:             Attempted to perform an unauthorized operation.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0x88792597%400xBB814387&EvtType=0x88792597%400xBB814387"

The link gives no solution to my problem. Generally SQL Server installer represents the level of error handling taken from 70. :-(

What is the reaseon of the error and how can I solve the problem?


Having continuous issues getting SQL 2014 Developer Engine running

$
0
0
I am normally a MySQL guy which can setup and use with no issues but a project im working on i need to use MS SQL 2014 as the database engine but im struggling getting it to run on my local machine.... which is blocking me now moving forward with the application im developing in PHP...

I have uninstalled and reinstalled literally around 15 times but wont connect, i opened up "SQL Server Configuration Manager" today and notice the service "SQL Server (MSSQLSERVER)" was not running but when i try to start the service i get:

> The request failed or the service did not respond in a timely fashion. Consult the event log or other application error logs for details.

I checked the firewall and is not that, i added the Inbound TCP port and even disabled the firewall but same issue so i assume that is not the problem.

I opened the Event Viewer and see the following (Good few warnings, but listed just the errors below)

> ERROR: Initializing the FallBack certificate failed with error code: 1, state: 20, error number: 0.

> TDSSNIClient initialization failed with error 0x80092004, status code 0x80. 
Reason: Unable to initialize SSL support. Cannot find object or property. 

> TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property. 

> Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.

> SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.

I tried to start the service via CMD and got the following:

> C:\WINDOWS\system32>net start mssqlserver
> The SQL Server (MSSQLSERVER) service is starting..
> The SQL Server (MSSQLSERVER) service could not be started.

> A service specific error occurred: 2148081668.

> More help is available by typing NET HELPMSG 3547.

I just run setup again doing a repair and got the following:

> Management Tools **Succeeded**

> Client Tools Connectivity **Succeeded**

> Client Tools SDK **Succeeded**

> Client Tools Backwards Compatibility **Succeeded**

> Management Tools - Basic **Succeeded**

> Database Engine Services **Failed**

Action required:
Use the following information to resolve the error, and then try the setup process again.

Feature failure reason:
An error occurred during the setup process of the feature.

Error details:
§ Error installing SQL Server Database Engine Services Instance Features
The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
Error code: 0x84B40002
Visit http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.5000.0&EvtType=0x4971D227%401204%402&EvtType=0x4971D227%401204%402 to get help on troubleshooting

> Data Quality Services **Failed**

Action required:
Use the following information to resolve the error, and then try the setup process again.

Feature failure reason:
An error occurred for a dependency of the feature causing the setup process for the feature to fail.

Error details:
§ Error installing SQL Server Database Engine Services Instance Features
The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
Error code: 0x84B40002
Visit http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.5000.0&EvtType=0x4971D227%401204%402&EvtType=0x4971D227%401204%402 to get help on troubleshooting

> Full-Text and Semantic Extractions for Search **Failed**

Action required:
Use the following information to resolve the error, and then try the setup process again.

Feature failure reason:
An error occurred for a dependency of the feature causing the setup process for the feature to fail.

Error details:
§ Error installing SQL Server Database Engine Services Instance Features
The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
Error code: 0x84B40002
Visit http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.5000.0&EvtType=0x4971D227%401204%402&EvtType=0x4971D227%401204%402 to get help on troubleshooting

> SQL Server Replication **Failed**

Action required:
Use the following information to resolve the error, and then try the setup process again.

Feature failure reason:
An error occurred for a dependency of the feature causing the setup process for the feature to fail.

Error details:
§ Error installing SQL Server Database Engine Services Instance Features
The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
Error code: 0x84B40002
Visit http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.5000.0&EvtType=0x4971D227%401204%402&EvtType=0x4971D227%401204%402 to get help on troubleshooting

> Distributed Replay Client **Succeeded**

> Distributed Replay Controller **Succeeded**

> Integration Services **Succeeded**

> Data Quality Client **Succeeded**

> Reporting Services - Native **Succeeded**

> Analysis Services **Succeeded**

> SQL Browser **Succeeded**

> Documentation Components **Succeeded**

> SQL Writer **Succeeded**

> SQL Client Connectivity **Succeeded**

> SQL Client Connectivity SDK **Succeeded**

> Setup Support Files

In SQL Server Configuration Manager here are the list of services and statuses:

 - SQL Server Integration Services 12.0 (State: Running | Start Mode: Automatic)
 - SQL Full-text Filter Daemon Launcher (MSSQLSERVER) (State: Stopped | Start mode: Manual)
 - SQL Server (MSSQLSERVER) (State: Stopped | Start Mode: Automatic)
 - SQL Server Analysis Services (MSSQLSERVER) (State: Running | Start Mode: Automatic)
 - SQL Server Reporting Services (MSSQLSERVER) (State: Running | Start Mode: Automatic)
 - SQL Server Browser (State: Stopped | Start Mode: Other(Boot,System, Disabled or Unknown))
 - SQL Server Agent (MSSQLSERVER) (State: Stopped | Start Mode: Manual)

Ive checked netstat -a and dont seem to be using the port, so not sure whats happening. Got a really tight deadline on this project and so far this is really blocking me, as i say im not normally MS SQL guy so hoping someone might know or be able to help me out with getting this running as a fellow developer :)

Oh ive also tried following the help links provided on the error screens i get but they dont work... just get taken to a default homepage on MS lol

How to Add Alias Name and Have all Blank Data in Column?

$
0
0

I'm trying to add a column, as a place holder, in SQL Server.  I keep getting different errors, like 'can's add column name' and 'each GROUP BY expression must contain at least one column that is not an outer reference'.

In Access all you do is:

Rationale: ""

That's it.  How can I do the same in SQL Server?  All I need is some columns with names to server as placeholders, until I get real data.

Thanks.


MY BOOK

ODBC Connection

$
0
0
Is it possible to connect multiple users to SQL Server Express (any edition) at the same time via ODBC through Excel? Also can Windows Authentication through AD be used with SQL Server Express?
Viewing all 3319 articles
Browse latest View live