b5media.com

Advertise with us

Enjoying this blog? Check out the rest of the Technology Channel Subscribe to this Feed

Microsoft Weblog

Error Invoking "Edit Fields…". - Solution Found?

by Jason Bean on February 5th, 2008

Here’s a somewhat humorous story for everyone.

I’m working on another website project and I keep getting the error I wrote about before on “Error Invoking….” blah-blah-blah.

I’m getting sick and tired of this error popping up so I type in the entire text of the error into Google to see if anyone else is experiencing this problem.

Without paying much attention I click on the first search result and open the page. I was distracted for a minute by someone asking me a question, when I came back to my browser to look at the tab I just opened it was my post about this error. I thought too myself “why did I open this post?”.

Then I realized that my post is THE #1 search result for this error! woot!

Here’s the good news though, I believe I’ve found the cause. It seemed to have been a stray SPAN tag that was surrounding almost the entire contents of my page. So, when I moved something around, it appeared that it was throwing off the nesting of tags and screwing everything up.

I went into my code and found the superfluous tag and removed it from the code. That appears to have eliminated the problem from happening.

So, here’s the first step in the solution. Don’t focus too much on your specific tags on the page. Take a broader look at your code and see if there’s a stray SPAN tag that’s been popped in that’s really not serving any purpose. Mine was only stating that the font should be Arial.

Now, before everyone starts freaking out. Yes, I know I need to be using CSS for all of this stuff and I am now. I just don’t have the time to go back into this entire website and strip out all the formatting and switch it over to CSS styles.

POSTED IN: Software Errors, Training, Visual Web Developer Express

2 opinions for Error Invoking "Edit Fields…". - Solution Found?

  • Simon
    Apr 24, 2008 at 2:59 am

    I still have this problem when i changed a field into a template field and i don’t seem to be able to find the stray SPAN tag as you have suggested. What can i try now?

  • Jason Bean
    Apr 24, 2008 at 10:24 am

    My first bet would be to really look again at the code. It may be another tag set that’s mucked up somehow, not just a span tag. You might also try deleting the offending block of stuff and try again.

Have an opinion? Leave a comment: