Home > Net >  The iis after the release of following a visit to a local area network (LAN), outside the network ca
The iis after the release of following a visit to a local area network (LAN), outside the network ca

Time:09-16

Phenomenon: on the IIS10.0 issued a c # program of MVC, IIS after the release of a network can access to the site, in this case the network can access to (Intranet has access to a just now)

But after I restart the IIS, directly from the network access, found that can't access, returned the following error,

! Uh94D! An error has occurred. The table gulls!

Check the IIS server error log, shows a 500 error

However, when I get the remote, following a visit to the internal and external network can access to,
* (of the development of pure vue web site without the above phenomenon, only the above phenomenon can only be seen in the c # development)

Pray god to help myself, I appreciate,

CodePudding user response:

See the log in the log viewer

CodePudding user response:

reference 1/f, though reply:
in the log viewer to view related log


Logs show no obvious information to the IIS log can be arrived in IIS, but is not returned back

CodePudding user response:

Check for any USES the local path where

Localhost
F: \ XXXX. Dat

That some of the initialization data, you are directly dependent on the local Uri, rather than the application requirements of the relative path or the path of the mappath out

Ps: remember at the same time in the web. Config to open the error output, good convenient debugging (how to open the web. The error in the config, baidu's own)

CodePudding user response:

Another is to check permissions, such as F: \ XXXX dat, local access permissions, and the network is not necessarily the same

CodePudding user response:

This kind of question the most disgusting
Check is there any use static variables, or cache, etc., is to run after the initialization, and the initialization can only perform locally

CodePudding user response:

Really not line, had to incrementally mode, and gradually add/reduce diagnosis module in the present measures
  •  Tags:  
  • C#
  • Related