Foundation class error

I am getting following error when I open my site which is made using laravel 5 Fatal error: Class 'IlluminateFoundationApplication' not found in C:cmsbootstrapapp.php on line 14 I have tried

I am getting following error when I open my site which is made using laravel 5

Fatal error: Class ‘IlluminateFoundationApplication’ not found in C:cmsbootstrapapp.php on line 14

I have tried removing vendor folder and composer.lock file and running composer install it’s not working I tried running PHP artisan optimize but it shows error

Fatal error: Class’IlluminateFoundationApplication’ not found

Is there any way to solve this problem?

Edited:
This problem aroused as soon as I used the php artisan make:model Page command which did create the model but then the above error gets displayed when I access the site
Also If use the Laravel’s Local Development Server no such problem arises only if I use wamp server

Paulo Boaventura's user avatar

asked Apr 21, 2015 at 6:19

xenish's user avatar

9

In my situation, I didn’t have the full vendor dependencies in place (composer file was messed up during original install) — so running any artisan commands caused a failure.

I was able to use the --no-scripts flag to prevent artisan from executing before it was included. Once my dependencies were in place, everything worked as expected.

composer update --no-scripts

answered Jun 18, 2015 at 1:05

Daniel Mitchell's user avatar

Daniel MitchellDaniel Mitchell

1,0511 gold badge6 silver badges4 bronze badges

2

Just in case I trip over this error in 2 weeks again…
My case: Checkout an existing project via git and pull in all dependencies via composer. Came down to the same error listed within the title of this post.

Solution:

composer dump-autoload
composer install --no-scripts

make sure everything works now as expected (no errors!)

composer update

answered Mar 25, 2016 at 15:48

mwallisch's user avatar

mwallischmwallisch

1,7132 gold badges20 silver badges29 bronze badges

2

Something is clearly corrupt in your Laravel setup and it is very hard to track without more info about your environment. Usually these 2 commands help you resolve such issues

php artisan clear-compiled
composer dump-autoload

If nothing else helps then I recommend you to install fresh Laravel 5 app and copy your application logic over, it should take around 15 min or so.

answered Apr 21, 2015 at 10:24

Margus Pala's user avatar

Margus PalaMargus Pala

8,1588 gold badges40 silver badges50 bronze badges

Easy as this, that worked for my project

  • Delete /vendor folder
  • and execute composer install
  • then run project php artisan serve

answered Dec 11, 2020 at 14:03

Isha's user avatar

IshaIsha

3813 silver badges4 bronze badges

In my case composer was not installed in that directory. So I run

composer install

then error resolved.

or you can try

composer update --no-scripts
cd bootstrap/cache/->rm -rf *.php
composer dump-autoload

Santosh Dangare's user avatar

answered Oct 28, 2020 at 13:10

Prajakta Pawar's user avatar

I just fixed this problem (Different Case with same error),
The answer above I tried may not work because My case were different but produced the same error.
I think my vendor libraries were jumbled,
I get this error by:

1. Pull from remote git, master branch is codeigniter then I do composer update on master branch, I wanted to work on laravel branch then I checkout and do composer update so I get the error,

Fatal error: Class ‘IlluminateFoundationApplication’ not found in
C:cmsbootstrapapp.php on line 14

Solution:
I delete the project on local and do a clone again, after that I checkout to my laravel file work’s branch and do composer update then it is fixed.

answered Mar 9, 2018 at 3:32

Calvin's user avatar

CalvinCalvin

61511 silver badges26 bronze badges

I had accidentally commented out:

require __DIR__.'/../bootstrap/autoload.php';

in
/public/index.php

When pasting in some debugging statements.

answered Sep 16, 2019 at 20:03

Onshop's user avatar

OnshopOnshop

2,80526 silver badges17 bronze badges

For latest laravel version also check your version because I was also
facing this error but after update latest php version, I got rid from
this error.

Eric Aya's user avatar

Eric Aya

69.1k35 gold badges179 silver badges250 bronze badges

answered Jul 20, 2018 at 8:03

Therichpost's user avatar

TherichpostTherichpost

1,7312 gold badges14 silver badges19 bronze badges

