0

私はasp.net mvc 4 Webアプリケーション(.net 4.5を使用しています)で作業しています。私は次のエラーを取得しますVS-2012の内部でプロジェクトを実行すると、私は今のVisual Studioプロ2012を使用しています: -Visual Studio 2012の下で自分のasp.net 4.5 Webアプリケーションを実行すると、次のエラーが発生します。 - HTTPエラー500.0 - 内部サーバーエラー

HTTP Error 500.0 - Internal Server Error 

enter image description here

私は下の同じアプリケーションをホスティングしておりますがIIS-8それはうまくいきます。私はVisual Studio内で同じWebアプリケーションを実行する場合、上記のエラーが発生します。私はWindows Server 2012 r2を使用しています。

私はVS内で実行しようとすると、なぜ私のプロジェクトが動作していないのですか?この問題は突然私が先週末に問題を起こさずにアプリケーションを実行できることを意味しました。 ありがとう

ここに私の問題に関するイベントビューアのエラーがあります。もう1つはiis-expressに関連していますVSに関連する: -

An application has reported as being unhealthy. The worker process will now request a recycle. Reason given: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. . The data is the error.

Windows cannot access the file for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program Microsoft Visual Studio 2012 because of this error.

Program: Microsoft Visual Studio 2012 File:

+1

VSを昇格モードで起動していますか? "管理者として実行"? –

+0

@BoydP管理者として実行し、プロジェクトを実行すると、リモートデスクトップ接続が終了し、VMが再起動します。(Munamからの返信に基づいて)プロジェクトフォルダ全体をコピーしました元の場所はc:\ users \ admin \ Visual Studio ... \ project \ ... D:\ドライブの下にあるようにしてから、クリーン>>ビルド>プロジェクトを実行するとうまくいきました。何とかC:\ドライブからプロジェクトを実行することに関連しています!この問題は、先週うまく動作していたので、突然この問題が発生することを念頭に置いておいてください。おそらくこの問題はいくつかのWindowsアップデートのインストールに関連しています –

+0

@BoydP最終的に私のプロジェクトは元の場所c; \ drive ... –

答えて

1

「可能性の高い原因」を確認しましたか?おそらくそれはパーミッションの問題です。スタートアッププロジェクトを確認する必要があるかもしれません。また、web.configファイルを確認する必要があるかもしれません。

+0

あなたは私がチェックする必要がある許可の種類はどこですか? –

+0

私は現在、問題の原因となっているマシンの管理者です –

+0

新しいプロジェクトを作成しようとしましたが、同じ問題が発生しました –

関連する問題