FB_init

Showing posts with label bad software. Show all posts
Showing posts with label bad software. Show all posts

Thursday, May 19, 2011

My daily PHP frustration - I

I couldn't get Xdebug to work. I spent more than 12 hours on it. It just didn't work. I suspect the problem is related to compatibility between the versions of PHP and Xdebug. There was no clear error message, so I can't tell. As for clients, I tried a number of them. Take a look at the list here. The Eclipse PDT plug-in - and most of the clients actually - seem to assume that you browse a PHP page directly. That was not my case: I would browse a page that had an Ajax call to PHP. The Notepad++ and the XDebugClient (stand-alone) were the most promising ones. But if it worked on Eclipse, I would stay within the IDE.

Tuesday, October 12, 2010

Problemas no CD-ROM do Coelho Sabido

Comprei o CD-ROM do Coelho Sabido e tive problema para instalá-lo no meu computador. Depois da instalação, tentando jogar aparecia uma mensagem dizendo que o software não achou o arquivo
c:\resource\rrk32.exe . Eu então copiei todo o diretório d:\resource para c:\  e o software funcionou.

Thursday, September 30, 2010

My daily SharePoint frustration - XIX

This error happened with SharePoint Server 2010.

The error:


********** ERROR: The template you have chosen is invalid or cannot be found.

STACK:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)
   at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)
   at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName)
   at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, Boolean useHostHeaderAsSiteName)
   at Microsoft.SharePoint.Administration.SPSiteCollection.Add(String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, Boolean useHostHeaderAsSiteName)
[...]

What I was trying to do: 
  I was trying to create a site collection with a custom template.

The cause of the problem:
   I was following some instructions from internal documentation on how to localize the site. One step instructed me to copy the site template XML file from the English directory to 

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LCID\XML
  
  After I deleted the XML files from both English and Japanese sites, the problem went away. I didn't try to delete just from the Japanese directory.


Friday, July 17, 2009

My daily Microsoft frustration - VI

Problem: trying to login to SQL Server 2008 gave me a 'login failed' Error: 18452, state: 1.

What I was trying to do: to login with my domain user using SQL Server Management Studio, right after installation.

The solution: to right-click on SQL Server Management Studio and 'Run as Administrator'.

Tuesday, March 10, 2009

My daily SharePoint frustration - XVIII



The Problem: I can't save a file with Microsoft Office SharePoint Designer 2007 SP1.
There is no information in the error message.

Solution: none.

Tuesday, January 06, 2009

Real World Software Engineering – XIV

I wonder how music would be if it were like software development. I think it would be something like this.


The Ottawa Brass Ensemble was a very good ensemble. One day, at the end of a rehearsal, Mr. Borremans, the Artistic Director, arrived with the good news:

- We'll perform the Neck Cracker for the official visit of Mr. Schneider to Ottawa next week.

Mr. Schneider was the Foreign Minister of Lichtenstein, the small European autonomous enclave. His unpredictable temper was notorious.

John, who played the tuba, was the first one to speak.

- But the Neck Cracker is a symphony for a full orchestra.

- Yes, I know. Don't worry, we have already ordered the remaining instruments.

The musicians had mixed feelings. This was their chance to grow into a full orchestra. And the Neck Cracker wasn't just any ordinary symphony. It was a masterpiece by Maître Dubois, the famous Modern French composer. Just hours before dying, Maître Dubois wrote this masterpiece for his mistress and hid it in a safe so that his wife wouldn't claim it.

- The concert is set to June 1st. We have lots of work to do.

Next Monday, April 3rd, was the first rehearsal. The musicians arrived and were greeted by Borremans and another man.

- May I introduce you to Monsieur Rousseau. He is our guest conductor for the June 1st concert. He is a prestigious conductor and I'm sure you will all be able to do a great performance that day. As you all know, Mr. Schneider is a high official, and his visit is very important to our representatives. This concert is very important and we have to execute it perfectly. The media is already speaking about it. There is no margin for errors. I'm confident you are competent musicians that will perform very well. With that said, let us welcome Monsieur Rousseau.

