The project does not work outside the device

0
0

Hello, I am training and experimenting on a simple project. It was tested on the device and the local IP is working, but I tried to access the project by putting it in a folder C:\inetpub\wwwroot\pro 

It works correctly here :
127.0.0.1:1010 It works
http://192.168.43.118:1010 It works

 

Trying to access the IP through the mobile phone within the network does not work. Are there special settings?

C:\inetpub\wwwroot\pro does not work 

http://192.168.43.118/pro   does not work

 

What is the missing magic solution?

I have attached the entire demo project

https://www.mediafire.com/file/z6p7sf6ozecnio9/WisejWebApplication1.rar/file

 

Attachment
  • You must to post comments
0
0

I found the solution. There was a repetition of some lines and I canceled it and it worked, but why does it not work outside the device? The application was called through the phone’s browser and it did not work.

Attachment
  • Julie (ITG)
    Check your network settings.
  • You must to post comments
0
0

I found the solution. There was a repetition of some lines and I canceled it and it worked, but why does it not work outside the device? The application was called through the phone’s browser and it did not work.

  • You must to post comments
0
0

“See the attached picture what happened !!”

What happened is the wrong configuration in IIS. Follow the Microsoft documentation or contact professional services. This is not a Wisej issue.

  • You must to post comments
0
0

Marhaba Fahad,

There’s an issue with the deployed web.config file, as it appears you have a duplicate configuration for the aspNetCore handler.

Please comment out the first one, and keep the second one only.

Also, you have to double check whether you’re trying to deploy a .NET Framework 4.8 build, or a .NET Core build as that would be completely different, we have compiled the information in our documentation website that my colleague Frank posted!

Let me know if this fixes the issue.

Best regards,

Alaa

  • You must to post comments
0
0

Hello Frank, I hope you are doing well

I tried the method and added the port http://192.168.43.118:1010/pro

See the attached picture what happened !!

 

 

HTTP Error 500.19 – Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information:

Module    IIS Web Core
Notification    Unknown
Handler    Not yet determined
Error Code    0x800700b7
Config Error    Config section ‘system.webServer/aspNetCore’ already defined. Sections must only appear once per config file. See the help topic <location> for exceptions
Config File    \\?\C:\inetpub\wwwroot\pro\web.config
Requested URL    http://192.168.43.118:1010/pro
Physical Path
Logon Method    Not yet determined
Logon User    Not yet determined

Config Source:

   41:     <aspNetCore stdoutLogEnabled="true" hostingModel="InProcess" processPath="WisejWebApplication1.exe" arguments="" />
   42:     <aspNetCore processPath="dotnet" arguments=".\WisejWebApplication1.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
   43:   </system.webServer>

More Information:

This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.View more information »

Attachment
  • You must to post comments
0
0

Hi Fahad,

this link does not use port 1010 where it should

http://192.168.43.118/pro

But this is not a Wisej.NET issue. For IIS Deployment there are a lot of resources in MSDN.
If you need additional help, you can contact our professional services team at SalesATwisej.com

Best regards
Frank

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.