Forum Discussion

ThomasDay's avatar
ThomasDay
Impactful Individual
10 years ago
Solved

embedded upload fail--cannot find or open PDB file

Hello all,

 

I have a .pbix model that I'm ready to upload to azure and embed into our website.  It's pretty big--not that that should matter--- 265MB.  

 

I have uploaded a very preliminary version previously, so I know the drill with Workspace Collection Names, workspace ID's, and Key's.  I have two keys with this file and I have tried both.  Here is the error message:

 

'ProvisionSample.vshost.exe' (CLR v4.0.30319: ProvisionSample.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Net\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.dll'. Cannot find or open the PDB file.

 

I don't know what the PDB file is--this is all pretty foreign to me, so any help would be appreciated.

Tom

Here's a link to a txt file of the upload log.

  • 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

7 Replies

      • ThomasDay's avatar
        ThomasDay
        Impactful Individual

        OK, let me figure out how to make it smaller.  Is that limit likely to remain? Thanks, Tom