.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Unable to start T-SQL Debugging. Could not connect to computer '.'.

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :

Unable to start T-SQL Debugging.  Could not connect to computer '.'. This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.

I'm using Management Studio 2008 with Sql Server 2008 Express.  I can execute queries, but I cannot debug them.  I am a member of the systemadmin role, and my server is using "local system"  as the account.  I am on a domain here at work.

I have seen http://social.msdn.microsoft.com/forums/en-US/sqlnetfx/thread/3590e35b-bb2d-45cd-be85-7698b7045be8/, but I am not doing any remote debugging.  I tried running the server under my user name, but still no luck.  I also have my firewall disabled (even though I did enable it and open up the correct ports just-in-case).

It use to work before I uninstalled and re-installed SQLEXPRESS.  What could be the issue?  I've searched everywhere, and so far everything says I should do what I've already tried.  I did have a password change, but changing it several times has not had any effect.


When I try to debug queries on the main 2005 sql server, I get:  Cannot execute script.  Additional Information:  Unable to start the

View Complete Post

More Related Resource Links

Unable to start T-SQL debugging SQL Server 2008

I'm getting exactly the same problem described here: http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/dcc851e7-35d7-492a-b15c-7dffe47110ed --------------------------- Microsoft SQL Server Management Studio --------------------------- Unable to start T-SQL Debugging. Could not attach to SQL Server process on 'myserver'. Click Help for more information. --------------------------- OK   Help   --------------------------- I've followed advice with regards to Windows Firewall, however it's disabled on both client and server.  I've tried using a SQL Server account but haven't had any more success.  I've also checked the windows event logs on both the client and the server and can't find anything.. Lastly (not sure if this is useful or not) I tried attaching to the Ssms.exe process from Visual Studio 2008 and I get the following output when I try debugging:  ... C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.CommonIDE\\Microsoft.VisualStudio.CommonIDE.dll: Cannot find or open the PDB file. C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Microsoft.DataWarehouse.VsIntegration.dll: Cannot find or open the PDB file. 'Ssms.exe': Loaded 'C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\SQLDE.dll' First-chance exception at 0x7c812a6b in Ssms.exe: 0

Unable to connect to local host service when a splash screen is show before start the services

Hi all:

I want to show a splash screen before start the local host services, the host can be open without error, however the client (Form1) is not able to connect to the service. Without the splash screen, every thing work fine. Any idea why ?

Here is the code.

Imports System.ServiceModel

<ServiceContract()> _
Public Interface IHelloWorldService
   <OperationContract()> _
   Function SayHello(ByVal name As String) As String
End Interface

Public Class HelloWorldService
   Implements IHelloWorldService

   Public Function SayHello(ByVal name As String) As String Implements IHelloWorldService.SayHello
      Return String.Format("Hello, {0}", name)
   End Function
End Class

Module Module1
   Private host As ServiceHost
   Private frmSplash As Form

   Sub Main()
      AddHandler AppDomain.CurrentDomain.AssemblyLoad, Addres

Unable to start debugging on the web server. The IIS worker process for the launched URL is not curr


Unable to start debugging on the web server. The IIS worker process for the launched URL is not currently running.

I'm running Windows 7 64 bit, VS 2008 sp1.

When I first try to debug I get the error msg above.  I wait a few minutes (presumably some service is starting) and debugging will start but no breakpoints are recognized.

Some of the things I've tried:

Changing the binding of my site from a static IP to "*".

Enabled windows authentication.

made sure localhost = in the hosts file.

The website was built under windows xp and whatever version of IIS ships with xp.  My web config has no errors that I know of but might be missing something required for iis 7 (??)



Unable to start T-SQL Debugging. Could not attach to SQL Server process on


Please help!  I cannot debug CLR procs remotely.  Whenever I try to start debugging in VS2005 I get the error:  Unable to start T-SQL Debugging. Could not attach to SQL Server process on ....  I have clr enabled set to 1 and I have Allow SQL\CLR Debugging set on.  But I continue to get this error.  Any help would be greatly appreciated.



Error:Unable to start debugging on the server



I am trying to run my application on IIS 7 and Windows Vista Home Premium. I am getting the following error "Debugging failed because Integrated Windows Authentication is not enabled". How do i resolve this issue? 

Unable to Start, with or without debugging


Please forgive me if this issue was already posted, I could not find it in the forums...

I have used Visual Web Developer (versions up to 2010) with no problems for several years. Starting last week I am no longer able to run or debug any ASP.Net application locally.

I am running Windows XP, IIS 5.1, IE8, Visual Web Developer 2005, targetting .Net 2.0. I am not able to Start Debugging or Start Without Debugging for any project. When I attempt to Start Debugging, IE browses to instead of to the project I am attempting to run. When I Start Without Debugging, IE opens to about:blank and then when I close that window another IE window opens to

Maybe irrelevant, but I had the same problem with IE7 and VWD 2010 (versus IE8, VWD 2005). IIS is set to .Net version 2.0. I have the same problem whether I add a virtual directory to my project in IIS or not.

Any ideas?


unable to connect to database



I am using visual studio 2005 and sql server 2005.

I am developing a small quiz application and i have stored the connection string in app.config file which is given below.:

<?xml version="1.0" encoding="utf-8" ?>
        <add name="quizdb"
            connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|Quiz Application.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
            providerName="System.Data.SqlClient" />
