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

Connecting to Access

$
0
0

I'm not sure where I should post this as it is an Access 2013, Windows 7 and perhaps SQL server question.

Using the following code, I can run it fine locally from the run window. However, I cannot run the VBS code from Internet Explorer. I get this error, "Provider cannot be found. It may not be properly installed." Code 800AO7A, source ADODB. Connection. I suspect it is a port issue with 1433, but I'm not sure. How can I resolve this issue? 

Dim strCurrentRACF
Dim strName
Dim ErrMsg
Dim connStr
Dim strRunSQL
Dim objConn
Dim txtUserNumber
Dim atl3270Tool


'Set atlDirectorObject = CreateObject("atlDirectorObject.atlDirector") 'Reenable later
'atlDirectorObject.CreateTool "3270", 0, True, True atl3270Tool, ErrMsg 'Reenable later
'objDirector.CreateTool("3270", 1, True, True, 0, obj3270Tool, strDirErr)
'atlDirectorObject.CreateTool "3270",0, True, True,0, atl3270, ErrMsg

'strCurrentRACF = atlDirectorObject.CurrentRACFId
'strName = atlDirectorObject.UserName 'Reenable later

strName = "Roberto"

txtUserNumber = InputBox("Please put in a loan number") 'renable later

connStr = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source=C:\Users\rbirch\Desktop\example.accdb"
Set objConn = CreateObject("ADODB.Connection")

strRunSQL = "INSERT INTO PEOPLE (Fname, Loan) VALUES ( '"& strName &"', '"& txtUserNumber &"');" 'change config strName 'check outside of MSP

msgbox  strRunSQL

objConn.Open(connStr) ' this line errored out
objConn.Execute strRunSQL
'strName = "Thrawn"

strRunSQL = "INSERT INTO PEOPLE (Fname, Loan) VALUES ( '"& strName &"', '"& txtUserNumber &"');" 'change config strName 'check outside of MSP
objConn.Execute strRunSQL

objConn.Close


Licensing and restrictions of use of SQL Server Express

$
0
0

Hello -

I have a friend with a small machine shop.  He needs a very basic program written; i.e. Visual Studio .Net program with a SQL Server backend.  I have SQL Server 2008R2 at home, as well as Visual Studio .Net.  

He does not have SQL Server at all (or any of the .Net framework either for that matter).  Can I use SQL Server Express for free in his shop or does he need to purchase the regular SQL Server?  How about the .Net framework?

Any help will be appreciated!

Juniormint

SQL Server 2016 Express Advanced Install - This app can't run on your PC

$
0
0

I'm attempting to install SQL Server 2016 Express Advanced Services on Windows 10 Home with a 32-bit operating system and a x64-based processor. This was the default Windows 10 upgrade from the the previous Windows 7 Home OS. This is the only software that that I've installed on this PC that has presented an error such as this:

This app can't run on your PC
To find a version for your PC, check with the software publisher

Windows 10 has the latest updates so it should be current.  I've tried running the setup executable as administrator and I've created another user on the system with full admin privileges - but no luck. Has anyone else encountered this problem?

What is SQL Server Embedded Edition used by?

$
0
0

