How to import XML into SQL Server database?

I got a problem in SQL Server 2005, it is about connection with Database engine?

  • I have a problem, I am trying to import data from a flat file, I cannot do this if I connect using the 'sa' username it gives me an error that 'Access is denied'... But if I try to do this connecting using 'Windows Authentication' then I am able to import the data... The problem I have is that I need to connect to a remote server database, and import the data from the local server, and I am unable to use the 'windows authentication' for this matter... Can anyone help me out on this one? but I actually CAN import

  • Answer:

    From my experience and enviroments I have worked in, both servers must have a common SQL account. This has worked for me.

Nice at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Are you able to login using to the remote server using the SA account? Also, try explicity mentioning the of the instance (Ex: Servername\instancename,port#)

The Judge

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.