Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Error: A module named 'AtScale' hasn't been loaded

Hi,

I got this today when I tried to reopen a pbix file:

A module named 'AtScale' hasn't been loaded.

 

Today I downloaded the latest Power BI Desktop (Version: 2.66.5376.2521 64-bit (February, 2019)), and created this report using that version. I reopened the solution and get the above error. I have included the trace.

 

thanks for the help!

 

Feedback Type:
Frown (Error)

Timestamp:
2019-02-25T20:22:13.6982092Z

Local Time:
2019-02-25T15:22:13.6982092-05:00

Session ID:
bcb110b1-ebe8-47f9-8f19-ef5746c88b46

Release:
February, 2019

Product Version:
2.66.5376.2521 (19.02) (x64)

Stack Trace:
at Microsoft.Mashup.Engine1.Language.LanguageLibrary.GetLibrary(IEngineHost host, IEnumerable`1 additionalModules)
at Microsoft.Mashup.Host.Document.DataSourceDiscovery.DataSourceDiscoveryVisitor.get_CurrentLibrary()
at Microsoft.Mashup.Host.Document.DataSourceDiscovery.DataSourceDiscoveryVisitor..ctor(HashSet`1 moduleMemberFilter)
at Microsoft.Mashup.Host.Document.DataSourceDiscovery.DataSourceDiscoveryVisitor.FindDataSources(IEnumerable`1 documents, HashSet`1 moduleMemberFilter)
at Microsoft.PowerBI.Client.Windows.PowerBIQueryExtensions.DiscoverUniqueMashupSource(IEnumerable`1 queries, String& sourceType, Resource& resource)
at Microsoft.PowerBI.Client.Windows.DirectQueryImportProcessor.TryGetUniqueDirectQueryResource(IEnumerable`1 queries, Resource& resource)
at Microsoft.PowerBI.Client.Windows.DirectQueryImportProcessor.GetCoexistenceStatus(IEnumerable`1 queries)
at Microsoft.PowerBI.Client.Windows.Modeling.StorageModeHelpers.ShouldShowCompositeModelSecurityWarning(Report report, IEnumerable`1 queriesToLoad)
at Microsoft.PowerBI.Client.Windows.Modeling.StorageModeHelpers.CheckCompositeModelsSecurityFlag(Report report, IEnumerable`1 queriesToLoad, IPowerBITelemetryService telemetryService, IPowerBIWindowService windowService, IUIBlockingService uiBlockingService, Boolean onFileOpen)
at Microsoft.PowerBI.Client.Windows.ReportPreparer.EnsureCompositeModelSecurityFlag(Report report, IPowerBIWindowService windowService)
at Microsoft.PowerBI.Client.Windows.ReportPreparer.Prepare(Report report, PackageValidationResult mashupResult, IPowerBIWindowService windowService, Nullable`1 entryPoint)
at Microsoft.PowerBI.Client.Windows.Services.PowerBIPackagingService.Open(FileStream fileStream, IPowerBIWindowService windowService, Nullable`1 entryPoint, PowerBIPackageOpenOptions options, ReportPreparerResult& prepareResult)
at Microsoft.PowerBI.Client.Windows.Services.FileManager.<LoadFromPbix>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.Client.Windows.Services.UIBlockingService.<>c__DisplayClass15_0`1.<<BlockUIAndRun>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.PowerBI.Client.Windows.Services.UIBlockingService.WaitOnUIThreadForTaskCompletion(Task task)
at Microsoft.PowerBI.Client.Windows.Services.UIBlockingService.BlockUIAndRun[T](Func`1 asyncMethod)
at Microsoft.PowerBI.Client.Windows.Services.FileManager.OpenFile(IPowerBIWindowService windowService, IPbixFile fileToOpen, Nullable`1 entryPoint)
at Microsoft.PowerBI.Client.Program.TryOpenOrCreateReport(IUIHost uiHost, ISplashScreen splashScreen, IFileManager fileManager, IFileHistoryManager fileHistoryManager, String filePath, FileType fileType)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass4_0.<Main>b__1()
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

OS Version:
Microsoft Windows NT 6.1.7601 Service Pack 1 (x64 en-US)

CLR Version:
4.7 or later [Release Number = 461814]

Peak Virtual Memory:
3.39 GB

Private Memory:
200 MB

Peak Working Set:
264 MB

IE Version:
11.0.9600.19236

User ID:
xxx

Telemetry Enabled:
True

DPI Scale:
100%

Supported Services:
Power BI

Status: Needs Info
Comments
JYPARK
Frequent Visitor

I have this same issue too I followed @alex_chianuri recommendation and it worked