I see a number of discussions about SQL Server Embedded Edition (instance name MICROSOFT#SSEE).  It does not appear to be easy to use directly.  I was wondering if there are any Microsoft applications or services that actually use it?  Or is it just there?

Right Click on table takes 1 minute to open context window

$
0
0

I can right click on stored procedures, right click on the table folder, right click on anything else and they work properly, However, if I right click on a table it takes one minute to open the context window.  I am using SQL Server Express 2014, also, I am using SSMS 2014, but I have tried it with SSMS 2012 and I have the same problem.  I don't have this problem all the time, in fact all was working well yesterday then it just started.  I closed down my computer thinking that things would be better when I started up in the mornign, but that isn't the case. I see that this has been reported in the past with older versions of SQL Server but was supposedly fixed with 2008.   Does anyone have any ideas?

This problem goes away if I am not connected to the internet - when I am connected to the internet I also have a VPN connection.  This is a local database, so I don't understand why being connected/disconnected has such a huge impact when I right click tables. 

I just realized that if I expand the Columns under the table, then right click on a particular Column the context window opens right up, but right clicking on the table locks up SSMS for 1 minute

This is very annoying can someone please help?


Microsoft.SqlServer.Management.Smo from c#

$
0
0

Hi

I am using server express 2012 .

How can I give he  reference  to  the Sqlserver..Management.Smo from c# application.

Regards

Pol


polachan

sql server 2012 express install on server 2012

$
0
0
When I read the documentation on this setup, it says that it is compatible. It also says not to set it up on a domain controller. When I install windows server 2012, it will only setup as a domain controller. What am I missing. I dont need a domain controller. I only need a standalone sql server for an application. What is the combination that I need to accomplish that? I was going to use a server 2008 installation, but I ran into issues with that and MS lack of O/S support for that...dead update links, incompatable updates, etc. But since this is a pretty much dead product anyway I would like to be a little newer than that. I am trying to get as updated as I can and still remain compatible with the vendors frontend. The vendor provides no support other than their products on supported platforms,

Ironman Welder

$
0
0
How do I locate my Ip Address on my Laptop computer?

Installing SQL Server on Windows 7 as a production

$
0
0

Hi, I'm planning to use SQL Server Express Edition as a production database as i believe it is sufficient for my needs however i don't have any experience using it on top of a client Operating system like Windows 7/8. The database will primarily be accessed by 10-15 employees on a small network.

Since we are a bit short on money, the server setup might be something like this.

OS: Windows 7/8

CPU: 3rd/4th Generation i5 processor

Memory: 4 - 8 GB of RAM.

Any thoughts will be greatly appreciated.

Best,

Derstine

How to trim a space in sql server.

$
0
0

Hi guys,

While am trying to load values from txt format file one column value is inserted as '5'. Am trying to trim this value but am unable to do this. Can any one please help me on this.

Thanks,

Bharathi.bh

SQL Server Express 2014 LocalDB and SQL Server 2016 LocalDB

$
0
0

I have both of these loading and remember needing an old version for a previous copy of Office

I have Office 2016 as part of my Business Premium

If anyone can tell me if I need to load the 2014 I would appreciate it

They may also know if I have to keep my old versions of SQL Server 2012 as well as the older .NET Framework 4.5, 4.51 & 4.5.2

Thanks to anyone who can oblige

Trev

VS2015 SQL Error26 on Creating New Database:::Erroro Locating Server/Instance Specified

$
0
0

Windows 7 - Service Pack 1

SQL Server 2012 v11.00.2100

Visual Basic 2015 - v14.0.25123.00 Update 2

Server Name:: HP-OWNER\SQLEXPRESS

I'm attempting to create a website (ASP.NET) in VS 2015, with an attached database (.mdf) used to host user input. Input such as Names, Passwords, Usernames, DOB, etc.... When attempting to create this
database a SQL Error26 fires. In VS2015 I go to 'Add a New Item', 'Select SQL Database', 'Name the DB "PetersenFIN.mdf"', 'Click OK to place the database within the website folder structure folder=APP_Data", ((Within 15 seconds the following occurs!!! )))) At this point VS2015 flickers for a second, says that it is (Not Responding), recovers and goes back to normal and finally SQL ERROR FIRES.
Have googled and youtubed and searched forums for solutions to error to
no avail.
Please ask for any additional info that may be needed.
Thanks.

Steps Taken to Resolve::
**Gathered IP's via cmd-ipconfig
**Gathered and verified the TCP Port # ((1433)) that is being used by SQL2012 via SQL Server Logs
**Via SQL Config Mgr. verified that SQLEXPRESS is running and is default
**Via SQL Config Mgr. verified that TCP/IP is enabled--and listed 2 :::: Shared Memory is 1
**Confirmed that instance names are correct in all connectionstring coding
**Remote connections enabled via SQL Config Mgr

Consistently Check Before/During/After that appropriate SQL Services are running via services.msc (SQLEXPRESS & BROWSER)
Have created in Norton AntiVirus-Firewall exceptions for ports 1433 & 1434 ((Windows 7 Firewall is disabled and completely controlled via Norton)) ((Also created exceptions for sqlbrowser.exe &
sqlservr.exe))
Able to ping both IPv4 and IPv6 IP's via cmd
Able to login to server via IP address rather than server name::Able to login to server via IP address & Port # as well
Able to login to server via both IP address & normal server name with ((tcp) prefix

Can successfully test connection to server and DB via VS2015 Tools

Think I have covered it all

ERROR when installing SQL Studio Management JUNE 2016

$
0
0

Hi Team

I keep getting this Error Message when installing JUNE 2016 SSMS

Fatal Error during installation (0x80070643)

I wanted attach the Log This system want let me.

Using SQL Server Express 2016

Hope You Can Help

SQL 2016 express

$
0
0

I have downloaded this version. But later I noticed there are two kinds of Express: standard and with Advanced features. How can I download the later one?

Thanks



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....

how ti 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....

can't create instance with LocalDB

$
0
0

The machine is installed SSMS 2016 pre and then installed SQL Server 2014 express for creating local database, however when I am trying to create a localdb instance, it gave me error like below:

command:sqllocaldb create "instance"

error from console:

Creation of LocalDB instance "instance" failed because of the following error:
Unexpected error occurred inside a LocalDB instance API method call. See the Windows Application event log for error details.

2 errors from event log:

1. LocalDB parent instance version is invalid: MSSQL11E.LOCALDB

2. Windows API call RegOpenKeyExW returned error code: 2. Windows system error message is: The system cannot find the file specified.
Reported at line: 1028.

Then I uninstalled all things related to SQL Server and re-installed SQL Server 2014 express only, it still gives the same error message.

Is there any way to solve the issue?

SQL Server Installation issue on Windows 10 PC

$
0
0

I am getting below issue while installing SQL Server 2014 on windows 10 pc.

It is a blocking issue for me, please help me out.

TITLE: Microsoft SQL Server 2014 Setup
------------------------------

The following error has occurred:
An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.6229",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer to Help and Support for more information. HRESULT: 0x800736B3.
For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.4100.1&EvtType=0xDF039760%25401201%25401

SQL Server Express - Problem with instalation

$
0
0

Hi

Today I am  instal SQL Server Express.But I'm find this problem after instalation

This SQL Server setup media does not support the language of the OS, or does not have the SQL Server English language version installation files. Use the matching language-specific SQL Server media, or instal both the language specific MUI and change the format and system locales through the regional settings in the control panel.

Connect to SQL Server 2016 Express that runs on VirtualBox

$
0
0

I have installed SQL 2016 Express on Oracle VirtualBox. Now I am trying to connect to it from Management Studio that runs on the Host system. I am IP\Instance but getting:

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

Cannot connect to 10.0.2.15\sql2016.

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

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) (Microsoft SQL Server, Error: -1)

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

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

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

 How would I solve the problem?

Thanks

 
Viewing all 3319 articles
Browse latest View live


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