Forum Discussion
embedded upload fail--cannot find or open PDB file
- 10 years ago
The issue turned out to be the timeout settings in the ProvisionSample project. A buddy found the issue and changed the 90second timeout to 60 minutes. Worked great. This is surely a common problem.
It is within the "CreateClient" function within Program.cs within ProvisionSample. The line we changed is now:
client.HttpClient.Timeout = new TimeSpan(0, 60, 0);
A link that will work for 7 days from my dropbox is here. This Program.cs file goes in ProvisionSample and replaces the existing.
More importantly, I am going to put a comment at the github source and perhaps it will be modified by the author or maintainers.
Tom
I'll try uploading it tomorrow now that I've skinnied it up.
The size limit was a surprise, to be honest, since the model can be much larger--I didn't imagine an Azure embed limit.
Thanks, I'll keep you posted,
Tom
jocaplan-MSFT I spoke too soon. I skinnied the model up to 243mb and attempted to embed into azure. The error I got was the same (shown below). I suspect there is context provided in the debug file, which I've attached as a link to a dropbox shared .txt file.
'ProvisionSample.vshost.exe' (CLR v4.0.30319: ProvisionSample.vshost.exe): Loaded 'C:\Users\trday\Desktop\power-bi-embedded-integrate-report-into-web-app-master\ProvisionSample\bin\Debug\Microsoft.Rest.ClientRuntime.dll'. Cannot find or open the PDB file.
I'm not sure how to fix the issue so I'm hoping the power bi team can give me a hand. Thanks for any help in advance,
Tom