i have retrieved connection string property through configurationmanager class 

and when i m connecting to database  it gives me a runtime error:


Sql Exception was unhandled

System.Data.SqlClient.SqlException was unhandled
  Message="An attempt to attach an auto-named database for file F:\\Quiz\\Quiz\\bin\\Debug\\Quiz Application.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located

need help about "Unable to connect to remote server." using HttpWebRequest


Hello friends 
I am creating an application where I want to store an html page from one of my websites into another web site. 
For the same purpose I am taking the url of the html pages 
for example if I want to copy this page "http://mydomain.com/html/page1.html" then i take this url from a text box which user enters.

Unable to Connect to server

I have install sql server 2008 on window 7. But connection to server is failed. These are the options. Sever Type Server Name. Authentication. Login. Pasword. anybody have answer my question????

Unable to connect to the ASP.NET Development Server

 I have VS 2008 with SP1 installed on Win XP. I have .NET 3.5 with SP1 installed When I ran and opened an existing project for the first time, I got the below error WebDev.WebServer.exe has encountered a problem and needs to close. After this error, I continusly get  "Unable to connect to the ASP.NET Development Server." whenever I run the website. I checked the internet and ASP.NET forum and tried all the following Making port numbers auto assign Making it to a specific port number using the Custom web server Tried creating new web site and checking Replaced WebDev.WebServer.EXE after downloading it from a website My anti virus have not blocked any websites as such I tried resetting VS settings by running devenv /resetsettings Can any one help me, what else might be the problem? Thanks in advance

Unable to connect to SQL Server 2005 remotly, all client protocols are blank

I have an installation of SQL 2005 and had issues connecting remotly. Looking at the client protocolols, they are all blank. I can see that TCPIP, Named Pipes, VIA, etc. are 'enabled', but where the words 'TCPIP', 'Names Pipes', etc. should be, it's just blank. I tried to install SQL 2008R hoping the Client Protocols would be corrected during the installaion, but they were not. I'm assuming the issue with the Client Protocols not showing up is a symptom of the problem. Does anyone have any ideas? Thanks!

Error: The search request was unable to connect to the Search Service.

When attempting a search, I get the the error message "The search request was unable to connect to the Search Service. "  The search sevice has been started in Central Administration.  Does anyone have suggesting as to how to troubleshoot this issue?   Thank you in advance for your help.

how run my C# console application when i start the computer ?

hi i have build a console application (any listener) and i need that when i open the computer - this application will run. i don't have installation for hem (it a simple little .exe file) is there any way to do it through my C# code ? thank's in advance

Reporting Services Add-In for MOSS2007 : Unable to connect to the database Error at "Set Server Defa

Dear Expert, I've succesfully install the Add-In + configure the reporting services (integrated mode) + activate the features on my MOSS2007. As we know by activating this at my Central Admin, i'm able to see "Reporting Services" under my Application Management as below:   1) Manage Integration Setting   ---> My report url : http://servername:808/ReportServer (Trusted Account) 2) Grand Database Access --->  My setting : <servername> with default instance  3) Set Server Defaults ---> Area that i receive an error "Unable to connect to database" Anybody here have a same experience? please assist me, Thanks in Advanced My Note: OS : Windows Server 2008 Enterprise x64bit (SP2) SQL : SQL 2005 with latest Service Pack (SP3)  My Error Log: <Header>   <Product>Microsoft SQL Server Reporting Services Version 9.00.4035.00</Product>   <Locale>en-US</Locale>   <TimeZone>Malay Peninsula Standard Time</TimeZone>   <Path>c:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles\ReportServer__08_04_2010_10_51_59.log</Path>   <SystemName>SEINE</SystemName>   <OSName>Microsoft Windows NT 6.0.6002 Service Pack 2</OSName>   <OSVersion>6.0.6002.131072</OS

Unable to connect Oracle UCM Secured site with .NET Application

Hi, I am working on an integration of a .NET application which calls Oracle UCM web services which does Search, checkin of files to Oracle UCM( Stellent). Here i have an option to connect to a secured Oracle UCM server with credentials which retrieves the result. Here i am facing a problem. When we send a (https://) request we are getting an error as shown below: The underlying connection was closed: An unexpected error occured on a send. We are unable to do any code change on web services code as we have only the wsdl files. Tried Timeout related procedures which didnt work out. One more thing noticed is the .NET program connect to a http:// web url but not to https://. Is this a https:// issue with .NET application?   Kindly help with any inputs      

ASP.net Web Site Administration tool unable to connect ro my SQL DB

Hi, I am new to VWD and i am trying to use the Provider Configuration in the ASP.net Web Site Administration tool to configure my Web site management data. When ever i select the "Select a single provider for all site management data" there is only one provider "AspNetSqlProvider". When i select "test" it give me the following error message: "Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider." I have the aspnet_regsql to create a DB, my IIS is already installed and enable but the VWD ASP.net Web Site Administration tool refuse to connect to my SQL DB.What may be the problem and how can i rectify it.Thanks

unable to connect to a database engine

Hi. i have recently installed SQll Server 2005 but i am facing issue while connecting to a databse engine..how should i do it..?its showing an error which looks like this TITLE: Connect to Database Engine ------------------------------ Cannot connect to sanchit. ------------------------------ ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476 please assist me in this....
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend