PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.setup > Unable to start TSQL Debugging. Could not attach to SQL Server Process on 'srvname'. The RPC server is unavailable.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
ms.sqlserver.setup Questions about SQL Server.

Unable to start TSQL Debugging. Could not attach to SQL Server Process on 'srvname'. The RPC server is unavailable.

Réponse
 
LinkBack Outils de la discussion
Vieux 25/10/2007, 03h40   #1
DR
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Unable to start TSQL Debugging. Could not attach to SQL Server Process on 'srvname'. The RPC server is unavailable.

Unable to start TSQL Debugging. Could not attach to SQL Server Process on
'srvname'. The RPC server is unavailable.

I get this error when I try to run a SQL Server Project with a CLR stored
Procedure in it. The target DB is SQL Server 2005 and im using VS 2005. I
simply create a new SQL Server Project which creates a Test.sql, i then
simply added a Stored Procedure to it called the default name
StoredProcedure1.cs and put a break point in my simple StoredProcedure1.cs
and hit F5 and i got this error:

Unable to start TSQL Debugging. Could not attach to SQL Server Process on
'srvname'. The RPC server is unavailable.

Do i need to do something on the server so that I can debug this? Any walk
through on how to configure this sql server 2005 to have this RPC so i can
debug my CLR stored procedures in this way? e.g. step over, step into, run
to cursor etc.

Is this CLR debugging feature complete and tested yet? if so is there any
walk through on creating simple CLR helloworld in vs2005 and then executing
it in sql server 2005 but catching a break point in the StoredProcedure1.CS
code? I would like to debug these StoredProcedure1.cs as while sql server
executes it is why. so as of now my current error when i try this is:

Unable to start TSQL Debugging. Could not attach to SQL Server Process on
'srvname'. The RPC server is unavailable.


  Réponse avec citation
Vieux 26/10/2007, 13h04   #2
Sebastian Waksmundzki
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Unable to start TSQL Debugging. Could not attach to SQL ServerProcess on 'srvname'. The RPC server is unavailable.

Hello

Please have a look here
http://msdn2.microsoft.com/en-us/lib...td(VS.80).aspx

Usually there are permission problems i.e you can resolve this problem
like that: create the same local user on both machine e.g. SQLUser,
ensuring that they have the same password.Then also set the SQL Server
Service to run as SQLUser

regards
SW


DR wrote:
> Unable to start TSQL Debugging. Could not attach to SQL Server Process on
> 'srvname'. The RPC server is unavailable.
>
> I get this error when I try to run a SQL Server Project with a CLR stored
> Procedure in it. The target DB is SQL Server 2005 and im using VS 2005. I
> simply create a new SQL Server Project which creates a Test.sql, i then
> simply added a Stored Procedure to it called the default name
> StoredProcedure1.cs and put a break point in my simple StoredProcedure1.cs
> and hit F5 and i got this error:
>
> Unable to start TSQL Debugging. Could not attach to SQL Server Process on
> 'srvname'. The RPC server is unavailable.
>
> Do i need to do something on the server so that I can debug this? Any walk
> through on how to configure this sql server 2005 to have this RPC so i can
> debug my CLR stored procedures in this way? e.g. step over, step into, run
> to cursor etc.
>
> Is this CLR debugging feature complete and tested yet? if so is there any
> walk through on creating simple CLR helloworld in vs2005 and then executing
> it in sql server 2005 but catching a break point in the StoredProcedure1.CS
> code? I would like to debug these StoredProcedure1.cs as while sql server
> executes it is why. so as of now my current error when i try this is:
>
> Unable to start TSQL Debugging. Could not attach to SQL Server Process on
> 'srvname'. The RPC server is unavailable.
>
>


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h41.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12309 seconds with 10 queries