After much applause, Monsieur Rousseau began to work right away.

- Merci, merci, my friends. For this concert, we'll be employing the Presto Methodology.

The Presto Methodology was the latest buzzword in Orchestral Engineering. In it musicians were supposed to memorize the whole score and practice in invisible instruments. Each section would practice separately, instead of the classic whole-orchestra rehearsal all the time.

- Mr. Borremans, when will the other musicians arrive to complete the orchestra?

- We are already interviewing several candidates, who should arrive next week, if everything goes well with HR.

- And how will we practice without the other instruments in the meantime?

Mr. Borremans hadn't actually thought about that, but he needed to answer the question.

- I've consulted with Monsieur Rousseau, and we've decided that we'll be transitioning some of you to the other instruments. It is only a temporary measure until the other musicians arrive.

The musicians thought that was a bit odd, but were still excited to try out the Presto Methodology and the different instruments.

In the next day, the musicians arrived at the theatre and saw the list of sections with their names in them.

Looking at the list, John commented with Joseph:

- Did you realize that we'll need to learn a brand new instrument?

- Don't worry, John, it's only until the string players are hired. And it's not so difficult. After all, we are all musicians.

But M Rousseau announced shortly after:

- HR is still interviewing the new musicians. We realized that we may not have enough time, so we'll need you to be prepared to play the string and percussive instruments for the concert just in case.

The musicians were surprised. M Rousseau continued:

- But don't worry. We have already scheduled for a famous violin player to come and give us a Master Class on how to play the violin. I've also rented the movie 'The Fiddler in the Roof'. My daughter saw it yesterday and thought it could help us. I thought it was a wonderful idea. We want to equip you to be successful by all means, so feel free to order any books and expense them.

Now the musicians were worried. Most of them had only a few weeks to learn a brand new instrument, practice and perform the difficult Neck Cracker sounding like a professional orchestra.

The new rented instruments arrived. The musicians took them and sat down in their named chairs.

- Hey, Brown, where is the score?

Brown was the first-chair clarinet, and had been promoted to concertmaster.

- We have a small problem with the score. Don't worry. As you know, Maître Dubois locked it in a safe before dying. The grandson of Maître Dubois, Bob Dubois, had promised me that he would get it to me last Sunday. But he called me yesterday saying the lawyer of Maître Dubois' wife spoke to him. The wife's lawyer had a subpoena to take the score. But don't worry, our lawyers guaranteed me that we'll have it next week. Luckily, Bob Dubois heard his grandpa whistle it many times at his cottage. Just in case we have no access to the score, Dubois will be helping our contracted Score Consultants to rewrite the score. The Score Consultants will fly in from New York tomorrow. They will be brainstorming with Bob. I think we are in the right path. In the meantime, take the time to assemble your instruments, install the strings and familiarize yourselves with them.

The musicians had no alternative. They went on to get their instruments in order.

  • M Rousseau, I think we have a small problem with the instruments here. We can't find the cellos in the order. They sent violas instead.
  • Ask the section leader what to do. I'm comfortable with whatever decision she makes.

    Sandra said:

-We'll just put the cello strings in the violas. It should be alright.

- Hey, Brown, did you notice that the violins only have three strings? There was a flaw in the design of the violins by VonderBuick. I told the Procurement Department not to order the violins from them, but I guess they lost my memo in the paperwork.

- Yes, I noticed it too. Don't worry, Peter. The newer version of the violins by VonderBuick already fixed the problem. They promised me they will mail the newer versions next week with no extra charge, and we get to practice on the current violins for the time being. It's not much different playing in three or four strings anyways.

The next day was the brainstorming session with Bob Dubois and the Score Consultants from New York. Of course, they were all in pink suits and relayed lots of confidence in what they did.

  • Mr. Dubois, the first thing that we should do is to write down the Vision Statement for the concert. Let's begin brainstorming, and my colleague will translate the keywords from the sticky notes into the Vision Statement. This is how it works: we say a word and you say the next one. Like ping-pong. Ready?

- Yes

- Concert?

- Beautiful!

- Music?

- Dream!

- Did you capture that, Joe? I feel that "Dream" is a keyword. Very important.

- Do-re-mi?

- The Sound of Music

- Wow, that's good. I think we are getting somewhere.

- Mr. Schneider?

- Wild horses!

- Beautiful, beautiful.

After one week of work, Dubois and the Score Consultants had a draft version of the score. The layers were still arguing over Maître Dubois' real score. Meanwhile, the musicians were trying to learn everything they could at the violin master class.

  • Look, it's easy, the bow goes up, and then it goes down. You see? Up, down, up, down.

The next day, the Score Consultants and M Rousseau gathered the musicians to introduce the score.

  • As you know, the Neck Cracker is a masterpiece. It's a modern symphony in four movements: Allegro, Vivo Misterioso, Lento, and Presto Senza Perdere di Vista la Chiave ad Una Vita Bucolica e Tranquilla Ricordandosi che Cosa gli Uccelli Fanno Quando Copulate Ma Non Troppo.

This was the score:

Allegro Maître Dubois

Vivo Misterioso Maître Dubois

Lento Maître Dubois


Presto Senza Perdere di Vista la Chiave ad Una Vita Bucolica e Tranquilla Ricordandosi che Cosa gli Uccelli Fanno Quando Copulate Ma Non Troppo

Maître Dubois

John was the first musician to speak:

  • The score surely looks great. But it doesn't have notes in it. There aren't enough details for us to play it.

The Score Consultants explained:

  • The Neck Cracker is a beautiful modern piece that has the spirit of innovation. Bob Dubois will agree with us that it captures well this spirit.

Monsieur Rousseau jumped in to avoid any confusion:

  • The score is a powerful tool to convey the principles of the Neck Cracker. It's a starting point and this draft will allow us to move forward. The musicians will look at the pictures and just play the emotions that come to mind. Let's think outside the box and be a bit creative here. The requirements are clear. We need to leave a good impression on the public and on Mr. Schneider June 1st. It needs to be a moving, powerful and beautiful piece played skillfully. By the way, how are the Presto Methodology-oriented practices going?

The musicians went home and practiced as if they had air instruments. For days they were supposed to look at the pictures and let the emotions flow. The following rehearsal, May 2nd, began not without debate.

  • M Rousseau, the first violins are feeling that we aren't prepared to play the piece. We just don't have enough time to learn to play the violin. It is not an easy instrument.
  • What's the problem that you are having more specifically? Is there any note you can't play?
  • Well, it's not that there are specific notes we can't play. It's that we just don't feel we have the right techniques and enough training to do so.
  • Have you been to any of the NAC concerts any Tuesday night?
  • Yes, as a matter of fact.
  • Then try to seat in a row nearer the orchestra. Do you understand? Nearer the orchestra. I have brought Bob Dubois here. He will be helping us to perform the Neck Cracker as it should. He will be advising us in terms of overall quality. He has heard his grandfather, Maître Dubois, whistle it many times and we have no one more equipped to help us in that aspect. Ok, folks, I don't need to take more of your time. Let's rehearse now with the instruments. First movement, da capo.

And the orchestra played it for the first time. As anyone would expect, it sounded weird. The section leaders were trying to make their best to convey the tempo to their sections gesticulating a lot. Nobody knew exactly what time to end. M Rousseau shouted

- Stop! Stop! It's sounding awful! This doesn't sound like the Neck Cracker. Section leads, what happened?

The cello lead explained:

- We are not familiar yet with the violas. We need more time to practice.

-We in the viola section are just trying to follow the score. But this first draft doesn't have enough details for us to play.

M Rousseau said angrily:

-Look, it's supposed to be grand and happy and yet powerful and moving. You played timidly sounding like a rutting gazelle. Can't you guys just read the score? It says Allegro! Allegro! Da capo!

And for weeks the musicians went on air playing their instruments in section rehearsals, struggling to perfect the Neck Cracker. The first version of the score, which was supposed to be temporary, became the de facto version. Of the string instruments that were to be hired by HR, only one violin player arrived weeks after because of budgetary constraints. Once in a while Bob Dubois would interrupt a section rehearsal saying

  • Ok, stop, stop. That is not what my grandfather used to whistle, and I'm sure Mr. Schneider won't like it this way. Tuba, will you please play more gently? Oboe, the melody goes like this: la la la la laaaa la laaaa. Get it? Let's try again.

