MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Parser Error Message  (Mono Support )

Viewed 19689 time(s), 7 post(s) 9/13/2010 3:57:44 PMby felippetti
felippetti

felippetti

9/13/2010 3:57:44 PM
Hi all,

I'm having the following problem trying to install MonoX. I'm not quite into SQL Server, so I'm little lost here... I have the latest version of MonoX running on SQL Server 2005 Express.


Server Error in '/monox10' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: An error occurred loading a configuration file: La cuenta a que se hace referencia está bloqueada y no se puede utilizar.


Source Error:


[No relevant source lines]


Source File: \\n1004ar08\webs\web.config Line: 0


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


x-x-x-x-x-x-x-x-x-x-x-x-x-x

The error in the Eventlog is the following:

Código de evento: 3008
Mensaje de evento: Error de configuración.
Tiempo de evento: 13/09/2010 16:40:17
Tiempo de evento (UTC): 13/09/2010 14:40:17
Id. de evento: 3a8d66a223784042974645e152b562dc
Secuencia de evento: 3
Ocurrencia de evento: 2
Código de detalles de evento: 0

Información de aplicación:
Dominio de aplicación: /LM/W3SVC/1/Root/monox10-13-129288621786300392
Nivel de confianza: Full
Ruta de acceso virtual de la aplicación: /monox10
Ruta de acceso de la aplicación: C:\Inetpub\wwwroot\MonoX\
Nombre del equipo: N1003RD

Información de proceso:
Id. de proceso: 4920
Nombre de proceso: aspnet_wp.exe
Nombre de cuenta: N1003RD\ASPNET

Información de la excepción:
Tipo de excepción: TypeInitializationException
Mensaje de la excepción: The type initializer for 'MonoSoftware.Web.WAO.HttpCompress.Configuration.HttpCompressConfiguration' threw an exception.
at MonoSoftware.Web.WAO.HttpCompress.Configuration.HttpCompressConfiguration.()
at .....cctor()

The type initializer for 'MonoSoftware.Web.WAO.Base.BaseConfigurationSection' threw an exception.
at MonoSoftware.Web.WAO.HttpCompress.Configuration.HttpCompressConfiguration..cctor()

An error occurred loading a configuration file: La cuenta a que se hace referencia está bloqueada y no se puede utilizar.
(\\n1004ar08\webs\web.config)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams)
at System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type typeConfigHost, Object[] hostInitConfigurationParams)
at System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site, String locationSubPath, String server, String userName, String password, IntPtr tokenHandle)
at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String path)
at MonoSoftware.Web.WAO.Base.BaseConfigurationSection..cctor()

La cuenta a que se hace referencia está bloqueada y no se puede utilizar.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForRead(String streamName)
at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName, Boolean assertPermissions)
at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName)
at System.Configuration.Internal.DelegatingConfigHost.OpenStreamForRead(String streamName)
at System.Configuration.UpdateConfigHost.OpenStreamForRead(String streamName)
at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()



Información de solicitud:
Dirección URL solicitada: http://localhost/monox10/Default.aspx
Ruta de acceso de solicitud: /monox10/Default.aspx
Dirección de host de usuario: 127.0.0.1
Usuario:
Se autenticó: False
Tipo de autenticación:
Nombre de la cuenta de subproceso: UAB\_cc_ic

Información de subproceso:
Id. de subproceso: 1
Nombre de la cuenta de subproceso: UAB\_cc_ic
Está representando: False
Seguimiento de la pila: at MonoSoftware.Web.WAO.HttpCompress.Configuration.HttpCompressConfiguration.()
at .....cctor()


Detalles de evento personalizado:

Para obtener más información, vea el Centro de ayuda y soporte técnico en http://go.microsoft.com/fwlink/events.asp.

x-x-x-x-x-x-x-x-x-x-x-x


Thanks a lot!

Daniel
=D
This content has not been rated yet. 
0 Reputation 3 Total posts
khorvat

khorvat

9/14/2010 8:23:25 AM
Hi Daniel,

as we can see the problem may occur in the file permissions set on the web.config. It looks like your application can't read he web.config so can you please check the web.config permissions and get back to us.

Thanks.
This content has not been rated yet. 
15993 Reputation 2214 Total posts
felippetti

felippetti

9/14/2010 9:22:57 AM
Hi Kristijan,

Since I'm on a testing internal server, I granted read, write and execute permissions to all users (including the ASP.NET user) to the entire MonoX directory. The virtual directory (IIS) also have full privileges. Could it be a SQL Server problem?

Thanks,
Daniel
This content has not been rated yet. 
0 Reputation 3 Total posts
denis

denis

9/14/2010 6:49:37 PM
Hi Daniel,
Although my Spanish is very weak, "La cuenta a que se hace referencia está bloqueada y no se puede utilizar" should mean "The account referred to is blocked and can not be used". It seems to me that your application pool is running under the account N1003RD\ASPNET, and that's the account that should have at least the read permission to the MonoX folder. It is obvious that the application cannot access the web.config (System.IO.__Error.WinIOError), at this point it has nothing to do with the SQL Server. However, this is what bothers me:

Source File: \\n1004ar08\webs\web.config Line: 0

It seems that it is accessing the config file over the network share? Is this correct?

Regards,

Denis
This content has not been rated yet. 
7207 Reputation 956 Total posts
felippetti

felippetti

9/15/2010 1:05:59 PM
Hi,

The thing was that I had my testing server pointing to a network share (localhost=\\n1004ar08\webs) and the MonoX try-out was installed in a local virtual directory (C:\Inetpub\wwwroot\MonoX), and set as an application. Even so the IIS was trying to get the web.config from the root. I don't know if I skipped something or if this is an IIS problem, and to avoid it I redirected the localhost to C:\Inetpub\wwwroot. The installation run smooth but after it now when I try to access http://localhost/MonoX/ all I get is a blank screen. There is no error message, not even in the event log. And now what?

Thanks for your attention,
Daniel
This content has not been rated yet. 
0 Reputation 3 Total posts
khorvat

khorvat

9/15/2010 3:29:34 PM
Hi Daniel,

can you please try to run a Fiddler2 and try to access the MonoX application, after that go to Fiddler and save whole session so we can investigate the headers, request and response. We need this so we can go to the next step.

Regards.
This content has not been rated yet. 
15993 Reputation 2214 Total posts
denis

denis

9/15/2010 10:03:45 PM
You may also contact our support directly so we could quickly solve this issue.
This content has not been rated yet. 
7207 Reputation 956 Total posts