Próbuję hostować aplikację internetową (formularz WWW aspx) za pomocą funkcjonalności hostowanej sieci web.Aplikacja do samodzielnego hostowania przy użyciu Hostable Web Core
Używanie tego przy próbie załadowania strony aspx, otrzymuję
szczegóły błędu Błąd:
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
Potem zmienił kodzie atrybut CodeFile, po tej nocy pojawia się ten błąd:
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
W tej samej aplikacji mam stronę testową w formacie html. Kiedy próbowałem uzyskać dostęp do tej strony, renderowanie odbywa się prawidłowo.
Tutaj dodaję mój plik konfiguracyjny również
'hostable rdzenia internetowej feature.' Czy nie struganie do hosta w IIS? Czy mógłbyś rozwinąć więcej? – Win
z powodu braku licencji na serwer ArcGIS, na razie staramy się go hostować jako aplikację do samodzielnego hostingu przy użyciu HWC – thejustv