MSDOTnet.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unable to start TSQL Debugging. Could not attach to SQL Serv

 
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> ODBC Dotnet
Author Message
DR



Joined: 23 Oct 2007
Posts: 31

PostPosted: Wed Oct 24, 2007 11:38 pm    Post subject: Unable to start TSQL Debugging. Could not attach to SQL Serv Reply with quote

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.

Archived from group: microsoft>public>dotnet>framework>odbcnet
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
upload excel file to server,export selected file to sql serv (Type your message here) From: juanny johari how can i modify these codes below , except for the excel file, is obtained fom selected file.For the excel file to the server and export the selected file to sq

unable to start debugging on the web serve Hi: If somebody could give me an idea what to do for the error I am getting, would be great. unable to start debugging on the web serve. Server side-error occured on sending debug http request

Unable to start Windows Firewall XP Professional Home Edition When trying to start Windows Firewall I received the below error message: Double click Windows Firewall from Control Panel receive error message: Windows Firewall settings cannot be displayed because the associated service is

Calling .NET COM object from TSQL I am trying to create an instance of a .NET pooled COM object from a stored procedure using the sp_OACreate procedure. I am getting an "Invalid pointer" error. I have registered the COM object using the regsvcs, and I know I have the name of the compone

HELP ATTACH ERROR i'm trying to use database in my application, and i would like not "copy always" original database in debug folder. So i changed the property setting "Not copy" but i obtain the error An attempt to attach an auto-named database for file
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> ODBC Dotnet All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group