DotNetNuke – Could not load file or assembly ‘Telerik.Web.UI’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference.

image

After upgrading a DNN website, we received this error message.

The underlying cause of the problem is sloppy release version upgrades of the DNN core product.

The issue is that the release.config file in the update versions of DNN references older versions of the Telerik.Web.UI .dll file in the /bin folder of the install versions of DNN. This means that the settings in your newly updated web.config file are referencing an old version of the Telerik file.

The fix is easy

Right click on the Telerik.Web.UI.dll file in your sites /bin folder.

If the file is not there, then download the install version of your DNN site package from http://dotnetnuke.codeplex.com

Then extract the file to the /bin folder.

image

Look at the version number of the file.

Edit your web.config file to match this data:

image

Save and you are done.

DotNetNuke HTML Editor Background Black

When you get a black background in the HTML Editor.

image

The solution is easy.

Look for the file found here:

\Providers\HtmlEditorProviders\Telerik\Config\ConfigDefault.xml

Edit it to add this line:

<property name="CssFiles">~/Providers/HtmlEditorProviders/Telerik/Config/EditorCustom.css</property>

Looking like this:

image

Then edit this file:

\Providers\HtmlEditorProviders\Telerik\Config\EditorCustom.css

To look like this:

body
{
  background-color: white;
  background-image: url(image_path);
  color: black;
}

image

 

That’s about it.

How to pass iStockphoto Photographer Application Quiz–Answers

Review your answers

  1. Files downloaded from iStockphoto (including yours once you pass this test) are offered with a royalty-free license, which describes how the image can and cannot be used: – TRUE
    When iStock clients download an image they must first agree to our royalty-free content license agreement.
  2. iStockphoto images are downloaded under two different kinds of royalty-free licenses: our “standard use” license, which allows for all kinds of commercial, personal, and editorial uses, and our “editorial use only” license. – TRUE
    iStock now has an editorial use only license in addition to our standard content license agreement.
  3. All recognizable faces in images with the standard use license require a model release, including those in crowds: – TRUE
    All recognizable human faces require a model release, including public areas, crowds, self portraits and vintage photographs.
  4. Logos are acceptable in wide angle photographs under the standard use license: – FALSE
    Any visible logo should be removed in royalty-free stock photography.
  5. Identifiable design marks, such as the 3 stripes for Adidas or the Nike swoosh, are allowed in images under the standard use license if the name is removed: – TRUE
    All design elements that are recognizable to a company may also be protected by trademark, and should always be removed for royalty-free stock photography.
  6. Landmark buildings such as the Sydney Opera House require a property release to be used in images offered with the standard use license: – TRUE
    Famously recognized buildings and modern architecture may require a property release. Questionable buildings should be researched prior to uploading.
  7. A model release is required for a self portrait: – TRUE
    All recognizable human faces require a model release, including public areas, crowds, self portraits and vintage photographs.
  8. The photographer can witness their own Model/Property Release: – FALSE
    A model or property release cannot be witnessed by the photographter
  9. A simple snapshot is acceptable; iStock does not require quality in composition: – FALSE
    The iStock collection is a selection of the highest quality, both creative and technical, images submitted. Simple snap shots will not be accepted.
  10. It is acceptable to protest a rejection in the iStock forums: – FALSE
    To protest an image, it should always be addressed through “Scout”, located in the Support section.
  11. It is acceptable to copy the composition of another photographer`s work – FALSE
    iStock respects the creative value of each original image and does not condone mimicking the work of others.
  12. Photographs should be upsampled or interpolated to the maximum XXL size: – FALSE
    iStock will not accept images that have been upsampled or interpolated above their native resolution.
  13. The above example contains: – COMPRESSION
    Compression can be spotted in a photograph by the “chunking” of colors.
  14. The above example is: – UNACCEPTABLE
    Harsh light or distracting shadows unintentional to the composition will be declined from the iStock collection.
  15. The above example is: – UNACCEPTABLE
    The use of noise reduction should never create a “watercolor” or overly smoothed appearance.

Discount Coupon Entry not Displaying Opencart 1.5.3.1

Opencart Cart Version 1.5.3.1

We have been using opencart Version 1.5.3.1 with a custom template or skin. We found that the skin had some coding that stepped users through the “cart” step of the checkout, directly to the checkout process.

The stops the “voucher or coupon” step being available to the end user during checkout. (Unless they had more than one item in their cart).

The problem appears to be that the template is using the code:

<a href="<?php echo $checkout; ?>"

 

rather than:

<a href="<?php echo $cart; ?>"

 

You see the difference is the word “checkout” vs “cart” in this string.

This means that when you click on the:

image

icon for checkout, you are directed to:

domain.com/index.php?route=checkout/checkout

where you need to go to get the coupon option is:

domain.com/index.php?route=checkout/cart

 

Things to check first

1. Ensure you have added coupon codes!

The first obvious check is to ensure you have added voucher (discount) codes to your storethrough OpenCart’s administration panel, in Sales > Coupons.

image

2. Ensure Coupons are enabled in OpenCart

Next, we need to check the coupons feature is enabled in OpenCart. In OpenCart 1.5+, this is located in the Extensions > Order Totals menu in the administration panel. Make sure that the Coupons feature is enabled (it should be by default).

image

3. The Fix

Use a program that will search all files in your website structure looking for the phrase:

<a href="<?php echo $checkout; ?>"

and replace it with

<a href="<?php echo $cart; ?>"

 

What you will probably find is an error when you then try to proceed from the “Cart” to the correct “Checkout”

We found that the find and replace we did, broke the actual button found here:

image

But the good news was that the fix is really easy.

If you hover on that link / button you will find that the error message appears that says something like: Undefined Error in (and lists the file) and the line number.

Just open that file, find the correct line number, and replace the word “cart” with “checkout” in that once instance.

The net result being that you are changing all but one of the instance of the <a href="<?php echo $checkout; ?>" string.

Should I load windows 8?

Should I load windows 8? This is the question that many people are going to be asking themselves over the next year or two. So I though I would throw my opinion into the mix for those who value it.

image

Windows 8 is an interesting beast

It gets really easy as I get older and the Blamer years draw to a close, to actively dislike most of the innovations coming from Microsoft. You can only feel sorry for them really as peoples user experience with other technologies makes consumers realise what a mediocre user experience the Windows years have been.

Mean time, Microsoft have woken up to several facts that clearly have influenced the Windows 8 product.

1. People like the new technologies like iPads, iPhones and Android devices.

2. People like the new experience they have with company relationships with Apple, Google, Amazon, where they can single click and purchase information, apps and media super easily.

3. The alternatives to Windows are a LOT better then they used to be.

4. Microsoft has been dragging the chain with User Experience it’s entire life!

 

So knowing and understanding this, it becomes clearer as to what Windows 8 is trying to be.

Simply, they are trying to close the gaps that Windows has to the multitude of great User Experiences to be found on other devices and operating systems.

The Big Question is…. Does it do this?

The answer is essentially yes. Microsoft have come a huge way in delivering what is in effect a lobotomised Windows user experience. It’s probably relevant that we introduce an understanding of what I mean by this.

I have some 20 something years experience in the aviation industry, and in that industry I have experienced moving from some of the oldest (steam driven) equipment to the newest and most advanced and computerised aircraft in the air today. Moving from flying the Classic 747 to the Airbus A380.

The old office (Boeing 747 Classic)

image

 

In the new office (Airbus A380 at Night over India)

image

The distinction here is apparent and startling, but the differences as an aviator are less apparent.

I’ll give you one User Experience difference that may help to draw the highlight between these two technologies.

Stall Speed.

The Stall Speed, without getting into too much technical details is the speed of an aircraft below which sustained lift is no longer generated sufficiently enough by the wings that the aircraft can continue to fly. (Not technically correct but you get the idea). Flying too slow = Bad. This is due to a whole bunch of complex interacting aerodynamics like, Angel of Attach, G force, Angle of Bank, Weight, Air Density, centre of gravity, Flap / Slat configuration… just to name a few.

As a pilot of a 747, you are well aware of your stall speed as a figure bug and mark on your speed dial.

As a pilot of an A380, you look at what the computer tells you is the slowest speed that it will let you fly the aircraft at. You know from your past experience that it has a direct relationship to stall speed, but there are literally too many variables taken into account that you could actually know what the figure is going to be. But you don’t need too, the computer tells you, and like some “Lobotomised” version of your former self, you believe the computer.

Hence the term “Lobotomised Windows User Experience”.

Makers of great operating systems no longer want you to understand file systems, gigabytes, hard disks, etc. They want you to behave as a lobotomised users and think in terms of:

  • Share this
  • Work Offline
  • Synchronized

Just simple, dumb end user experience stuff, and frankly this is a long login overdue approach.

“Why should my mum have to know what hard disk to save something too.”

Windows 8 is the first big step in this direction from Microsoft, and it really is intending a big change from the end users who engage it.

It tries really hard to get you to engage it in simple ways to do simple bug fun things. The more common things that most users do.

So Should I load Windows 8?

If you are a power user, who smashes out a bunch of work from an existing multiple monitor, multiple program high speed connected computer. Definitely Not.

If you are a system admin, or programmer, or IT Professional. – Definitely Not

If you rely on mission critical work that has been working well for you to date – Definitely Not

If you enjoy steeling programs, games, loading programs, installing and tinkering (script kiddy) – Definitely Not

So Who Should Load Windows 8?

Anyone listed above who buys a new surface or purposed laptop or tablet, and…

Everyone Else

Any End Users who can sit back from the past, say I am ready for a new experience, and let Windows 8 run as it was intended. With the “hood down”. Just let yourself be a user, not an admin. Have a quick Lobotomy!

 

I will be running Windows 8 on purpose devices. Probably a Surface and or other tablets. I will also have a virtual machine of it on my Mac to play with when the need arises to test and play.

I fully expect to enjoy the experience when on the purposed devices, and I am dead certain that I will never use a Windows 8 environment as a Power User Machine, I also have no intention of being a Windows 8 expert, of ever running it as a network administrator, or being the IT “go to” guy” for friends and colleagues.

I love being a Lobotomised User with OSX. I just flip the lid on my Mac Air, and smash away at apps and light weight work. A surface windows 8 environment would be interchangeable here.

 

Will Windows 8 Succeed?

Yes and No.

Yes Microsoft have dealt a hand that will keep them relevant and in business until the end of the Balmer years.

No it was not a great hand. It’s 5 years too late, and playing catch up to a far superior user experience over at Apple, plus they have kind of boobed up the mashing of light weight devices and desktops.

But it was they only hand they had to play with so it is here to stay.

Hopefully it will be the beginning of a new approach to Microsoft’s world. One where stuff just works like it should, and without any technical “object not set to an instance of an object”.

Lets hope for the end of The Blamer Years and an opportunity for someone with clear vision to have a crack with their massive resources.

DotNetNuke Can’t Login Index #: 0

The Problem

Index #: 0

image

Recently while working with a DotNetNuke website, we found that attempting to login to the site generated this error:

SQL Exception
Error Details
File 
Error   Index #: 0
Source: .Net SqlClient Data Provider
Class: 17
Number: 1105
Procedure: AddEventLog
Message: System.Data.SqlClient.SqlException: Could not allocate space for object ‘dbo.EventLog’.’PK_EventLogMaster’ in database ‘www.sitedatabase.com’ because the ‘PRIMARY’ filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.SqlDataProvider.AddLog(String logGUID, String logTypeKey, Int32 logUserID, String logUserName, Int32 logPortalID, String logPortalName, DateTime logCreateDate, String logServerName, String logProperties, Int32 logConfigID) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.WriteLog(LogQueueItem logQueueItem)

After a investigating the site and server we found that this was caused by the SQL server running out of room on the disk hosting the database connected to this DNN site.

The Solution

Free up more space on the SQL database disk.

CRM 2011 Rollup 10 Invalid Argument Error

CRM 2011 Rollup 10 Killed My CRM

image

After installing CRM 2011 Rollup 10 (not 9 as that is MIA) you receive an Invalid Argument messages as per the image above. This happens after you login to an IFD deployment.

For all we know it may happen on the CRM on premises but we have not managed to test that.

You may also have a CRM Platform Trace Error:

Crm Exception: Message: A non valid page number was received: 0, ErrorCode: –2147220989

CRM’s Fetch Throttling abilities have been disabled or modified from the default values.
Re-enable CRM’s default Fetch Throttling settings.

The solution

1. START | RUN | “regedit” | OK

2. Locate and select the registry subkey: HKEY_LOCAL_MACHINESoftwareMicrosoftMSCRM

image

Change the value on: TurnOffFetchThrottling

to 0

image

In fact if you find either MaxRowsPerPage or the TurnOffFetchThrottling registry keys set them both to 0 or delete them.

3. START | RUN | “iisreset” | OK

(This will restart IIS)

Login to CRM and you should be good to go.

Cantaport Shading System

Cantaport Shading System

Recently our client Totally Outdoors added a new cantaport shading system to their product list.

This Melbourne based builder now provides some commercial shading solutions that are excellent for both domestic and commercial designs.

image

Check out their website here: http://www.totallyoutdoors.com.au/products/cantaport-shading-system/

Cantaport shading system design benefits provides an exciting range of options particular for School, Sporting clubs  and Local Councils for uses such as Open Shelters for bikes, Bus, play ground and sports grounds. Totally Outdoors professional structure of Architectural designs, 20 years of providing installed outcomes combine to deliver known outcomes across a range of project types.

DotNetNuke (dnn) jQuery problems admin menu

image

DotNetNuke jQuery Problems

Recently there was an update to jQuery that caused some problems with DotNetNuke. The problems include:

  • Strange or missing popup effects in custom jQuery modules
  • Admin menu hiding the menu items on Standard DNN Dark Knight Skin
  • Modules using jQuery failing to function as desired

The Problem

The problem is associated with some bugs in the jQuery released and hosted googleapis. The bugs are not related to DotNetNuke directly but the jQuery used in many instances of jQuery.

The Solution

The solution is an easy one. You just need to login to your DotNetNuke website with a Host Account, and modify the jQuery settings under the HOST / ADVANCED SETTINGS to a more recent and bug free version of jQuery UI.

 

image

Pasting this URL: https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js into the “Hosted jQuery UI URL" and ensuring the “Use Hosted jQuery Version” is ticked.