正在嘗試使用可宿主Web核心功能託管Web應用程序(aspx web窗體)。使用Hostable Web Core的自託管Web應用程序
使用這個當我試圖加載aspx頁面,我得到錯誤
錯誤的詳細信息:
responce : 502
The connection to 'localhost' failed. Error: ConnectionRefused (0x274d). System.Net.Sockets.SocketException No connection could be made because the target machine actively refused it 127.0.0.1:8080
然後我改變了代碼隱藏屬性的CodeFile,這點以後得到這個錯誤:
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.]
System.Web.HttpResponse.ApplyRedirectQueryStringIfRequired(String url) +144 System.Web.HttpResponse.Redirect(String url, Boolean endResponse) +546
System.Web.Security.FormsAuthenticationModule.OnLeave(Object source, EventArgs eventArgs) +1730
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +412 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +229
在同一個應用程序中,我有一個html格式的測試頁面。當我試圖訪問該頁面時,它正常渲染。
我在這裏將我的配置文件還
'主存捲筒紙芯feature.'你是不是刨在IIS託管?你能詳細說明嗎? – Win
由於缺少ArcGIS Server許可證,暫時我們試圖將其作爲使用HWC的自託管應用程序託管 – thejustv