Category : asp.net

I have an ASP.NET Core web site running under IIS on a server. I created a folder and want to display any pdf file in that folder in the browser using the url for the site. https://example.com/pdf/myfile.pdf folder structure: c:inetpubwwwrootmysitepdfmyfile.pdf – contains pdf files I enabled Directory Browsing for the site in IIS Manager, but ..

Read more

I’m using this code to upload some files to GOOGLE DRIVE . It works fine when i test it with a console application . Google drive asks for authentication the first time and work correctly after that . public class RepositoryGoogleDrive : IDisposable { public void Dispose() { } static string[] Scopes = { DriveService.Scope.Drive, ..

Read more

I have a web application based on C#, ASP.NET and Python that is currently running under IIS Express without problems on Windows 2016 Server. When I publish it under IIS, I get problems with calling Python from C#. Using a simple Logger, I managed to get the following error information: Error: Fatal Python error: _Py_HashRandomization_Init: ..

Read more