Microsoft SQL server 2012 express

 
i recently downloaded ENU\x86\SQLEXPR_x86_ENU.exe and ENU\x86\SQLManagementStudio_x86_ENU.exe from microsoft SQL server 2012 from official download centre page. First i installed SQLEXPR_x86 (database engine) with mixed mode authentication, then i installed
management studio with new installation option rather than selecting add new features.after both the successfull installation i learnt that in the object explorer, expanding database+system database+master i dont have a table option to create
new tables as earlier found in sql 2005 and 2008 versions. in simple words i dont have a table designer to create table, i have to type the statments using query editor to create and do manipulations in the table. for your further help i want to
tell you some related information:
1.i tried to get the table option with ENU\x86\SQLEXPRADV_x86_ENU.exe and ENU\x86\SQLEXPRWT_x86_ENU.exe without installing management studio as studio is already present in these packages. but still the problem persist.
2.i have windows 7 home basic installed on PC and windows 7 home premium on laptop both with service pack 1 with all the new updates.
3.after installation of sql server 2012 service pack, i thought problem might get solved but no.
i really need table designer feature.

Hello,
It is simple : in SSMS , after having connected to your SQL Server instance, you should see in the left panel a TreeView with the name of your instance. Right-click on the name of your instance .I n the context menu , click on Facets ( 12th item just above
Start PowerShell ).You will open a new form labeled "View Facets" followed by the "full" name of your SQL Server. In the bottom left part , you should see view the connection string .Click on it.
If the name of your database is master , it means that you are connected to the master database . The master database is a system database in which you are not allowed to create a new table ( it is an essential database containing information essential to
the survival of your SQL Server ).See this link ( even if it was for SQL Server 2012, it is always valuable )
http://www.mssqltips.com/sqlservertip/1420/sql-server-system-databases/
I would suggest to have a look at this link :
http://msdn.microsoft.com/en-us/library/ms187837.aspx ( special 2012 ) and especially the part recommendations.
As you have not yet created an user database , you connect automatically to the master database which is at least dangerous when you want to create a new table.
You have before to create a new database in which you will create your new table. It is what I have explained in my former post.
If you don't know how to create a new database, you have not posted in the good forum ( a curious habit from the original posters , maybe because they don't understand how to find the "good" forum but I recognize that I am often hesitating before finding
the most appropriate forum even if I am moderator since 6 years ). It is possible that I have not been clear enough but English is not my mother tongue ).
So don't hesitate to post again to obtain more help and explanations : this forum is full of highly-qualified persons always ready to help persons lost in SQL Server.
For me , you have 2 important steps :
- create a new database
http://msdn.microsoft.com/en-us/library/ms176061(v=sql.120).aspx
http://msdn.microsoft.com/en-us/library/ms186312(v=sql.120).aspx
- create a new table
http://msdn.microsoft.com/en-us/library/ms174979.aspx
According to me , it is simpler to create a new database or/and table without using TRANSACT-SQL through the visual interface of SSMS
for a database : right-click on the Databases node of your SQL Server instance and click on Create Database
for a table : as soon as you have created your database , its name should appear in the list under the Databases node.
Click on the little + on the left of this name to expand the node related to this new database.
Right-click on the Tables node and choose New Table. You should arrive to a new form making relatively easy the creation of the table , more exactly , the structure of the table with its columns ( names and data types ).
Don't hesitate to post again if you need more help( it is what I am doing when I am lost ) : you will find always someone available to help you at any time as moderators/answerers are nearly from every continent at any hour of the day ( when USA is sleeping
, Europe and Asia are awake ... )
Have a nice day
Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

