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

protecting my Sql Server DB with a password

$
0
0

Hi.

I have created a DB on Sql Server 2008 R2 Express. Currently this DB is attached tomy instance of SQL Server Express which is password protected (not the SQL Express instance). I have created the instance password on the sa account. This was the easiest arrangement so that my C# application can access the DB. The C# aplication is a windows based application which is deployed to different users machines and accessed the DB using the sa acct and password.

But with this arrangement, one could potentially take the mdf,ldf files and attach the DB to their own instance of Sql Server and then be able to access my relational database design. Is there a good way to protect my DB so that when the files are moved, the tables, views etc cant be viewed?

Thanks.


Can't download install files

$
0
0
I can't download the SQL Server Express install files.  When I click the download link on the page (https://msdn.microsoft.com/en-us/sqlserver2014expressresources?download=direct&url=http://care.dlservice.microsoft.com/dl/download/E/A/E/EAE6F7FC-767A-4038-A954-49B8B05D04EB/ExpressAndTools%2064BIT/SQLEXPRWT_x64_ENU.exe), I get sent to a Profile Center page, and when I fill out that page and click "continue", it sends me back to that page rather than starting the download.  Could somebody direct me to a link to the downloadable file? Thanks. 

Looking for SQL 2005 Backwards Compatibility ((( 8.05.2309 )))

$
0
0

We need to find the install for SQL 2005 Backwards Compatibility 8.05.2309   64 bit.

Can someone help with locating the install for this?

Thanks in advance for your assistance

Ed

VISUAL STUDIO 2013 COMMUNITY - SQL SERVER (LocalDB)

$
0
0

IM TRYING TO FIND THE WAY TO CONNECT TO THE LOCALDB\V11.0 SQL SERVER SO ICAN CREATE MY DATABASES FROM WITHIN MY VB.NET PROJECT WITHOUT HAVING TO MANUALY CREATE A DATABASE AND ASSOCIATE IT WITH THE VB.NET PROJECT

SO FAR I'VE USED THE FOLLOWING TO BE ABLE TO CONNECT BUT

Dim ConnectionString AsString="Data Source=(LocalDB)\v11.0; "_+ "AttachDbFilename=C:\Users\*********\documents\visual studio 2013\Projects\CreateSqlDb\CreateSqlDb\Database1.mdf;"_+"Integrated Security=True"

and Im able to create the dababase somewhere else by executing the following sql command:

Dim sqlStatement AsString= _

     "IF EXISTS (""SELECT * "&"FROM master..sysdatabases "& _

         "WHERE Name = 'DDailyDb')"& vbCrLf & _

     "DROP DATABASE DDailyDb"& vbCrLf & _

         "CREATE DATABASE DDailyDb"

I want to connect to the server on based on the master system databases so that I can avoid the manual process, Thanks in advance for your help.

           

           

           

           

           

           

 

 

Setup failed for SQL Server 2005 express edition [SQLEXPR.exe]

$
0
0

Good day All,

My client has already SQL Server 2005 SP3 installed. We are in process of providing him a new .net application but he wants existing version of SQL untouched. We asked him to install SQL Express version (SQLEXPR.exe) and configured web.config to local (.\SQLExpress). However client is getting message - 

"Setup failed.

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.4035.00&EvtSrc=setup.rll&EvtID=50000&EvtType=sharedsetup%5csharedsetupactions.cpp%40LoadResourcesAction%40sqls%3a%3aLoadResourcesAction%3a%3aperform%400x0"

I am in a fix. What could have gone wrong? Clearly it has something to with already existing version. Just for information, client keeps his SQL services (using SQL Server Configuration Manager) in a stopped state. Could that be an issue?

Appreciate any one helping me out.

Thanks

Sandeepbwes

Error when installing SQL Server 2014 Express

$
0
0

I am running a Win 8.1 desktop 64bit (fully updated) with already installed SQL Server 2012 and Visual Studio 2010 and 2013 (non Express versions). I need to keep SQL Server 2012 for development purposes but also need SQL Server 2014 for a database provided to me by others which needs this version. I found out it should be possible to run the two versions side-by-side. During installation of SQL Server 2014 Express I selected all features except 'Local Db' and used a named instanc

e. The setup runs through without any notice of problems but at the end fails with error code 1638 the reason being 'Error installing Microsoft Visual Studio 2010 Redistributables'. Also at the end a window pops up mention 'The working of SQL Server 2014 stopped - Trying to find a solution'. Doing nothing on my part the window disappears and nothing else happens. So I uninstalled any 'Redistributable' and ran setup again. Same result though both 'Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4974' and 'Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219' re-appear in Control Panel as being
p
roperly installed! All features are marked as 'failed' with one and the same error 1638. Even tried just upgrading to see if that would work but also here same error.  
I have not been able to find the proper solution so I am now stuck. Hopefully someone can give me the right steps to take? Ruud van der Spoel

I can not add a mdf file into app_data folder

$
0
0

1. My sql express is active

2. Database is connected