run composer require laravel/framework after composer install then php artisan key:generate its work for me in kali linux

answered May 29, 2021 at 0:23

Mr. A's user avatar

Mr. AMr. A

717 bronze badges

1

I can’t imagine that anyone else reading this is a stupid as I was but just in case…
I had accidentally removed «laravel/framework»: «^5.6» from my composer.json when resolving merge conflicts.

answered May 1, 2020 at 11:56

Frank's user avatar

FrankFrank

2131 gold badge2 silver badges12 bronze badges

please test below solution:

  • first open command prompt cmd ==> window+r and go to the location where laravel installed.

  • try composer require laravel/laravel

Mostafa Norzade's user avatar

answered May 21, 2018 at 5:24

ankit kumawat's user avatar

i was having same problem with this error.
It turn out my Kenel.php is having a wrong syntax when i try to comply with wrong php8 syntax

The line should be

protected $commands = [
    //
];

instead of

protected array $commands = [
        //
];

answered Feb 22, 2021 at 0:53

Ching Cheng Kang's user avatar

@kalhan-toress ‘s comment is what ACTUALLY WORKED FOR ME

remove /bootstrap/start.php,composer.lock, and the vendor and run composer install

answered Mar 11, 2022 at 13:14

Ray Zion's user avatar

Ray ZionRay Zion

5108 silver badges11 bronze badges

In my case, the error was caused on initial deployment because I didn’t have a .env file in that directory (because those don’t belong on Github where the files were transferred from).

answered Mar 17, 2022 at 16:01

JessycaFrederick's user avatar

check your .env file i think you miss something. Maybe like this

enter image description here

if yes then need to add manually and composer update or install composer

answered Oct 3, 2022 at 6:30

Showkii Paa's user avatar

Thank you for your help, I had en issue with the Laravel — so i ensured that the PHP -Framework is getting reinstalled properly und ita running correctly. After that, i was able to run the composer aso.. so I got to the Pre-Flight page.

Everythink looked fine and the boxes where all checked with green maks… everything seemed fine so far… Thank i set up the Superuser for Snipeit(GUI). After that i got redirected to http://example/login
and there i cant login… When i click on Login it just turns into a bank page …no error nothing, I dont get redirected to some other page or something. Its still http://example/login, but in blank

my PHP Debug Bar showed me following:
Auth:
webarray:2 [ «name» => «Guest» «user» => array:1 [ «guest» => true ] ]
apiarray:2 [ «name» => «Guest» «user» => array:1 [ «guest» => true ] ]
Query:
select * from information_schema.tables where table_schema = ‘snipeit’ and table_name = ‘users’560μs/bootstrap/cache/compiled.php:6325snipeit

select * from information_schema.tables where table_schema = ‘snipeit’ and table_name = ‘settings’340μs/bootstrap/cache/compiled.php:6325snipeit

select count(*) as aggregate from users210μs/app/Models/Setting.php:65snipeit
select * from information_schema.tables where table_schema = ‘snipeit’ and table_name = ‘settings’430μs/bootstrap/cache/compiled.php:6325snipeit

APACHE 2 LOGS:

10.1.20.4 — — [04/Nov/2016:17:13:38 +0100] «GET / HTTP/1.1» 302 1273 «-» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:13:38 +0100] «GET /login HTTP/1.1» 200 6943 «-» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:20 +0100] «GET /login HTTP/1.1» 200 5948 «-» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:20 +0100] «GET /assets/css/bootstrap.min.css HTTP/1.1» 200 20221 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:20 +0100] «GET /login HTTP/1.1» 200 5968 «-» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:20 +0100] «GET /assets/css/bootstrap.min.css HTTP/1.1» 200 20221 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:20 +0100] «GET /assets/css/font-awesome.min.css HTTP/1.1» 200 6579 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:20 +0100] «GET /assets/js/plugins/select2/select2.min.css HTTP/1.1» 200 2256 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:20 +0100] «GET /assets/js/plugins/colorpicker/bootstrap-colorpicker.min.css HTTP/1.1» 200 1218 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:20 +0100] «GET /login HTTP/1.1» 200 5977 «-» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/css/bootstrap.min.css HTTP/1.1» 200 20221 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/css/font-awesome.min.css HTTP/1.1» 200 6579 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/js/plugins/select2/select2.min.css HTTP/1.1» 200 2256 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/js/plugins/colorpicker/bootstrap-colorpicker.min.css HTTP/1.1» 200 1218 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/js/plugins/datepicker/bootstrap-datepicker.css HTTP/1.1» 200 1840 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/js/plugins/jvectormap/jquery-jvectormap-1.2.2.css HTTP/1.1» 200 685 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/css/AdminLTE.min.css HTTP/1.1» 200 14872 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /login HTTP/1.1» 200 5976 «-» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/css/bootstrap.min.css HTTP/1.1» 200 20221 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/css/font-awesome.min.css HTTP/1.1» 200 6579 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/js/plugins/select2/select2.min.css HTTP/1.1» 200 2256 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/js/plugins/colorpicker/bootstrap-colorpicker.min.css HTTP/1.1» 200 1218 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/js/plugins/datepicker/bootstrap-datepicker.css HTTP/1.1» 200 1840 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/js/plugins/jvectormap/jquery-jvectormap-1.2.2.css HTTP/1.1» 200 685 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/css/AdminLTE.min.css HTTP/1.1» 200 14872 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/css/skins/skin-blue.css HTTP/1.1» 200 1151 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /assets/css/bootstrap-table.css HTTP/1.1» 200 2317 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»
10.1.20.4 — — [04/Nov/2016:17:21:21 +0100] «GET /build/assets/css/app-de75b6d10a.css HTTP/1.1» 200 19777 «http://160.219.16.55/login» «Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko»

APACHE 2 ERROR LOG

[Fri Nov 04 18:02:26.792112 2016] [:error] [pid 1557] [client 10.1.20.4:49816] PHP Fatal error: Uncaught exception ‘UnexpectedValueException’ with message ‘The stream or file «/var/www/html/snipeit/storage/logs/laravel.log» could not be opened: failed to open stream: Permission denied’ in /var/www/html/snipeit/bootstrap/cache/compiled.php:13906nStack trace:n#0 /var/www/html/snipeit/bootstrap/cache/compiled.php(13836): MonologHandlerStreamHandler->write(Array)n#1 /var/www/html/snipeit/bootstrap/cache/compiled.php(13596): MonologHandlerAbstractProcessingHandler->handle(Array)n#2 /var/www/html/snipeit/bootstrap/cache/compiled.php(13694): MonologLogger->addRecord(400, Object(UnexpectedValueException), Array)n#3 /var/www/html/snipeit/bootstrap/cache/compiled.php(13389): MonologLogger->error(Object(UnexpectedValueException), Array)n#4 /var/www/html/snipeit/bootstrap/cache/compiled.php(13360): IlluminateLogWriter->writeLog(‘error’, Object(UnexpectedValueException), Array)n#5 /var/www/html/snipeit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(57): IlluminateLogWriter->error in /var/www/html/snipeit/bootstrap/cache/compiled.php on line 13906, referer: http://160.219.16.55/login
[Fri Nov 04 18:02:26.792626 2016] [:error] [pid 1557] [client 10.1.20.4:49816] PHP Fatal error: Uncaught exception ‘UnexpectedValueException’ with message ‘The stream or file «/var/www/html/snipeit/storage/logs/laravel.log» could not be opened: failed to open stream: Permission denied’ in /var/www/html/snipeit/bootstrap/cache/compiled.php:13906nStack trace:n#0 /var/www/html/snipeit/bootstrap/cache/compiled.php(13836): MonologHandlerStreamHandler->write(Array)n#1 /var/www/html/snipeit/bootstrap/cache/compiled.php(13596): MonologHandlerAbstractProcessingHandler->handle(Array)n#2 /var/www/html/snipeit/bootstrap/cache/compiled.php(13694): MonologLogger->addRecord(400, Object(SymfonyComponentDebugExceptionFatalErrorException), Array)n#3 /var/www/html/snipeit/bootstrap/cache/compiled.php(13389): MonologLogger->error(Object(SymfonyComponentDebugExceptionFatalErrorException), Array)n#4 /var/www/html/snipeit/bootstrap/cache/compiled.php(13360): IlluminateLogWriter->writeLog(‘error’, Object(SymfonyComponentDebugExceptionFatalErrorException), Array)n#5 /var/www/html/snipeit/vendor/laravel/frame in /var/www/html/snipeit/bootstrap/cache/compiled.php on line 13906, referer: http://160.219.16.55/login

Я получаю следующую ошибку, когда я открываю свой сайт, который создается с помощью laravel 5

Неустранимая ошибка: класс «IlluminateFoundationApplication» не найден в C:cmsbootstrapapp.php в строке 14

Я попытался удалить папку поставщика и файл composer.lock и запустить композитор, чтобы он не работал. Я попытался выполнить оптимизацию PHP artisan, но он показывает ошибку

Неустранимая ошибка: Class’IlluminateFoundationApplication ‘не найден

Есть ли способ решить эту проблему?

Отредактировано: эта проблема возникла, как только я использовал команду php artisan make:model Page которая создала модель, но затем указанная выше ошибка отображается, когда я обращаюсь к сайту. Если использовать Larvel Local Development Server, то такая проблема возникает, только если я использовать wamp-сервер

4b9b3361

Ответ 1

В моей ситуации у меня не было полных зависимостей поставщиков (файл компоновщика был испорчен во время первоначальной установки), поэтому запуск любых команд artisan вызвал сбой.

Я смог использовать флаг --no-scripts чтобы предотвратить выполнение мастером до его включения. Когда мои зависимости были на месте, все работало, как ожидалось.

composer update --no-scripts

Ответ 2

На всякий случай я снова пройду эту ошибку за две недели… Мой случай: Оформить существующий проект через git и вытащить все зависимости через композитор. Пришла к той же ошибке, указанной в заголовке этого сообщения.

Решение:

composer dump-autoload
composer install --no-scripts

убедитесь, что все работает сейчас, как ожидалось (никаких ошибок!)

composer update

Ответ 3

Что-то явно повреждено в вашей настройке Laravel, и ее очень сложно отслеживать без дополнительной информации о вашей среде. Обычно эти 2 команды помогают решить такие проблемы

php artisan clear-compiled
composer dump-autoload

Если ничего больше не помогает, я рекомендую вам установить новое приложение Laravel 5 и скопировать вашу логику приложения, это займет около 15 минут или около того.

Ответ 4

Я просто исправил эту проблему (другой случай с той же ошибкой),
Ответ выше, который я пробовал, может не работать, потому что Мое дело было другим, но произвело ту же ошибку.
Я думаю, что мои библиотеки-продавцы были перепутаны,
Я получаю эту ошибку:
1. Потяните из удаленного git, главная ветвь — это кодигнитор, тогда я обновляю состав на главной ветке, я хотел работать с веткой laravel, затем я проверяю и делаю обновление для композитора, чтобы получить ошибку,

Неустранимая ошибка: класс «IlluminateFoundationApplication» не найден в C:cmsbootstrapapp.php в строке 14

Решение. Я удаляю проект на локальном компьютере и делаю клон снова, после этого я выхожу в свою ветку работы с файлом laravel и обновляю композитор, тогда он исправлен.

Ответ 5

1. сначала откройте командную строку (cmd ==> window + r) и перейдите в место, где laravel
установлен.

2.try ==> ‘композитор требует laravel/laravel’

Ответ 6

Для последней версии laravel также проверьте свою версию, потому что я тоже столкнулся с этой ошибкой, но после обновления последней версии php я избавился от этой ошибки.

Error class used to report Flutter-specific assertion failures and
contract violations.

See also:

  • flutter.dev/docs/testing/errors, more information about error
    handling in Flutter.
Inheritance
  • Object
  • Error
  • FlutterError
Implemented types
  • AssertionError
Mixed in types
  • DiagnosticableTreeMixin

Constructors

FlutterError(String message)
Create an error message from a string.

factory

FlutterError.fromParts(List<DiagnosticsNode> diagnostics)
Create an error message from a list of DiagnosticsNodes.

