I am working on Windows Server 2008, and I am wondering if it is possible to show my debugging server to a peer over my LAN? What would I need to configure?
Thanks
The answer is you cannot show the built in debugging server anywhere other than localhost. To get around this I just added an entry to IIS and configured my network.
Thanks
Related
I have an ASP.NET server running under VS2010 on my PC (Win7) on port 12345.
When I load localhost:12345 in Chrome, my default page loads perfectly.
But when I load 192.168.128.104:12345 (by my internal IP, not by localhost) I get "connection refused".
Exact same behavior when I try to access the server from another device on my intranet (in my case, a Raspberry Pi)
I realize that when I hit localhost that I'm just looping back in my adapter, thus the request never leaves my machine. So it would seem that the cause is due to the request leaving & re-entering my machine.
I've create custom Inbound & Outbound rules in my Windows Firewall to allow port 12345, but to no avail.
Any ideas would be appreciated.
I found the answer here:
Can I access ASP.NET Development server in an intranet?
which led me to this:
http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/UseFiddlerAsReverseProxy
As is so often the case, finding the answer is hugely dependent upon using the correct search terms. Here the critical keywords were "asp.net debug intranet"
The 'right way' here is to use IIS Express and you don't need fiddler to act as a reverse proxy. Its a hack that was used to work around using Cassini - a low budge web server that is outdated (and doesn't compare to IIS Express) and used with VS2010 prior to SP1.
In VS2010 SP1, IIS Express support was added. You can read about that here:
http://blogs.msdn.com/b/webdev/archive/2011/03/14/enabling-iis-express-support-in-vs-2010-sp1.aspx
IIS Express can handle this just fine - and Visual Studio 2010 integrates with it. Its not one or the other - you develop with Visual Studio and when you launch your app it launches it with 2010.
If you want something really easy, install Visual Studio 2015 Community Edition, use ASP.NET 5 (now called ASP.NET Core 1) and simply run it to self host via the play button looking drop down you are used to seeing in VS 2010- no web server required.
Again - being that its 2016 - what you cited is a very old way. If its a quick hack, I can understand that - but if you are looking for the best practice way going forward, use IIS Express (and ideally a newer version of Visual Studio - we have them for free in the 2013/2015 Community Editions)
Hope that helps!
I am an administrator on TFS. If I am in the office (connected to the domain directly) I can change the build definition easily, but when I use VPN it says "Downloading Custom Assemblies" and never finishes downloading. What is the problem with that? Does anybody encounter this issue?
Is it the same machine? If not make sure you have upgraded VS 2013 to at least update 2, I've seen this problem with vanilla VS 2013 installations.
If it is the same machine you could try adding the URL for the TFS server to the trusted sites in your internet options.
If that doesn't work then it's probably a proxy server preventing the download of binary files. You need to speak to your network team and ask them for some help
All of the sudden I can no longer access my TFS 2010 server. It is on the same network as my laptop. I have made no changes to anything. I worked on it one day and then the next day VS2012 and 2010 can't connect. I can also not connect to the web UI from the outside either.
I have VS2010 installed on my server and it can connect just fine. I have looked at my services on my laptop and found nothing about TFS or Visual Studio.
What I have tried.
Restarting the server
Restarting my laptop.
Resetting the TFS user account on my server.
Restarting the web server that TFS runs under.
Checked the server logs for errors.
ipconfig /flushdns
Using VS2010 and VS2012. With all updates.
Turned off Bitdefender firewall.
Firewall on server is turned off.
Ping server name. This works.
RDC into server via same server name. This works.
Connecting to TFS from VS2010 on the server. This works.
I would say this is a DNS issue but I can get to my server just fine except when TFS is involved. It seems like there is a communication issue from an outside source to TFS.
Any ideas on why access from any other source than the server would just stop?
I use Bitdefender too and for my final hope to solve this problem, I went to Control Panel > Uninstall a program > and Repair the Bitdefender, TFS came back!
While Bitdefender was repairing, I was able to access TFS Web site in the same network. Restarted Windows and the problem didn't show up again.
Hope this helps!
Please help me with my noobish problem
I have laptop at home. I installed MS Windows Server 8 Beta on it, Visual Studio 11 Beta and MS Team Foundation Server 11 only for version control of my application, which I want to change at home (where my laptop-server is) and at work (where my another Visual Studio 11 Beta is).
So my major problem is that I can't easily expose my [home] TFS Server on Internet that I can see it from my work computer :(
I installed TFS Proxy, which generated a proxy URL for me like this: http://win-jnkseeeq4rl:8081/ (which works on LAN)
But of course, I can't get it to work on another (work) computer through Internet, because it doesn't resolve this kind of host.
At home I've got WiFi-router through which my laptop connected.
I think I must expose some ports on it, but I don't know how and is this a main problem really.
Thank you everyone for answers!!!
I run a TFS at home to support my consulting and have setup Remote Access Services using the PPTP protocol to run my inbound VPN. You generally just have to enable PPTP passthrough (GRE protocol) and forward TCP/1723 to your RAS server.
I also use Dynamic DNS to help find my public IP if it ever changes.
But I have to be honest, have you considered just using the TFSPreview.com service instead? I haven't switched over completely yet because I've already built my infrastructure and it's still a beta service but I could see myself doing it in the future.
Have you looked at the walkthrough here => http://msdn.microsoft.com/en-us/library/bb668967.aspx
There is a similar question here, How to access VS 2010 TFS over the internet from remote office
I'm debugging a vb.net windows program which I've upgraded to a VS 2010 solution, targeting Framework 2. I need to step into a webservice's code. The web service is framework 3.5, also vb.net, running on a windows 2003 server on our LAN. I've seen a ton of crap on the Net about it, mostly other people who couldn't get it working either.
The error I get in VS2010 is the exact same one I got before upgrading the project from VS 2005:
Unable to automatically step into the server. Connecting to the server
machine [servername] failed. The Microsoft Visual Studio
Remote Debugging Monitor (MSVSMON.EXE) does not appear to be
running on the remote computer. Please see Help for assistance.
So I did what Help said to do and ran the VS 2008 remote debugging wizard on the host server. I have verified that the remote debugger is running as a service on that machine. And it still fails.
Little help? THANKS
Just in case anyone comes here looking for this answer, here it is. No goofy 'Attach to Process', no weird bad instructions
from websites going off on a million stupid tangents. This answer has been FALKENIZED.
When on the same LAN and on the same domain, remote debugging from Visual Studio 2010 works when you do the following steps.
on web service host machine, share the web application folder where the web service lives; give yourself 755 permissions.
oops, give yourself wrxr permissions.
on local development machine, map a network drive to the [web service host machine][web app] folder you just shared.
copy the Visual Studio 2010 remote debugger folder (containing msvsmon.exe + support files) to web service host machine.
Make sure you get the correct platform for your host server, e.g. x86, x64, etc. Remote debugger is found here:
C:\Program Files\Visual Studio 2010\Common7\IDE\Remote Debugger[platform]
on web service host machine, drag a shortcut from the newly-copied debugger to the desktop, then start the remote debugger
on local development machine, step thru code. when reaching a call to the web service, you'll be prompted to navigate
to the location of requested web service code file, which will then be available in your mapped path. Do it.
Finally after 1000000 headaches, you may start debugging your web service. CONGRATULATIONS