CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2002
    Posts
    51

    Problems accessing SQL database

    Hi all,

    I'm trying to read data from an SQL database (the database is the one created by Microsoft WUS)
    I have got the code in vb.net to connect but I can't seem to login properly..
    I receive the error: "SQL server does not exist or access denied"
    I've read numerous posts for setting an "sa" password, but it seems there is already one set and I don't know what it is!
    Because WUS is interfaced via a webpage am I right in guessing there would be a guest type account ? because I don't actually need to write anything to the database, only read.. so that would be ideal.
    Does anyone have any ideas

    Thanks

  2. #2
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: Problems accessing SQL database

    You need a valid password for the database!

    There are companies whicxh will "break into" databases provided you submit legal documentation [results will vary and are basically 0% is highly envrypted]. Be prepared to spend $10,000++.

    This should not apply since the DB you mention appears to come from a known source so the password should be able to be found out [ at least for the original version]]
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  3. #3
    Join Date
    May 2002
    Posts
    51

    Re: Problems accessing SQL database

    Thanks for your reply, I think I will have to try and find out if WUS can be loaded onto an exsisting SQL server.. then I can set the password myself.
    Bit of a hassle, but I wouldn't know where to start in trying to get the default password.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured