Visual Studio 2010 を使用して、ASP.NET プロジェクトを開発サーバーに配置し、開発サーバーのパスを反映するように Web.Config を変更しました。一部のコードは機能していますが、画像やその他のファイルなどのパスについては、マシンのローカル パスを見ているようです。ローカル パスを使用している場所のヒントを得るためにコード全体を調べましたが、それらをすべて置き換えましたが、まだ機能していません。
DLL はすべて正しい場所にコンパイルされ、すべて最新の状態になっています。コードをローカルで実行しても問題はありません。不足している展開を確実にするための特定の手順はありますか?
ありがとう。
エラー:
`Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
FieldControl(String FieldType, String Argument, Field ParentField) in D:\Users\mydirectory\FieldControl.cs:132
<more of these>