However, when i want to add the mdf file into my website app_date folder, it said that you can't add this mdf file into app_data folder, denied access.

Downloading SQL Srvr Express w/ Tools 2014

$
0
0
I keep trying to download SQL Srvr Exp w/ Tools 2014 from the MS Download Center but it keeps taking me back & forth to my user profile.  Oddly enough, I've downloaded the 2012 Business Intelligence version without issue.  Any assistance anyone could provide would be greatly appreciated.

Sql Server Express 2012 install failure

$
0
0

I have attempted to install sql server 2012 express and keep getting the same error "Attempted to perform an unauthorised operation"  It appears to happen while installing "SqlBrowserConfigAction_repair_ConfigNonRC_Cpu32".

The Log has the following:

Detailed results:
  Feature:                       Management Tools - Basic
  Status:                        Passed

  Feature:                       Database Engine Services
  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=11.0.3128.0&EvtType=0xE32A4906%400x92D13C14&EvtType=0xE32A4906%400x92D13C14

  Feature:                       SQL Server Replication
  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=11.0.3128.0&EvtType=0xE32A4906%400x92D13C14&EvtType=0xE32A4906%400x92D13C14

  Feature:                       SQL Browser
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred during the setup process of the feature.
  Next Step:                     Use the following information to resolve the error, and then try 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=11.0.3128.0&EvtType=0xE32A4906%400x92D13C14&EvtType=0xE32A4906%400x92D13C14

Can anyone see what I am doing wrong?

Thanks in advance

Brad


BHend

Error Installing SQL SERVER 2012 Express

$
0
0

Hello Everyone, i have this problem:

When i try to install SQL SERVER Express 2012 on Windows 7 Ultimate 64b, appears the error "Can't fin registry key (MSDTC)", i try to follow the instructions of other forums, but the file "msdtc.exe" not found in the computer.

Then i try to copy from other computer but only i have Windows 8, and doesn't Work (The copy).

Also I install SQL Server 2012, but the services doesn't start, I think it's for the same error, then I uninstall the SQL server Again.

I search in the net, but nobody reports the file "msdtc.exe" not exits in the OS, then I think, Ii have the unique computer that don't have the file????

Please somebody answer my question, where i could find the file msdtc.exe for download?, this file will fix the problem?

Sorry for my english.

Thank you all.

The SELECT permission was denied on the object 'extended_properties', database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229)

$
0
0

I have created a user and given him the owner rights for the database.  Though I can LogIn as the user, I cannot access the databases.  I am having the error mesage:

Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

The SELECT permission was denied on the object 'extended_properties', database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=229&LinkId=20476

 


Sha_woop

SQL Server consistency errors in database

$
0
0

We have had an issue with our RMS_Headquarters(front end application to access database) database running on SQL Express 2005.

After checking all the event log on server, I came across few errors related to hard disk and sqlserver.

disk error snapshot

sqlexpress error

I have executed two commands as follows to find out any error in disk or on sql database.

chkdsk : System found bad sectors on hard disk I ran this code without /f to just get the information.

DBCC CHECKDB with ALL_ERRORMSGS, NO_INFOMSGS and the outcome was as below.

I ran chkdsk /f to resolve the disk error. This command helped to get hq database up and running (application was working fine from this point). I also ran DBCC CHECKDB with ALL_ERRORMSGS, NO_INFOMSGS on sql server to check database status. DBCC executed with few errors, please see below.

Msg 8928, Level 16, State 1, Line 1
Object ID 1429580131, index ID 1, partition ID 72057598907908096, alloc unit ID 72057598960730112 (type In-row data): Page (1:235150) could not be processed.  See other errors for details.
Msg 8941, Level 16, State 2, Line 1
Table error: Object ID 1429580131, index ID 1, partition ID 72057598907908096, alloc unit ID 72057598960730112 (type In-row data), page (1:235150). Test (sorted [i].offset <= m_freeData)
failed. Slot 0, offset 0xffff is invalid.
Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 1429580131, index ID 1, partition ID 72057598907908096, alloc unit ID 72057598960730112 (type In-row data). Page (1:235150) was not seen in the scan although its
parent (1:306430) and previous (1:235149) refer to it. Check any previous errors.
Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1429580131, index ID 1, partition ID 72057598907908096, alloc unit ID 72057598960730112 (type In-row data). Page (1:235151) is missing a reference from previous page
(1:235150). Possible chain linkage problem.
CHECKDB found 0 allocation errors and 4 consistency errors in table 'TenderEntry' (object ID 1429580131).
CHECKDB found 0 allocation errors and 4 consistency errors in database 'RMS_Headquarters'.
repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (RMS_Headquarters).

System Information:

  • OS: Windows Server 2003 R2
  • SQL Server: SQL Server 2005 (9.0.4035)

I have a backup from Sunday(20th April 2015) evening, that backup doesn’t report any error.

Please advise me what should be done in this matter: (a) restore the database from a backup dated 20th April 2015 (what data from 21st onwards will be lost) (b) continue with this database and ignore the ‘tenderentry’ table errors

