Archive

Posts Tagged ‘Fail’

Fix: Cisco Webex Meetings install fail (AddDllDirectory @ KERNEL32.dll)

Looking into the following error message occuring with Cisco WebEx Meetings installer on Windows 7, found this useful discussion:

https://social.technet.microsoft.com/Forums/en-US/a0970bfe-2bca-4ae3-a463-a5a04df83770/could-not-locate-dynamic-link-library-kernel32dll?forum=w7itproinstall

image

where the following are suggested:

– install Update for Windows 7 (KB2533623) from Microsoft:

https://www.microsoft.com/en-us/download/details.aspx?id=26767

– video tutorial:

https://www.youtube.com/watch?v=TpRRiMGJ_xA


And an extra tip, in case you after the installation, when you try to connect via a meeting URL, you see this dialog:

image

then try enabling TLS 1.1 & 1.2 at your browser (e.g. was told Chrome on Win7 had then both off). See how to do this for various browsers at: https://knowledge.digicert.com/generalinformation/INFO3299.html

Regarding TLS 1.1 though, mind you that it is considered insecure – so you might decide to skip enabling it (and try just enabling TLS 1.2) unless you can’t find some other solution. Quoting recent article on TLS 1.0 and 1.1 protocols:

Microsoft announced today that it will delay disabling support for the insecure Transport Layer Security (TLS) 1.0 and 1.1 protocols from Microsoft web browsers because of the current global situation until the second half of 2020, with an estimated time of roll out during July. “For the new Microsoft Edge (based on Chromium), TLS 1.0 and 1.1 are currently planned to be disabled by default no sooner than Microsoft Edge version 84 (currently planned for July 2020),” Kyle Pflug, Microsoft Edge Developer Experience Principal PM Lead, said. “For all supported versions of Internet Explorer 11 and Microsoft Edge Legacy (EdgeHTML-based), TLS 1.0 and TLS 1.1 will be disabled by default as of September 8, 2020.” https://www.bleepingcomputer.com/news/security/microsoft-delays-disabling-insecure-tls-in-browsers-until-july/

fix: Microsoft mouse right-click failure

The other day my Microsoft Wireless Laser Mouse 6000 (was either a gift from Microsoft Hellas or had ordered it myself from Microsoft Company Store with the credit Microsoft used to give pro-crisis to MVPs) started behaving erratically, failing most of the times to right-click and sometimes doing left clicks instead with some delay, or doing other actions like Paste etc.

It seems the issue was with Microsoft Mouse and Keyboard center software that Windows Update installs. Uninstalling it (from the Windows Control Panel) fixed the issue immediately.

That software is a total failure since it doesn’t support correctly various Microsoft hardware device older models. It shouldn’t install at all in the first place if it finds an incompatible device or try to behave better. It’s a shame that software is from Microsoft itself.

Even worse it that at their webpage they say:

Tell us what you think!

We are interested in your experiences with Microsoft Mouse and Keyboard Center and your Microsoft device!

  • Send your comments and questions by clicking on the Send Feedback icon on the Windows 8 desktop, select Apps then Microsoft Mouse and Keyboard Center from the options listed.

Not very helpful for those wanting to send feedback from Windows 7, is it?

fix: can’t send SMTP e-mail via OTEnet.gr when using other network

screenshot

If you have an e-mail account @otenet.gr you may find out that when connecting your laptop to another network (say you’re travelling) you can’t send SMTP e-mails.

To fix this make sure you set your STMP server settings to use SSL encryption and provide the port number 465 for connection.

If you use Outlook (Express) you can find this option at Tools/(Internet) accounts menu. Then select the OTEnet account you use and edit its settings. At the properties dialog, go to the Advanced tab and edit the SMTP settings as shown above.

You may also need to select at Servers tab that the outgoing e-mail connection needs authentication.

Another thing to keep in mind is that for incoming e-mail OTEnet uses a POP3 service at mail.otenet.gr, whereas for outgoing e-mail it uses an SMTP service at mailgate.otenet.gr (a different DNS name).

Categories: Posts Tags: , , , , , , , ,

Eco-unfriendly Philips shipping empty software CD with just a URL in it

I just got an (overpriced) Philips PTA01 USB adapter the other day to make my Philips Smart TV also work wirelessly (apart from via Ethernet cable) and it came with the Philips MediaConnect software on a CD, or at least I thought so till I placed the CD in my computer.

image

