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 6827479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:16:14+00:00 2026-05-26T22:16:14+00:00

$myServer = sql2008; //$myUser = zach; //$myPass = pass; //$myUser = DOMAIN/zach; //$myPass =

  • 0
$myServer = "sql2008";

//$myUser = "zach";
//$myPass = "pass";

//$myUser = "DOMAIN/zach";
//$myPass = "pass";

//$myUser = "zach@DOMAIN.net";
//$myPass = "pass";

$myUser = "sa";
$myPass = "pass";


$myDB = "Database"; 

//connection to the database
$dbhandle = mssql_connect($myServer, $myUser, $myPass)
or die("Couldn't connect to SQL Server on $myServer. Error: " . mssql_get_last_message());

So what i have noticed is that i can connect with SA (server admin) but i can not connect with my user name, which is a domain user that has a lot of permissions.

the only one that is giving me an error message is when the username is zach@DOMAIN.net.

Couldn't connect to SQL Server on sql2008. Error: Login failed for user 'zach@DOMAIN.net'.

that leads me to believe that there must be some setting on the server that allows for logins, but i dont know where to look.

*UPDATE****

So after looking in SQL Server Management Studio, I realized that it accepts logins from the sysadmin server roles group. So i added my AD account to the group, but i was still not able to connect with my user name. i used they three approaches i listed above. is there a fourth option?

That being said, is there a way that i can tell it to connect to a group not sysadmin? for security reason i would prefer not to connect to sysadmin?

  • 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-26T22:16:14+00:00Added an answer on May 26, 2026 at 10:16 pm

    The solution that I found was SQL Server did not like the fact that I was trying to use a domain account. I realized that any SQL user account that i created works fine, it is just when I try to use AD accounts it doesn’t work.

    I am sure that some people will want to use AD, but i don’t need it in this situation.

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

Sidebar

Related Questions

How can get in ASP.NET user name and password from URL? https://myUser:myPassword@myServer/ HttpContext.Current.Request.Url is
As per the above, I've tried: establish_connection(:adapter => jdbcmssql, :url => jdbc:jtds:sqlserver://myserver:1433/mydatabase;domain='mynetwork';, :username =>
I was using the code, <?php $mbox = imap_open(https://myserver.in, developer@myserver.in, 123456, OP_HALFOPEN) or die(can't
In ASP.NET MVC 3 site, I open the following uri http://myserver/incidents/supercompany/register That page needs
Iam developing a site in codeigniter.This is my url http://myserver.net/visio/UBwXo . Here h ttp://myserver.net/visio/
This is my SMTP settings in App.Config: <system.net> <mailSettings> <smtp from=Reminder &lt;reminder@myserver.com&gt;> <network host=mail.myserver.net
I need to check the connection with the function http://php.net/manual/en/function.ssh2-connect.php But if I made
I tried using this: mvn dependency:get -DrepoUrl=http://myserver/artifactory -Dartifact=com.mypackage:my-package-name:1.0.0 However it just downloaded the pom.xml
I have a URL string in the following format. http://myserver.com/_layouts/feed.aspx?xsl=4&amp;web=%2F&amp;page=dda3fd10-c776-4d69-8c55-2f1c74b343e2&amp;wp=476f174a-82df-4611-a3df-e13255d97533 I want to replace
Could someone translate this, into a syntax that uses the built in variables? \\myserver\builds\mybuild\Daily_20090525.1\Release\_PublishedWebsites\myWebsite

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.