Valerys Mlog | Mindlog of a Freak

Web Name: Valerys Mlog | Mindlog of a Freak

WebSite: http://vdachev.net

ID:189954

Keywords:

Mlog,Valerys,Mindlog,

Description:

Hi there!I ve been working with relatively new stuff these days. And I am the kind of guy who has issues I mean software issues. And solving them could take some time and reading. So I decided to help you and myself by taking notes of some common ones and quick fixes for them.So here goes the first one.SymptomA 32-bit Internet Information Server (IIS) application pool crashes. In the event log you see the following message like this:The Module DLL C:\WINDOWS\system32\inetsrv\aspnetcore.dll failed to load. The data is the error.and/or like this:The Module DLL C:\WINDOWS\system32\inetsrv\httpplatformhandler.dll failed to load. The data is the error.I guess you re running a Windows 10 with ASP.NET Core Module (AspNetCoreModule) and/or HTTP Platform Handler Module (HttpPlatformHandlerModule) installed. And you have probably installed the Windows 10 Anniversary Update afterwards.CauseThe Windows 10 Anniversary Update reinstalls IIS but fails to update the applicationhost.config file accordingly, causing 32-bit application pools to try to load the 64-bit version of the beforementioned assemblies.SolutionUninstall .NET Core (and/or DNX);Uninstall ASP.NET Core Module (and/or HTTP Platform Handler Module);Open the %SystemRoot%\System32\inetsrv\config\applicationhost.config file with your favourite editor (running as Administrator);Locate and and remove any elements mentioning aspnetcore.dll (and/or httpplatformhandler.dll );Reinstall ASP.NET Core Module (and/or HTTP Platform Handler Module);Reinstall .NET Core (and/or DNX).More InformationIssue #1583 :aspnetcore.dll failed to loadClick to share on Pinterest (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Pocket (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Tumblr (Opens in new window)Click to share on Reddit (Opens in new window)Click to email this to a friend (Opens in new window)Click to print (Opens in new window)Like this:Like Loading... Tags: .NET Core, 32-bit, AppPool, ASP.NET, ASP.NET Core, aspnetcore.dll, AspNetCoreModule, DLL, httpplatformhandler.dll, HttpPlatformHandlerModule, IIS Posted in Tips | 3 Comments (NOTE: I am really sorry that this story turned out that long but it could have been even worse! :P Happy reading!)I was watching out the train window, focused on infinity © and I was still thinking about the excitement of the football game we were watching just an hour earlier at Mick O Connell s Irish pub in Utrecht. Even though I am not a football fan, I liked the experience so much that I was considering leaving the Dutch flag painted on my cheek until I get to Bulgaria at noon.Wed, 13 Jun 2012, 23:59Fortunately, the train arrived on Eindhoven Central Station right on time. I just had to go to the bus and spend a long and boring night on the airport it wasn t worth the risk of missing my flight in the morning. I was in a rush but I still couldn t find a way to buy a ticket from the ticket machines on the station, neither from the desks which seemed to be closed. The ticket machine on the bus accepted coins only, so I asked the driver for help: Is there anywhere I can buy a tickets, because I have no coins. Unfortunately, I don t have either. You have to go and change your money somewhere. I see When does the next bus to the airport come? In the morning. The airport is closed during the night anyway. Read the rest of this entry Click to share on Pinterest (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Pocket (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Tumblr (Opens in new window)Click to share on Reddit (Opens in new window)Click to email this to a friend (Opens in new window)Click to print (Opens in new window)Like this:Like Loading... Tags: airport, eindhoven, latvia, station, WizzAir Posted in Travelog | 7 Comments ProblemToday I stumbled upon a problem instantiating a X509Certificate2 class from a PKCS#12 container (a .pfx or a .p12 file) in production environment. For some reason I kept getting The specified network password is not correct. (for password-less containers) or An internal error occurred. (for protected ones).CauseThe cause of the problem doesn t seem to have much to do with the error messages.For some reason the constructor is trying to get access to the private key store although the private key is in stored in the file being opened. By default the user key store is used but ASP.NET (and probably non-interactive Windows services in general) are not allowed to open it. Chances are the user key store for the selected account doesn t even exist.SolutionOne thing you could try is creating a user key store by logging into the account and importing a certificate in its Personal store (and then remove it again).Another solution is to pass an additional parameter to the constructor a flagindicating the private keys are (supposed to be) stored in the local computer X509KeyStorageFlags.MachineKeySet, like this:var certificate = new X509Certificate2(fileName, password, X509KeyStorageFlags.MachineKeySet);Click to share on Pinterest (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Pocket (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Tumblr (Opens in new window)Click to share on Reddit (Opens in new window)Click to email this to a friend (Opens in new window)Click to print (Opens in new window)Like this:Like Loading... Tags: .NET Framework, C#, p12, PFX, PKCS#12, X509Certficiate2, X509KeyStorageFlags Posted in Articles | 9 Comments (03.2.2012: I know the events took place more than two years ago and I also know I should have turned this draft into a post back then but still I d better do that later than never.)SaturdayWe overslept and missed the boat trip we planned for the morning so we went the meeting in Fatih where lots of landmarks of Istanbul and former Constantinopole are located. Finding a place to park in this district is a difficult task during holidays so we did it in Karaköy and crossed the Galata bridge walking. On the top of this two-level bridge you could see a huge number of fishermen waiting for their catch to get bored of the muddy water and take a trip to someone s plate in a nearby restaurant. However we were in a hurry so I ate something as simple as balık ekmek (bread with fish) right on the street. :)We climbed the road to Ayasofiya and Topcapı Sarayı but we couldn t actually see much as you could spend a whole day in the castle and we had about half an hour. People were waiting for us in a cafe nearby. As soon as we got together we visited Sultanahmet Cami. Although it is known as The Blue Mosque it doesn t seem blue at all but it was definitely impressive! We took some photos and went on. Near Mehmet Akif Ersoy park we saw a band of about 20 people playing an Ottoman military march everybody seemed to know. After visiting the famous Kapalıçarşı and buying souvenirs and (of course) Turkish delight we crossed Galata bridge again to get back to Karaköy. In caffeehouses around you could see people smoking nargile, drinking tea and playing traditional games like Tavla and Okey almost on the street. It s their way to relax during holidays and we gave it a try. It works! Read the rest of this entry Click to share on Pinterest (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Pocket (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Tumblr (Opens in new window)Click to share on Reddit (Opens in new window)Click to email this to a friend (Opens in new window)Click to print (Opens in new window)Like this:Like Loading... Tags: couchsurfing, edirne, istanbul, turkey Posted in Travelog | No Comments На вниманието на другаря Многознаещ служител на Митница Аерогара София : За ваш срам (защото един митнически служител би следвало да познава касаещата работата му нормативна уредба) и за мое удовлетворение (просто защото ми е кеф да съм прав), проверих и действително съм прав за факта, че свидетелството за управление на МПС е валиден документ удостоверяващ самоличността ми на територията на Република България и, ако ме спре полицейски служител, иска или не, ще трябва да я признае. И, за да попълня пропуска в познанията ви, следва цитат от актуалния към момента Закон за българските лични документи, но ще се постарая при следващата ни среща да ви го навра в лицето (цитата де!), за да чуя какво ще ми философствате този път! Та цитирам:ЗАКОН ЗА БЪЛГАРСКИТЕ ЛИЧНИ ДОКУМЕНТИ (ЗАГЛ. ИЗМ. ДВ, БР. 82 ОТ 2009 Г.)Глава първа. БЪЛГАРСКИ ЛИЧНИ ДОКУМЕНТИ (ЗАГЛ. ИЗМ. ДВ, БР. 82 ОТ 2009 Г.)Раздел I. Общи разпоредби Чл. 3. (3) Свидетелството за управление на моторно превозно средство удостоверява правоспособността за управление на моторно превозно средство, а за български граждани и самоличността на територията на Република България, чрез съдържащите се в него данни. Глава четвърта. СВИДЕТЕЛСТВО ЗА УПРАВЛЕНИЕ НА МОТОРНО ПРЕВОЗНО СРЕДСТВОРаздел I. Общи положения Чл. 50. (2) (Изм. ДВ, бр. 108 от 2000 г., в сила от 29.12.2000 г., изм. ДВ, бр. 82 от 2009 г.) Свидетелството за управление на моторно превозно средство служи и като идентификационен документ за самоличност на български граждани на територията на Република България. Благодаря за вниманието!P.S. Да послужи и на всички онези, които ми мрънкат задето си ходя само с шофьорска книжка, а не нося лична карта! Гледайте си работата!Click to share on Pinterest (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Pocket (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Tumblr (Opens in new window)Click to share on Reddit (Opens in new window)Click to email this to a friend (Opens in new window)Click to print (Opens in new window)Like this:Like Loading... Tags: българия, документ, закон, лична карта, митница, мпс, самоличност, свидетелство, сумпс, удостоверение Posted in Articles | No Comments CancelPost was not sent - check your email addresses! Email check failed, please try again Sorry, your blog cannot share posts by email.

TAGS:Mlog Valerys Mindlog 

<<< Thank you for your visit >>>

Websites to related :
Paul Stovells Blog

  I'm a Brisbane-based software developer, and founder of Octopus Deploy, a DevOps automation software company. This is my personal blog where I write a

Networking HowTos - The Helpdesk

  Check if your Windows 10 PC can run Hyper-V Windows 10 Pro and Enterprise versions include the ability to run the Hyper-V hypervisor at no additional

Passwords, forensic, security an

  ElcomSoft Co. Ltd.https://www.elcomsoft.com/T (RU): +7 (495) 974-1162F (US, toll-free): +1 866 448-2703F (UK): +44 870 831-2983F (DE): +49 18054820050

efemoral | pumping ideas rather

  Exchange server has the capability to use TLS to encrypt email in transit to another mail server.When used for receiving, it checks that it trusts the

PFX Software Informer

  PDF Shaper is a simple program that allows you to split, merge, convert, and extract data from PDF...PDF Shaper is a simple program that allows you to

C# 411

  About C# 411 CSharp411.com is a blog written by Tim Toady about the C# programming language and .NET Framework. Tim Toady is the founder of Browserlin

Augusta Marine | New Used Boats

  4250 Belair Frontage Road Augusta, GA 30909 US Phone: 706-481-9336 Email: dwhyte@augustamarine.com,callie@augustamarine.com,jc@augustamarine.com Fax:

Pfx.Ribbon.WordAddIn Download

  Pfx.Ribbon.WordAddIn1.0Choose the most popular programs from Developer Tools Pfx.Ribbon.WordAddIn is developed by Pfx.Ribbon.WordAddIn and is used by

A small blog on PKI related thin

  Not much blogging from my side the last 2 years, but now it´s finally time for a new post.One of my last posts was about YubiHSM2 and the ultra-small

EniG. Periodic Table of the Elem

  Triple point of oxygen (54.3584 K, -218.7916 C)Triple point of argon (83.8058 K, -189.3442 C)Triple point of mercury (234.3156 K, -38.8344 C)Triple po

ads

Hot Websites