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

Schemas folder not shown in SQL Server Management Studio 2014 x64

$
0
0

I am experiencing the following:

After installing SQL Server 2014 Express with Advanced Services x64 on two machines (Windows 7 x64, Windows 8.1 x64), on Windows 7 there is no "Schemas" folder in the Object Explorer. Possibly others are also missing. On Windows 8.1, every folder is visible.

I am connected as database owner.

Any hint on getting every folder shown?


SQL SERVER

$
0
0
I am using sql server 2012 ,  i have my own database . I want to save my table data for one year and want to other data will delete from  database . please help to to write a script for this action ...

How to get the last value from a colunn

$
0
0

good afternoon everyone,

I am converting a DB from MS access to SQL and I am having a problem with a function that uses (LAST). Already used group by, distinct top 1 and could not do what was intended
My X table has two serial numbers, and i want to get those two registers where the HARDWARE_ID is the most recent (2 and 4)

I dont kown to do the select.

HARDWARE_IDSERIAL_NUMBER
1DQSLUEF00
2DQSLUEF00
372520058E6300
472520058E6300

Every help is welcome.
Thank you very much


Nuno Silva

SQL Server® 2016 Express full download

$
0
0
All previous version of SQL Server Express were available in both web and full downloads. But I cannot find full download of SQL Server® 2016 Express. Does it exist?

Slow connection to SQL SERVER 2008 R2 Express

$
0
0

Hi everyone

I need some help to solve a problem of slow connection between the Erp and Sql Server. I think that the problem is related to a wrong configuration of the client in the network  but I cannot understand what. On my computer with Windows 7 Professional it works just smooth and fine but it's not the same on other two pc, one with win 7 pro e another with win 10 pro. 

The ERP company says that is a problem of the client network configuration and cannot give me more help.

the Erp and SQL (SQL Server 2008 R2 Express) are installed on the same server.

I tried to deactivate the antivirus and the firewall of the clients but nothing.

I face the problem when the Erp reads the datas from the sql and it is very slow compared to the other pc I work with.

i'm ready to give some extra details if needed. Do you have any ideas about the fix of this issue?

Thank you in advance

Alessio

Join, where clause

$
0
0

Hi all I have tow tables where I need to join them on Id and if column BL = Yes,

table A have repeated IDs and Table B ( the main table) need to match the id if BL=yes , but what ever I do I still get repeated IDs ( when I run table B IDs are unique)

ie

Table A                                      Table B                                                 result View ( should be like below)

ID       IOB        IOS                   ID       BL                                                    ID     BL                           

1         blue       dark                  1         YES                                                   1     YEs

1         Green     Light                  2        YES                                                   2     yes

2         Black      Mid                   3                                                                  3

2         Red        Dark                 4          NO                                                    4     

 can you please help thanks 

Upgrading SQL Server Express

$
0
0
I'm upgrading our SQL Server Express 2012 SP2 that runs on our Autodesk Vault server to SQL Server Express 2017.  I download the install files and ran the basic installation type.  Is it too late to use the upgrade from a previous version wizard?

(localdb)\MSSQLLocalDB 2017 configuration/setting

$
0
0

Hi, 

I have a problem that is about default database folder path. 

I mean if I use this sql script create database foo, my foo database file create in this folder C:\users\ 

I tried and I got this ( C:\Users\USERfoo.mdf ). I gave it permission about users folder for everyone (write permisson)

at the end, I found it. SQL LocalDb configuration is wrong. 

where is the SQL LocalDB configuration ? 

I mean where is this %USERPROFILE% 



Cannot connect to Server

$
0
0

Hi,

when i was trying to connect Client database by SSMS it give below error on server.

TITLE: Connect to Server
------------------------------

Cannot connect to ServerIP.

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

A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - An existing connection was forcibly closed by the remote host.) (Microsoft SQL Server, Error: 10054)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=10054&LinkId=20476

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

An existing connection was forcibly closed by the remote host

------------------------------
BUTTONS:

OK
------------------------------

Analysis dump

$
0
0

