Custom document library showing wrong file type icon

Hi All - I have a custom document library created using VS code. In search result if any document appear from that library it shows web page icon.
I found this below url for this issue:
http://www.neilrichards.net/sharepoint/missing-document-icons-from-search-results-with-fast-for-sharepoint/comment-page-1#comment-1043
I don't want to write custom pipe line and I also don't want to hard code file types in XSLT. 
Is there any solution to change content class?
There is difference in contentclass in source XML.
for 
<imageurl imageurldescription="Image">/_layouts/images/imageresult_16x16.png</imageurl>
<contentclass>STS_ListItem_DocumentLibrary</contentclass>
 icon is displayed correctly.
for
 <imageurl imageurldescription="List Item">/_layouts/images/STS_ListItem16.gif</imageurl>
<contentclass>STS_ListItem_10623</contentclass>
Icon is displayed wrong.

yeah its problem with library, But how to fix this?.
http://www.neilrichards.net/sharepoint/missing-document-icons-from-search-results-with-fast-for-sharepoint/comment-page-1#comment-1043

Similar Messages

  • Missing or wrong file type icons

    Got my new Retina iMac this week (running OS X 10.10 of course) and went through and downloaded/installed all my lovely programs but now some of the file type icons are showing up as awful exec type file icons (see below).
    All the .indd files were created in the same version Adobe InDesign CC 2014 and InDesign is set as the default program for all these file types, but as you will be able to see, some have that awful black icon. Blergh!
    Any suggestions?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • File type icons in CS6 Design and Web Premium

    Hello everyone.
    I am running Windows 7, 64 bit. I have recently upgraded from CS5.5 Design Premium to CS6 Design and Web Premium.
    I the process, I lost the association of file types (such as .psd) with their relevant programs, which I have now recified.
    However, the filetype icons that are associated with each program, in most cases, don't seem to have assigned themselves to their respecitive icons. For example, .psd files now show as a white document with the blue Ps square icon in the centre, and the same for InDesign etc. Oddly, Illustrator has worked and has assigned it's icons correctly.
    For example:
    I can't find a method of editing specific file types icons - even then, I wouldn't know where to find the particular icon sets.
    Any ideas?
    Thanks in advance either way.

    I used the CS Cleaner (http://www.adobe.com/support/contact/cscleanertool.html) and followed the steps its really easy.. but ur gonna have to re install you Creative Suite   all u do for the cleaner is open it up then select english (e) ->enter->Agree (Y)->enter->All (1) (which is the first option for a full clean i guess)->enter->Product Number its just basically asking you to input your choice number again (1)->enter and should tell u its all done then after u install CS again go to start-> default programs->associate file type->.psd for example->double click it and select Photoshop even though its probably already selected >.< but just do it again cuz it will refresh all the files on the coputer and whala you should c the correct file dysplay Heres pictures of my files before and after as proof

  • How to add a record in document library without upload file.

    Hi,
    how to add a record in document library without upload file?
    Is it possible? I want to create a folders in Document Library but inside folders i do not want to upload a file instead of just i want to create a record. I will map my local file path to the records.
    Can anyone help me on it?
    Thanks & Regards
    Poomani Sankaran

    Hello Sankaran,
    document library is to upload documents, without document you will not be able to add a record or Item to it.
    for your requirement you can use a list and enable folders within the list and maintain the local path of the file as an item in list.
    http://www.sharepointbriefing.com/spconfig/article.php/3834951/Enable-the-New-Folder-Creation-Option-in-SharePoint-Custom-Lists.htm
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • File Error: Wrong File Type for Project File

    Just had our 2nd LaCie 2tb hard drive crash. Just completed a project and was about ready to compress it when the drive wouldnt boot up anymore. I tried every program under the sun before eventually sending it off for data recovery.
    $1700 dollars later I have all my files, except one little change.
    My FCP project files are not recognizable by FCP anymore. In the get info box it says they are "Kind: Final Cut Pro Document" The preview picture is a gradient box with exec in the green text in the upper left corner. I tried adding the .fcp extension, but it still wouldn't open it. I keep getting the "File Error: Wrong File Type" when I try opening it with FCP.
    Anything I can do to fix this?
    Thanks

    You might give the following a try...
    1. open the .fcp file with TextEdit
    2. save the file again
    3. open with fcp
    Frank

  • Adobe printer shows plt file type not pdf

    Just installed Adobe Acrobat XI on Win 7 workstation,
    text documents pdf okay,
    Printing 24 x 36 cad files only shows plt file type, fails to create pdf.
    Didn't have this problem with Acrobat 8 Pro and windows XP,
    what am I missing?

    Some pdf s may not be compatible with the Firefox pdf viewer. Almost all pdf s should display in either the standalone Adobe viewer or the Adobe plugin.
    The built-in Firefox pdf viewer is still undergoing development and improvements. Some of the problems with it will be forthcoming Firefox Releases. Some save file problems should be fixed in fx<s>21</s>fx'''22''' (Currently the Nightly version)
    * Bug 738952 - "Save as..." File menu entry or Ctrl+S produces unexpected results when having a PDF file opened within PDF Viewer
    Workarounds.<br/>Either view using the plugin, or download as is and edit the filetype.
    * see [[How to disable the built-in PDF viewer and use another viewer]]

  • Backup MaxDB 7.6 mit HP Data Protector; Wrong file type

    Hallo.
    Wir versuchen, eine MaxDB-Datenbank (Rel. 7.6) auf SUSE-LINUX unter Verwendung von HP Data Protector zu sichern. Der Versuch, das Backup durchzuführen, schlägt fehl, da auf dem MaxDB-Server anscheinend die Pipe nicht angelegt werden kann. Folgende Meldung wird ausgegeben:
    From: BSM-hph3000.thebis.de "Content_sdb_sdba"  Time: 26.04.2008 10:19:16
          OB2BAR application on "dell2950.thebis.de" successfully started.
    From: OB2BAR_SAPDBBAR-dell2950.thebis.de "SDB"  Time: 04/26/08 10:16:22
          Executing the dbmcli command: `user_logon'.
    From: OB2BAR_SAPDBBAR-dell2950.thebis.de "SDB"  Time: 04/26/08 10:16:22
          Executing the dbmcli command: `dbm_configset -raw set_variable_1 OB2OPTS="(null)"'.
    From: OB2BAR_SAPDBBAR-dell2950.thebis.de "SDB"  Time: 04/26/08 10:16:22
          Executing the dbmcli command: `dbm_configset -raw set_variable_2 OB2APPNAME=SDB'.
    From: OB2BAR_SAPDBBAR-dell2950.thebis.de "SDB"  Time: 04/26/08 10:16:22
          Executing the dbmcli command: `dbm_configset -raw set_variable_3 OB2BARHOSTNAME=dell2950.thebis.de'.
    From: OB2BAR_SAPDBBAR-dell2950.thebis.de "SDB"  Time: 04/26/08 10:16:22
          Executing the dbmcli command: `dbm_configset -raw set_variable_4 TimeoutWaitFiles=30'.
    From: OB2BAR_SAPDBBAR-dell2950.thebis.de "SDB"  Time: 04/26/08 10:16:22
          Executing the dbmcli command: `dbm_configset -raw BSI_ENV /usr/omni/tmp/SDB.bsi_env'.
    From: OB2BAR_SAPDBBAR-dell2950.thebis.de "SDB"  Time: 04/26/08 10:16:22
          Executing the dbmcli command: `medium_put BACKDP-Data[1]/1 /usr/omni/tmp/SDB.BACKDP-Data[1].1 PIPE DATA 0 8'.
    From: OB2BAR_SAPDBBAR-dell2950.thebis.de "SDB"  Time: 04/26/08 10:16:22
          Executing the dbmcli command: `util_connect'.
    From: OB2BAR_SAPDBBAR-dell2950.thebis.de "SDB"  Time: 04/26/08 10:16:22
          Executing the dbmcli command: `backup_start BACKDP-Data[1] DATA'.
    From: OB2BAR_SAPDBBAR-dell2950.thebis.de "SDB"  Time: 04/26/08 10:16:23
          Error: SAPDB responded with:
          -24988,ERR_SQL: SQL error
          -903,Host file I/O error
          3,Data backup failed
          1,Backupmedium #1 (/usr/omni/tmp/SDB.BACKDP-Data[1].1) Wrong file type
          6,Backup error occured, Errorcode 3700 "hostfile_error"
          17,Servertask Info: because Error in backup task occured
          10,Job 1 (Backup / Restore Medium Task) WaitingT131 Result=3700
          6,Error in backup task occured, Errorcode 3700 "hostfile_error"
    From: OB2BAR_SAPDBBAR-dell2950.thebis.de "SDB"  Time: 04/26/08 10:16:23
          Executing the dbmcli command: `exit'.
    From: BSM-hph3000.thebis.de "Content_sdb_sdba"  Time: 26.04.2008 10:19:18
          OB2BAR application on "dell2950.thebis.de" disconnected.
    From: BSM-hph3000.thebis.de "Content_sdb_sdba"  Time: 26.04.2008 10:19:18
          None of the Disk Agents completed successfully.
          Session has failed.
    Ein Versuch, die Pipe /usr/omni/tmp/SDB.BACKDP-Data[1].1 manuell auf dem MaxDB-Server anzulegen, schlug ebenso fehl. Eine Pipe /usr/omni/tmp/SDB.BACKDP-Data kann angelegt werden.
    Frage 1) Hat jemand ein ähnliches Problem und dazu eine Lösung?
    Frage 2) Wo ist hinterlegt, welchen Medium-Name der Data Protector beim command "medium_put" verwenden soll?
    Danke für Eure Hilfe!
    Gruß
    Gerhard Krauß
    Heidelberg

    Hi Marcus,
    we use the version 5.5.
    The pipe name is generated by the Data Protector. When I want to create manually a pipe with this name I got the message "No hit found".
    Do you know a  possibilty where we can configure (at Data Protector or MaxDB) which medium name should be used for creating the pipe?
    Thanks a lot!
    Gerhard

  • I don't have pdf documents listed as a file type in the applications drop down menu so I cannot manage the handling of these file types. How do I get the pdf file recognised?

    I don't have pdf documents listed as a file type in the drop down applications menu, so cannot handle these. How do I add a file type?

    After a little Googling, it looks like B.Media is a content management system from Wave Corporation used for making catalogs. Doubtful you'd be able to license it at less than an enterprise level.

  • PDF File Type Icon Not Displaying HELP!!!

    Hey guys!
    I have a quick question that I need resolved. Make sure you READ before you respond as people seem to be having trouble with this one.
    Something happened on my system to where .pdf files aren't displaying the PDF file type image anymore. They're just displaying the Windows default non-associated file icon.
    But the weird thing is that the .pdf file type IS associated with Adobe Acrobat, and when double clicked they DO open in Acrobat.
    I checked inside of Acorbat.dll and the file type icon IS in there...so this is leading me to believe that something is messed up in the registry to where Windows doesn't know to link a .pdf with the icon inside of Acrobat.dll.
    So my question is this...how do I RELINK the .pdf file type with the PDF file type icon located inside of Acrobat.dll???

    Before you start editing the registry try the suggestions given in the FAQ:
    http://www.adobeforums.com/webx/.3bbc2da9
    failing that try doing a repair of acrobat from the help menu.
    If still no joy let us know.

  • I shoot with a Canon 7D, have Windows 7 installed on my computer, Adobe CS4 (Bridge & Photoshop). I'm trying to open the CR2 files in Bridge to adjust them before I open them up in Photoshop, but it's giving me an error code saying it's the wrong file typ

    I shoot with a Canon 7D, have Windows 7 installed on my computer, Adobe CS4 (Bridge & Photoshop). I'm trying to open the CR2 files in Bridge to adjust them before I open them up in Photoshop, but it's giving me an error code saying it's the wrong file type. I downloaded the latest updates for Adobe Raw as well as the DNG converter, however I don't want to have to convert to DNG before opening in Bridge. Please let me know what I can do to open the CR2 files directly in Bridge CS4, thank you!

    Make sure you have the right version...
    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications

  • Powershell Script to create "custom" Document Library

    I have a powershell script which creates a Document Library for every user in AD.
    This works, but rather than using the default Document Library I want it use a custom Document Library.  However this isnt working.
    My script to create the default Document Library is this...
    [System.Reflection.Assembly]::Load("Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c")
    $site = new-object Microsoft.SharePoint.SPSite("http://servername/sitename");
    $siteweb = $site.OpenWeb();
    $webs = $siteweb.Webs;
    $strFilter = "(&(objectCategory=User)(name=accountname))"
    $objDomain = New-Object System.DirectoryServices.DirectoryEntry
    $objSearcher = New-Object System.DirectoryServices.DirectorySearcher
    $objSearcher.SearchRoot = $objDomain
    $objSearcher.PageSize = 1000
    $objSearcher.Filter = $strFilter
    $objSearcher.SearchScope = "Subtree"
    $colProplist = "samaccountname"
    foreach ($i in $colPropList){$objSearcher.PropertiesToLoad.Add($i)}
    $colResults = $objSearcher.FindAll()
    foreach ($objResult in $colResults)
    $objItem = $objResult.Properties; $objItem.samaccountname
    $listTemplate = [Microsoft.SharePoint.SPListTemplateType]::DocumentLibrary
    $listId = $siteweb.Lists.Add($objItem.samaccountname, "", $listtemplate);
    $list = $siteweb.Lists.GetList($listId, $true);
    $roleDef = $siteweb.RoleDefinitions.GetByType("Contributor");
    $user = "domain\" + $objItem.samaccountname;
    $rolAssign = new-object Microsoft.SharePoint.SPRoleAssignment($user, "email", "name", "notes");
    $rolAssign.RoleDefinitionBindings.Add($roleDef);
    if(!$list.HasUniqueRoleAssignments)
    {$list.BreakRoleInheritance($true);}
    for ($i = $list.roleAssignments.Count - 1; $i -gt -1; $i--)
    { $list.RoleAssignments.Remove($i) }
    $list.RoleAssignments.Add($rolAssign);
    $list.Update();
    Now I have a custom Document Library named "TESTLIB" so if I substitute the line:
    $listTemplate = [Microsoft.SharePoint.SPListTemplateType]::DocumentLibrary
    with
    $listTemplate = [Microsoft.SharePoint.SPListTemplateType]::TESTLIB
    Then it errors with this...
    How can I script powershell to create a "custom" Document Library?
    Thanks

    The below link should help you in creating custom document library using powershell
    http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/23/use-powershell-cmdlets-to-manage-sharepoint-document-libraries.aspx
    Vinod H
    Thanks for the link but I cant see anything to assist creating a custom library?  Was there something in paticular you saw?

  • How to connect SharePoint Document Library with Local file system?

    Hi
    I have a SharePoint Document library and in my local system i have 3TB files. It is very difficult to upload 3TB files in SharePoint.
    I want a file details in SharePoint Document Library but physical file would be in local.
    While click the file in Document library. The document should open from local.
    Anyone help me on it.
    Thanks & Regards
    Poomani Sankaran

    Hi,
    your requirement doesn't work out-of-the-box as all data uploaded to SharePoint needs to be stored in SQL database. Thus in your case 3 TB of fileshare would need to move to SQL.
    In case you don't want to go this way, there are 3rd party vendors who offer Software like AvePoint Connector. Products like these use SQL RBS (Storage Externalization API) so that files remain in your file system but metadata is kept in SharePoint. If you
    need more information on that, please let me know.
    Regards,
    Dennis

  • All pdf say they are the wrong file type or are damaged.  will not allow to open in preview and no pdf's can be printed as they are "empty"

    All PDF's I try to save will save but nobody can open them.  Message is it cannot be opened by reader it is the wrong file type or has been damaged.
    Tried to open with Preview and the message says it is empty, also empty if you try to sea as a PDF in the print option!

    Hi Michelle in MD,
    Thank you for posting on the Adobe Forums, as botht applications cannot open the PDF file, i would suggest you to download it again and try.
    Thanks,
    Vikrantt Singh

  • How get File Type Icon Image

    how get File Type Icon Image (Windows )
    FileSystemView.getSystemIcon( File );works in swing application, can not be used for javafx.scene.image.ImageView;

    Hmm, good question.
    Looking at the FileChooser, it looks like the native chooser is used so possibly the JFX guys didn't have to expose access to the icons to make it work. You might want someone to confirm, but my guess is there is no equivalent yet in JFX.
    Assuming there's nothing, you could try the hacks in here to convert the image: Image conversion between AWT and FX
    Failing that you're probably looking at raising a JIRA feature request to get it in a future release.
    Cheers,
    zonski
    Did you find this answer useful? If so, please mark as 'Correct' or 'Helpful'.

  • How to get File type icon for files store on Amazons3

    Hi,
    i want to know about how to get file type icons for files that we store on Amazons3.i am a devloper ,i want to make gui for accessing amazons3.
    so ,i want to know about how to get file type icons for files that we store on Amazons3.
    thanx in advance.

    hi,
    have u heard amazon simple storage service,that provides storage space for
    storing files, i am a devloper,i want to know the files that we store on amazon,how we can get file type icon for that files.
    i want to sample code in java for this.
    thanx in advance.

Maybe you are looking for

  • Percentage calculation in answers

    I have to calculate the % values. I used sum, rsum and % to achieve this. But for some reason I am not able to get the % going. Here is my table with three columns (Used Bin in answers for this requirement) # Days # Persons % Persons < 5 Days 14,090

  • Why does VISA write vi get a clock symbol added?

    In an application, I was using the older serial I/O primitive vi's, and now that I've switched to LV 7.1, I wanted to change the older serial read and write (worked fine) vi's (not VISAs) to the VISA Read and Write. When I place a VISA write on the b

  • System Log in BW

    hi, could you please tell me the use of system log (SM21). How can i trace the reason for failure in SM21. Regards, Jagadeesh

  • Help! Macbook Pro running Slow. I have ETRECHECK results

    Help! I have a Macbook Pro, and in the past month or so my applications have stopped responding on a very regular basis. iphoto, Word, Firefox, etc. Really, almost no application is working on my computer. VERY frustrating! I started in safe mode and

  • TS1363 how do i get my nano to wake while playing?

    My nano will not wake when I press the power button and will not turn off when I press the power button. What can I do to change this?