The section leaders got together in the pub around the corner, as they usually did Friday nights. The 2nd violin lead went on to talk about his idea:

  • What if we get together and write down the score? We could capture the basics, like tempo, metrics, key signature, improvisation sections and so on. We'll lock Bob in a room for four days and just write it down.

That sounded like a great idea. They called M Rousseau to show the PowerPoint presentation. M Rousseau was worried that it was a big risk not to be rehearsing, that it could jeopardize the concert. He was the one who suggested bringing in the Score Consultants, who were paid $150 per hour. The section leaders, however, convinced him that it would be worst to continue with the current score. And so it was: the section leads were locked in a room with Bob for four days writing down the score by hand.

In the next rehearsal the musicians were much happier. Now they finally had a better understanding of how the Neck Cracker should be. But things were still not perfect. M Rousseau stopped in the middle of the third movement angrily:

  • Arrêtez! Arrêtez! That's not like it! It's sounding awful. Where's the harpsichord?
  • See left earlier, sir.
  • How come? We still have two hours of practice to go.
  • Mary told us that she takes 2 hours to tune the harpsichord before every practice. She already completed 8 hours of work today, so she left.
  • Ok, you there. Yes, you from the bassoon. Go there and play the harpsichord.
  • But I can't play the harpsichord.
  • It doesn't matter. We need this part. We are a team.

A few minutes later, M Rousseau stops again:

  • Arrêtez! Arrêtez! Harpsichord, what's wrong with you? I can't hear you. Can you play louder please? This passage is fortissimo!
  • I'm trying, sir, I'm trying.
  • Harp, the same applies to you. Step on those pedals, will you?!!
  • Ok, sir.

After weeks of hard work and long practices, M Rousseau announces changes:

  • We don't have much time left until the concert, and I feel that we are lagging behind the plan. From now on, we'll play twice as fast the piece, so that we'll practice it more in less time. Please double your metronomes when practicing at home. I also realized that we are playing too many notes. We'll switch from the diatonic scale which has 7 notes to the pentatonic one which has only 5. This should make it easier for us to play. I also decided to remove the third movement altogether. It was kind of a downer anyways. We don't want Mr. Schneider to feel depressed. Are you ready to write down the notes we are taking out? It's very simple: please erase from your score all C sharp and F sharp.
  • Sir, but the second movement is in C sharp. That's the tonic.
  • Oops. Ok, in that case, we'll remove all D sharp. Call it version 2 of the score.

Rob Dubois complained:

  • My grandfather liked D sharps a lot. It was the first note he learned on the piano. I think you should not remove the D sharps from the score. And you can't remove the D sharps without removing also all the G sharp, since they are a perfect fifth apart.
  • Ok, we'll leave the D sharp, delete all C sharp and F sharp, except when any of these two are preceded by a lower A sharp. Call it version 2b of the score.
  • Will you please make up your mind? I wrote the modifications by pen and now I can't erase it in the score.
  • Sir, can you please confirm? For version 2 we'll leave all G sharp, delete all C sharp and F sharp, except when they are preceded by a lower A sharp? What about the D flats and G flats? They are not technically C sharp and F sharps, but they sound the same.
  • Yes, you are right. We are calling it version 2b now …

And so they went discussing on for two more hours until the end of the rehearsal. At the end there were many different versions floating around, and the musicians had to spend time comparing notes measure by measure, which was quite time consuming.

A few days before the deadline, the challenges were still many.

  • Folks, we still have a long way to go. We still need to practice more, but don't have much time to correct the errors. We decided to cut some measures. Please write down all the measures that we are deleting: 2, 76, 197, and 203 through 209, 305 and 776. Let's call it the amended version 7.5c now.
  • But removing measure 76 the piece won't be moving and powerful anymore.
  • Sir, the violins are playing one note that spans through 16 measures. It is too long.
  • No worries. What if you tie one more bow on top of the current one?