Hi,

We've noticed a stack dump in the SQL server logs with the following exceptions:

 Input Buffer 162 bytes -

Access Violation occurred writing address 00000000

This is the result of the WinDbg analysis:

Exception Analysis     

***********************                             

GetUrlPageData2 (WinHttp) failed: 12002.

KEY_VALUES_STRING: 1


STACKHASH_ANALYSIS: 1

TIMELINE_ANALYSIS: 1

Timeline: !analyze.Start
    Name: <blank>
    Time: 2018-11-06T10:03:01.613Z
    Diff: 103696613 mSec

Timeline: Dump.Current
    Name: <blank>
    Time: 2018-11-05T05:14:45.0Z
    Diff: 0 mSec

Timeline: Process.Start
    Name: <blank>
    Time: 2018-10-21T12:33:25.0Z
    Diff: 1269680000 mSec

Timeline: OS.Boot
    Name: <blank>
    Time: 2018-10-21T12:24:13.0Z
    Diff: 1270232000 mSec


DUMP_CLASS: 2

DUMP_QUALIFIER: 400

CONTEXT:  001f000000000000 -- (.cxr 0x1f000000000000)
Unable to read context, Win32 error 0n30
Resetting default scope

FAULTING_IP:
sqllang!SQLDumperLibraryInvoke+1f6
00007ff8`c2786f26 448bf8          mov     r15d,eax

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ff8c2786f26 (sqllang!SQLDumperLibraryInvoke+0x00000000000001f6)
   ExceptionCode: 000042ac
  ExceptionFlags: 00000000
NumberParameters: 0

DEFAULT_BUCKET_ID:  APPLICATION_FAULT

ERROR_CODE: (NTSTATUS) 0x42ac - <Unable to get error code text>

EXCEPTION_CODE: (Win32) 0x42ac (17068) - <Unable to get error code text>

EXCEPTION_CODE_STR:  42ac

WATSON_BKT_PROCSTAMP:  5b356e07

WATSON_BKT_PROCVER:  2015.131.5153.0

PROCESS_VER_PRODUCT:  Microsoft SQL Server

WATSON_BKT_MODULE:  sqllang.dll

WATSON_BKT_MODSTAMP:  5b356e8e

WATSON_BKT_MODOFFSET:  566f26

WATSON_BKT_MODVER:  2015.131.5153.0

MODULE_VER_PRODUCT:  Microsoft SQL Server

BUILD_VERSION_STRING:  6.3.9600.17415 (winblue_r4.141028-1500)

MODLIST_WITH_TSCHKSUM_HASH:  a1592f41b2ee83cb832a06082d92dfb9a778ac8c

MODLIST_SHA1_HASH:  108edfb07e807b31269b305bedaa55251f639761

COMMENT:  Stack Trace

NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

DUMP_FLAGS:  800288c

DUMP_TYPE:  1

PROCESS_NAME:  unknown

MISSING_CLR_SYMBOL: 0

ANALYSIS_SESSION_HOST:  ILHQBISQL16DEV

ANALYSIS_SESSION_TIME:  11-06-2018 12:03:01.0613

ANALYSIS_VERSION: 10.0.17763.1 amd64fre

MANAGED_CODE: 1

MANAGED_ENGINE_MODULE:  clr

MANAGED_ANALYSIS_PROVIDER:  SOS

MANAGED_THREAD_ID: bb2c

THREAD_ATTRIBUTES:
OS_LOCALE:  ENU

BUGCHECK_STR:  APPLICATION_FAULT

PRIMARY_PROBLEM_CLASS:  APPLICATION_FAULT

PROBLEM_CLASSES:

    ID:     [0n320]
    Type:   [APPLICATION_FAULT]
    Class:  Primary
    Scope:  DEFAULT_BUCKET_ID (Failure Bucket ID prefix)
            BUCKET_ID
    Name:   Add
    Data:   Omit
    PID:    [Unspecified]
    TID:    [Unspecified]
    Frame:  [0]

LAST_CONTROL_TRANSFER:  from 0000000000000000 to 8948102454894818

IP_ON_HEAP:  8948102454894818
The fault address in not in any loaded module, please check your build's rebase
log at <releasedir>\bin\build_logs\timebuild\ntrebase.log for module which may
contain the address if it were loaded.

STACK_TEXT:  
00000041`102d6948 00007ff9`0abf1118 : 00007ff6`0c008010 00000000`00000000 00000000`00000000 00007ff6`b311d388 : ntdll!NtWaitForSingleObject+0xa
00000041`102d6950 00007ff6`b30d9fef : 00000000`00000000 00007ff6`b311bd80 00000000`00000000 00000000`00003378 : KERNELBASE!WaitForSingleObjectEx+0x94
00000041`102d69f0 00007ff6`b30d9d7d : 00007ff6`b311bd80 0000ffff`4bb62e51 00000000`00000000 00000000`00000000 : sqlservr!CDmpDump::DumpInternal+0x22f
00000041`102d6a90 00007ff6`b30e15b8 : 00000000`00000000 00007ff8`fe9bc49f 00007ff8`fe9baed0 00000041`102d6be8 : sqlservr!CDmpDump::DumpFilter+0xcd
00000041`102d6b80 00007ff9`035ff2cb : 00007ff9`0d7aeb20 00007ff9`0d6d5f15 00000000`00000000 00007ff9`27420851 : sqlservr!memset+0x1819
00000041`102d6bb0 00007ff9`0d71349d : 00000000`00000000 00000041`102d6d50 00000041`102d7b00 00000041`102d7b00 : msvcr120!__C_specific_handler+0x93
00000041`102d6c20 00007ff9`0d6d48d7 : 00000000`00000001 00007ff6`b30c0000 00000000`00000000 00007ff6`b31240f8 : ntdll!RtlpExecuteHandlerForException+0xd
00000041`102d6c50 00007ff9`0d6d3afd : 00000000`00000000 00007ff6`b30dc3ac 00000041`102d7b00 00000000`00000000 : ntdll!RtlDispatchException+0x197
00000041`102d7320 00007ff9`0abf8eac : 00007ff6`b30dfec0 00000000`80004005 00000000`00000440 00000000`00000000 : ntdll!RtlRaiseException+0x18d
00000041`102d7ae0 00007ff6`b30d9c9c : 00000000`00011000 00007ff9`035c3c20 00000041`102d7c24 00000041`00000004 : KERNELBASE!RaiseException+0x68
00000041`102d7bc0 00007ff8`c2786f26 : 00007ff6`b311bd80 00007ff9`0abf1118 00000000`00000000 00000041`102d7db8 : sqlservr!CDmpDump::Dump+0x4c
00000041`102d7c00 00007ff8`c328c501 : 00007ff6`b311bd80 00000000`00000440 00000000`00000000 00007ff9`0abf1616 : sqllang!SQLDumperLibraryInvoke+0x1f6
00000041`102d7c40 00007ff8`c328cf84 : 00000000`00025160 00000050`7ba88160 00000000`00000000 00007ff8`c4605630 : sqllang!SQLLangDumperLibraryInvoke+0x161
00000041`102d7cf0 00007ff8`c325cd9b : 00000050`7ba88e20 00000050`7ba88160 00000050`7ba88e20 00000050`7ba88160 : sqllang!CImageHelper::DoMiniDump+0x475
00000041`102d7f00 00007ff8`c2787056 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`0000002f : sqllang!stackTrace+0x9db
00000041`102d9920 00007ff8`c1dbcd6f : 00000000`00000001 00007ff8`c66b640c 00000000`00000000 00000000`00000000 : sqllang!stackTraceCallBack+0x96
00000041`102d9970 00007ff9`035ef2d5 : 00000041`102daab0 00000041`102daab0 00000041`102daab0 00007ff8`c1d67109 : sqldk!ex_terminator+0x8f
00000041`102d9c00 00007ff9`035edbb7 : 00000041`102daab0 00000041`102d9ec0 00000041`102da5c0 00000041`102d9f70 : msvcr120!_CallSETranslator+0x3d
00000041`102d9c70 00007ff9`035edacc : 00007ff8`c66b640c 00007ff8`c66b640c 00000041`102da5c0 ffffffff`fffffffe : msvcr120!FindHandlerForForeignException+0x9f
00000041`102d9d20 00007ff9`035eed54 : 00000000`00000000 00000041`102daab0 00000041`102da5c0 00007ff8`fe9bc49f : msvcr120!FindHandler+0x468
00000041`102d9e10 00007ff9`035ef5c7 : 00000041`102d9f70 00000041`102d9ff0 00000041`102daab0 00000041`102d9f40 : msvcr120!__InternalCxxFrameHandler+0x208
00000041`102d9e70 00007ff9`0d71349d : 00000041`102dc7d0 00000000`00000000 00000041`102daab0 00000041`102daab0 : msvcr120!__CxxFrameHandler+0x77
00000041`102d9ec0 00007ff9`0d6d48d7 : 00000000`00000001 00007ff8`c47f0000 00000000`00000000 00007ff8`c6b5393c : ntdll!RtlpExecuteHandlerForException+0xd
00000041`102d9ef0 00007ff9`0d71262a : 00000000`00000000 001f0000`00000000 0000004a`b156d0e0 0000004f`eb93b7c0 : ntdll!RtlDispatchException+0x197
00000041`102da5c0 00007ff8`c1d5632e : 00000000`00000000 00000000`00000011 00000000`00000000 00000000`00000001 : ntdll!KiUserExceptionDispatch+0x3a
00000041`102dace0 00007ff8`c1d56221 : ffffffff`fffffffe 0000004a`b156c000 0000004a`b156d0e0 00000000`00000020 : sqldk!CVariableInfo::CVarBlock::PvbUse+0x62
00000041`102dad40 00007ff8`c1d565b8 : 00007ff8`c1dbcab0 00007ff8`c1d7d5cb 00000010`00000003 00000047`78d80160 : sqldk!TVarPageMgr<0>::PbAllocate+0x231
00000041`102dad90 00007ff8`c1d7d803 : 00000000`00000000 0000005a`86a63ef0 00000000`00000000 00000001`00000000 : sqldk!CMemThread<CMemObj>::Alloc+0xa8
00000041`102dadd0 00007ff8`c1d7d70c : 0000005a`85170040 00007ff8`c1d5a021 0000005a`85170078 0000004b`ee086000 : sqldk!SOS_PartitionedHeap::AllocSlow+0x103
00000041`102dc280 00007ff8`c5a844d7 : 0000005a`85170040 00007ff8`c1dbcab0 0000005a`86a63ef0 0000004b`ee0877c0 : sqldk!SOS_PartitionedHeap::Alloc+0xcb
00000041`102dc2d0 00007ff8`c5a84431 : 0000005b`05758600 0000004b`ee0877c0 00000000`0000001c ffffffff`fffffffe : sqlmin!SuperLatchInfo::Init+0x47
00000041`102dc340 00007ff8`c5a824d7 : 00007ff8`c69834e0 00007ff8`00000000 00000000`00000001 0000004b`ee0877c0 : sqlmin!SuperLatchManager::CreateSuperLatchInfo+0xa1
00000041`102dc3b0 00007ff8`c4ab85aa : 00000000`ffffffff 00000041`102dc760 0000005b`05758580 00000045`00000000 : sqlmin!LatchBase::Promote+0x57
00000041`102dc660 00007ff8`c47f7ab6 : 00000000`0000000c 00000000`0000000c 00000000`00000002 00000041`102dc7e0 : sqlmin!BPool::Touch+0xd5
00000041`102dc6a0 00007ff8`c49b397d : 00000010`00000000 0000008c`43df1070 00097a05`2e4c326e 00000050`0ea1e698 : sqlmin!BPool::Get+0x20c
00000041`102dc710 00007ff8`c488eb82 : 00000050`0ea1e680 0000004f`4f128370 00000001`0304733e 00000000`00000000 : sqlmin!FixPageNotThruLinkage+0x1fe
00000041`102dc7d0 00007ff8`c488d0e5 : 0000004f`4f128e70 00000000`00000000 0000004e`53faa000 00000000`00000000 : sqlmin!HeapPageManager::GetNextPage+0x1e0
00000041`102dc890 00007ff8`c4817a5f : 00000000`00000000 00000050`0ea16060 00000055`5a87b580 0000004f`4f1281e0 : sqlmin!HeapDataSetSession::GetNextRowValuesInternal+0x515
00000041`102dce10 00007ff8`c483f9b2 : 00000050`0ea16080 00000043`c7489340 00000000`00000001 00000050`63f79c20 : sqlmin!RowsetNewSS::FetchNextRow+0x1d9
00000041`102dcf30 00007ff8`c48c740f : 00000050`0ea16080 00000000`00000001 00000050`0ea160f0 00007ff8`c480ba96 : sqlmin!CQScanTableScanNew::GetRow+0xfa
00000041`102dcfa0 00007ff8`c48bfcb3 : 00000050`63f79230 00000041`102dd0f0 00000000`86f4c707 00000044`6cc62f70 : sqlmin!CQScanHash::ReadRow+0xf6
00000041`102dcff0 00007ff8`c48bfe59 : 00000050`0ea16060 ffffffff`00000002 00000050`63f79230 00000041`102dd1a0 : sqlmin!CQScanHash::ConsumeProbe+0x334
00000041`102dd170 00007ff8`c48c740f : 00000041`102dd2f0 00000050`63f78d10 00000000`00000000 00000050`0ea16060 : sqlmin!CQScanHash::GetRow+0x63
00000041`102dd1a0 00007ff8`c48c77aa : 00000050`63f78d10 00000041`102dd2f0 00000050`0ea16060 00000055`b7f31b50 : sqlmin!CQScanHash::ReadRow+0xf6
00000041`102dd1f0 00007ff8`c4903648 : 00000057`00000000 00000000`00000000 00000050`63f78d10 00000041`102dd3c0 : sqlmin!CQScanHash::ConsumeBuild+0x2fe
00000041`102dd390 00007ff8`c48b5e76 : 00000050`63f78b60 00000050`63f78b60 00000000`00000000 00000000`00000000 : sqlmin!CQScanHash::GetRow+0x47
00000041`102dd3c0 00007ff8`c48b6725 : 00000050`00000000 00000050`0ea16060 00000000`00000000 00000050`0ea16060 : sqlmin!CQScanXProducerNew::GetRowHelper+0x3d6
00000041`102dd430 00007ff8`c48b66d4 : 00000045`61a75ad0 00000000`000008db 00000056`e6e3f740 00000045`61a75ad0 : sqlmin!CQScanXProducerNew::GetRow+0x15
00000041`102dd460 00007ff8`c48c99b7 : 00000000`00000000 00000047`78d80160 00000050`63f78b60 0000005a`75332ca8 : sqlmin!FnProducerOpen+0x5b
00000041`102dd4a0 00007ff8`c48ca839 : 00000050`25ed1600 00007ff8`c62fa170 0000004f`20ba0007 00000000`00000000 : sqlmin!FnProducerThread+0x8e8
00000041`102dd990 00007ff8`c1d54fad : 0000005a`8ef40040 0000005a`75332ce8 ffffffff`ffffffff 00000000`00000006 : sqlmin!SubprocEntrypoint+0x10be
00000041`102df1f0 00007ff8`c1d55975 : 0000005a`75332ce8 0000005a`75332ca8 0000005a`75332d30 ffffffff`00000000 : sqldk!SOS_Task::Param::Execute+0x231
00000041`102df7f0 00007ff8`c1d555cd : 0000005a`8ef40040 00000041`102df8e9 0000005a`8ef40040 00000047`78d80160 : sqldk!SOS_Scheduler::RunTask+0xaa
00000041`102df860 00007ff8`c1d71c08 : 00003421`80efa353 00000047`78d80160 00000047`78d80160 00000000`00000000 : sqldk!SOS_Scheduler::ProcessTasks+0x3cd
00000041`102df950 00007ff8`c1d71ca0 : 00000047`78d80160 00000000`00000000 00000259`03677ae1 00000259`03677ae1 : sqldk!SchedulerManager::WorkerEntryPoint+0x2a1
00000041`102dfa20 00007ff8`c1d710e7 : 00000047`78d80160 00000041`102dfac0 0000005a`8e780280 0000008c`52bc96e0 : sqldk!SystemThread::RunWorker+0x8f
00000041`102dfa50 00007ff8`c1d71f28 : 0000005a`8e780230 00000000`00000000 00000000`00000000 0000005a`8e780170 : sqldk!SystemThreadDispatcher::ProcessWorker+0x2de
00000041`102dfb00 00007ff9`0d5413d2 : 00000000`00000000 00000000`00000000 0000008c`52bc96e0 0000008c`52bc96e0 : sqldk!SchedulerManager::ThreadEntryPoint+0x1d8
00000041`102dfbb0 00007ff9`0d6954f4 : 00007ff9`0d5413b0 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x22
00000041`102dfbe0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x34


