Archives for: October 2006

Pages: 1 2 3 4 >>

26/10/06

Permalink 02:35:33 pm
Categories: General

VPNs in Vista - yes, and OneCare again

So I installed two of the three VPNs I need on my Vista machine.

First: isn’t there a proper UI somewhere to connect to networks? I hate that stupid “Connect to a network” window… The UI is horrible. I have to scroll up and down like crazy to get past the list of available wireless networks alone, while each of the entries takes up far too much place. Sure, I can switch over to “Dial-up and VPN”, but that setting isn’t remembered, so I have to switch over again each time I open the window. Right, did I mention that window closes on me all the time? Created a new connection? The window is gone. Connected to a network? Window gone again. Getting the window back needs two clicks on the tiny system tray icon and the context menu entry, plus a search through the stupid list. I want my normal “network connections” window from XP back! Maybe that’s not intuitive to the weekend Windows user, but I don’t care.
Update: I found it – the old network connections window is still available, only not as easy or intuitive to get to as it previously was. Doesn’t change anything about that peculiarity described under “Fourth” below…

Second, Installing VPNs… has anybody ever actually used that “Use gateway on remote network” option? Apart from switching it off, I mean? How about setting a useful default there? Instead they have changed the default for “include Windows logon domain”, which took me a while to notice. It has to be switched off, probably in most cases, but now it’s switched on by default.

Third, OneCare. Of course I wasn’t able to establish a connection with any of my VPNs without switching off the OneCare firewall. No noticification, nothing, it just doesn’t work. Wait, there’s the “analyze connection trouble” link… shoot, doesn’t find any reason. In fact it says everything’s great – right after informing me that the connection failed to be established.

The good news is that the “Firewall connection tool” manages to activate VPN connections through the OneCare firewall. For some reason, the button to run that tool was inactive in the options dialog for a while, but now it’s active again and setting that check box is really easy, provided you guess that you have to.

Fourth, what’s that crap with the Network and Sharing Center? Let’s call my two VPNs VPN1 and VPN2 for a moment. So I connected to VPN1. After a moment, I window came up asking me what that network was – Home, Work or Public, IIRC, and what the name was. Okay, I said it was Work and it was called VPN1. Great, so far. Then I killed that connection again and connected to VPN2 instead. Sat there and waited for the window to come up… nothing. Back into the “Connect to network” window – yes, it’s connected alright. Well. Then I noticed that in the context menu of the tray icon, sub menu Disconnect from, it said VPN1 instead of VPN2. Huh? Opened Network and Sharing Center and there it was: I’m connected to VPN1, Connection: VPN2. Huh? What? Plus, my private network classification from VPN1 had also carried over to VPN2, making this not only a usability thing but also a security issue.

I don’t see the point in the Network and Sharing Center, as far as network connections are concerned. It displays incomprehensible information and it offers no way of configuring the networks. In fact it (or the functionality behind it, rather) seems to be dangerous… in case anybody has something enlightening to say about this, please go ahead.

Permalink 01:55:16 pm
Categories: General

ANN: OneCare has automated Windows Mobile connectivity killer

I have previously written about the fact that OneCare killed the connectivity with my Windows Mobile device. Now I got a OneCare update installed yesterday (I think it was yesterday) (oh yes, and I *loved* that “OneCare is going to reboot your system in 4 hours” dialog… WTF? What if wasn’t there over the weekend or something? Can you spell “loss of data”, Microsoft?) and so I thought today I’d just try whether the issue had maybe been fixed. Previously I had just disabled the firewall while on my secured home network and synced my phone – not nice, but it worked.

Now read this message carefully:

Onecare-changed-firewall

Wow! Ain’t that peculiarfantastic! So not they’ve done it: I can’t use my Windows Mobile device with my computer because of my firewall, and when I switch off the firewall and connect the device, the firewall automatically reactivates to protect me from the device! Let me repeat that: Wow!

So, the good news is that there’s an option “Automatically change my Firewall protection level when I connect to an unsecured network”. But this was already there in the previous version of OneCare, without the same effect… so obviously they changed something about the Windows Mobile connectivity thing, just not the right thing. Plus, I don’t really want to turn off that option, it’s a good option… oh, f#*k it.

(5 minutes later) Even with that option switched off, I still can’t make my phone connect… it used to work only a few days ago, so I wonder if there’s still something in the way, even though the firewall is now switched off (and stays switched off). Guess I’ll have to fiddle around, reboot, that kind of thing, to be sure – I’ll do that later.

