These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Server setup error

Permission setup for appdata for network-service.

msi installed without problems. And I get this error.

net 2.0 have been selected.


>>>>>

Server Error in '/FileVista' Application.
A potentially dangerous Request.Form value was detected from the client (ClientMessage="...izer for '<Module>' threw an e...").
Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.

Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (ClientMessage="...izer for '<Module>' threw an e...").

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (ClientMessage="...izer for '<Module>' threw an e...").]
   System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName) +3213186
   System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, String collectionName) +108
   System.Web.HttpRequest.get_Form() +119
   System.Web.HttpRequest.get_HasForm() +57
   System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +2022785
   System.Web.UI.Page.DeterminePostBackMode() +60
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154
   System.Web.UI.Page.ProcessRequest() +86
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.setup_aspx.ProcessRequest(HttpContext context) +4
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Roger 3/10/2008 8:18 AM
I guess you get the error when you run the application for the first time after MSI install.

It seems like a  framework specific error, please re-install .NET Framework 2.0 Service Pack 1

By the way, if you have not already done, please download the latest version (v2.9.1).

Let me know.
Cem Alacayir 3/10/2008 6:08 PM
1. re-installed ASP.net you provided in the link successfully

2. Download and installed version 2.9.1

3. Setup was successful. Then ran FileVista and get this error.

4. Network Service have modify permission on app_data and the root folder

5. Asp.Net 2.0 SP1 is the selected version for the filevista subfolder

>>> 
 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.]
   GleamTech.FileVista.AuthenticationManager.Authenticate(HttpContext context) +24
   GleamTech.FileVista.FileVistaGlobalAsax.Application_AcquireRequestState(Object sender, EventArgs e) +233
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +157
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65

Roger 3/11/2008 8:18 AM
The error occurs because the session state is not available for the application.

First make sure that this line is included in application's web.config:

<sessionState mode="InProc"/>

Then make sure that the following line is included in your machine's global web.config (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config) under <httpModules> section:

<add name="Session" type="System.Web.SessionState.SessionStateModule"/>

Or you can try to include the above line in the application's web.config instead.
Cem Alacayir 3/14/2008 8:02 AM
Yes it is working great now.

Roger 3/14/2008 10:30 PM