THREAD_SHA1_HASH_MOD_FUNC:  a12ff890a8b7437eb483e84930fc72c77cbb6c40

THREAD_SHA1_HASH_MOD_FUNC_OFFSET:  a26173ed7e6dc2f9d6ca24ef0df3390736ec6890

THREAD_SHA1_HASH_MOD:  5a1ff99e537f07f76e0a40b649496822b185ca71

FOLLOWUP_IP:
sqlservr!CDmpDump::DumpInternal+22f
00007ff6`b30d9fef 448bf8          mov     r15d,eax

FAULT_INSTR_CODE:  3df88b44

SYMBOL_STACK_INDEX:  2

SYMBOL_NAME:  sqlservr!CDmpDump::DumpInternal+22f

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: sqlservr

IMAGE_NAME:  sqlservr.exe

DEBUG_FLR_IMAGE_TIMESTAMP:  5b356e07

STACK_COMMAND:  .cxr 0x1f000000000000 ; kb

BUCKET_ID:  APPLICATION_FAULT_sqlservr!CDmpDump::DumpInternal+22f

FAILURE_EXCEPTION_CODE:  42ac

FAILURE_IMAGE_NAME:  sqlservr.exe

BUCKET_ID_IMAGE_STR:  sqlservr.exe

FAILURE_MODULE_NAME:  sqlservr

BUCKET_ID_MODULE_STR:  sqlservr

FAILURE_FUNCTION_NAME:  CDmpDump::DumpInternal

BUCKET_ID_FUNCTION_STR:  CDmpDump::DumpInternal

BUCKET_ID_OFFSET:  22f

BUCKET_ID_MODTIMEDATESTAMP:  5b356e07

BUCKET_ID_MODCHECKSUM:  61047

BUCKET_ID_MODVER_STR:  2015.131.5153.0

BUCKET_ID_PREFIX_STR:  APPLICATION_FAULT_

FAILURE_PROBLEM_CLASS:  APPLICATION_FAULT

FAILURE_SYMBOL_NAME:  sqlservr.exe!CDmpDump::DumpInternal

FAILURE_BUCKET_ID:  APPLICATION_FAULT_42ac_sqlservr.exe!CDmpDump::DumpInternal

WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/unknown/2015.131.5153.0/5b356e07/sqllang.dll/2015.131.5153.0/5b356e8e/42ac/00566f26.htm?Retriage=1

TARGET_TIME:  2018-11-05T05:14:45.000Z

OSBUILD:  9200

OSSERVICEPACK:  17415

SERVICEPACK_NUMBER: 0

OS_REVISION: 0

SUITE_MASK:  144

PRODUCT_TYPE:  3

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 8

OSEDITION:  Windows 8 Server TerminalServer DataCenter

USER_LCID:  0

OSBUILD_TIMESTAMP:  2014-10-28 18:45:30

BUILDDATESTAMP_STR:  141028-1500

BUILDLAB_STR:  winblue_r4

BUILDOSVER_STR:  6.3.9600.17415

ANALYSIS_SESSION_ELAPSED_TIME:  5ece

ANALYSIS_SOURCE:  UM

FAILURE_ID_HASH_STRING:  um:application_fault_42ac_sqlservr.exe!cdmpdump::dumpinternal

FAILURE_ID_HASH:  {77a12068-0cde-91e3-2e56-26549b1ca688}

Appreciate your assistance



SQL Server Express

$
0
0

Back up from programme on computer running SQL Server Express version 10.50.4042  then tried to restore to same programme running on computer with SQL Server Express version 10.50.5500

Will not accept the restore on the second computer, are there any compatible settings or anything ?

Thanks

OPENROWSET error accessing XLSX if not manually saved

$
0
0

Good day,

Apologies if this is in the wrong forum. Please refer me to the correct one if this is the case, thank you.

I have a bunch of excel files that are added to a Dropbox folder on a monthly basis. These files should then be imported to a SQL Server Database.

My problem is that, when I try and import data from SOME of these XLSX files, OPENROWSET gives me the following error:

Msg 7399, Level 16, State 1, Line 14
The OLE DB provider "Microsoft.Ace.OLEDB.12.0" for linked server "(null)" reported an error. The provider did not give any information about the error.
Msg 7303, Level 16, State 1, Line 14
Cannot initialize the data source object of OLE DB provider "Microsoft.Ace.OLEDB.12.0" for linked server "(null)".

This is a general error message and I was not able to find a solution related to my problem in another thread.

Once I open a file and SAVE it MANUALLY, then OPENROWSET SUCCESSFULLY reads the selected range from the XLSX file.

I think that means OPENROWSET has some kind of access or permition restriction to these files, but I do not know why as other files with the same format does not produce this error.

Is there a way to give OPENROWSET power to read these files even if they have not been manually saved? Any alternate suggestion on how to overcome this problem in SQL will be much appreciated. 

Thanks,

Raynard

MS SQL server maintenance plan failed: error code 0x534. [SQLSTATE 42000] (Error 15404))

$
0
0

 

hello,

 

we have changed the name of MS SQL server 2005 from XYZ to ABC using

 

sp_dropserver <old_name>

GO

sp_addserver <new_name>, local

GO

 

Now our maitenance plan is getting failed we are not able to execute backup jobs we are getting following error

 

Date  03.05.2008 16:00:00
Log  Job History (ADM_AdminDB_TP_Backup.Subplan_1)

Step ID  0
Server  ABC
Job Name  ADM_AdminDB_TP_Backup.Subplan_1
Step Name  (Job outcome)
Duration  00:00:00
Sql Severity  0
Sql Message ID  0
Operator Emailed  
Operator Net sent  
Operator Paged  
Retries Attempted  0

Message
The job failed.  Unable to determine if the owner (XYZ\SQLServer) of job ADM_AdminDB_TP_Backup.Subplan_1 has server access (reason: Could not obtain information about Windows NT group/user 'XYZ\SQLServer', error code 0x534. [SQLSTATE 42000] (Error 15404)).

 

please help us in this  issue

SQL Server Express 2012 Edition with advanced services is the licensed software ?

$
0
0

Hello,

Can you please someone confirm SQL Server Express 2012 Edition with advanced services is the licensed software ? .


mastanvali shaik

Error trying to load data from CMD using BCP

$
0
0

Hello, I'm doing a assignment with AZURE.

https://docs.microsoft.com/en-us/azure/sql-database/sql-database-design-first-database ( Assignment)

I'm having trouble loading my text file data from command prompt into CMD while using BCP

bcp Course in SampleCourseData -S <ServerName>.database.windows.net -d <DatabaseName> -U <Username> -P <password> -q -c -t ","

After replacing the values with my correct serve names and database names i get an error after entering it in the CMD

BCP: unknown d

Any help would be appreciated thank  you


OleDB access to Express LocalDB: SQL server does not exist or access is denied.

$
0
0
The "sql server" in this desktop machine is just the simple "SQL Server 2016 Express LocalDB" that is installed with Visual Studio 2017, so there is no SQL Server in this desktop machine.

The need is to access the "SQL Server 2016 Express LocalDB" by OLEDB (OleDbConnection).
Access by SQL (SqlConnection) and ODBC (OdbcConnection)works fine.
But the OLEDB (OleDbConnection) is receiving error message "SQL server does not exist or access is denied" when trying to accessLocalDB by OLEDB.

Please, consider the following C# code:

instance = "MSSQLLocalDB";
odbc_driver = "ODBC Driver 17 for SQL Server";
oledb_provider = "SQLOLEDB";

sql_string1 = $@"Server=(localdb)\{instance}";
sql_conn1 = new SqlConnection(sql_string1);
sql_conn1.Open();   <<--- this works fine ---<<

odbc_string1 = $@"Driver={odbc_driver};Server=(localdb)\{instance}";
odbc_conn1 = new OdbcConnection(odbc_string1);
odbc_conn1.Open();   <<--- this works fine ---<<

oledb_string1 = $@"Provider={oledb_provider};Data Source=(localdb)\{instance}";
oledb_conn1 = new OleDbConnection(oledb_string1);
oledb_conn1.Open();   <<--- this generates the error message ---<<

Any suggestion what may be wrong ?

Thank you
Marcio

SQL Server

$
0
0

I purchased a new computer and transferred all my files using a thumb drive.  Now there are files on my desk top that I cant get rid of or open that give me a message that they are in something called SQL Anywhere Personal Server.  This includes copies of my quickbooks!!!!!  WTF?  I never installed this - how did it hijack my files and how do I get rid of it?  Please help!

JDBC connection to SQLExpress times out from time to time

$
0
0
I'm using SQLExpress 2012. From time to time I get JDBC connection timeout to the port 1433. Restarting the server doesn't help. Only solution is restarting the computer. Please help.

Recent Windows 10 Home updates have caused Classic ASP Webpage response with SQL 2008 R2 Express to be very slow

$
0
0
I have this small website done in classic ASP that I run on a small private network of 7 laptops that do not connect to a live internet connection which I use for a karaoke hosting service.  I developed it on my desktop which is always connected to the internet and use a classic ASP program there to update the database.  My computers are running Windows 10 Home and the database is in SQL 2008 R2 Express.  Everything has been fine until recently.  The application on my desktop has recently started crawling at a snail's pace when it must connect and retrieve/update/add data to the database.  Of course, my desktop always updates Windows, where the other laptops do not.  Both are also running IIS 10, but the desktop build is 17134, where the laptops that are not connected to the internet all the time are at build 15063.  The only thing I can figure is a recent Windows 10 Home update has caused the problem.  Has anyone else run into this or is it a known issue and is there a fix?  I'm sure the laptops that aren't connecting to the internet have Windows updates to apply, but I'm afraid to do it as I don't want response time issues on this private network when I host karaoke sessions.  I have watched CPU/Memory/Disk monitors in Task Manager while the program which maintains the database attempts selecting data.  There is no jump in any of the three as far as usage.  This is driving my crazy.  Any ideas anyone?

Updating SQL Server Express 2005 for use in Windows 10 with Office Accounting Pro 2009 SP4

$
0
0

Because SQL SE 2005 is not supported on Windows 10, I upgraded my installation to SQL SE 2014 (32-bit) for use with MS Office Accounting Prof 2009.  I chose 2014 thinking the latest version would have the best longevity.

The upgrade seemed to proceed satisfactorily, with no error messages showing in the dialog box.  I upgraded the existing database MSSMLBIZ.

However, when I try to re-attach my MSOA database, I receive an error message. "Could not find stored procedure 'sp_dboption.'

Suggestions would be appreciated.  Thank you

.


Ron

Viewing all 3319 articles
Browse latest View live


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