Update: I have now rebooted and tried again, and as long as the firewall and the option are switched off, I can now connect and synchronize my phone again. Magic.

There are currently at least two bug reports on Microsoft’s Connect site: here and here. As is often the case, there doesn’t seem to be any reaction to these issues though. One of the things I hate about beta software from MS, I must admit: there’s never any direct contact with the responsible people.

25/10/06

Permalink 02:17:51 pm
Categories: General

(Open)Pandora rocks

Some will probably say I’ve been under a rock, but I hadn’t heard of this before. jk pointed me to OpenPandora today and so I had a look at the underlying Pandora service and I totally love it!

On a different note, I wouldn’t be surprised if that OpenPandora project had some problems coming, as it gets rid of all the ad sponsoring that the free service normally brings.

Definitely worth a look if you like listening to music on your computer. And they also interface with the Squeezebox

24/10/06

Permalink 05:39:13 pm
Categories: General, Programming, .NET

WCF: Transport level security makes service hang on Open()

A weird thing… I was working on a WCF sample program today and I was creating my ServiceHost instance from code, like this:

  Uri baseAddress = new Uri("net.tcp://localhost:7465/");

  singleton = new HelloWorldClassServerProxy(new HelloWorldClass());
  ServiceHost serviceHost = new ServiceHost(singleton, baseAddress);

  Binding binding = new NetTcpBinding( );
  serviceHost.AddServiceEndpoint(typeof(IHelloWorldContract), binding, "HelloWorld");

  serviceHost.Open( );

The code I was testing worked just fine, but every time the Open() call on the ServiceHost instance was executed, it took about 12 seconds. I used WCF tracing and I found out that an ActiveDirectoryOperationException exception was being thrown (but handled) with the message “Current security context is not associated with an Active Directory domain or forest.” That message is definitely correct, and some reflectoring revealed that the method Domain.GetCurrentDomain() throws this exception on my system, after waiting those 12 seconds for something unknown to happen. Seems correct, in a way, because my system is not part of a domain – funny though that I can observer the exact same behaviour on a different computer that is in an Active Directory domain. No idea what’s going on there, really.

Anyway, after I had found out that I had the same problem with or without a domain, I thought there had to be a code path through that Open() call that wouldn’t arrive at that same exception. A bit difficult to find though, because while WCF tracing logs that exception, it doesn’t include the complete stack trace, so I didn’t know exactly how I ended up in there. So I started playing with the various details of my connection setup. Exchanging my binding for a WSHttpBinding didn’t make any difference, but instantiating the NetTcpBinding with an explicit SecurityMode.None parameter finally got rid of the problem!

Apparently, the default constructor on NetTcpBinding uses SecurityMode.Transport, and when I pass that in explicitely, the problem is back. I have still no idea why something as seemingly harmless as activating transport level security triggers this rather bad behaviour on my systems, but I’ll just go for SecurityMode.None for the time being…

19/10/06

Permalink 08:20:36 pm
Categories: General

Finalizing a DVD with Nero 7

Wow, it’s read-the-forums day for me today. I burnt an ISO image on a DVD, and for some reason apparently I forgot to finalize the disc…

Let me mention this right here: I’m one of those people who use their DVD burner sporadically, and I manage easily to forget every time about details like finalizaton – am I supposed to do it? Shouldn’t the disc be usable if I don’t do? I know I can leave it open if I want to add something, but that doesn’t make sense if the disc is then not usable, does it? Well well… I just don’t care enough to be able to remember next time, I know that now already.

Anyway, when I wanted to read the disc in Vista, it wasn’t prepared to do that, but rather wanted to create a new file system on the disc all the time. So I hunted around Nero trying to find the menu entry to finalize a disc, which isn’t there – why not? Oh well… I finally found these instructions, which work just fine, although they appear to be for an older version of Nero. Pretty intuitive once you know how it works, but regarding CDs and DVDs I’m one of those people who theoretically know what multi-session is all about, but who’ve pratically never once done anything with it. I’m sure I’ll forget again next time, and I hope I’ll remember reading my blog to find out what the problem is :-)

1 2 3 4 >>

Enter your email address:

Search

Oliver
MVP logo
October 2006
Sun Mon Tue Wed Thu Fri Sat
 << < Current> >>
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31