SharePoint, InfoPath, .Net and more
Google recently published a new tool to help web designers and developers assess the real estate on their pages. It's a basic tool which overlays a standard graph over your pages showing you the percentage of visitors who have their browsers open to the specific size. Check it out at http://browsersize.googlelabs.com/.
I played around with it a bit and found it a little too elementary. Any good web designer knows that you have to stay above the fold and shouldn't exceed certain widths. If you web page is centered, the tool doesn't take that into account so it'll show that your page won't be seen by 20% of your visitors, for example, using our site on my screen at 1920x1080, their tools shows this:

Only 80% of my visitors will see half of the page. Apparantely that's not accurate. If I resize my browser to 1024x768, it's more accurate.

Now it shows that only 5% of the visitors may not see the full width. According to Google, "Browser Size works best on web pages with a fixed layout aligned to the left. If the content reflows as the width is adjusted or it is centered, then the results can be misleading. In this case, you can obtain more accurate results by reducing the browser width to a percentage column, e.g. 90% and seeing what content falls below the 90% horizontal line."
One more thing that is nice, you can specify an internal web address as well. For instance, if you are developing a site and want to check out the browser size, simply type in the internal URL and blamo you're comparing it to your internal address. It appears the window displaying the website is client based not server based.
I watch this tool with anticipation, it has potential of being a great tool. Integrating it with their Google Analytics would be REAL nice too.
2d6dbf4a-c0f5-447f-a69c-9f78dd4f46b9|0|.0
I recently upgraded my blog to BlogEngine.Net and since then the comments stopped working. Seeing as I'm more busy than Obama right now, I never really stopped to properly troubleshoot it. Recently I took up the challenge and thanks to someone else having the same issue, my blog is now fixed and users can add comments to my posts. So please, comment away!
If you're looking for the solution for your own blog, see http://blogengine.codeplex.com/Thread/View.aspx?ThreadId=59277.
975a25d3-5a1d-4ba1-b756-2d4d40d0efc7|0|.0
This is an issue I'm seeing a little too often on SharePoint installs. Trying to access a site that is hosted on the same server will prompt for login credentials 3 times then display Page Cannot be Found.
From what I've gathered it's a loopback check issue. I've seen it come up as a result of installing WSS SP2 a few times as well. I've seen it "randomly" happen on customers' servers all over the place. I say randomly because I'm guessing that customers have installed Windows updates on these servers which may have installed an update which has caused it.
The fix is to disable the loopback check in the registry. I pulled the instructions on how to from MS KB 896861.
Method 2: Disable the loopback check
Follow these steps:
- Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
- Right-click Lsa, point to New, and then click DWORD Value.
- Type DisableLoopbackCheck, and then press ENTER.
- Right-click DisableLoopbackCheck, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor, and then restart your computer.
I hope this helps!
4b7eabe9-5658-4f29-a6da-60bc59d94438|6|5.0
Happy New Year!
I've recently jumped into the world of search engine optimization, and I'm enjoying myself. Funny though, there's a lot of tricks and cheats you can do for your site and from what I can see, if a search engine determines you are cheating, then no soup for you. Search engines like good, honest sites. I started my SEO experience with SEO Tools at http://www.webconfs.com/. Huge help, discovered the benefits of using <h> tags, static looking URLs instead of dynamic URLs and of course keywords. I was able to get decent results for customers based on this basic information. Also, familiarized myself with the 15 minute SEO on that site as well. Quick and easy reference for SEO tips.
Deciding I wanted to really understand and agressively attack SEO, I read through the Search Engine for Optimization for Dummies book. This book help explain a lot of things, why search engines prefer or hate cetain things. It explained the importance of keywords and their placement. Using some of the tools it suggested I worked with my father-in-law's site, Acrylic Bathliners and Shower Surrounds by Preferred Baths, to see what I can do, as a "test site". Within a month of putting his site live and submitting to the major search engines, he is being returned in the top 5 for "acrylic bathliner". We have more work to do for other important keywords, but the initial results are very encouraging.
One of my customers paid another company about $30K to optimize their e-commerce website. After reviewing all of their documentation (I applied the changes so I could paruse as needed) I'm even more confident in my SEO techniques. The cost killer is keyword analysis. In just playing with Preferred Baths I came to realize that the large ticket of $30K is almost justified for this customer. They optiimized every page, category and product. I have spent hours researching keywords for Preferred Baths and that's a small site! SEO costs definitely depend on the site of the site and the complexity of it's keywords.
If you're interested in SEO optimization for your site, we can provide such services. Our basic seo optimization package includes proper keyword placement, ideal HTML/CSS text usage and navigation/link recommendations. This is assuming you, the customer, are providing the keywords. All new websites we create include this package. If you want us to provide a keyword analysis, we can provide you a proposal for your site. Remember, it will depend on the size and keyword complexity of your site.
Thanks,
a1838719-954d-4723-8793-1b4fe5b52952|0|.0
Originally written 6/20/07, last updated 9/7/07
Welp, that was a fast two weeks! My initial response is if you’re not going to use Microsoft web based products, FireFox is just as usable as Internet Explorer, but please do read on. If you plan on EVER touching Microsoft web products (explained a little later) then IE is the way to go. You suffer little as far as I can see in features between the two browsers. Below I explain some of the common differences between the two browsers that doesn’t say either one is better, just different. Then I list some good points of FF and some not so good points. If you wish to share your thoughts please do so, I encourage interaction on this subject. Enjoy the read!
Some Differences
Differences are what make the world go around. If everyone was only using IE then my job would be easier, but since we have differences in life, my job is that much more fun! The largest difference between FireFox and Internet Explorer is the way FF and IE handle HTML & CSS. For example, in my editor for this blog, the buttons to edit, save and preview appear in color and with a little style in FF, but in IE, they are the typical gray button colors. Appears the developer didn't test in IE? This is not to say IE couldn’t display the buttons correctly, they just didn’t use the correct style information to render in both browsers. This is an age old battle between the two browsers. From the end user's point of view, it shouldn't matter between either browser, it’s the responsibility of the developer to support both browsers, and then some. Like I said, I can spend more time figuring out compatibility issues between FF and IE than I do developing the base of the site! Ok, maybe not more but a lot of time. Another example is how IE and FF translates a line return between objects in HTML. FF treats a line return as just a line return, no spacing (which I agree with!) IE treats a line return as a character space between two objects, so if you’re trying to keep a few images tight up against each other, then you need to keep them tight up against each other in the HTML as well, no new lines.
Something that was a surprise to me was uploading files is different between the two browsers, specifically a JPG file. When uploading a jpg image to the website using FF it registers a content type of image/jpeg and IE states it’s an image/pjpeg. Now that's weird! I have read up on why IE translates it to the pjpef, but seriously Microsoft, even image uploading?
My highlights of FireFox, but don’t tell my boss!
I will take some time and share what I do like about FireFox over Internet Explorer, but don’t tell my boss, we’re a Microsoft shop and talk like this might get me fired…
First, as a developer, I love the fact that the view source is color coded. It resembles the development environment much nicer than Notepad does. I was hoping IE 7 would have a similar setup, but nope. FireFox also has the JavaScript console. A beautiful tool for troubleshooting JavaScript as it will explain the error a little more than IE and give the line number. IE sometimes will just state, in Microsoft-ese, There was an error. DUH! Another neat feature for those brought up to depend on computers for existence and can’t spell without MS Word, there is a spell checker in the default install. The spell checker will check content as you're typing it in forms on websites. There’s even a little red squiggle under the word and you can right click and select the correct spelling or add it to your dictionary. This is quite useful actually except for some words appear as invalid, like intranet, wanted to change to intra net. Now it would be very cool if it integrated with my MS Word dictionary! FireFox decided to break on me while I was browsing some sites, no big deal, IE breaks too. The browser just shut right down on me. But when I reopened FireFox it asked if I wanted to continue my previous session or start a new one. I click continue and I'm back on my previous sites! Two huge thumbs up! Very cool FF! Only real feature I would ever consider using FF for (outside of development).
I've had a little better surfing experience with FF over IE. Pages and sites appear to load faster in FF. I did some side by side comparisons of sites I frequently hit and sure enough FF is a second or two faster. I wouldn't consider this an actual benchmark test though, manually counting the seconds after clicking isn't exactly a guarantee. If you have a tool that I could run on my PC that would run both browsers side by side that would be lovely.
Why I won’t use FireFox
As a Microsoft developer and working for a MS partner company, Microsoft is key to our day to day tasks. Microsoft products like SharePoint and Outlook Web Access aren't fully supported with FireFox. You can manage through both web based applications using FF but some of the items which make these applications slick are lost in FF but abound in IE. Microsoft apparently didn't put a lot of work into supporting FF. Also Microsoft CRM 3.0 web client is a kicking CRM tool, but FireFox can’t open it, doesn’t even try. Site states to upgrade the browser. A week and two days into using FireFox I found using SharePoint not as bad as I initially thought. Some of the cool menus are gone but I can still do everything I need to in SharePoint that I could do in IE, but with a few more clicks.
This is a huge issue, in five clicks I can see all of the saved passwords the user has saved into the browser. Why on God’s green earth would you want to do that?! Think about it… Why? Sure, IE will store it and allow you to recover it IN the form to use to login and mask the password so no one can take a glance then leave and hit the site from their own computer. I can only imagine how easy it must be for malware to read that from FF and pass it on! (Oh wait, people don’t write malware for Non-Microsoft products because they love everything that is not Microsoft.)
Following saved passwords, this doesn’t happen a lot, but if I go to one site, and login using my account and password it will save it to the browser. If I then log out and log back in with a different user account and password FF wants to change the password it has for my original account, not setup a new account. But then it will randomly decide to setup another account. So for one site I’m working on I have three accounts setup but have logged in with dozens since.
Added 9/7/07 - I just recently was made aware of this oddity. From a developer point of view this is agravating and from a user point of view I would be a little annoyed with this. If an image does not exist, FF hides it! IE shows a broken image icon which makes sense because the image is broken. FF hides the object from rendering all together, that's bad! Why? Because, for example, my coworker just rolled over and said that he wasn't even seeing the missing image and he said that's great of FF. I quickly shot that down and said, then how do you know where it is? You have to do viewsource just to see the HTML script of where the image is, and on some of my pages that can be a task in and of itself! With IE I can right click on the broken image and go to properties and see what the path to the image is easily. Of FF....
Finally, an annoyance I found with FF which really got me aggravated was when I was testing a downloaded file from a web app.I would download the file then open it and notice that my changes were not applied to the file. I download it again then click Clear on that download file window in FF. Again the file didn’t change, so I would update my script a little, redownload it then open it again and it would be the same. I then ripped my code out, and did a basic file with contents and STILL it was the same file. Then I decided to erase my original file and redownload it and when I went to delete it from the folder I was downloading to and I had 10 copies of the same file! ARGH! Now that I know I’ve since worked around it, but seriously, that was really annoying!
In closing, why change?
I’m satisfied with the honest effort I gave in trying FireFox. I never thought, oh here we go again, into the weak FF browser. Like I said, browsing for the most part is slightly faster and just as enjoyable as IE is, but I work with SharePoint almost hourly for my job and even that I got over. But why change? Why would you change? If it’s because you are a do-do-head-anti-microsoft user then there’s nothing to be said about you. You probably prefer Linux over Windows too. Users who have made up their minds solid on anything in the technology realm will always be an outcast, always be laughed at (yes I laugh at FF users a lot).
Today, if you are married to a single technology and can’t open up the chance that something else may be a little better or at least give it the good ole college try, you’re missing out big time. I love Microsoft but I use iTunes for buying and playing music. I have an iPod too. I think Apple’s method of media management and features are excellent. If I was a hard core video editor, I’d probably hop on the band wagon and get a Mac with Final Cut Pro. I use Adobe PhotoShop for image editing and site design. Microsoft doesn’t have a tool this powerful (yet). I prefer Lenovo’s ThinkVantage software for managing my computer over Microsoft’s default tools, especially networking profiles. I use Nero for CD/DVD burning because Microsoft’s feeble attempt at CD burning causes more headaches than it’s worth. I could go on and on, but the one thing Microsoft has and why I will continue to prefer them for operating systems and browsing is this: compatibility. I know 110% that Windows PCs will always talk to each other, always communicate with Windows servers and will always support all of Microsoft software. Why fight that?
09bb3675-3f4f-41a5-85ea-a2313b39d7df|0|.0
For about a year and a half now my company Delphi Technology (www.delphi-ts.com) has had a dedicated server hosted in Florida and we can't complain. We have about 30 accounts on it and the server runs great. We offer quality hosting, not cheap hosting. Our base package is $19.99 per month for 1GB storage space. All of our plans are customizable and we're willing to work out a hosting plan that fits your needs and budget (even if it’s less than $19.99/mnth). Let me rant about cheap hosting providers, specifically WebHost4Life.com (I use to use ReadyHosting.com with the similar complaints then went to WH4L, silly me). They're cheap, $4.99/mnth. I have about 6 customers still on WH4L and regret it. Fortunately these customers came to me while on wh4l so I am not responsible for their weeping and gnashing of teeth.
So, the complaints:
One customer had an issue when trying to view the site, the error was "Service Unavailable" Support said "...seems like someone was using a lot of resources within your application pool, so we reset the IIS within the server. Thanks." That worked, but then I wonder, what is preventing from happening again? I then mention "each site isn’t on its own app pool? Wouldn’t that be a wiser setup?" to which they replied "We can only have so many application pools within the server. So we cannot create over 100-200 application pool for each user; that will slow up the server more. Thanks." Good point, I bet it would, then BUY A NEW SERVER! But no, they are cheap hosting, so you get what you pay for! Delphi's hosting has individual application pools per website (even the SmarterTools have their own individual app pools) and I can guarantee that when we hit 40-50 websites we'll get another server, not sacrifice our customer's performance.
Several customers will randomly start receiving NDRs stating "Reason: Remote host said: 451 Blocked - see spamcop.com" or spamhaus.com, etc. Each time I have to initiate contact with the hosting company then a few hours later that issue will be resolved. This happens probably once a quarter at least.
Then we had some random SQL server issues (lack of connection), other email issues with forwarding, replying, DNS issues, ftp issues, "there appears to be a routing issue with our servers at the moment. Technicians are on site fixing the problem" type errors too. Then there's their control panel. Its an improvement over their old control panel (it now integrated with support) however still flaky. Randomly I'll get errors that my session has expired (right after logging in). I'll get some other random Errors, "please try again", etc.
Recently, I participate in the following thread... we're not the only people dealing with this: http://forums.aspdotnetstorefront.com/showthread.php?t=4546
In my own opinion, WebHost4Life.com is a great cheap hosting provider but they're cheap in their resources and server structure. I know the costs of hosting and can appreciate them trying to make a buck or two, but at the customer's expense? Not financial expense, but poor website and email performance. With all this said, if you're looking for a dirt cheap hosting provider, wh4l is it, and expect to get what you pay for. If you're looking for something for a personal website, go with wh4l. If you're looking to run your business through it, look somewhere else (like Delphi!) If you can spend a few more dollars, I'd be willing to work with you and get you running on our servers ;).
Thanks for the time to rant.
9db32afc-2195-49ee-9d51-bc38fedd6fc0|0|.0
So, here's the scenario: IIS 6.0 on a Windows 2003 Standard SP1. Its a new ecommerce site (http://www.patternworks.com went live on 1/31/07) that replaced an old ASP site. That's not the issue, this is:
When trying to view a page that is not in the site and ends in aspx, it errors. For example, www.patternworks.com/peace.aspx (not real) errors like so
The page cannot be displayed
|
| Explanation: The Web server connection was closed. |
Try the following:
- Refresh page: Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion.
- Check spelling: Check that you typed the Web page address correctly. The address may have been mistyped.
- Access from a link: If there is a link to the page you are looking for, try accessing the page from that link.
- Contact website: You may want to contact the website administrator to make sure the Web page still exists. You can do this by using the e-mail address or phone number listed on the website home page.
Technical Information (for support personnel)
- Error Code 64: Host not available
- Background: The connection to the Web server was lost.
|
and in Application Logs in Event Viewer I got this (reported from my application)
The file '/PWShopping/products.aspx' does not exist. System.Web.HttpException: The file '/PWShopping/products.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I have setup in IIS 6.0 in the Custom Errors tab of the website, the 404, 404,2 and 404,3 all setup to send to a specific file (looks pretty to match the site). It works great if you were to try to hit www.patternworks.com/peace.html or peace.asp. Its just those dang aspx files. On top of it all, for some crack pot reason Yahoo! Slurp and Google Bot are trying to access new pages (products.aspx) in the old file structure, www.patternworks.com/pwshopping/products.aspx. How weird is that?!?!
After much searching, I found a fix. In the properties of the website in IIS, Home Directory Tab, then Configuration. On the first tab there is a list of Application Extensions. I edited the item for .aspx and checked "Verify that file exists". Restarted the website (just stop and start the site in IIS) and blamo it started working.
Hope this helped!!
9e35775a-01a5-431b-98f4-434e2299b52b|0|.0
|
RSS
Login
|