On The Mark

  • About

    aside 25 Apr

    Code generation for property ‘Image’ failed

    The Problem

    After finally making the jump from Visual Studio 2008 to Visual Studio 2010, a project using Infragistics NetAdvantage 2008.3 started throwing the “Code generation for property ‘Image’ failed” error in Visual Studio 2010.

    The NetAdvantage incompatibility with Visual Studio 2010 appears to be related to Windows Forms and making any changes to the image of the form.

    The Fix

    Infragistics has reported an error in some versions of it’s product with Visual Studio 2010.  It appears that NetAdvantage 2008 is not fully compatible and no patch has been provided.  Luckily I still had an upgrade for NetAdvantage 2009.1, of which after being patched / updated to the latest build works.  The standard install of Infragistics 2009.1 or 2009.2 does not work and must be patched / updated.  Check with Infragistics or download the patch directly from them from your downloads area.

    Compatibility

    NetAdvantage WinForms compatibility with Visual Studio 2010

    • NetAdvantage 2008.x and previous versions – Not fully compatible, see error above
    • NetAdvantage 2009.1 Unpatched  - Not fully compatible, see error above
    • NetAdvantage 2009.1 Patched to 9.1 2094  – Compatible, fixes above error
    • NetAdvantage 2009.2 Unpatched - Not fully compatible, see error above
    • NetAdvantage 2009.2 Patched to 9.2 2083 - Compatible, fixes above error
    • > NetAdvantage 2009.2 – Compatible

    Credits

    Original credit for solving this goes back to an Infragistics employee in their forums:

    http://blogs.infragistics.com/forums/t/41560.aspx?PageIndex=2

    I’ve tested their solution with my project and reflected the results above.  As always, back up your solution before making changes!


    [Translate]
    aside 18 Apr

    Removing Dell Backup and Recovery

    Note: Removing the wrong files or registry keys may be disastrous.  Take necessary precautions and make sure you understand what is being told below.

    To remove the Dell Backup and Recovery:

    1. Exit the Dell Backup and Recovery tray icon; you may have to expand the hidden tray icons first, then right click the icon and select exit
    2. Open Windows Explorer and browse to: C:\dell
    3. Delete ONLY the DBRM Folder and DBRM.ini file in the root
    4. Open the registry editor and delete the DBRMTray key from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    5. Restart your system

    [Translate]
    aside 21 Nov

    Apple mobile device service failed to start

    Issue

    When trying to install iTunes (for iPhone or iPod) on Windows 7 (possible XP and Vista as well) several of the components install but you eventually get a message similar to one below:

    1. “Apple mobile device service failed to start.”
    2. “Windows could not start the Apple Mobile Device service on local computer, error 1067: the process terminated unexpectedly”

    Resolution

    1. Temporarily disable your anti-virus software.  In my case I was using Windows Microsoft Security Essentials.  To disable Windows Essentials temporarily – see the screen shot below.
      Click the options tab in Microsoft Security Essentials then disable real-time protection
    2. Temporarily disable your anti-spyware software.  In my case I was using Windows Defender that is pre-installed on Windows 7.  To disable Windows Defender temporarily – see the two screen shots below.
      Click tools then options to get to the settings to disable Windows Defender.
      Click the checkbox to disable Windows Defender.
    3. Try reinstalling iTunes.  This time the Apple mobile device support software should install.  If it does not you may have to “unpack” the installers in the setup using something like 7Zip and install AppleMobileDeviceSupport by itself.
    4. If you’ve successfully installed iTunes make sure to re-enable your security software in steps 5 and 6.
    5. Re-enable you anti-spyware software.  In my case Windows Defender following the steps above, this time checking the box to enable real-time protection.
    6. Re-enable you anti-virus software.  In my case Microsoft Security Essentials following the steps above, this time checking the box to enable real-time protection.

    Background

    Recently I had to resintall Windows on my desktop.  While installing all my apps I had encountered a more stubborn that usual time getting an application to install.  Apparently I was not alone in having iTunes install, in this case for my iPhone.  Everywhere I searched seemed to turn up dead ends until I found a path that worked for me.  Hopefully this helps others too.  If it does please leave a comment.

    It appears that the mobile device support is getting blocked by either your anti-virus or anti-spyware software.


    [Translate]
    aside 15 Nov

    How To: SQL Server Reporting Date Formating

    To select a date format, wrap your field value in a format statement

    = Format(Fields!DateFieldToFormat.Value,”M/d/yyyy”)

    It is as simple as that!


    [Translate]
    aside 15 Nov

    Unable to find Adobe PDF resource file. “Acrobat PDFMaker” “You must have administrator privileges to install these files. Please contact your local system administrator.

    Issue

    Error message “Unable to find Adobe PDF resource file.” “Acrobat PDFMaker” “You must have administrator privileges to install these files. Please contact your local system administrator.”

    Unable to find Adobe PDF resource file. "Acrobat PDFMaker" You must have administrator privileges to install these files. Please contact your local system administrator.

    Resolution

    1. To fix this error, launch the Acrobat setup and select Modify
      Acrobat 7 Setup Dialog
    2. Uninstall Acrobat PDFMaker
      Acrobat 7.0 PDF Maker Option Removal
    3. Relaunch Acrobat Setup, modify, and select/reinstall Acrobat PDFMaker

    Background

    System was a clean install of Vista (system previously XP), Acrobat was setup and PageMaker was installed. Possible cause of this issue may have stemmed from PageMaker installing Acrobat Distiller 5.0 (Current Acrobat install was Acrobat Professional 7.1).


    [Translate]
    aside 15 Nov

    .NET Framework execution was aborted by escalation policy because of out of memory.

    I recently created a SQL database that has to store files as blobs but before doing so a vb.net CLR function performs an MD5 has on the file to store with it.  Everything runs great typically except for on occassion a very large file (4MB) will come along and blow the following error, “.NET Framework execution was aborted by escalation policy because of out of memory“.

    To date I’ve tried several settings on SQL Server (2005) unsuccessfully so for now the only way I’ve been able to get around this is to run this SQL command:

    DBCC FREESYSTEMCACHE ('ALL')

    Running the above SQL command allowed memory to be cleared so the file could be loaded.

    Previous research has shown possible fixes based around MemToLeave setting of SQL Server which appears to be a major undertaking!


    [Translate]
    aside 17 Sep

    SQL Query: Determine view or stored procedures using tables, columns, functions, etc

    On occasion it is handy to have a SQL snippet to find SQL views in a database that are using a particular table, column, function, or other SQL.  Fortunately SQL Server offers several information schema views to help out.

    Using the system view INFORMATION_SCHEMA.VIEWS you can query the views definition (think the SQL you used to create the view).  It is as simple as searching the system views VIEW_DEFINITION column.  See the example below:

    SELECT     TABLE_NAME
    FROM         INFORMATION_SCHEMA.VIEWS
    WHERE VIEW_DEFINITION LIKE '%search criteria%'

    Similarly you can search stored procedures using the example below:

    SELECT     ROUTINE_NAME 
    FROM         INFORMATION_SCHEMA.ROUTINES 
    WHERE ROUTINE_DEFINITION LIKE '%search criteria%'

     

    Applies to: MS SQL Server 2005


    [Translate]
  • Next Page
  • Page 1 of 3
  • Recent Posts

    • Code generation for property ‘Image’ failed
    • Removing Dell Backup and Recovery
    • Apple mobile device service failed to start
    • How To: SQL Server Reporting Date Formating
    • Unable to find Adobe PDF resource file. “Acrobat PDFMaker” “You must have administrator privileges to install these files. Please contact your local system administrator.
    • .NET Framework execution was aborted by escalation policy because of out of memory.
    • SQL Query: Determine view or stored procedures using tables, columns, functions, etc
    • iPhone OS4 Update for 3G
    • Because of a protocol error detected at the client (code 0×1104), this session will be disconnected. Please try connecting to the remote computer again.
    • Application Essentials Installer
  • Recent Comments

    • TG on Apple mobile device service failed to start
    • Sam on Because of a protocol error detected at the client (code 0×1104), this session will be disconnected. Please try connecting to the remote computer again.
    • tun on Apple mobile device service failed to start
    • Untoro on Unable to find Adobe PDF resource file. “Acrobat PDFMaker” “You must have administrator privileges to install these files. Please contact your local system administrator.
    • Brian on Apple mobile device service failed to start
  • Amazon Search

  • Sponsors

  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

Tumblog WordPress Themes by Theme created by Obox

English English Afrikaans Afrikaans العربية العربية Беларуская Беларуская български български català català česky česky Cymraeg Cymraeg dansk dansk Deutsch Deutsch ελληνική ελληνική español español eesti eesti فارسی فارسی suomi suomi français français Gaeilge Gaeilge galego galego עברית עברית हिन्दी हिन्दी hrvatski hrvatski magyar magyar bahasa Indonesia bahasa Indonesia íslenska íslenska italiano italiano 日本語 日本語 한국어 한국어 lietuvių lietuvių latviešu latviešu македонски македонски bahasa Melayu bahasa Melayu Malti Malti Nederlands Nederlands norsk norsk polski polski português português română română русский русский slovenčina slovenčina slovenščina slovenščina shqipe shqipe српски српски svenska svenska Kiswahili Kiswahili ภาษาไทย ภาษาไทย Filipino Filipino Türkçe Türkçe українська українська tiếng Việt tiếng Việt ייִדיש ייִדיש 中文 (简体) 中文 (简体) 中文 (繁體) 中文 (繁體) powered byGoogle