Mono Support Problem with Monox when behind the proxy 

Viewed 16146 time(s), 8 post(s), 2/15/2013 7:31:51 AM - by inanc
2/15/2013 7:31:51 AM
469 Reputation 60 Total posts

Hello All,
There is an issue that I could no resolve. I have 2 different website running on MonoX 4.7  and Monox 4.5. Actually both of them work well. But the one with the version 4.7 has an issue when trying to open behind a proxy in my office. 

------------------------------------------
------------------------------------------

Server Error in '/' Application.Runtime ErrorDescription: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
------------------------------------------
------------------------------------------
Do you have any idea? 

Thank you very much.

1
2/15/2013 8:44:30 AM
7207 Reputation 956 Total posts

Hi Inanc,
You should set the customErrors attribute to off, as suggested in the error message. After that, we will see the underlying error message and be able to diagnose the problem.

2
2/18/2013 8:02:43 PM
469 Reputation 60 Total posts

Hi Denis,
Thank you for your answer.
The underlying error message is :

Server Error in '/' Application.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.]
MonoSoftware.Web.WAO.HttpCompress.HttpCompressModule.(Object sender, EventArgs e) +999
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +168
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +76

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

3
2/19/2013 8:17:21 AM
15993 Reputation 2214 Total posts

Hi,

please find the latest version of WAO attached, can you please provide us with fiddler session before you upgrade to attached version so we can investigate, then upgrade and let us know if issue is still there.

Regards

4
2/19/2013 11:29:15 AM
469 Reputation 60 Total posts

Yes sure,
I'll inform you. Thank you.
Regards.

5
2/20/2013 1:27:38 PM
469 Reputation 60 Total posts

Dear Khorvat,
Here is the fiddler session.
Regards

6
2/20/2013 1:39:05 PM
15993 Reputation 2214 Total posts

Did you upgrade to latest version, and do you still have an issue ?

Regards

7
2/20/2013 7:07:26 PM
469 Reputation 60 Total posts

Yes ,
It is OK now. 
Thank you very much.
Best Regards

8
This is a demo site for MonoX. Please visit Mono Software for more info.