1
votes

When hosting the application on local IIS all forms work fine without causing any errors but while hosting the application on the server some forms are showing the 'Compilation Error'

**To remove these error made following updations to the server side.

  1. Restart the application pool.
  2. Enable 32-Bit Application = true on server side.

Still getting the error on the forms.**

Is there any other way to find out the server side compilation errors.

What is exactly the compiler error code 1.

Detailed Error is as follows:

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: The compiler failed with error code 1.

Version Information: Microsoft .NET Framework Version:2.0.50727.8009; ASP.NET Version:2.0.50727.8015

1

1 Answers

0
votes

Please make sure you have installed required windows features to run IIS on your hosting server.

You can do it by following

Control panel > 
   Program features > 
     Turn on Windows features on or off

Then on the pop up window, navigate to;

Internet Information Services > 
    Word Wide Web Services > 
       Application Dev Features >
          Tick all required features (I have ticked all but CGI)

Hope this helps.