Jump to content

Management studio 2008 - Πρόβλημα με Intellisense


v.charalab
 Share

Recommended Posts

Το έχω στο Pc μου και συνδέομαι στον server για να γράφω queries. Ενώ όταν είμαι απευθείας στο management studio του server που είναι εγκατεστημένος ο sql server το Intellisense δουλεύει μια χαρά - όπως επίσης και σε ένα laptop που έχω εγκαταστήσει το Management studio, όταν συνδέομαι από το pc μου (το σταθερό αυτή τη φορά) στον sql server, το Intellisense δε λειτουργεί. Παρατήρησα κάτι το οποίο και επισυνάπτω που ίσως να φταίει.

Αν ξέρει κάποιος τι παίζει θα με βοηθούσε πολύ

Ευχαριστώ
Link to comment
Share on other sites

Ναι έχω ακολουθήσει όλα τα βήματα που βρήκα online για το τι πρέπει να κάνω.

Επίσης όταν κάνω δεξί κλικ στο Node τα κουμπιά start, stop, pause κτλ είναι disabled.

Αν έχω καταλάβει καλά φαίνεται σαν ο Server να είναι offline και γιαυτό δε δουλεύει το Intellisence, ενώ στα άλλα Pc δουλεύει κανονικά με τα ίδια credentials [*-)]

 

Link to comment
Share on other sites

Δεν έχει να κάνει με αυτό. Έχω πολλους servers στους οποίους συνδέομαι και είναι ακριβώς σε αυτή την κατάσταση στο εικονίδιο και έχω τα πάντα κανονικά. Περίεργο...

Link to comment
Share on other sites

Προφανώς χρησιμοποιείς Windows Authentication για να συνδεθείς στον SQL?

Εχεις δοκιμάσει με SQL Server Authentication  και με 'sa' για να συνδεθείς remote. Παρουσιάζει την ίδια συμπεριφορά?

 

Link to comment
Share on other sites

Δεν έχει να κάνει με το αν έχεις συνδεθεί με τον ένα ή τον άλλο τρόπο.

Σύμφωνα με τα BOL

Conditions That Affect IntelliSense
The following conditions might affect the behavior of IntelliSense:

  • There is a code error above the cursor.
    • If there is an incomplete statement or other coding error above the location of the insertion point, IntelliSense may be unable to parse the code elements, and therefore will not work. You can comment out the applicable code to enable IntelliSense again.
  • The insertion point is inside a code comment.
    • IntelliSense options are not available when the insertion point is within a comment in your source file.
  • The insertion point is inside a string literal.
    • IntelliSense options are not available when the insertion point is inside the quotation marks around a string literal, for example: WHERE FirstName LIKE 'Patri%|'
  • The automatic options are turned off.
    • Many IntelliSense features work automatically by default, but you can disable any feature. Even when automatic statement completion is disabled, you can use an IntelliSense feature. For more information, see How to: Modify IntelliSense Options.

 

Database Engine Query IntelliSense
The following issues apply to the Database Engine Query Editor:

  • The IntelliSense functionality of the Database Engine Query Editor does not support all Transact-SQL syntax elements. Parameter help does not support the parameters in some objects, such as extended stored procedures. For more information, see Transact-SQL Syntax Supported by IntelliSense.
  • Intellisense is only available when the Database Engine Query Editor is connected to an instance of the SQL Server 2008 Database Engine. IntelliSense is not available when the Query Editor is connected to earlier versions of the Database Engine.
  • IntelliSense is turned off in the Database Engine Query Editor when the SQLCMD mode is set on.
  • Completion lists do not include database objects for which you do not have permissions. IntelliSense flags references to objects for which you do have permissions. For example, if you open a script that is written by someone else, any references to objects for which that person has permissions and you do not are flagged as incorrect.
  • Completion lists might stop working if you lose the connection to the instance of the SQL Server Database Engine. Reconnect to the instance.
  • Completion lists do not include database objects that are created by using another instance of SQL Server Management Studio after the instance that you are using has connected to the database. To see the objects, disconnect the instance of Management Studio that you are using from the database and reconnect.

 

Link to comment
Share on other sites

Με sql authentication συνδέομαι. Να δοκιμάσω unistall ?? Το παράξενο είναι ότι και στα 3 μηχανήματα εγώ έκανα τις εγκαταστάσεις, οπότε ακολούθησα τον ίδιο δρόμο..[^o)]

 

Link to comment
Share on other sites

Δεν αναφέρει πουθενά Beta . RTM αναφέρει

Mε query

SELECT

@@VERSION

μπορείς να δεις την ακριβή version και CU version  που έχεις σε SQL 2008.

Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64) ...(Build 7601: Service Pack 1)

Και οι versions με τα CU # http://support.microsoft.com/kb/981356

http://blogs.msdn.com/b/sqlreleaseservices/archive/2011/04/18/cumulative-update-7-for-sql-server-2008-r2.aspx

Το θέμα είναι αν το πρόβλημα με το Intellisense το έχεις μόνο στο PC με το Visual Studio 2010 SP1?

 ή εμφανίζετε και σε άλλο PC χωρίς Visual Studio 2010 SP1 ?

 

Link to comment
Share on other sites

Το πρόβλημα από το «σταθερό» σου είναι πως το Management Studio δεν έχει καμία πληροφορία για την κατάσταση του server στο οποίο συνδέεσαι. (γι αυτό και “δείχνει” το εικονίδιο με τον άσπρο κύκλο.


Τώρα το “πρόβλημα” πιθανότατα να είναι θέμα δικαιωμάτων στο WMI του server.
To SSMS χρησιμοποιεί Windows Management Instrumentation (WMI) για να πληροφορηθεί status των υπηρεσιών του SQL Server και του SQL Server Agent .


Οπότε προτείνω να ελέγξεις την επικοινωνία αυτού του μηχανήματος με το server

Link to comment
Share on other sites

  • 5 weeks later...
 Share

×
×
  • Create New...