I then found out the CD just contains an icon, a URL shortcut and the autorun.inf file that tells Windows to launch that URL shortcut and open a webpage where you can download the MediaConnect software. The activation key is on a label at the front of the CD paper sleeve.

They haven’t heard of auto-updating software it seems, neither about eco-friendly practices and sustainability. Philips sure gets a prize for the worst practice there. They could have just placed a sticker with a short URL and a QR code for downloading the software, together with the activation key at the instructions leaflet instead.

Gotcha: Image component not loading remote URLs during debugging

At ClipFlair’s Image component I use the following XAML to make it show an image from a URL that its ViewModel holds at a property named “Source”, of type Uri (URI = Uniform or Universal Resource Identifier in W3C parlance, something like a superset of the old classic URLs).

<Image Name="imgContent"
       HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
       Source="{Binding Source, Mode=OneWay}"
       Stretch="{Binding Stretch, Mode=OneWay}"
       >

I’ve had issues in the past with that component not loading an image, a tricky issue was when I had used Mode=TwoWay when data-binding to Source property – that was disastrous, since the Source property expects an ImageSource and just “plays it clever” internally, also accepting a conversion from a Uri. So when doing reverse binding too, you’d end up getting a null value at respective the ViewModel property.

So when it recently started not showing the test image (from a remote URL) that I had been using, I started wondering if it was some regression of that older bug, but couldn’t find some change in the respective code, plus in the Visual Studio XAML designer the component would load and display the remote image fine.

It turned out to be an issue with Silverlight’s security policy regarding cross-site access. The Image control is supposed to be able to load images from any remote URL (without the remote web server needing to have a ClientAccessPolicy.xml file for example to allow it, as is the case with the WebClient class), however I had recently found out that if at your Silverlight project you have selected at the “Debug”  tab the “Dynamically generate a test page” option, the Image control wouldn’t load remote images.

What I didn’t know was that even the “Out-of-browser application option there won’t let the Image control load remote images if you don’t select the web project that goes with your Silverlight project (supposing you have them in the same Visual Studio solution), but you happen to select your Silverlight project instead from the dropdown list.

I had changed that option without thinking it might cause an issue while doing other changes in the project. That’s why one should try to do a minimal set of related changes only and test again thoroughly each time (if only they had the time available to do it), so that they can spot such issues early and be able to relate newly introduced bugs to the recent small set of changes, helping to track down the exact change that caused the unwanted behaviour.

image

How to crash Visual Studio 2010 via (Silverlight) XAML recursion bug

Following up on a note about Visual Studio 2010 crashing at my previous post, this is the XAML that crashes VS2010 when opened up in a Silverlight project:

<UserControl x:Class="SilverlightApplication1.MainPage"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml&quot;
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008&quot;
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006&quot;
  mc:Ignorable="d"
  d:DesignHeight="300" d:DesignWidth="400">

  <UserControl.Resources>
    <ResourceDictionary>
       <Style x:Key="MyStyle" TargetType="StackPanel">
         <Setter Property="Margin" Value="0,5,0,5" />
       </Style>
    </ResourceDictionary>
  </UserControl.Resources>

  <Grid x:Name="LayoutRoot" Background="White">

    <Grid.Resources>
      <Style TargetType="StackPanel">
         <Setter Property="Style" Value="{StaticResource MyStyle}" /> <!– THIS LINE CRASHES VISUAL STUDIO (EVEN WHEN YOU TRY TO TYPE IT IN) –>
      </Style>
     </Grid.Resources>

   <StackPanel/>

  </Grid>

</UserControl>

This crashes VS2010 upon loading, because it tries to show the XAML page in the designer. I created that XAML in Notepad++ since when I was trying to type the problematic line (marked in the XAML above) it crashed VS2010 immediately before I managed to save.

BTW, you should use the XAML syntax I suggested at my previous post that uses Style inheritance instead (although it would be nice if you could do for any node <X CloneSource=…/> for any XAML node to copy its attributes and values from a same-typed node instance in some resource etc. instead of relying on the node supporting some mechanism like Style does with BasedOn [that is Style Inheritance]).

<Grid.Resources>
   <Style TargetType="StackPanel" BasedOn="{StaticResource MyStyle}" />
</Grid.Resources>

 

Speaking of crashes, VS2010 should be more clever and if it sees a certain file caused a crash (assuming it has info on file being loaded upon or just before crash), the next time of opening the solution it should warn the user against opening that file (to avoid a new crash that stops one from loading the solution).

 

