1

I designed a web application using asp.net . Now I want to publish this site on IIS server using a static IP address.

The steps that I did as follows:

  1. under IIS sites folder I created a new site.
  2. I selected the website name, application pool, physical path of the web app folder, the protocol (HTTP), public IP address and the port(80). Then , I tried to browse and I got this error :

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

What is the problem, or which steps have I missed?

ΩmegaMan
  • 29,542
  • 12
  • 100
  • 122
Iman Dz
  • 29
  • 1
  • 2
  • 9

1 Answers1

0

Either the pool .netframework version is not correct (maybe it needs v4.0 while your pool is only v2.0) or the mode is not correct (classic or integrated). One addional factor is Sharing the publish folder, (right click the folder with windows explorer > Properties > Sharing > Make it shared for "everyone" read & write.

FindOut_Quran
  • 728
  • 3
  • 10
  • 27