DBF file name is truncated to 8 characters

DBF file name is truncated to 8 characters

This article is contributed. See the original author and article here.

Recently a customer raised a case to us. They need to import a lot of DBF files into SQL SERVER. But they found when DBF fine name is longer than 8 characters they received below error:

SELECT  * FROM OPENROWSET (‘MICROSOFT.ACE.OLEDB.12.0′,’dBase 5.0;HDR=YES;DATABASE=F:temp’,
‘SELECT * FROM SJSMX00103.DBF’)

 

OLE DB provider “MICROSOFT.ACE.OLEDB.12.0” for linked server “(null)” returned message “The Microsoft Access database engine could not find the object ‘SJSMX00103.DBF’. Make sure the object exists and that you spell its name and the path name correctly. If ‘SJSMX00103.DBF’ is not a local object, check your network connection or contact the server administrator.”.
Msg 7350, Level 16, State 2, Line 1
Cannot get the column information from OLE DB provider “MICROSOFT.ACE.OLEDB.12.0” for linked server “(null)”.

 

We are quite sure that SJSMX00103.DBF is under ‘F:temp’. Therefore, we captured process monitor trace and found SQL SERVER was looking for ‘F:tempSJSMX001.DBF’ instead of ‘F:tempSJSMX00103.DBF’

 

Bob_Cai_0-1593218074038.png

 

We made a research for this. And even captured TTT to confirm the file name was not truncated to 8 characters before calling ‘MICROSOFT.ACE.OLEDB.12.0′ driver.

 

It seems ‘MICROSOFT.ACE.OLEDB.12.0′ and ‘MICROSOFT.ACE.OLEDB.16.0’ drivers which are now available to download have 8.3 file name limitation.

 

We consulted office team. Actually, new ‘MICROSOFT.ACE.OLEDB.12/16.0′ drivers which can support 64 characters file name are now available in Office365 Build 1807 and later version.

 

We tried to uninstall old ‘MICROSOFT.ACE.OLEDB.12.0′ and ‘MICROSOFT.ACE.OLEDB.16.0′ drivers. Install latest Office365. New providers appear in SQL SERVER. Now we are able to read/write long file name DBF files

 

 

 

New WMI support boosts IT management capabilities for Surface Dock 2

New WMI support boosts IT management capabilities for Surface Dock 2

This article is contributed. See the original author and article here.

We’re pleased to announce that Windows Management Instrumentation (WMI) support is now available for Surface Dock 2. This much anticipated functionality provides diagnostic information enabling IT admins to remotely monitor and manage the latest firmware, policy state, and related data across Surface Dock 2 devices. You can use WMI with Windows PowerShell, System Center Operations Manager, and other tools.

 

Compatible devices

  • Surface Pro (5th Gen & later)
  • Surface Book 2 (2nd Gen and later)
  • Surface Go (all generations)
  • Surface Laptop (all generations)
  • Surface Pro X — with native ARM64 support

Download

Download WMI package from Surface Dock 2 Drivers and Firmware.

 

WMI output

See the following figure for an example showing results for LastUpdateStatus, PolicyState, and all other  related variables. For full documentation, refer to Manage Surface Dock 2 with WMI.

 

Surface-Dock-WMI.png

 

 

 

Power BI Linked Service – failed to load workspace

Power BI Linked Service – failed to load workspace

This article is contributed. See the original author and article here.

Azure Synapse Analytics Workspace, one stop shop, also enables you to view, edit, create your Power BI Reports from Data tab. But when you try to add new Power BI linked service you get ‘failed to load workspace’ error.  In this post you will learn how to configure linked service for Power BI for first time.

 

Linked Services are available from Manage tab of Synapse workspace. You can add or remove linked service from that pane

tejalsd_0-1593211279111.png

 

When you try to add Power BI linked service, you get ‘Failed to load workspace error’

tejalsd_1-1593211442642.png

 

Following are steps to get the linked service created.

  1. This happens when you just have default workspace i.e. ‘My workspace’ in your Power BI.
  2. Create a new workspace from PowerBI.com portal with name relevant to you business reports and usages.  e.g. I have created a new workspace – PowerBIPoc. Note : You will require min Power BI Pro license to have new workspace.
  3. Now try again to add linked service from Synapse workspace, you will find newly created Power BI workspace has appeared in the dropdown list.
 
 

tejalsd_0-1593212825613.png

 

tejalsd_1-1593212889769.png

4. You can now work on your reports.

 

 

tejalsd_2-1593213422577.png

 

 
 
 

 

 
 
 

 

New and improved learning experience with Microsoft Learn

This article is contributed. See the original author and article here.

Great news! To help improve your learning experience, we’re migrating our content on the Microsoft Learning website to Microsoft Learn. Effective July 1, 2020, discover all our available training and certification resources on Microsoft Learn. 

 

Just as you do today, you’ll find information on your completed certifications and exams on your Microsoft Certification Dashboard (aka.ms/CertDashboard). Additionally, links to the Certification Dashboard have been added to the Microsoft Learn Tech Profile. In the coming months, we’ll merge the Certification Dashboard into your Tech Profile for a unified experience.  

 

These improvements will help make it easier for you to find the training content that you care most about, choose the learning approach that works for you, and learn in a style that best fits your needs. For additional information about this migration, see the Moving Microsoft Learning website to Microsoft Learn FAQ. 

 

In addition, starting July 1, 2020, the Microsoft Learning Blog will migrate to our new Microsoft Learn Community site available through Microsoft Tech CommunityYou’ll have the opportunity to connect with the community and engage with us. Subscribe via email or to the RSS feed, and get notified when we make announcements or publish new posts. Plus, focus on the news you want by filtering posts based on solution areas that you care about, such as Azure, Modern Workplace, and Business Applications. 

 

To explore what’s available, customize your training plan, and give us feedback, head over to Microsoft LearnDon’t forget to check for announcements on the Microsoft Learn Community site, effective July 1, 2020. Thanks for joining us as we continue to invest in your learning journey. 

The June 26th Weekly Roundup is Posted!

This article is contributed. See the original author and article here.

This week, Microsoft announced the public preview of a new Azure Media Services platform capability called “Live Video Analytics” or in short LVA, general availability of Microsoft Defender Advanced Threat Protection (ATP) for Linux, and key new capabilities for Windows Autopilot. 

 

@annemacro is our Member of the Week, a great contributor in this week’s Cloud Management Gateway AMA.

 

View the Weekly Roundup for June 22-26 in Sway and attached PDF document.