Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Server Explorer and SQL

Server Explorer and SQL

Scheduled Pinned Locked Moved IT & Infrastructure
databasevisual-studiocsharpsql-serversysadmin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andy Davey
    wrote on last edited by
    #1

    Hi all, I have a new installation of SQL 2000 on our domain here at work on a different machine to the one I develop one. For some strange reason however, when I connect to the a database on the SQL Server through Server Explorer in VS.NET (both 2002 and 2003), it won't allow me to do stuff like create new stored procedures, edit exiting ones etc. A real pain in the butt since otherwise I have to open up Access or QA in the background to make changes to the database instead of right in the IDE. What's also weird tho, is that I have MSDE 2000 installed on yet another machine on the domain, and it doesn't have any problems with me editing the stored procedures, or even doing some remote debugging. I've experienced this problem once before with a remote database, and I'd just assumed the problem was because the database was remote and not on the same domain etc. Anyways if anyone else has had a similar experience and knows of a work around, or even what makes VS decide for which DB connections it will enable/disable the "edit stored procedure" menu items etc, that will be great. TIA Andy

    B 1 Reply Last reply
    0
    • A Andy Davey

      Hi all, I have a new installation of SQL 2000 on our domain here at work on a different machine to the one I develop one. For some strange reason however, when I connect to the a database on the SQL Server through Server Explorer in VS.NET (both 2002 and 2003), it won't allow me to do stuff like create new stored procedures, edit exiting ones etc. A real pain in the butt since otherwise I have to open up Access or QA in the background to make changes to the database instead of right in the IDE. What's also weird tho, is that I have MSDE 2000 installed on yet another machine on the domain, and it doesn't have any problems with me editing the stored procedures, or even doing some remote debugging. I've experienced this problem once before with a remote database, and I'd just assumed the problem was because the database was remote and not on the same domain etc. Anyways if anyone else has had a similar experience and knows of a work around, or even what makes VS decide for which DB connections it will enable/disable the "edit stored procedure" menu items etc, that will be great. TIA Andy

      B Offline
      B Offline
      basementman
      wrote on last edited by
      #2

      Edit your Server registration to use SQL Server Login and passwords instead of Windows Domain security. Then, enter a login and password that has rights to create objects (such as sa).

      A 1 Reply Last reply
      0
      • B basementman

        Edit your Server registration to use SQL Server Login and passwords instead of Windows Domain security. Then, enter a login and password that has rights to create objects (such as sa).

        A Offline
        A Offline
        Andy Davey
        wrote on last edited by
        #3

        Thanks for your post. Unfortunately, I've already tried using the sa account etc and still had the same problems. It's really weird. Almost like a different driver is being used to access the database on that server as opposed to databases on other servers. The reason I say this is that if I connect to a database that VS will allow me to edit/add etc etc and the server is MSDE 2000 I get the following folders underneath the database connection: Database Diagrams, Tables, Views, Stored Procedures, Functions. Yet, under the SQL 2000 database connection, I'm only seeing Tables, Views and Stored Procedures. No Database Diagrams and no Functions. Odd. Any thoughts?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups