- Remove From My Forums
-
Question
-
I was re-directed to this forum from another at this site. Hopefully, someone can help me.
About 14 days ago I received an error message on start up «Visual C# Command Line Compiler has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.» I click
«close» and after a few more screens (same message) the laptop is now up and running. I have found from my research there is a file associated with this—csc.exe. I do not know if it is the cause or not. Based on research this is a component in C++ and associated
with .NET. When I shut down I receive another error «The applciation failed to initialize properly (0xc0000142). Click on OK to terminate the application.»I have tried using sfc but only get to 96% and received the message «Windows Resource Protection found integrity violations.» BTW, I am running sfc from an elevated cmd prompt. I have also ran verify and viewed the logs. I am attaching the sfc details
because the log is too large, but neither the log for the scan or from verify have any items close to what I am experiencing.I have Norton 360 with updated virus subscriptions, and have also ran CCleaner and SpyBot (I do this each month).
I do not know what to do. Most sites tell users to run a stack, or call, or something else and none of this makes sense to me. I am not a programmer and just need some help with this problem Any help is appreciated.
Thank you
-
Moved by
Monday, June 13, 2011 9:24 AM
it is not related to c# (From:Visual C# General) -
Moved by
Alexander Sun
Wednesday, June 29, 2011 2:31 AM
(From:Visual Studio Setup and Installation)
-
Moved by
I am getting an error of Visual C# command line compiler has stopped working
It’s not the same as this one Visual C# command Line compiler has stopped working because that one says it happens with specific projects.. Clearly my one happens with any cs file. And it’s not the same as this one Visual C# Command Line Compiler has stopped working? because that one identifies some dll file and mine doesn’t.
C:crpaa>file ff.cs
ff.cs; ASCII C++ program text, with CRLF line terminators
C:crpaa>type ff.cs
using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("asdf");
}
}
C:crpaa>
C:crpaa>csc ff.cs
I get an error
Problem signature:
Problem Event Name: APPCRASH
Application Name: csc.exe
Application Version: 4.0.30319.18408
Application Timestamp: 5231171a
Fault Module Name: csc.exe
Fault Module Version: 4.0.30319.18408
Fault Module Timestamp: 5231171a
Exception Code: c0000005
Exception Offset: 000000000000100c
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 3081
Additional Information 1: 2bec
Additional Information 2: 2bec2c842e9fdc07a30a541d052d8be9
Additional Information 3: e9c6
Additional Information 4: e9c6010076292bba25a974345e4cab26
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:Windowssystem32en-USerofflps.txt
—
Event viewer says
Faulting application name: csc.exe, version: 4.0.30319.18408, time stamp: 0x5231171a
Faulting module name: csc.exe, version: 4.0.30319.18408, time stamp: 0x5231171a
Exception code: 0xc0000005
Fault offset: 0x000000000000100c
Faulting process id: 0x2b0c
Faulting application start time: 0x01d0a96f97266ede
Faulting application path: C:WindowsMicrosoft.NETFramework64v4.0.30319csc.exe
Faulting module path: C:WindowsMicrosoft.NETFramework64v4.0.30319csc.exe
Report Id: d4d33078-1562-11e5-809a-9c5ce0dc7059
—
C:crpaa>where csc.exe
C:WindowsMicrosoft.NETFramework64v4.0.30319csc.exe
C:crpaa>
even just csc gives that error.
I could try restarting but i’m wondering if there is anything I can try prior to that.
Added
I commented on Jan 15 ’16 at 16:21 to say «Solved here- http://stackoverflow.com/questions/30956834/why-is-csc-exe-crashing-when-i-last-left-the-output-encoding-as-utf8 » That question I linked to in comment is a later question which gets more to the point of where the problem is and got an answer.
Chris J then then asks if it’s a possible duplicate of , and then he posts a link to exactly the same question that I did in the comment before his comment. (as if I didn’t mention it or know of it, though I wrote that question and I mentioned it in comment right before his).
It’s a slightly different question, but they have the same solution.
This question is a more general one because I didn’t know of the cause.
Somebody might find this question useful if they haven’t yet figured out that it was an encoding issue that was causing the crash.
Does that make it a duplicate or not? I think probably not, as the question is different and it can attract people searching for something different, but I don’t know whether that’d then be considered a duplicate.
The answer for the other link, if applied to this one, would be assuming that the problem is one of encoding.. which would be quite an assumption to make. So the answers on the other one aren’t necessarily quite so applicable to this one.
Those are the facts, whether based on that, it’s considered a duplicate or not, I don’t know, you tell me.
0 / 0 / 0 Регистрация: 25.07.2016 Сообщений: 5 |
|
1 |
|
25.07.2016, 21:26. Показов 4282. Ответов 7
Пробовал переустанавливать Microsoft Visual C++ не помогло, уже не знаю что делать, помогите чем сможете. Миниатюры
__________________
0 |
Programming Эксперт 94731 / 64177 / 26122 Регистрация: 12.04.2006 Сообщений: 116,782 |
25.07.2016, 21:26 |
Ответы с готовыми решениями:
Есть более «быстрый» вариант реализации, чем Line Input #? Dim strReadData As… Какие св-ва одинаковые для управляющих элементов «Кнопка», «Переключатель», «Флажок», «Текстовое поле»
7 |
4040 / 2505 / 301 Регистрация: 22.04.2012 Сообщений: 10,745 Записей в блоге: 2 |
|
26.07.2016, 05:33 |
2 |
Посмотрите ту проблему,которая возникла.
0 |
0 / 0 / 0 Регистрация: 25.07.2016 Сообщений: 5 |
|
26.07.2016, 08:09 [ТС] |
3 |
В смысле?
0 |
Модератор 6790 / 2811 / 527 Регистрация: 24.04.2011 Сообщений: 5,308 Записей в блоге: 10 |
|
26.07.2016, 09:42 |
4 |
jungews,
0 |
0 / 0 / 0 Регистрация: 25.07.2016 Сообщений: 5 |
|
26.07.2016, 10:09 [ТС] |
5 |
я в этом ничего не шарю, но это программа по замене Моделей в counter-strike global offensive,думаю это не серьезно, но всё ж, может чем поможете?
0 |
4040 / 2505 / 301 Регистрация: 22.04.2012 Сообщений: 10,745 Записей в блоге: 2 |
|
26.07.2016, 12:03 |
6 |
В смысле? Написано же:»Возникшая проблема привела бла,бла,бла…»вот и ищите в журнале событий,что за проблема.
0 |
0 / 0 / 0 Регистрация: 25.07.2016 Сообщений: 5 |
|
26.07.2016, 20:10 [ТС] |
7 |
Имя сбойного приложения: vbc.exe, версия: 8.0.50727.8670, метка времени: 0x57890b2f
0 |
Модератор 33885 / 18911 / 3982 Регистрация: 12.02.2012 Сообщений: 31,716 Записей в блоге: 13 |
|
26.07.2016, 20:34 |
8 |
Подобные вопросы меня «прикалывают» своей безапеляционностью — «не работает C#»… Невольно вспоминается одесский анекдот: «всю Одессу удовлетворяет, а тебя — нет?». И далее ТС пишет «… я в этом ничего не шарю…». Так может, стоит чем-либо другим заняться? И это — при том, что пишет не в «свой раздел». Удивляет терпения модераторов раздела.
0 |
Автор | Сообщение | ||
---|---|---|---|
Заголовок сообщения: программа visual c# command line compiler не работает
|
|||
Автоматизатор |
Добрый день!
|
||
Вернуться к началу |
|
||
Александр Желев |
Заголовок сообщения: Re: программа visual c# command line compiler не работает
|
Автоматизатор |
Здравствуйте! Раньше бэк офис работал? Если да, то после каких действий перестал запускаться? Если это первая установка, то выполнены ли рекомендации по установке ПО? Проверьте установлены ли нужные компоненты программ? Какая версия операционной системы и стоят ли последние сервиспаки и пакеты обновлений? Операционка — лицензия или сборка? _________________ |
Вернуться к началу |
|
Vladimir_Melitax |
Заголовок сообщения: Re: программа visual c# command line compiler не работает
|
Автоматизатор |
Раньше BackOffice работал… данная проблема произошла после выключения ПК |
Вернуться к началу |
|
Дмитрий Акбаров |
Заголовок сообщения: Re: программа visual c# command line compiler не работает
|
Автоматизатор |
Здравствуйте. |
Вернуться к началу |
|
Vladimir_Melitax |
Заголовок сообщения: Re: программа visual c# command line compiler не работает
|
Автоматизатор |
Здравствуйте. |
Вернуться к началу |
|
Дмитрий Акбаров |
Заголовок сообщения: Re: программа visual c# command line compiler не работает
|
Автоматизатор |
1. Проверьте систему на вирусы. |
Вернуться к началу |
|
P0ZiTR0N |
Заголовок сообщения: Re: программа visual c# command line compiler не работает
|
Автоматизатор |
|
Вернуться к началу |
|