Similar Messages

  • Reports & Microsoft SQL Server 2012 Express LocalDB support policy

    Hello,
    Willing to move some databases into Microsoft SQL Server 2012 (2014) Express LocalDB, I have tryed to map some reports on that database.
    Using OLE DB SQL Native Client (v11) and SAP CR RunTime SP10 (>SP9), I still have trouble when using this data source:
    After drawing some simple reports (standard ones with 2-3 fields from the database):
    - VS designer:
    + when "checking database" or "getting a preview" of the report, it always complains about missing tables.
    + when trying to "re-map" tables from one SQL Server 2012 Express LocalDB to another one it fails, complaining about not findind resources.
    - Running application (.NET 4.0, 32 or 64-bits):
    + without any change to the report configuration: CR Viewer complains with multiple error codes (17, ...) that it cannot find the tables
    + trying to change the configured database from the report: CR VIewer complains with some more error codes
    => Is Microsoft SQL Server 2012 Express LocalDB now officially supported by CR ?
    => Is changing datasource/database configuraton during execution now officially supported by CR ?
    Feel free to provide an any links / howto's / white paper about how managing Microsoft SQL Server 2012 Express LocalDB with SAP CR !
    Many thanks in advance.
    Regards.

    Don,
    I did not want you to think that I am not willing to change anything...
    The issue is that LocalDB specs (http://msdn.microsoft.com/en-us/library/ms130822(v=sql.110).aspx) are not (seems not) fulfiled by what SAP APIs provide.
    Following specs, I need to provide ADO DB/SQL Native Client v11 an "AttachDBFileName" property which, for LocalDB instance, is equal to the DatabaseName property (check below screenshot from MS Mgmt Studio connected to a SQL Server 2012 LocalDB instance).
    Moreover, OLEDB discovery provide in CR 2013 UI this same list of "DatabaseName":
    When connected, this same CR 2013 UI got the right "view" of connected "MDF-labelled" names:
    Moreover, CR connected datasource properties also provide an "initial catalog" (databasename) value with that "MDF-labelled" name:
    That is what I saw previously in API dumped objects and what I tryed to reproduce in my code:
    As previously explained, after adding tables, I am also beeing able to add fields from those tables in my fresh-new report document:
    It fikrst shows results in preview but as soon as I try to refresh / add some more fields / ask CR to "check database" / "change database source", the interface always complain about having "lost" objects:
    Site note for Ludek Uher: CR 2013 StandaAlone fresh-new builded reports are not working neither using CR runtime SP10 when opening/updating that report..
    So YES, I am OK to change whatever is required but please explain me what to use/put into the "crConnectioninfo.DatabaseName" property for a SQL Express 2012 LocalDB case.
    Or leave it as is, LocalDB not being supported by CR ...
    (all my reports & c# code are working well while using SQL Express 2012 "classic" (not localdb)).
    Thanks again for your time.
    Regards.

  • Can not install Microsoft SQL Server 2012 Express on Win7, 64 bit, used on VS Studio 2010

    I had a Win7 Ultimate 64bit, Intel(R) Core(TM) 2 Duo, 4GB SDRAM, 500GB HDD. I have been used  Visual
    studio 2010, SQL Server 2008 R2 (SQL Management Studio), SQL Server Express2005, SQL Server Express2008, Microsoft Office 2010. I downloaded setup from microsoft.com/en-us/download/details.aspx?id=29062,
    after extract files which it's giving me an error message.
    Anyone help me this issue.
    Other questions is What if I want to use SQL management Studio 2008 R2 and connect SQL Server 2012 on Windows 7 

     I downloaded setup from microsoft.com/en-us/download/details.aspx?id=29062,
    after extract files which it's giving me an error message.
    Anyone help me this issue.
    I'd ask them over here.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlexpress
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Can not install Microsoft SQL Server 2012 Express on Win7, 64 bit

    Hi,
    I had a Win7 Ultimate 64bit, Intel(R) Core(TM) 2 Duo 2.8Ghz, 4GB SDRAM, 500GB HDD. I have been used  Visual
    studio 2010, SQL Server 2008 R2 (SQL Management Studio), SQL Server Express2005, SQL Server Express2008, Microsoft Office 2010. I downloaded setup from microsoft.com/en-us/download/details.aspx?id=29062,
    after extract files and run setup which it's giving me an error message.
    "The operation system on this computer or its service pack level does not meet the minimum requirements for SQL server 2012. To determine the minimum required operating system supported for this SQL server release, see Hardward and software
    Requirement for installing SQL server 2012 at: http://go.microsoft.com/fwlink/?LinkID=195092"
    Anyone help me this issue

    it requires a minimum of Windows 7 SP 1 before installing SQL server 2008.
    It can be downloaded from below:
    http://support.microsoft.com/kb/976932/en-us
    For more details check below:
    http://msdn.microsoft.com/en-us/library/ms143506.aspx
    Please click the Mark as answer button and vote as helpful if this reply solves your problem

  • SQL Server 2012 Express - Could not load the file or assembly 'Microsoft.VisualStudio.OLE.Interop

    Windows 7 Home Premium, SP1
    64-bit
    I just installed SQL Server 2012 express - Express with Advanced Services (contains the database engine, Express Tools, Reporting Services, and Full Text Search),
    file name -  SQLEXPRADV_x64_ENU.
    Opening SQL Server Management Studio causes the error -
    "Could not load the file or assembly 'Microsoft.VisualStudio.OLE.Interop,
    Version=7.1.40304.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The
    system cannot find the file specified."
    Do I need to install another file? Did I download the wrong version?
    Any suggestions? Thanks for any help.

    Hello,
    The issue may occure when the installation of your SQL Server is not a complete or a successful one. Did you try to repair or reinstall the SQL Server Express?  You can also try to install
    Service Pack 1 for SQL Server 2012
    to check if the issue presists.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Microsoft SQL Server 2012 Management Studio Express silent installation very slow

    Iam doing silent installations often on several Systems.
    I install the Microsoft SQL Server 2012 Management Studio Express with this command:
    "SQLManagementStudio_x64_DEU.exe /ACTION=INSTALL /QUIET /IAcceptSQLServerLicenseTerms="True" /FEATURES=CONN,BC,SSMS /indicateprogress"
    The installation will take almost an hour to finish. 
    I never get error messages or so. The installation afterwards is fine.
    Is there a way to speed up the installation process?
    Thanks!

    Hi Dennis,
    When installing SQL Server Management Studio, it is normal for us taking an hour to finish the installation.
     Personally, if you want to speed up the installation process, I recommend improve your hardware device on your computer, such as CPU, RAM, hard disk and so on.
    Or you can submit an submit the requirement at https://connect.microsoft.com/SQLServer/. 
    If the requirement mentioned by customers for many times, the product team may consider to add or improve this requirement in the future SQL Server version. Thanks for your understanding.
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Microsoft SQL Server 2012 Management Studio Express

    Hello,
    I have a question, Can I use Microsoft SQL Server 2012 Management Studio Express tool to administrate my SQL Server 2008 Enterprise database without a restriction or limitations?.
    Basically, I have a SQL server 2008 R2 database as production enviroment(Enterprise version) and I would like to know if I can use Microsoft SQL server 2012 Management Studio Express tool to manage my database without limitations.
    Thanks

    SSMS2012 is backwards compatible so you can use ..
    http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/0151c2e8-2281-4a78-86b0-20cc1bfd57ac
    Raju Rasagounder MSSQL DBA

  • Errro while installing sql server 2012 express edition on Windows 8 -64 version

    Hi,
    Im trying to install sql server 2012 express edition on windows 8 machine(64 bit),however im getting same error every time.
    The following error has occurred:
    The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337
    i've googled and checked all prerequisite which is already installed.so not finding the reason behind this error.  
    it would be great if any one can help on resolving this error.
    Thanks in advance
    Regards
    Ritesh

    Hi ,
    Thanks for help. here is the log summary text
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2068051679
      Start time:                    2014-02-05 12:30:44
      End time:                      2014-02-05 12:36:21
      Requested action:              Install
    Setup completed with required actions for features.
    Troubleshooting information for those features:
      Next step for SQLEngine:       Use the following information to resolve the error, and then try the setup process again.
      Next step for Replication:     Use the following information to resolve the error, and then try the setup process again.
    Machine Properties:
      Machine name:                  IDEA-PC
      Machine processor count:       4
      OS version:                    Future Windows Version
      OS service pack:              
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
      SQL Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER         Database Engine Services                
    1033                 Developer Edition    10.50.1600.1    No       
      SQL Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER         SQL Server Replication                  
    1033                 Developer Edition    10.50.1600.1    No       
      SQL Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER         Full-Text and Semantic Extractions for Search 1033                
    Developer Edition    10.50.1600.1    No       
      SQL Server 2008 R2                                                      
    Management Tools - Basic                 1033                 Developer Edition   
    10.50.1600.1    No       
      SQL Server 2008 R2                                                      
    Management Tools - Complete              1033                 Developer Edition    10.50.1600.1   
    No       
      SQL Server 2008 R2                                                      
    Client Tools Connectivity                1033                 Developer Edition    10.50.1600.1   
    No       
      SQL Server 2008 R2                                                      
    Client Tools Backwards Compatibility     1033                 Developer Edition    10.50.1600.1    No       
      SQL Server 2008 R2                                                      
    Client Tools SDK                         1033                
    Developer Edition    10.50.1600.1    No       
      SQL Server 2008 R2                                                      
    Integration Services                     1033                 Developer Edition   
    10.50.1600.1    No       
    Package properties:
      Description:                   Microsoft SQL Server 2012 Service Pack 1
      ProductName:                   SQL Server 2012
      Type:                          RTM
      Version:                       11
      SPLevel:                       0
      Installation location:         c:\b33170cf028067db5b8335d2\x64\setup\
      Installation edition:          Express
    Product Update Status:
      None discovered.
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      true
      AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Disabled
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  MULTIDIMENSIONAL
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CLTCTLRNAME:                   <empty>
      CLTRESULTDIR:                  <empty>
      CLTSTARTUPTYPE:                0
      CLTSVCACCOUNT:                 <empty>
      CLTSVCPASSWORD:                <empty>
      CLTWORKINGDIR:                 <empty>
      COMMFABRICENCRYPTION:          0
      COMMFABRICNETWORKLEVEL:        0
      COMMFABRICPORT:                0
      CONFIGURATIONFILE:            
      CTLRSTARTUPTYPE:               0
      CTLRSVCACCOUNT:                <empty>
      CTLRSVCPASSWORD:               <empty>
      CTLRUSERS:                     <empty>
      ENABLERANU:                    true
      ENU:                           true
      ERRORREPORTING:                false
      FEATURES:                      SQLENGINE, REPLICATION, SNAC_SDK
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      IACCEPTSQLSERVERLICENSETERMS:  true
      INDICATEPROGRESS:              false
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    SQLFASHION
      INSTANCENAME:                  SQLFASHION
      ISSVCACCOUNT:                  NT AUTHORITY\Network Service
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      MATRIXCMBRICKCOMMPORT:         0
      MATRIXCMSERVERNAME:            <empty>
      MATRIXNAME:                    <empty>
      NPENABLED:                     0
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      ROLE:                          AllFeatures_WithDefaults
      RSINSTALLMODE:                 DefaultNativeMode
      RSSHPINSTALLMODE:              DefaultSharePointMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 <empty>
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  Latin1_General_CI_AI
      SQLSVCACCOUNT:                 NT Service\MSSQL$SQLFASHION
      SQLSVCPASSWORD:                <empty>
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           idea-pc\lenovo
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  false
      TCPENABLED:                    0
      UIMODE:                        AutoAdvance
      UpdateEnabled:                 true
      UpdateSource:                  MU
      X86:                           false
      Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\ConfigurationFile.ini
    Detailed results:
      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, and then try the setup process again.
      Component name:                SQL Server Common Files
      Component error code:          2337
      Component log file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\sql_common_core_Cpu64_1.log
      Error description:             The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337.
      Error help link:              
      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, and then try the setup process again.
      Component name:                SQL Server Common Files
      Component error code:          2337
      Component log file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\sql_common_core_Cpu64_1.log
      Error description:             The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337.
      Error help link:              
      Feature:                       SQL Client Connectivity
      Status:                        Passed
      Feature:                       SQL Client Connectivity SDK
      Status:                        Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\SystemConfigurationCheck_Report.htm

  • I need help installing SQL Server 2012 Express

    I am very much an amateur. I got a new machine. The old one had Server 2008 R2 but the recommendation was that I need to move to 2012 Express.
    When I moved to the new machine, the mover (LapLink) screwed up the version of 2008 R2. IOW, I now have to go forward and install 2012..
    I downloaded all the 64 bit files (5 of them). When I start SQLEXPR_x64_ENU.exe, the process starts and then I'm given the choice of a new install or upgrade. I chose the new install. The process started and I got the following message ...
    "Failed to retrieve data for this request.."
    There are no hints anyplace as to what this means.
    When I click "OK", a new status window pops up and proclaims that something is wrong. Then all activity stops.
    I don't know what to do. I can't use either version and I really can't tell you much more to help me.
    Eric Johnson

    I'm not certain how to send the log material so I'll just cut 'n paste the file named "Summary_Eric-PC_20140921_134001_GlobalRules" If this isn't the right way, please forgive me and suggest what is right. Anyway, here goes ...
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2146233088
      Exit facility code:            19
      Exit error code:               5376
      Exit message:                  Failed to retrieve data for this request.
      Start time:                    2014-09-21 13:40:09
      End time:                      2014-09-21 13:40:29
      Requested action:              RunRules
      Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.2100.60&EvtType=0x48BB60BC%400xBB814387&EvtType=0x48BB60BC%400xBB814387
    Machine Properties:
      Machine name:                  ERIC-PC
      Machine processor count:       8
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Package properties:
      Description:                   Microsoft SQL Server 2012
      ProductName:                   SQL Server 2012
      Type:                          RTM
      Version:                       11
      SPLevel:                       0
      Installation location:         c:\851594228c4871a4e88415938631\x64\setup\
      Installation edition:          Express
    User Input Settings:
      ACTION:                        RunRules
      CONFIGURATIONFILE:             
      ENU:                           true
      FEATURES:                      
      HELP:                          false
      INDICATEPROGRESS:              false
      INSTANCENAME:                  <empty>
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      RULES:                         GlobalRules
      UIMODE:                        AutoAdvance
      X86:                           false
      Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140921_134001\ConfigurationFile.ini
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               The rule result report file is not available.
    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented
    Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
        Message:
            Failed to retrieve data for this request.
        Data:
          HelpLink.ProdName = Microsoft SQL Server
          HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
          HelpLink.LinkId = 20476
          HelpLink.EvtType = 0x48BB60BC@0xBB814387
          DisableWatson = true
        Stack:
            at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String machineName)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
            at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
            at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context)
        Inner exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
            Message:
                    Attempted to perform an unauthorized operation.
            HResult : 0x84bb0001
                    FacilityCode : 1211 (4bb)
                    ErrorCode : 1 (0001)
            Data:
              WatsonData = HKEY_LOCAL_MACHINE@SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\Setup
            Stack:
                    at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
                    at Microsoft.SqlServer.Configuration.Sco.SqlRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
                    at Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer ctx, String machineName, RegistryView regView, String regPath, RegistryAccess registryAccess)
                    at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetInstanceMapObject(String machineName, RegistryView registryView, String instanceId, String instanceName, String
    instanceType, String instanceSuffix, UpgradedInstanceStateEnum instanceState)
                    at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetInstanceMapCollectionInHive(String machineName, RegistryView regView, List`1 subKeys)
                    at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetInstanceMapCollection()
                    at Microsoft.SqlServer.Discovery.Instance.GetData(EnumResult erParent)
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci)
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
            Inner exception type: System.UnauthorizedAccessException
                Message:
                            Attempted to perform an unauthorized operation.
                Stack:
                            at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)

  • SQL Server 2012 Express bulk Insert flat file 1million rows with "" as delimeter

    Hi,
    I wanted to see if anyone can help me out. I am on SQL server 2012 express. I cannot use OPENROWSET because my system is x64 and my Microsoft office suit is x32 (Microsoft.Jet.OLEDB.4.0).
    So I used Import wizard and is not working either. 
    The only thing that let me import this large file, is:
    CREATE TABLE #LOADLARGEFLATFILE
    Column1
    varchar(100), Column2 varchar(100), Column3 varchar(100),
    Column4 nvarchar(max)
    BULK INSERT
    #LOADLARGEFLATFILE
    FROM 'C:\FolderBigFile\LARGEFLATFILE.txt'
    WITH 
    FIRSTROW = 2,
    FIELDTERMINATOR ='\t',
    ROWTERMINATOR ='\n'
    The problem with CREATE TABLE and BULK INSERT is that my flat file comes with text qualifiers - "". Is there a way to prevent the quotes "" from loading in the bulk insert? Below is the data. 
    Column1
    Column2
    Column3
    Column4
    "Socket Adapter"
    8456AB
    $4.25
    "Item - Square Drive Socket Adapter | For "
    "Butt Splice" 
    9586CB
    $14.51
    "Item - Butt Splice"
    "Bleach"
    6589TE
    $27.30
    "Item - Bleach | Size - 96 oz. | Container Type"
    Ed,
    Edwin Lopera

    Hi lgnusLumen,
    According to your description, you use BULK INSERT to import data from a data file to the SQL table. However, to be usable as a data file for bulk import, a CSV file must comply with the following restrictions:
    1. Data fields never contain the field terminator.
    2. Either none or all of the values in a data field are enclosed in quotation marks ("").
    In your data file, the quotes aren't consistent, if you want to prevent the quotes "" from loading in the bulk insert, I recommend you use SQL Server Import and Export Wizard tools in SQL Server Express version. area, it will allow to strip the
    double quote from columns, you can review the following screenshot.
    In other SQL Server version, we can use SQL Server Integration Services (SSIS) to import data from a flat file (.csv) with removing the double quotes. For more information, you can review the following article.
    http://www.mssqltips.com/sqlservertip/1316/strip-double-quotes-from-an-import-file-in-integration-services-ssis/
    In addition, you can create a function to convert a CSV to a usable format for Bulk Insert. It will replace all field-delimiting commas with a new delimiter. You can then use the new field delimiter instead of a comma. For more information, see:
    http://stackoverflow.com/questions/782353/sql-server-bulk-insert-of-csv-file-with-inconsistent-quotes
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • SQL Server 2012 Express LocalDB parm for keeping unicode char

    in developer's windows 8.1 pc, the SQL Server 2012 Express LocalDB does not seem to keep Unicode like \U2221. it get translated to the plain - instead of keeping as
    −.
    what  parameter od I need to setup to make sure it keep such character as is

    Hi fs - ab,
    You know that this forum is to discuss the VS IDE, to make this issue clearly, could you share us a screen shot for this issue? Where did you change your localDB with Unicode?
    I did some research about it.
    LocalDB supports two kinds of instances: Automatic instances and named instances.
    •Automatic instances of LocalDB are public. They are created and managed automatically for the user and can be used by any application. One automatic instance of LocalDB exists for every version of LocalDB installed
    on the user’s computer. Automatic instances of LocalDB provide seamless instance management. There is no need to create the instance; it just works. This allows for easy application installation and migration to a different computer. If the target machine
    has the specified version of LocalDB installed, the automatic instance of LocalDB for that version is available on the target machine as well. Automatic instances of LocalDB have a special pattern for the instance name that belongs to a reserved namespace.
    This prevents name conflicts with named instances of LocalDB. The name for the automatic instance is a single v character followed by the LocalDB release version number in the format xx.x. For example, v11.0 represents SQL Server 2012.
    •Named instances of LocalDB are private. They are owned by a single application that is responsible for creating and managing the instance. Named instances provide isolation from other instances and can improve performance
    by reducing resource contention with other database users. Named instances must be created explicitly by the user through the LocalDB management API or implicitly via the app.config file for a managed application (although managed application may also use
    the API, if desired). Each named instance of LocalDB has an associated LocalDB version that points to the respective set of LocalDB binaries. The instance name of a LocalDB is sysname data type and can have up to 128 characters. (This differs from regular
    named instances of SQL Server, which limits names to regular NetBIOS names of 16 ASCII chars.) The name of an instance of LocalDB can contain any Unicode characters that are legal within a filename. 
    A named instance that uses an automatic instance name becomes an automatic instance.
    Reference:
    http://technet.microsoft.com/en-us/library/hh510202(v=sql.110).aspx
    It seems that it is related to the SQL Server, am I right? If so, maybe the SQL Server forum would be better for this issue.
    If I have misunderstood this issue, please feel free to let me know.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SQL Server 2012 Express Install on Windows 7 SP1 Embedded not using virtual account?

    Hi there,
    I did a default installation of SQL Server 2012 Express on Windows 7 embedded Standard SP1.
    When I look at the SQLSERVER service credential it is configured to run under "NETWORK SERVICE" instead of the virtual account "NT SERVICE\MSSQL$SQLEXPRESS".
    This is different from SQL 2012 Express installation on a non-embedded Windows 7.
    Why is this difference?
    Secondly, because of this, I am unable to take a backup of databases to any folder other than the default SQL folder.

    Hi Chandrasekaran,
    As Local Service account, the Network Service account and high privileged Local System account could be used by many services.
     It becomes harder to track which service is actually accessing resources and performing actions, because all the services are using the one Network Service account or other account.
    In Windows7 and Windows Server 2008R2, it introduces a new type of account called a virtual account, which emulates creating many unique instances of the Network Service account, so each service runs with its own instance of the Network Service account.
      For example, when you install SQL 2012 on Windows Server 2008 R2 or Windows 7 and later you’ll see the services run with virtual service accounts named like:
    in the format NT SERVICE\<SERVICENAME>.
    According to your description, when the SQLSERVER service was run under “NETWORK SERVICE”, you only back up database to the default SQL folder. It may be caused by the NETWORK SERVICE account has limited local privileges, just accesses network
    resource with the computer credential. I recommend you change the account to Local System account, by default, which has full permissions on your computer.
    For more information about SQL Server service account and virtual account, you can review the following articles.
    http://www.travisgan.com/2013/06/sql-server-service-account-and-per.html
    http://www.sqlservercentral.com/blogs/sqldbauk/2014/01/13/sql-server-2012-and-virtual-service-accounts/
    http://msdn.microsoft.com/en-us/library/ms143504(v=sql.110).aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • VB 2012 Express and SQL server 2012 Express

    My Windows 7 computer just crashed and I am trying to resurrect my VB 2012 Express code.  I have been using Access 2007 but lost my license info and installation media, so I am considering a change to SQL server 2012.  I have downloaded it, but
    I haven't a cue as to how to use it.  I need to convert my old Access 2007 data and then connect the result to my VB 2012 code.
    Please help.
    RONATMOODYLAKE

    I know how to use a database engine, but what I downloaded as SQL server 2012 Express seems to be something else.  I am in <st1:place w:st="on">Africa</st1:place> and things don't work well here.  I
    have an app that says SQL error and usage reporting, and when I answer the questions nothing happens.  This must not be the SQL 2012 Server Express (or is it?).  Maybe you can point me to a useful download link.  What I have is totally obscure.
    Here is my goal:  I have a completed VB 2012 project that uses Access 2007.  My Windows 7 computer crashed and I am desperately trying to move the application to a Windows 8 machine.  I do not
    have my installation disks for Access, so I thought I would give SQL server a try.  I obviously downloaded the wrong thing.  The Microsoft web site gives me the following download choices - none of these make sense and they are not explained - please
    help - I downloaded the first one and it seems useless:
    Version:
    Date Published:
    11.0.2100.60
    2012-05-14
    File name:
    File size:
    ENU\x64\SQLEXPR_x64_ENU.exe
    132.3 MB
    ENU\x64\SQLEXPRADV_x64_ENU.exe
    1.3 GB
    ENU\x64\SQLEXPRWT_x64_ENU.exe
    669.9 MB
    ENU\x64\SqlLocalDB.MSI
    33.0 MB
    ENU\x64\SQLManagementStudio_x64_ENU.exe
    600.2 MB
    ENU\x86\SQLEXPR_x86_ENU.exe
    116.7 MB
    ENU\x86\SQLEXPR32_x86_ENU.exe
    101.5 MB
    ENU\x86\SQLEXPRADV_x86_ENU.exe
    1.3 GB
    ENU\x86\SQLEXPRWT_x86_ENU.exe
    706.1 MB
    ENU\x86\SqlLocaLDB.MSI
    27.8 MB
    ENU\x86\SQLManagementStudio_x86_ENU.exe
    614.9 MB
    RONATMOODYLAKE

  • Can't find ConfigurationFile.ini for SQL Server 2012 Express

    Hello,
    I installed SQL Server 2012 Express on my Windows 8.1 Pro laptop with an instance name of SqlExpress. However, when I try to find the ConfigurationFile.ini, I can't find it. I searched all the sub-folders under C:\Program Files\Microsoft SQL Server\110\Setup
    Bootstrap\Log\, but there is no such file. I need this file for future silent installation on many other computers. Can anybody help with this issue?
    Thanks,
    Jay

    For SQL Server Express edition you need to try with below parameters at the time of installation:
    UIMODE=Normal
    ACTION=Install
    For more information look at below link
    http://nickstips.wordpress.com/2010/08/16/sql-sql-server-2008-express-missing-configurationfile-ini/
    Please click "Propose As Answer"
    if a post solves your problem, or "Vote As Helpful" if a post has been useful to you

  • SqlLocalDB.exe not Installed when sql Server 2012 Express (LocalDb Edition) is installed

    I have been having a very frustrating time trying to connect to a localDB instance of SQL Server 2012. So I started again from scratch on another computer (Windows 7). I first installed sql server 2012 Express with tools (via ENU\x64\SQLEXPRWT_x64_ENU.exe)
    and then installed the LocalDB Edition via sqlLocalDB.msi. The first installation seems to have gone OK. The second installation proceeded normally and finally advised that "Setup has installed SQL Server 2012 Express LocalDB successfully."
     A whole lot of files were installed in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, including sqlservr.exe.   But the SqlLocalDB.exe utility was
    not amongst them.
    Does anyone have any idea what is happening here? From where can I download a copy of sqlLocalDB.exe

    A whole lot of files were installed in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, including sqlservr.exe.   But the SqlLocalDB.exe utility was
    not amongst them.
    The tool is located in
    C:\Program Files\Microsoft SQL Server\110\Tools\Binn
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for

  • G5 GeForce FX 5200 graphics and third party monitor

    I need to buy a new monitor on which I can change manual settings, to work with a G5 1.6GHz using a GeForce FX 5200 card. Unfortunately the new Mac displays (24") only use a mini display port. And the 20" cinema displays are no longer sold. I have se

  • White looks yellow/cream

    Hello HP and forum-members, I've got a question about the screen of the HP ENVY TouchSmart 15-j100ed.  White is not showed correctly, it looks more like cream/yellow. I've already updated the chipset and the drivers, re-installed all the drivers and

  • Mouse wheel usability

    Is rubbish.  Cmon abode,  its not rocket science.  Or maybe I'm doing wrong - Is there any other way to scroll audio and video layers other than with the scrollbar? If not here are some no brainer suggestions: existing: scroll along timeline with mou

  • Apple id changed email but my old email coming up on log ons

    Hi I changed my apple id email address and had to log out all of my devices to get the id to ask me for the correct account on all my devices I have since bought a new Mac and everything set up fine until today the app store updates are asking for my

  • RAC interconnect switch?

    Hi, We are in the process of migrating from a 10g single instance database to 2 node RAC (Windows Server 2008 OS, EMC storage with 2 SAN swithes,-) and we have some doubts about interconnect. We are having difficulty in selecting the correct intercon