Properties

diagnostics
→ List<DiagnosticsNode>

The information associated with this error, in structured form.

final

hashCode
→ int

The hash code for this object.

read-onlyinherited

message
→ String

The message associated with this error.

read-onlyoverride

runtimeType
→ Type

A representation of the runtime type of the object.

read-onlyinherited

stackTrace
→ StackTrace?

The stack trace at the point where this error was first thrown.

read-onlyinherited

Methods

debugDescribeChildren()
→ List<DiagnosticsNode>

Returns a list of DiagnosticsNode objects describing this node’s
children.

inherited

debugFillProperties(DiagnosticPropertiesBuilder properties)
→ void

Add additional properties associated with the node.

override

noSuchMethod(Invocation invocation)
→ dynamic

Invoked when a non-existent method or property is accessed.

inherited

toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style})
→ DiagnosticsNode

Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.

inherited

toString({DiagnosticLevel minLevel = DiagnosticLevel.info})
→ String

A string representation of this object.

override

toStringDeep({String prefixLineOne = », String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug})
→ String

Returns a string representation of this node and its descendants.

inherited

toStringShallow({String joiner = ‘, ‘, DiagnosticLevel minLevel = DiagnosticLevel.debug})
→ String

Returns a one-line detailed description of the object.

inherited

toStringShort()
→ String

A brief description of this object, usually just the runtimeType and the
hashCode.

override

Operators

operator ==(Object other)
→ bool

The equality operator.

inherited

Static Properties

demangleStackTrace
↔ StackTraceDemangler

Called by the Flutter framework before attempting to parse a StackTrace.

read / write

onError
↔ FlutterExceptionHandler?

Called whenever the Flutter framework catches an error.

read / write

presentError
↔ FlutterExceptionHandler

Called whenever the Flutter framework wants to present an error to the
users.

read / write

Static Methods

addDefaultStackFilter(StackFilter filter)
→ void

Adds a stack filtering function to defaultStackFilter.

defaultStackFilter(Iterable<String> frames)
→ Iterable<String>

Converts a stack to a string that is more readable by omitting stack
frames that correspond to Dart internals.

dumpErrorToConsole(FlutterErrorDetails details, {bool forceReport = false})
→ void

Prints the given exception details to the console.

reportError(FlutterErrorDetails details)
→ void

Calls onError with the given details, unless it is null.

resetErrorCount()
→ void

Resets the count of errors used by dumpErrorToConsole to decide whether
to show a complete error message or an abbreviated one.

Constants

wrapWidth
→ const int

The width to which dumpErrorToConsole will wrap lines.

100

  • Remove From My Forums
  • Question

  • I have VS2012, update 5. Looks like MFC wasn’t installed during original set up, and now I am not able to add it. When I click «change» on VS in control panel, I can choose adding MFC, but after half an hour or so installation stops giving the
    error «Microsoft Visual C++ 2012 Microsoft FOundation Class Library Element not found». I tried running repair as well and got the same error.

    Can anyone help me to get MFC?

    Thanks.

Answers

  • Hi,

    Thank you for posting in MSDN forum.

    >>»Microsoft Visual C++ 2012 Microsoft FOundation Class Library Element not found»

    the error ”element not found” was always due to Windows Update. In that case, please make sure you’ve patched up your OS first.

    When you go to Control Panel to do the repair, you need to make sure that the VS install packages on your machine are complete.

    Please insert a good VS 2012 ISO to repair your VS.

    If the above still doesn’t help, I need you installation log file to troubleshoot this
    issue,

    please use 
    http://aka.ms/vscollectto
    gather the installation logs. After using it, you will find vslogs.cab from %temp% folder.
    Please upload the file to
     https://onedrive.live.com/ and
    share the link here

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click
    HERE to participate the survey.

    • Proposed as answer by

      Tuesday, April 19, 2016 1:42 AM

    • Marked as answer by
      宝宝徐
      Monday, April 25, 2016 7:15 AM

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Found crash report file как исправить
  • Found a number with a magnitude greater than 10 307 как исправить
  • Found 302 error
  • Fossilized error это
  • Fossilized error перевод

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии