Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Wed, 24 Oct 2007 19:37:32 -0700,    group: microsoft.public.dotnet.distributed_apps        back       


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.
date: Wed, 24 Oct 2007 19:37:32 -0700   author:   DR

RE: Unable to start TSQL Debugging. Could not attach to SQL Server Pro   
Similar Issue
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=587959&SiteID=1

Regards
JIGNESH

"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. 
> 
> 
>
date: Tue, 30 Oct 2007 02:13:02 -0700   author:   JIGNESH

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us