473,769 Members | 6,538 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

DR
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
StoredProcedure 1.cs and put a break point in my simple StoredProcedure 1.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 StoredProcedure 1.CS
code? I would like to debug these StoredProcedure 1.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.
Oct 25 '07 #1
0 3694

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3955
by: Jimmy | last post by:
Hi, I was trying to debug two different ASP.NET projects at the same time. But I was only able to debug one of them and I got the following error for the other one: "Unable to start debugging on the web server. A debugger is already attached." When I further checked the Output window, I noticed another error message: 'Auto-attach to process ' aspnet_wp.exe' on machine 'CSSVR' failed.
6
3307
by: M O J O | last post by:
Hi, Every time I try to run my aspnet application, I get this error: "Error while trying to run project: Unable to start debugging on the web server. There is no managed code running in the process. In order to attach to a process with the .Net debugger, managed code must be running in the process before attaching." Any idea?
1
2981
by: Reza Sadeghi | last post by:
Hi I am getting this error when I tried to browse any asp.net in visual studio.net. I can build the project but when I try to run and debug the project I get error message that "Unable to start debugging on the web server. server side error occurred on sending debug HTTP Request. I am running WinXP Pro SP1 with all hotfixes and VS.NET 2002 and .NET Framework 1.0
2
4816
by: TM | last post by:
When I run an ASP.Net application I am getting the following error: "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged." I checked and made sure the Machine Debug Manager is running on the server, made sure the web.comfit file has debug=true. Mine is: <compilation defaultLanguage="vb" debug="true" /> I also checked the directory executions permissions and it...
11
2760
by: Claude seraphin | last post by:
I'am having this message while trying to rune my asp.net app on win3k server. I have set debug="true" in <compilation section in my web.config . Can anyone help me? Thanks in advance
1
271
by: Coder | last post by:
Hi everyone ! I've prblems starting debugging a web project. A win project works just fine, but a web project refuses. I can attach to the the process, and that works, but when trying to start up from the IDE (Debug - Start), it only comes up with the message "Unable to start debugging on the web server", preceeded by a message "Error while trying to run project". There is no extra information after the first one.
16
4222
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the project in debug mode (by hitting F5) it gives an error message "Error while trying to run project: Unable to start debugging on the web server.
1
1364
by: Boro | last post by:
When trying to run my application in debug mode from VS 2003 I am getting "Unable to start debugging on the Web server" error. Everything worked fine until I installed VS 2005 to the same box. I tryed to attach the "aspnet_ws.dll" process manualy, but it didn't go trough. Under available processes "aspnet_ws.dll" is listed first, but the version number is 2.0.50727.42. Is there a way to attach "aspnet_ws.dll" v1.1.4322.2032 worker process...
0
3155
by: DR | last post by:
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...
0
2009
by: namrataa | last post by:
d:/IISerror.bmp I am working on C# WCF VS2008. I am writing service using WCF service library to be hosted in IIS5.1 and the host is written using WCF service web site. So that it can be hosted in IIS. when i run the host application I get error saying " Unable to start debugging the web server, Make sure your operating system is running correctly. Verify there are no syntax errors in the web.config by doing start without debugging. You may...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10219
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3567
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.