Hi all, i have a big problem with radscheduler and XmlSchedulerProvider, the project work fine on local with IIS7, but when upload to host and run, when insert/edit Appointments, the host save the datetime on xml file with the separator "." and cause an error.
Is work fine on local with IIS7 and creates this file OK (<Start>2009-12-11T08:00Z</Start> have a separator time ":")
The host when edit an appointments create this file and is wrong (<Start>2009-12-11T08.00Z</Start> have a separator time ".")
This is the error reported after the change of an appointment:
Server Error in '/' Application.
Exception Details: System.FormatException: String was not recognized as a valid DateTime.
Source Error:
Stack Trace:
Thanks By Aurelio
Is work fine on local with IIS7 and creates this file OK (<Start>2009-12-11T08:00Z</Start> have a separator time ":")
<?xml version="1.0" encoding="utf-8"?> |
<Appointments> |
<Appointment> |
<ID>4</ID> |
<Subject> fdEclipse</Subject> |
<Description>dfg</Description> |
<Start>2009-12-10T00:00Z</Start> |
<End>2009-12-11T00:00Z</End> |
</Appointment> |
<Appointment> |
<ID>5</ID> |
<Subject> Barriera Milano </Subject> |
<Description>Prova</Description> |
<Start>2009-12-11T08:00Z</Start> |
<End>2009-12-11T23:00Z</End> |
</Appointment> |
</Appointments> |
The host when edit an appointments create this file and is wrong (<Start>2009-12-11T08.00Z</Start> have a separator time ".")
<?xml version="1.0" encoding="utf-8"?> |
<Appointments> |
<Appointment> |
<ID>4</ID> |
<Subject> fdEclipse</Subject> |
<Description>dfg</Description> |
<Start>2009-12-10T00:00Z</Start> |
<End>2009-12-11T00:00Z</End> |
</Appointment> |
<Appointment> |
<ID>5</ID> |
<Subject> Barriera Milano </Subject> |
<Description>Prova</Description> |
<Start>2009-12-11T08.00Z</Start> |
<End>2009-12-11T23.00Z</End> |
</Appointment> |
</Appointments> |
This is the error reported after the change of an appointment:
Server Error in '/' Application.
String was not recognized as a valid DateTime.
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.FormatException: String was not recognized as a valid DateTime.
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:
[FormatException: String was not recognized as a valid DateTime.] |
Thanks By Aurelio