Archive forFebruary, 2006

VS.Net 2005 unable to start debugging

I’ve started on a web project for a client using VS.Net 2005 and the .Net 2.0 framework.  This is the first project that I am undertaking in this framework and I am catching a few little teething issues as I go.  Some of them are obvious and some not so obvious.

The most un-obvious one that i have come accross so far was related to being able to debug the project.  I am set up working on my laptop which has both VS.Net 2003 and VS.Net 2005 installed.  I’d had the “unable to start debugging on the webserver” errors before in VS.Net 2003 and am fairly comfortable with what has to be done to correct the issue.  When I received that error this evening with VS.Net 2005 I followed the same path to try resolving it.

No good.  Doesn’t work.

After chasing links in circles through the online help I found a link to this knowledge base article that gives instructions on editing the permissions on the metabase.  Thankfully for my particular problem it was easy.  At the top of the article it says:

Note If you are using ASP.Net 2.0 and you have to grant metabase permissions to a Windows user account, run the ASP.NET IIS Registration Tool command with the -ga option instead of using the tool that is shown here.

A quick check in “Local Users  and  Groups” on my laptop showed that the windows user account  that ASP.NET runs under is ASPNET.

I ran

aspnet_regiis -ga ASPNET

and was back in business.  Debugging is now working, pitty that my code is not - but that is another tale altogether.

Comments (2)

why does it have to be a battle?

Why is it that bedtime has to be such a battle at the moment. I understand that our darling daughter is teething at the moment, but it has never been this bad. She won’t feed to sleep easily and if I try to pick her up and rock/carry/walk her she screams like I’m cutting her fingers and toes off one at a time.

I feel so frustrated, and I’m sure that she does too, that we can’t communicate more effectively than we currently do. Kira has what I consider a wide vocabulary. I’m not suggesting that she is uber smart or anything, just that we can communicate quite well most of the time. Why is it then that when I pick her up to try to get her to sleep the only form of communication she seems to posses is thrashing around like a dieing fish and screaming at the top of her lungs.

It becomes quite a violent struggle on her part some nights and I wonder if what I am doing does more harm than good. She is tired, she’s had a long day and now she wont go to sleep.

[censored]

Comments (2)

VS.NET and nDoc

I’ve recently starting working in VS.NET 2005 for some development that I am doing for a client.  This is the first time that I have undertaken anything using the 2.0 Framework and the updated IDE.  Having done a fair amount of development in VS.NET 2003 I have been using nDoc quite a bit.  I was quite dismayed to learn that nDoc was not compatible with the 2.0 Framework.

A little digging lead me to Jonas Lagerblad’s post about a improvements he has made to a port of nDoc 1.3.1 for .Net 2.0.  I am about to install this as it will give me the docs that I need for now, but I would be more comfortable having a complete version.  As yet I’m not doing anything that is not covered by this version, but that may change soon as I become more comforatble in the 2.0 Framework.

I was googling a little more about this to find feedback from others that have used this version and came across a nice little post on  Fabrice’s weblog. Someone representing themselves as the “main developer of NDoc 1.3 and the titular admin of the project” indicated that a complete rewrite has been undertaken for the 2.0 Framework and that the new version is in alpha testing at the moment.  Hopefully it won’t be too long until the new version is available.

Comments

css VS.Net’s way

This is just a mini rant about Visual Studio .Net 2003 and it’s inability to be concise and clean when creating HTML and CSS.

It understands the clean shorthand notation as follows

padding:6px 0;

but insists on turning that into

PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 6px; PADDING-TOP: 10px;

I can see no good reason for this, and no way to stop it.  At half passed midnight on a Monday morning I’m at work finalising some content for a project that is supposed to go live in less than 24 hours and I’m fed up with the cruft that VS.Net is producing.

Comments

Office politics

I’m over it!

[censored]

Comments (2)