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

  • SEARCH
  • Home
  • 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 3330742
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:31:10+00:00 2026-05-17T23:31:10+00:00

first I have checked that Server Authentication is already set to: SQL server and

  • 0

first I have checked that Server Authentication is already set to:

“SQL server and Windows Authentication mode” (mixed mode)

้here ‘s my web.config connectionstring

<connectionStrings>
    <add name="StockConnectionString" connectionString="Data Source=192.168.0.2;Initial Catalog=Stock;Persist Security Info=True;User ID=op;Password=operator" providerName="System.Data.SqlClient"/>
</connectionStrings>

Whene I test running (ctrl+F5) under VS2010 development this can connect to remote SQL server without any problem. but when i publish this project to local IIS (same web.config) an error occured..

Login failed for user ‘op’. Reason:
Not associated with a trusted SQL
Server connection.

also i can connect to SQL server via SQL server Management Studio with SQL server authentication same user/pass.

no idea what’s wrong with this.

  • 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-05-17T23:31:10+00:00Added an answer on May 17, 2026 at 11:31 pm

    finally, after 3 days can’t figure this out. then i tried start over.

    created a new project (ASP.NET MVC 2 web app) in VS2010.
    go to Database Explorer > Add Connection..

    use SQL server authentication to remote SQLserver directly instead of local.

    then gotcha!! it told me..

    this server version is not supported. you must have Microsoft SQL server 2005 or later.

    my project was created under Win XP connect to SQLserver 2000 and it’s work fine. now the answer for an error above is..

    Visual Studio 2010 dropped support for SQL Server 2000. You’ll either have to go back to VS2008/SL3, upgrade your SQL Server, or do things manually outside of Visual Studio.

    …really appreciate this so much

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

Sidebar

Related Questions

I have First/Last/Previous/Next buttons that change the selected child node of a TreeViewItem. Setting
A few quick searches discovered that I'm obviously not the first person to have
First of all I have to admit that my programming skills are pretty limited
I have an application that when it first starts i need it to run
I have just built up my first SVN server, along with the mod_dav_svn module
I have a big project that was first created in Borland C++ 6. We're
I have written a very simple socket server. It listens in post 63254. First
I am trying to get an array of checkboxes that ARE checked AND have
First, I want to say that I'm out on deep water here, since I'm
Here's the quick background: I've got a client and a server program that are

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.