Note that I tried to open up the XAML file standalone in Visual Studio and it says:

Style object is not allowed to affect the Style property of the object to which it applies.
   at System.Windows.Setter.Seal()
   at System.Windows.SetterBaseCollection.Seal()
   at System.Windows.Style.Seal()
   at System.Windows.StyleHelper.UpdateStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle, Style& styleCache)
   at System.Windows.FrameworkElement.OnStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)
   at System.Windows.FrameworkElement.UpdateStyleProperty()
   at System.Windows.TreeWalkHelper.InvalidateOnTreeChange(FrameworkElement fe, FrameworkContentElement fce, DependencyObject parent, Boolean isAddOperation)
   at System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent)
   at System.Windows.FrameworkElement.AddLogicalChild(Object child)
   at System.Windows.Controls.UIElementCollection.AddInternal(UIElement element)
   at System.Windows.Controls.UIElementCollection.Add(UIElement element)
   at System.Windows.Controls.UIElementCollection.System.Collections.IList.Add(Object value)
   at Microsoft.Expression.DesignModel.InstanceBuilders.ClrObjectInstanceBuilder.InstantiateChildren(IInstanceBuilderContext context, ViewNode viewNode, DocumentCompositeNode compositeNode, Boolean isNewInstance)

Probably it loads it into an implicit WPF project. So is this some issue with Silverlight 5 XAML loading only? And if so isn’t this a potential exploit against Silverlight apps/plugin (if they allow XAML to be passed to them that is)?

It would be interesting to fix the test solution manually to not try to load the XAML file at startup, then build it and run it to see if it crashes the Silverlight plugin, the web browser, or whatever other side-effects it causes that might be exploitable.

This issue has been submitted to Microsoft at https://connect.microsoft.com/VisualStudio/feedback/details/753211/xaml-editor-window-fails-with-catastrophic-failure-when-a-style-tries-to-set-style-property. I have attached a test Silverlight project there (should be available for download soon [takes a while] from issue details)

Google: Χαμένοι στη μετάφραση

image

Τραγική η αυτόματη μετάφραση στα Ελληνικά πολλές φορές. Το Google Toolbar στην παραπάνω εικόνα έχει μεταφράσει το AD (Active Directory) σε μ.Χ. (Μετά Χριστόν) για τα χρήσιμα (για πληροφορικάριους μόνο φυσικά) εργαλεία AD Explorer και AD Insight της SysInternals (που είναι εδώ και κάμποσο καιρό πλέον μέρος της Microsoft).

Kotsovolos: Case of a failed e-mail campaign

KotsovolosFail

I recently received a promotional e-mail from an e-shop I mainly use to buy home appliances in Greece that was really funny: at the top offer there was a TV, but although the e-mail had been just sent (judging from its date/time stamp) the image already had a mark “exhausted” (out of stock) on it.

Obviously it was pulling the e-mail images from the e-shop’s web server, but it’s impossible to  believe that so many clients had rushed already to buy that TV. Most probably they had too few items stocked on it, but then you don’t make that the top offer at your e-mail campaign.

Categories: Posts Tags: , , ,

Windows 7 issue: can’t copy filename of files on read-only media

Just came across one more case of trying to over-protect users and in the way losing functionality (maybe originally unforeseen functionality, but which is nevertheless useful to many end-users).

At Windows 7, Microsoft doesn’t allow you anymore to press F2 or click on a filename to enter edit more for it when the file resides on a read-only media (like a DVD-ROM).

Moreover when you right click the file and select Properties, the filename field at the properties dialog is at a disabled editbox and somebody from the Windows UI team must have taken “disabling” an editbox literally, making the action disable even selecting and copying text from it instead of just making it read-only.

So one would think they would be able to right-click the file, select Copy and then Paste the filepath onto an editbox. No, again no one thought of also putting a text flavor with the full file path on the clipboard so that user could paste it to a textbox (Clipboard supports multiple data flavours for copied items and when you paste an app can select which flavours it knows and might care to use). Think I have suggested that to Microsoft long time ago, but still not implemented.

 

image

A whole $0.04 savings offer on Parrot AR.Drone from Amazon.com

Just got the following e-mail offer from Amazon.com regarding the cool Parrot AR.Drone quad(ri)copter. Note the part “You Save: $0.04”. That’s what you get when you have automated pricing (hint: follow this link for an even more #LOL example).

image

Categories: Posts Tags: , , , , ,
%d bloggers like this: