NullifyNetwork

The blog and home page of Simon Soanes
Skip to content
[ Log On ]

Archive - Historical Articles

You are viewing records from 10/27/2005 23:43:11 to 07/06/2006 17:39:37. I'll be adding support for selecting a date range in future.

To fix the error:

Unable to obtain a server-assigned IP address. Try again later or enter an IP address in Network settings.

Fire up your registry editor then head to:

[HKEY_LOCAL_MACHINE\Comm\RNDISFN1\Parms\TcpIp]

Set AutoCfg to 1

Set EnableDHCP to 0

Soft reset the device and there should be no further errors!

Permalink 

If you're getting an annoying error about an IP address not being able to be assigned then you are not alone.

Well, seeing the dialog titled "Pocket PC Networking" with the text:

Unable to obtain a server-assigned IP address. Try again later or enter an IP address in Network settings.

Annoyed me one too many times and google hasn't quite got it yet - if you too have this problem and have any idea then please add a comment or possible solutions. My trial and error attempt at fixing it (so far) ended with using your favourite pocket pc registry editor (like PHM Regedit) and adding the following three DWORD registry keys in [HKEY_LOCAL_MACHINE\Comm\VMINI1\Parms\TcpIp] with nice and large numbers (FFFFFFFF in hex!):

  • DhcpMaxRetry
  • DhcpInitDelayInterval
  • DhcpRetryDialogue

This comes from MSDN's Windows CE 4 documentation but still applies.

The lack of details in the error is EXTREMELY frustrating.

Permalink 

Better late than never, I noticed a couple of days ago there's a GoLive license now for Indigo and a release on my MSDN that works under the RTM of .NET 2.0!  It's actually a public release too, so go download it.

Congratulations to Don Box's team for getting it out the door.

Permalink 

My webserver in the states has been hammering the processor for the last 405 hours - all SQL Express hitting 100%.

The other instances of SQL Server were idling, so I don't know what it was getting up to, as it certainly wasn't dealing with any serious load!

Permalink 

The missing ones for Visual Studio 2005 (including some quite nice ones) are available from MSDN here.

Permalink 

As everyone here knows I'm a bit of a C# fanatic... And I just found Python which is a perfect complement to C#! It lacks the heavy duty features of C# but does have simplicity and speed of programming for 'getting an answer' making it an ideal scripting language.

Which leaves only one thing to do, mix them together! IronPython does just this - it is a version of Python written in C# and designed to run inside .NET programs. This video on MSDN TV is a good introduction to it!

I've even found a couple of pocket pc python interpreters out there which is nice.

Permalink 

I am SO happy I've found the solution to this annoyance - from http://msdn.microsoft.com/vstudio/support/knownIssues/default.aspx:

1.45 Using Windows Roaming Profiles may cause first time launch message to show on each startup.

When any one of the Visual Studio family of products is used with Windows Roaming Profiles, the first time launch message that says "Visual Studio 2005 is configuring the environment for first time use. This might take a few minutes." might appear on every session startup. This might cause unnecessary slowdowns in startup performance.

To resolve this issue

Click on the Tools > Options... Select "Import and Export Settings", and change the path under "Automatically save my settings to this file:" to a path that is NOT under the "My Documents" directory.

Permalink 

So I noticed an article mentioning you couldn't get clickonce working in Opera or Firefox. Well, I don't know about Firefox but I've had it working in Opera 8 for some time now.

The first problem you hit is that the framework isn't returned in the user agent. To solve this create a folder in your my documents called OperaJS and a new text document adddotnet2.js. Include the following:

// Adds the user .NET CLR user agent
navigator.userAgent = navigator.userAgent+'; .NET CLR 2.0.50727';

Now when looking at a clickonce install site you get the option to just install (make sure you actually have 2.0.50727).

The next step is to make Opera pass the url to the .application file format to EXPLORER. I would pass this to the appropriate file to run it, but then it won't be in the right context so we'll settle for a little dodgyness.

Click Tools, Preferences, Advanced, Downloads then add a new mime type of application/x-ms-application with an extension of application, then check "Open with other application", enter "explorer.exe" and check "Pass web address directly to application".

Now you should be able to navigate to clickonce applications and use them as if you were in IE!

Update 5th July 2008:

There is a firefox add-in here.

Permalink 

Well, I'm off to someplace with work, if anyone needs to contact me be prepared I'll be on roaming and not available like normal. Permalink 

Well, so far I'm unhappy with SQL 2005 and I've given it a full month so I'm going to rant a bit.

Microsoft did a good job of making visual studio 2005 pretty solid (although the visual designer is so very slow), but SQL 2005 is lacking in features that used to be there, and seems to consume far more resources than it ever used to.  Why can't I import/export objects (to move a database around) for one thing?!?

It seems enterprise manager and query analyser are much better than SQL management studio in almost every way (even usability, there's definitely more clicking needed to get things done in the new management studio and others have agreed with this).

I have a variety of hardware (from low spec with just 512MB ram and a 3Ghz cpu to a dual 64bit beast with gigs of RAM) running the new tools, and there is no solution to the unbelievable slowdown experienced when managing the system (I haven't been able to find any actual decrease in query performance against the server process although it now regularly consumes 15% on  machines whilst idle).

Taking copying a database between servers as an example of my frustration, on two machines I have:

TITLE: Copy Database Wizard
------------------------------

No such interface supported

Errors when trying to copy a database using SQLDMO.

On a working machine I found that it can't copy to or from SQL 2000.  Then I found it can't copy to SQL 2005 express.  What's going on up there, did nobody test these features and if so what cloud were they on when they shipped something incapable of moving databases around?

At present I have to generate scripts for everything, then run them against the other server, then run a set of hand built scripts to enter the data...

Resolution (29 Jan 2006): Run the following to register MS XML again:

regsvr32 msxml3.dll
regsvr32 msxml6.dll
I have no idea how this got broken and why nothing else was working, but I did have the old version on the system. Still, scripting and copying doesn't work properly but apparently its being investigated.

Permalink  1 Comments 

I've been playing with Microsoft Sharepoint and have to say I'm very impressed...  I might replace this site with a sharepoint site if I can make it do exactly what I want (which I should be able to do! I can program webparts for it...) Permalink 

Hot on the heels of its big brother SQL 2005, SQL Express now has a management studio that provides similar features to the tool I was originally writing for MSDE!

Available for download from Microsoft now, it offers a nice selection of features that the free version of SQL was always missing (it's annoying when you have an engineer on site and they are struggling to find a problem that could be located with a single query!). Permalink 

My MSDN subscription is a bit broken at the moment unfortunately but it appears that Visual Studio 2005, .NET 2.0 and SQL 2005 are now all out and available to download!

Permalink