Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8991171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:39:56+00:00 2026-06-15T22:39:56+00:00

I am getting an error when i try to copy some data from a

  • 0

I am getting an error when i try to copy some data from a database to a .txt file.

My line reads:

string connString;
connString = "Data Source=(local);Initial Catalog=Ochhi che guardano;Integrated Security=SSPI";

But i get this error: “Cannot open database requested by the login. The login failed. Login failed for user… etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:39:58+00:00Added an answer on June 15, 2026 at 10:39 pm

    You are using integrated security, which means that the user who is running your program needs to have the relevant access permissions on the database. If you are running the program interactively (e.g., it is not a service), then YOU need the access permissions, that is, the account that you used to log into Windows needs to be given the permissions on the database. If you do not control the database, then speak to the person who does – normally the database administrator (DBA).

    You also need to consider who will be using your program in future, e.g., when it goes live. If it will not be you, then whoever it is will need to be given the database permissions, assuming you continue to use integrated security; if your program runs as a service, then the account the service uses will need to be given the database permissions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to copy a 5mb database file to data folder from raw
Update getting error when i try to call the method from Activity: SQLiteDatabase db
I'm using SqlClient.SqlBulkCopy to try and bulk copy a csv file into a database.
I am getting this error when I try to open a file: java.io.FileNotFoundException: D:\Portable%20Programs\Android%20Development\workspace3\XXX-desktop\bin\World_X.fr
getting error while try to start service
Getting this error when try to add an item to my repositories/context: Collection has
I am getting this error when I try to deploy my Web API project
I am getting an error when i try to show a diff set of
I'm getting this error when I try run DB:Rake : ** Invoke db:migrate (first_time)
I'm getting following error when I try to log onto phpMyAdmin. User * *

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.