Looking for white elephants

By James at November 09, 2007 14:39
Filed Under:

I wanted to add the Live Messenger plugin to my BlogEngine.NET blog and could get it working when running either in Cassini or IIS 6/7. However when I posted the changed files to my hosting server, it wasn't working. I had previously built a custom template for BE, and had problems with custom Javascript being linked correctly. I ended up adding the JS links to the bottom of the master page with the following code:

<script type="text/javascript" src="<%=Request.ApplicationPath %>/themes/<%=BlogSettings.Instance.Theme%>/jquery.js"></script>

That worked fine and I was stumped why my new JS code wasn't working.

It was only until I did the most simplest of things, "View Source" did I see that the source of the javascript file was now


I don't know why this happened. I hadn't changed the source of BE. Perhaps it was a setting change on the hosting server, I don't know.

What I ended up doing was moving the javascript files to the "js" main folder of BE and now all is good.

BTW, if you want to IM me via Messenger, just click on the "Instant Message James" link in the sidebar, and you're good to go.


Add comment

  Country flag
  • Comment
  • Preview

About the author

James James is a five time and current Microsoft MVP in Client App Development, a Telerik Insider, a past Director on the INETA North America Board, a husband and dad, and has been developing software since the early days of Laser Discs and HyperCard stacks. As the Founder and President of the Inland Empire .NET User's Group, he has fondly watched it grow from a twice-a-month, early Saturday morning group of five in 2003, to a robust and rambunctious gathering of all types and sizes of .NET developers.

James loves to dig deep into the latest cutting edge technologies - sometimes with spectacular disasters - and spread the word about the latest and greatest bits, getting people excited about developing web sites and applications on the .NET platform, and using the best tools for the job. He tries to blog as often as he can, but usually gets distracted by EF, LINQ, MVC, ASP, SQL, XML, and most other types of acronyms. To keep calm James plays a mean Djembe and tries to practice his violin. You can follow him on twitter at @latringo.

And as usual, the comments, suggestions, writings and rants are my own, and really shouldn't reflect the opinions of my employer. That is, unless it really does.

James Twitter Feed

Recent Comments

Comment RSS

Month List