Solved

Login failed for user sa!

Posted on 2003-11-21
12
20,957 Views
Last Modified: 2013-11-30
Hi there,
I have an Access database.

I tried to imported it with DTS import/export wizard.

Here were the steps i did

choose a data source :
access

choose a destination:
microsoft old db provider for sql server

i select USE SQL Server authentication

i type username : sa   , password : blank

when i try to select "new" from database to give a name
i get the follow error :

------------------------------------
Error source : Microsoft OLD DB PRovider for SQL server
Error description : login failed for user 'sa' Reason : Not associated with a trusted sql server connection
context : error during initialization of the provider

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

What is wrong ???
How i correct the error so i can import my access db ???

pls help
urgent




0
Comment
Question by:msolomos
  • 4
  • 3
  • 3
  • +1
12 Comments
 
LVL 15

Expert Comment

by:namasi_navaretnam
ID: 9797884
There are two thing you will need to check.

1) Is blank is the password for sa.

To assign a new password do this:
How to assign the sa password on a newly installed server (Enterprise Manager)
To assign the sa password
Expand a server group, and then expand a server.
Expand Security, and then click Logins.
In the details pane, right-click sa, and then click Properties.
In the Password box, type the new password.

2) Rightmouse click on your server name and select properties from Enterprise Manager.
Then select "Security Tab". Make sure "Sql Server and windows" option is selected.

HTH
0
 
LVL 7

Expert Comment

by:mnye
ID: 9797887
In Enterprise manager:

>right click the server registration you are trying to do the import to
>select "Properties"
>select the "Security" tab
>check the radio box for "SQL Server and Windows" under Authentication


hth
matt
0
 

Author Comment

by:msolomos
ID: 9797952
guys,
i have tried to assign the password again , through the enterpise manager from security ---> logins ....right click etc etc ..and i assigned it again

now back to dts import /export wizard ...if i try to import the access db ... to destination : microsoft ole db provider for sql server i get that error. ofcourse i use SQL server authentication

pls help
i am despert

PS> noticed that i am new in sql
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 7

Expert Comment

by:mnye
ID: 9797992
what are you selecting for the Server? depemding on your network set up you may need to try one of the following methods of connection to your SQL Server instance:

IP - xxx.xxx.x.xxx
FQDN - SQLSERVER1.DOMAIN.COM
Server Name - SQLSERVER1
Default - (Local)

Of all these, IP is probably the best bet and Local is probably the least likely.

hth
matt
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 9798066
Please let me know if you need any help maintaining your many old open questions:

1 09/24/2003 250 Totals in categories and subcategories  Open Active Server Pages (ASP)
2 10/09/2003 125 Composing an email with dimac component  Open Active Server Pages (ASP)
3 10/16/2003 125 the famous new  Open Active Server Pages (ASP)
4 10/17/2003 250 Keeps crashing on a specific file ...  Open Macromedia Dreamweaver
5 02/20/2003 100 Sending forms | pLEASE HELP asap  Open Active Server Pages (ASP)
6 04/21/2003 250 POWER DVD !!! PLS HELP  Open Applications
7 10/03/2003 50 Learn me syntax  :)  Open Active Server Pages (ASP)

Thanks,
Anthony
0
 
LVL 15

Expert Comment

by:namasi_navaretnam
ID: 9798096
You may need to restart you SQL Server.

Pls maintain open questions as Anthony suggests.
0
 

Author Comment

by:msolomos
ID: 9798308
i have asked kindly help on this and i offered 500 points
but nobody seems to help ...

>>namasi  / restarted didn't help

>>mnye   i don't know what r u talking about :(

0
 
LVL 15

Expert Comment

by:namasi_navaretnam
ID: 9798341
Try with a different user who has readwrite permission on this database.
0
 
LVL 15

Accepted Solution

by:
namasi_navaretnam earned 500 total points
ID: 9798381
Have you done this?

2) Rightmouse click on your server name and select properties from Enterprise Manager.
Then select "Security Tab". Make sure "Sql Server and windows" option is selected.

I tried the same with sa user it works without problem.
0
 
LVL 7

Expert Comment

by:mnye
ID: 9798630
msolomos,

you have have 11 Open questions, one which dates back to Feburary.  If you resolve these Id be happy to help, maybe even acperkins would be more willing to assist you, whom is one of the best resources for SQL Server here.

Thanks,
Matt
0
 

Author Comment

by:msolomos
ID: 9799054
thanks mate that really help
although for 500 points you should had ask earlier

>> acperkins  can you pls email me to solomos@otenet.gr how to close the rest of the questions ?
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 9799708
>>how to close the rest of the questions<<
From the EE Guidelines here are your choices:

Accept an Expert's Comment as the Answer http://www.experts-exchange.com/help/closing.jsp#2
Accept Comments from more than one Expert (a Split) http://www.experts-exchange.com/help/closing.jsp#3
Request a refund because you answered your own question (Refund/PAQ) http://www.experts-exchange.com/help/closing.jsp#4
Request a refund because no one answered your question (Delete) http://www.experts-exchange.com/help/closing.jsp#5
Abandon your question and leave the mess for someone else to clean up http://www.experts-exchange.com/help/closing.jsp#12

Let me know if you need any more information and thank you for getting up to date with your questions.

Anthony
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sql server computed columns 11 30
SQL Error - Query 6 24
optimize stored procedure 6 24
Help in Bulk Insert 9 31
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question