Ticket #1199 (new Defekt)

Opened 13 years ago

Går inte att boka vallokaler för valdagen

Reported by: tim.uddh@… Owned by: JorgenL
Priority: major Milestone:
Component: Valbokningen Keywords: Valbokning
Cc:

Description

När jag trycker på "Boka mig" knappen på vallokalerna så får jag upp popup-rutan men det kommer bara ett felmeddelande:

Server Error in '/' Application.

Unable to cast object of type 'System.DBNull' to type 'System.String'.

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.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.

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:

[InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.]

ValsedlarDataset.ValLokalRow.get_Tider() +97

[StrongTypingException: The value for column 'Tider' in table 'ValLokal' is DBNull.]

ValsedlarDataset.ValLokalRow.get_Tider() +159
ValsedelsBokning.BokaLokal.BuildDefaultScreen() +3938
ValsedelsBokning.BokaLokal.Page_Load(Object sender, EventArgs e) +959
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

Version Information: Microsoft .NET Framework Version:2.0.50727.1873; ASP.NET Version:2.0.50727.1433

Note: See TracTickets for help on using tickets.