I was able to remotely debug this website before. Now when I try to do it, through VS 2013 Server Explorer (Attach debugger), it is giving me
The following error occurred while launching remote debugging: Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'mywebsite.azurewebsites.net'. The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the remote computer. Please see Help for assistance on configuring remote debugging.
This website has a certificate and it's running over https. The remote debugging is enabled in the Settings with the correct VS version.
I have two other websites on this host and I can attach a debugger to them.
It is driving me crazy, I have googled and tried all the suggested solutions but it just seems that the remote debugger is not responding form Azure.
Even when attaching manually (https://stackoverflow.com/a/35738995/1057052), I still get the same error in return.
Related
I am working on an asp.net mvc 4 web application (using .net 4.5). and i am using Visual Studio professional 2012. now when i run the project inside VS-2012 i will get the following error:-
HTTP Error 500.0 - Internal Server Error
Although i am hosting the same application under IIS-8 and it is working well. but if i run the same web application inside Visual studio i will get the above error. i am using windows server 2012 r2.
can anyone adivce why my project is not working when i try running it inside VS? and this problem appeared all of a sudden i mean last week i was able to run the application without any problem..
Thanks
here is the event viewer errors regarding my problem , one related to iis-express, while the other related to VS:-
An application has reported as being unhealthy. The worker process
will now request a recycle. Reason given: An error message detailing
the cause of this specific request failure can be found in the
application event log of the web server. Please review this log entry
to discover what caused this error to occur. . The data is the error.
Windows cannot access the file for one of the following reasons:
there is a problem with the network connection, the disk that the file
is stored on, or the storage drivers installed on this computer; or
the disk is missing. Windows closed the program Microsoft Visual
Studio 2012 because of this error.
Program: Microsoft Visual Studio 2012 File:
Have u checked the "most likely causes". Possibly it is permissions issue. You may need to check startup project or you may need to review your web.config file
While loading any new project in Visual Studio 2012 and connecting with Xamarin Build host provider, it gives error "Connection to Xamarin.iOS Build Host failed. Double click here to attempt to reconnect/select a server"
Followed below mentioned steps but none worked.
Tried to unpair and pair again from VS 2012 and MAC Build host provider
HKEY_CURRENT_USER\Software\Xamarin\MonoTouchVS\KnownServers remove this key from Registry but I was not able to find this registry
HKEY_CURRENT_USER\Software\Xamarin\MonoTouchVS\MonoTouchBuildServerAddress remove this registry key but didn't help.
Someone suggested to disable proxy by following below steps.
I had the some problem, all was configured well but got the same error. The solution for me, was to disable the proxy! on the windows machine
Hope that will help you
Could anyone please suggest how to disable proxy and on which PC Windows / MAC? And let me know if that helps you to resolve the issue?
Thanks..
Any other solution to get this issue resolved?
==========================
Updates on 24 July, 2014
Solution to my question above I found is: Network connection and constant PING to my MAC PC was broken and thats what causing the problem to connect to Visual Studio.
This works for my machine but not sure about yours.
Go to Xamarin Studio on your Mac, update Xamarin.
Reboot your Mac (just to be absolutely sure)
Startup the iOS Build Host on Mac.
Go to VS on your PC, when VS is trying to connect to the Build Host, make sure the IP address is correct (i.e. your Mac/build host machine IP).
If the IP Address is incorrect (which is my case), try manual connect by entering your Build Host IP Address and try to connect again.
Good luck.
I have tfs installed locally on my machine. It used to work fine but for a week or so now, it does not work most of the time.
It is not possible to connect from Visual Studio 2013 now using the team menu item. It is able to connect only once in so many tries.
Git Fetch, Git Pull and Git Push commands from Git Bash take a long time to show the login prompts and sometimes does not even working reporting that it could not connect to localhost:8080
Fetch, Push and Pull from Visual Studio work once in a while.
Connecting with the web always works though sometimes slow.
Git Push with Git Bash and Gui of late gives the error below
POST git-receive-pack (8010 bytes)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: RPC failed; result=7, HTTP code = 0
Pushing to http://localhost:8080/tfs/col1/_git/project1
Everything up-to-date
I've read so many articles and now seem to work. Is there a way to troubleshoot TFS to find out where it is coming from so that it can be corrected.
It turned out this had nothing to do with TFS as generally requests that have to do with local host fails most of the time. It may be an issue with the system when it comes to local host. In any case, I disabled IPv6 and it still didn't work.
What worked however was rawcap. I realized that when I run rawCap to monitor 127.0.0.1, all calls were going through successfully. It appears something it did rectified the issue. Hope it helps someone who also had the same issue with localhost.
Watch for -1 statuses in TFS Activity Log (http://localhost:8080/tfs/_oi). Right click -> Show Detail to get the full exception. Also look for errors in the IIS logs.
Hi for some reason I cannot connect to TFS anymore.When I try to do that from both te browser and Visual Studio it freezez and I get this error:
TFS is installed localy on my computer and I am using the defaultCollection and user from windows.
I have been using TFS locally for only a month and everything worked perfectly so far.
I have also tryed reseting my PC and uninstalling and reinstalling TFS but it seemes to have no effect.
Has anyone had this problem before?
Check the TFS Server. Make sure the app pool and site are running. Also if you have VS on the TFS Server (you should for this very reason) try connecting from there. If that works, it could be a network issue.
I have a build/test server which is currently running Jenkins for my continuous integration and it also is acting as my test server where code will be deployed to once built (i hope to rectify this and seperate these at a later date when budget allows)
I have a .NET web solution (nothing complex just Umbraco essentially) that i have in SVN and Jenkins is now building correctly. I now want to deploy it onto the same server using MSDeploy. After the build completes the package is generated but the deploy fails with the error
ERROR_DESTINATION_NOT_REACHABLE: Web deployment task failed. (Could not connect to the remote computer ("xxxxx.xxxxxxx.xxx.xxxx"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started
Here is my msbuild parameters that Jenkins uses
/P:Configuration=Release
/P:DeployOnBuild=True
/P:MSDeployPublishMethod=WMSVC
/P:DeployTarget=MSDeployPublish
/P:PublishProfile=GetSomePixels
/P:MsDeployServiceUrl=https://build.########
/P:AllowUntrustedCertificate=True
/P:CreatePackageOnPublish=True
/P:UserName=#######
/P:Password=########
I've checked the server and the Web Management Service is running and is starting up manually
I've also gone into IIS 8 manager (server 2012) and checked the "Allow Remote Connections" box under "Management Service". Restarted IIS and the WMSVC and still not working.
If i go to https://myserver.co.uk:8172/MsDeploy.axd in a browser it resolves (gives you the warning about an untrusted cert) and then displays a blank page.
Anyone got any ideas as to what i can do? I thought that it may be firewall related and even though it had added an exception to windows firewall for 8172 i have turned the entire firewall off to completely rulle that out and still no luck.
Have run this on the server to check its listening on the correct port
C:\Users\Administrator>netstat -a | findstr 8172
TCP 0.0.0.0:8172 GSP-BUILD:0 LISTENING
TCP [::]:8172 GSP-BUILD:0 LISTENING
Ok i've resolved this. It appears you have to activate the web management service first and then install web deploy and i'd done it the other way round. I uninstalled WebDeploy and re-installed it, restarted the server and its working
Agree with comment.
We had a similar issue. Initial installation even post Web Management Service activation appeared to be incomplete. In our case, even though the service said it was started we couldn't achieve the "green tick" when testing the connection from the Publish dialog when defining a profile.
Reinstalling WebDeploy 3.6 made it function properly.