Ole Error 8013150a
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up OLE Error 8013150A with Delphi using .NET assembly (Run as Admin oddity) up vote 2 down vote favorite I've got an .NET assembly I have built to access one of our databases and passed off to another programmer to use in their Delphi application. On Vista and Windows 7 machines running with a user login (without Admin rights) running the Delphi EXE fails with "Ole Error 8013150A" but otherwise works on all other OS types we tested. The Delphi EXE works when Run as Administrator. Once the EXE has been run ONCE as Administrator, from then on it will work fine when run normally. I'm thinking there is something in the registry that needs to be written when instantiating the COM interface in the Delphi app that requires admin rights, but once written never needs to be done again... or something along those lines? Error 8013150A seems to be related to security errors from what little information I could find on it. Any ideas? c# delphi ole code-access-security share|improve this question edited May 18 '12 at 1:18 asked May 17 '12 at 5:26 Fashtas 619 2 The Delphi code must indeed be doing something the first time it is run that needs elevated access to for example the registry. The possibilities are almost endless. Only your Delphi developers can narrow it down to what action in their code might cause this. –Marjan Venema May 17 '12 at 9:16 According to them, the error occurs as they instantiate the .NET library and call they INIT method. I'd been mostly concerned about the COM interface till now and hadn't thought it was something as simple as what you mentioned... Only code in the init that I can think would cause issues was a RegisterWindowMessage call... but I'll have to double check everything –Fashtas May 17 '12 at 13:32 2 This sounds like your assembly is trying to do something in the registry (HKLM or HKCR, perhaps) that needs access that the normal user doesn't have by default in Vista+. Is it creating any registry entries or perhaps opening a key in HKLM or HKCR with more than
a Question Need help? Post your question and get tips & solutions from a community of 418,606 IT Pros & Developers. It's quick & easy. Accessing managed code throught unmanaged exe using network P: 2 Mau Hi, I have a managed dll which I am accessing from an unmanaged exe using Com Interop. I installed everything on computer 1 and run the unmanaged exe and from exe called my managed dll and everything works fine. Now from a second machine 2 on same network, I called this exe from Computer 1. Unmanaged exe run properly but when I called my managed dll, get error "OLE error 8013150A, ClassID: 4AD092B-26F2-4598-9B7B-A4654C9ACB76". But if I copy everything on second machine and http://stackoverflow.com/questions/10630274/ole-error-8013150a-with-delphi-using-net-assembly-run-as-admin-oddity run locally from second machone it works without any problem. My requirement is to run exe remotely from machine 1. Please help. Thanks Paul Oct 5 '07 #1 Post Reply Share this Question 4 Replies Expert 5K+ P: 7,872 Plater Managed code does NOT like to be executed accross network shares. Don't know why. Don't know how to get around it other than copying it locally. Oct 5 '07 #2 reply Expert 2.5K+ P: 3,235 Motoma Managed code https://bytes.com/topic/net/answers/718961-accessing-managed-code-throught-unmanaged-exe-using-network does NOT like to be executed accross network shares. Don't know why. Don't know how to get around it other than copying it locally. I think this is because of the .NET Security. I believe you can add the Assembly to the security policy through the .NET Framework Configuration under Administrative Tools. Oct 5 '07 #3 reply P: 2 Mau Can you please explain what have to change in .NET framework configuration tool? Thanks a lot. Oct 5 '07 #4 reply Expert 2.5K+ P: 3,235 Motoma I don't know, however, the .NET Framework Configuration tool is the place to loosen and tighten restrictions on the access levels of .NET assemblies, both on the local machine and over the network. Oct 9 '07 #5 reply Message Cancel Changes Post your reply Join Now >> Sign in to post your reply or Sign up for a free account. Similar topics Accessing shared network drives prevents standby mode Accessing the HTTP Request sent to legacy ASP page in .Net C# COM accessing VC++ unmanaged long from managed code What is the best case for accessing managed code from unmanaged code? accessing reference parameter in managed C++ from C# Accessing and Unmanaged Class from Managed Code accessing unmanaged C++ with VB or C# What is Place of Managed C++ in .NET? Accessing Managed Object from Unmanaged Code Browse more .NET Framework Questions on Bytes Questio
предварительной договоренностиE-mail: info@russhik.ruОставьте свои координаты, мы обязательно свяжемся с Вами© Дом моды "Русский шик" Главная / Компьютеры / Ошибка ole error 8013150a | Просмотров: http://russhik.ru/albom15/pages/Computers/oshibka-ole-error-8013150a-f2.php 47773 | #47827 Неопознанная ошибка HRESULT=80004005 или. TM, ® + © 2015 Mindspark Interactive Network, Inc. All rights reserved. An IAC Company. I've got an .NET assembly I have built to access one of our databases and passed off to another ole error programmer to use in their Delphi application. On Vista and Windows 7 machines running with a user ... Ошибка "OLE error C00D0FEB". При включении программы, выводиться ошибка "OLE error C00D0FEB". Как мне её исправить? 1. Скачайте данный архив.У меня похожая ошибка ole error 8013150a rgn_parsheet ole error 800 a03ec. Возникает при запуске расчетного шаблона. 1. Скачайте этот архив. 2. Распакуйте архив. 3. Прикройте все окошки браузеров, так-же прикройте программы, которые применяют браузер, к примеру программы ALL-RADIO, Webmoney и пр.. 4. Запустите файл "Fix_IE_Utility.exe" и нажмите клавишу "Run Utility". 5. Как выведет окошко с надписью "Re-registered all files", нажмите клавишу "OK". 6. Перегружаем PC. 7. Запускаем All-Radio.. Ошибка ole error 8013150aСр Ноя 12 2008, 03:26 Нередко встречающиеся промахи при синтезе речи: Оплошность синтезирования речи: OLE error 80045001 для уничтожения промахи запустите и импортируйте файл реестра: speech.reg Оплошность синтезирования речи: FATAL ERROR IN FILE:\MyCvs\ressynth\selection_pagel\src\selector_engine.cpp LINE:166 NO BEST PATH BETWEEN UNITS 4 AND 5FATAL ERROR IN FILE:\MyCvs\ressynth\selection_pagel\src\selector_engine.cpp LINE:166 NO BEST PATH BETWEEN UNITS 4 AND 5 Ajaja со