When the whole orchestra began to play, M Rousseau had to stop the orchestra again:

  • Stop, stop, stop! Viola, what happened? Why aren't you playing?
  • Oh, for performance reasons we removed some notes we thought were unnecessary. We also removed all pauses, since we weren't doing anything. We just thought we could be more efficient this way. We ended the piece before the timpani solo.
  • No , no, that's all wrong! Are you playing version 7.5c with yesterday's amendment? Violins, why are you all playing pizzicato all the time?
  • Oh, sir, it's because the security in the building now classifies our bows as weapons. We needed to leave them in the coat room.
  • Trumpets? What happened? You got all attacks wrong!
  • Sorry, sir. We refactored the score. The 5/8 meter was causing integration problems with the rest of the orchestra, so we changed it to be 3/8 plus half of 2/4.
  • Let me get my calculator. [Beep beep] Hum, I guess that could work. Let's compare measure by measure with all the other sections.

While they were speaking, the light went out.

  • What now?
  • The power went off, sir. I guess the UPS didn't kick in. When the lights are out we can't read the score.
  • But according to the Presto Methodology you were supposed to memorize it anyways.
  • Well, we thought we had agreed to play with our custom version of the methodology.

Mr. Borremans began to think he would have to cancel the concert and refund the tickets.

  • Folks, I was discussing with M Rousseau here, and we are thinking about putting an accompaniment track that we downloaded from the Internet in the background and for you just to pretend you are playing. Yes, we found a version of the Neck Cracker on BitTorrent. Strings: just rub some soap in your bow hairs. Woodwind: remove the mouthpiece. Harp: we were thinking about putting some laser beams…

The section leads were angry at the suggestion.

  • We have practiced all these weeks and now you just want to substitute us with a recording? That's not fair! We are only a few days away from the big day!

After much debate, musicians convinced the conductor and the artistic director that performing live was the right thing to do.

Hours later Bob Dubois stood up and said:

  • By the way, when are we going to practice with the choir?
  • What choir? Asked Brown, the concertmaster.
  • The big choir. The Neck Cracker must have a choir. My grandfather always spoke of a great choir singing in the Neck Cracker.
  • "Yes, yes, I have a group of friends that sing beautifully. I'll give them a call tonight. ", said M Rousseau.

    Brown replied:

  • I don't think it's a good idea to include a choir a few days before the concert.

Mr. Borremans jumped into the discussion, which took hours. It was too much risk to include a choir at the last minute. In fact, everybody knew the only reason Mr. Borremans did not go for it was the cost of paying for all the extra musicians.

Finally the big day arrived. June 1st. Everybody was nervous. How would the orchestra sound?

Mr. Schneider was up there in the reserved mezzanine, looking rather bored. Instead of the traditional A, the oboe sounded an awful A flat for the other instruments to tune. After half of the orchestra began to tune in A flat, John, who had perfect pitch, tried to whisper rather loudly:

  • Hey, hey, that's not an A! Stop, stop!

The oboe player noticed the problem and raised half a step. The violas, the cellos and the French horns also noticed the mistake and tuned in A. It was too late: the orchestra already had different tunings. M Rousseau walked in with confidence and joy and everyone applauded.

The concert began. It was a mess. But nobody noticed. After all, it was a modern piece. Mr. Schneider fell asleep by the 50th measure. The public thought that it sounded alright for a modern piece. In reality, they couldn't tell. It sounded as good as any other modern piece. Despite being very weird, nobody dared to comment. As the end approached, Mr. Schneider woke up with the gentle poke of his assistant and applauded effusively. The concert was a big success!

Saturday, January 03, 2009

Real world software engineering - XIII

Software will more often than not have a very low quality. Population, therefore, will continue to have difficulties using and trusting software. The reason is that companies continue to seek the highest profit possible per project and impose the shortest deadlines, compromising quality this way.

Friday, December 19, 2008

Zune is bad. Spread the word

My Zune player keeps rebooting all the time. The battery is full. Bad software. Bad hardware. Don't buy Zune.

Version 3.1 (50)
Bootloader 435

(the latest)

Wednesday, November 19, 2008

My daily Microsoft frustration - III

Visual Studio 2008 and IIS 7 are not getting along today. I think IIS became a zombie, like in a horror movie. It comes to haunt you in a nightmare.

Tuesday, November 04, 2008

My daily SharePoint frustration - XIV

Error: I can't get xsxsl extension to work within DataFormWebPart's XSL:

Error while executing web part: System.Xml.Xsl.XslTransformException: Execution of scripts was prohibited. Use the XsltSettings.EnableScript property to enable it.

...em.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, Stream results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform()


No resolution.

Wednesday, October 22, 2008

My daily SharePoint frustration - XIII

Of all things in SharePoint, the most undocumented, the most mysterious, the most unpredictable, and the most unstable is the DataFormWebPart.

Tuesday, October 21, 2008

Real world software engineering - VII

Real World Software Engineering acknowledges that when Project Management is disconnected from reality, when "planning" is a false sense of security for management to feel good, the stage is set to disorganization, 'late' software, and low quality. Expect chaos and stress.

Saturday, October 04, 2008

Hallelujah! My Drive is Driving!

Hallelujah! My Drive is Driving!

I was fighting the good fight against my new Western Digital SATA drive and my P4S8X motherboard. I had FastTrack - the BIOS "controller" - recognizing and mounting the RAID array correctly. But I couldn't get Windows XP nor Windows Vista later to recognize the bloody drive. The P4S8X CD did not have a RAID driver for me. Yes, I had to format a 1.44 floppy and put the Western Digital DOS utility in it to try to diagnose the problem and see if anything would recognize the mysterious drive. I was beginning to suspect my motherboard SATA controller was no good. Or that because the drive was SATA II that it wasn't really backwards compatible with the SATA 150 motherboard controller. In any case, the Western Digital DOS utility found the drive and "formatted" it. But the Western Digital utility for Windows did not recognize the drive in Windows XP. I then installed Windows Vista, and it wouldn't recognize the drive either. I noticed that the RAID controller had a yellow question mark in device management (in either XP and Vista). I went on to find a driver. After months, I found the FastTrack thing, that is, the Promise FastTrack RAID driver for Windows 2000/XP (good enough for Vista). I downloaded the RAID driver, put it on an USB stick, and had Windows to rescan the hardware. Lo and behold: a miracle happened! Windows recognized my drive, installed the software (RAID controller), and offered to format it! After rebooting 3 times, it worked! (Compared to months and innumerable reboots before it).

My rating:

Western Digital HW/SW: 3 stars out of 5. Good hard drive, but bad documentation, and bad software. Wake up! Where are your Vista drivers?

Promise HW/SW: 5 stars out of 5.

Windows Vista: 3 stars of 5. It couldn't tell me where to find the software.

User: 1 star out of 5. It took me forever to get this s* working.

Tuesday, September 23, 2008

My daily SharePoint frustration - V

The error message:

Could not load type 'Blah.Control'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError)

at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly)
at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData)

The context:
I was trying to create a custom field type with a custom control. The problem appeared when I was trying to create a new column in a list. Apparently SharePoint wasn't finding the class for the inheritance of the control, declared in the ascx file.

The solution (or workaround):
I checked that the public key token was the same in the GAC, in the ascx.
I checked that the FieldTypeClass in the field declaration was correct in my fldtypes_blahblahblah.xml
I reset IIS. (I think this is what "solved" the problem). It is as if resetting IIS forced SharePoint to "reconsider" the proper version of the assembly in the GAC (flushed whatever from memory).

Monday, September 08, 2008

Meaningful error messages

This is error code -2145091577. I was trying to enable my mouse in Hyper-V for about 1 hour, fighting with keyboard sequences. Only to arrive at error code -2145091577. Can't software have more meaningful error messages?

Friday, September 05, 2008

Windows update, unhelpful help


"Sorry, you got a code 737D problem. Do you want some help? Check your spelling."


This is a Windows Update in Windows Server 2008.