Your help will be appreciated.

Regards

Pratik

SQL Server express Installation

$
0
0

Downloaded SQL Server Express 2012 and when I went to use the import export I get the following:

SQL Server Express 2012

$
0
0

wont let me upload a screen shot yet.

msg is "The 'DbProviderFactories' section can only appear once per config file. (System Configuration)

login failed for user ID 'sa', but not using user 'sa'

$
0
0

I know the SQL Server error log is correct:  Login failed for user 'sa'. Reason. Password did not match.....

SQL Server 2012 Express on a Server2012

I create an connection string for my C# desktop application using a text file connect.udl.  Open it up with OLE DB Core Services, enter the user ID 'myapplication' and the associated password.  Test connection and Test connection succeeded.  Copy the resulting connection string into my application (I am changing the app to point at a new SQL Server, this database server and connection method has been working for years pointing to the previous SQL server 2000).  SSMS logins in using SQL Authentication and 'sa' and password and myapplication/password.

With the connect string as Provider=SQLOLEDB.1;Password=#$%&;User ID=myapplication.... the error message says 'sa'.  So I'm not sure what else to look at - I'm not logging in as 'sa'.  

SQL Configuration has Named Pipes and TCP/IP enabled.  SQL Browser is running.  Another database table is is working fine! Where else can I look?  Is there a permission setting for my desktop application?  Thanks


Cant debug asp.net project

$
0
0

Server Error in '/' 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: 26 - Error Locating Server/Instance Specified)

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Exception: 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)Source Error:

Line 41:             catch (Exception e)

Line 42:             {

Line 43:                 throw new Exception(e.Message.ToString());

Line 44:             }

Line 45:             finally

Source File:D:\helpdesk\HelpDesk\HelpDesk\Severity.cs Line: 43 Stack Trace:

[Exception: 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)]

   HelpDesk.Severity.GetSeverities() in D:\helpdesk\HelpDesk\HelpDesk\Severity.cs:43

   HelpDesk._Default.LoadCombos() in D:\helpdesk\HelpDesk\HelpDesk\Default.aspx.cs:27

   HelpDesk._Default.Page_Load(Object sender, EventArgs e) in D:\helpdesk\HelpDesk\HelpDesk\Default.aspx.cs:21

   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14

   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35

   System.Web.UI.Control.OnLoad(EventArgs e) +99

   System.Web.UI.Control.LoadRecursive() +50

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Can't uninstall SQL Server 2008 R2 Express

$
0
0

Hi all,

I have unfortunately let myself be persuaded (by a company selling a solution to us) to install SQL Server 2008 R2 Express on a Windows 2012 Standard Server.

At first it didn't work, the installation wizard told me to reboot the server - so I did. No change the checklist stopped at the same thing again telling me to reboot first...

Found out that I could install by using this command: SQLEXPR_x64_ENU.exe /SkipRules=RebootRequiredCheck /ACTION=install

Seemed to work, all fine! Rebooted and tried to install SQLManagmentStudio_x64_ENU.exe and got a compability warning saying that the SQL Server 2008 R2 Express is not compatible with Windows 2012 Standard Server. 

I thought "Right, uninstall it and then install a new and compatible version" Can't uninstall!!

It stops with this error and nothing happens uninstall wise:

Windows Features

The following feature couln't be installed:

.NET Framework 3.5 (includes .NET 2.0 and 3.0)

Windows Server roles and features cannot be automatically installed or uninstalled via the Windows Feature Control Panel.

To install Windows Server roles and features, start Server Manager, or use the Server Manager cmdlets for Windows PowerShell.

When I look in remove roles and features there's no checkmark in .NET 3.5 Framework and it's also grayed out....

Please Help! :)

BR,

Micael

Hidden text

$
0
0

Hi,

I have just installed SqlExpress 2008 r2. I created database, some tables and when i try to write any query in new query editor it does not show my text but the text really exists. I've spend 2 days for searching the issue online but get no help.

thanks


"Could not open SQLEVN70.RLL"

$
0
0
"Your SQL Server installation is eigher corrupt or has been tampered with (could not open SQLEVN70.rll). Please uninstall then re-run Setup to correct this problem."

What do I do? It says to uninstall/reinstall, but what DO I install? I need a step-by-step procedure to follow to get rid of this.

Faulty SQL Server 2008 Reference in "

$
0
0

This is a strange situation to me.

I made a faulty attempt to install SQL Server 2008 on my PC. The installation failed and I removed all references to Sql Server 2008 that I could find so that I could make a clean install later. The result of my efforts are that the following two lines both appear in the "Uninstall" list.

"Microsoft SQL Server 2008R2 Setup(English)"

"Microsoft SQL Server 2008R2 Setup(English)"

I have not been able to remove these 2 entries.  All other references  have been removed and there seems no way to clean up a (2) faulty references. Simply click has no effect and trying to uninstall or trying to delete, has no effect.

How can I clean this up, before trying again to make a clean install?

Milt


sirmilt

Viewing all 3319 articles
Browse latest View live


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