I have a site that is working fine in VS, but when I deploy it to any of the servers- all I see is a blnak page. When i check the Event Log on that server I see the following error:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 2/22/2009
Time: 10:37:27 PM
User: N/A
Computer: mxo-SP01
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2/22/2009 10:37:27 PM
Event time (UTC): 2/23/2009 4:37:27 AM
Event ID: d4b4403577604889a0076811ff945031
Event sequence: 4
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1049075459/Root/Validatum-1-128798374415815207
Trust level: Full
Application Virtual Path: /Validatum
Application Path: C:\Data\WWW\Validatum\
Machine name: mxo-SP01
Process information:
Process ID: 5376
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: ArgumentException
Exception message: Culture name 'default' is not supported.
Parameter name: name
Request information:
Request URL: https://mxo.com:443/validatum/Route/1.83.1/ie/Default/Resources.Gizmox.WebGUI.Forms.Form.js.wgx
Request path: /validatum/Route/1.83.1/ie/Default/Resources.Gizmox.WebGUI.Forms.Form.js.wgx
User host address: 666.201.34.159
User: mxo\bconnelly
Is authenticated: True
Authentication Type: Basic
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: True
Stack trace: at System.Globalization.CultureTableRecord..ctor(String cultureName, Boolean useUserOverride)
at System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride)
at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
at Gizmox.WebGUI.Server.Context.get_CurrentUICulture()
at Gizmox.WebGUI.WGLabels.GetLocalizedMonthString(Int32 intMonthIndex, Boolean blnShort, IContext objContext)
at Gizmox.WebGUI.WGLabels.GetString(String strName, IContext objContext, Boolean blnApplyCultureInfoValues)
at Gizmox.WebGUI.Server.Resources.CompilerResources.ResourceCollectorController.GetLabelValue(Scope objOwner, String strLabel, LabelEscaping enmEscaping)
at Gizmox.WebGUI.Server.Compiler.Resources.ScopeResource.Write(StreamWriter objStreamWriter, CollectorController objController)
at Gizmox.WebGUI.Server.Compiler.Collectors.ResourceCollector.Write(Stream objStream, CollectorController objController)
at Gizmox.WebGUI.Server.Resources.CompilerResource.ProcessRequest(HttpContext objHttpContext)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
I have seen this issue posted before, here: http://www.visualwebgui.com/Developers/Forums/tabid/364/forumid/27/threadid/6696/scope/posts/Default.aspx
and here:
http://www.visualwebgui.com/Developers/Forums/tabid/364/forumid/27/threadid/4421/scope/posts/Default.aspx
and I have set
<globalization culture="auto:en-US" uiCulture="auto:en" requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="iso-8859-15" />
in the web.config, but it still doesn't work.
Any ideas?