Nuovo software per i ciclisti

GabrieleBike

Pignone
26 Marzo 2010
186
2
Visita sito
Bici
Pinarello FP2 Veloce
Mi è venuto un dubbio :


ma per le statistiche, bisogna inserire dati da Garmin o Polar ?

Se le creo solo sulla carta, probabilmente non funziona :cry: (e mi pare logico)

Si diciamo che per le uscite manuali non hanno molto senso..i dati altimetrici forniti dal servizio della NASA non sono sempre precisissimi..

Di fatto la sezione statistiche è decisamente più significativa se le uscite sono inserite con Garmin o Polar..
 

NMascell

Gregario
1 Marzo 2007
527
3
69
Rimini
Visita sito
Bici
S-Works SL3 OSBB DA7900
Il programma continua a fare bizze, i dati del file HRM vengono scaricati in maniera corretta, finito di caricare i punti del percorso mi dice che il tutto è stato caricato in maniera corretta, ma come provo a salvare si impalla e mi da questo messaggio di errore

Server Error in '/' Application.

Object reference not set to an instance of an object.

[FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif]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.] BikersBook.UserControls.Uscite.Uscita_E_BasePage.SaveUscita(Enum_TypeUscita typeUscita, Enum_OwnerUscita ownerUscita) in C:\Users\Gabriele\Documents\Visual Studio 2010\Projects\BikersBook_9\BikersBook\UserControls\Uscite\Uscite\Uscita_E_BasePage.cs:224 BikersBook.Pages.Uscita.User_DettaglioUscita_HRM.lnk_btn_save_Click(Object sender, EventArgs e) in C:\Users\Gabriele\Documents\Visual Studio 2010\Projects\BikersBook_9\BikersBook\Pages\Uscita\User_DettaglioUscita_HRM.aspx.cs:78 System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +111 System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +79 System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209 [/FONT]
 

GabrieleBike

Pignone
26 Marzo 2010
186
2
Visita sito
Bici
Pinarello FP2 Veloce
Il programma continua a fare bizze, i dati del file HRM vengono scaricati in maniera corretta, finito di caricare i punti del percorso mi dice che il tutto è stato caricato in maniera corretta, ma come provo a salvare si impalla e mi da questo messaggio di errore

Server Error in '/' Application.

Object reference not set to an instance of an object.

[FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif]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.] BikersBook.UserControls.Uscite.Uscita_E_BasePage.SaveUscita(Enum_TypeUscita typeUscita, Enum_OwnerUscita ownerUscita) in C:\Users\Gabriele\Documents\Visual Studio 2010\Projects\BikersBook_9\BikersBook\UserControls\Uscite\Uscite\Uscita_E_BasePage.cs:224 BikersBook.Pages.Uscita.User_DettaglioUscita_HRM.lnk_btn_save_Click(Object sender, EventArgs e) in C:\Users\Gabriele\Documents\Visual Studio 2010\Projects\BikersBook_9\BikersBook\Pages\Uscita\User_DettaglioUscita_HRM.aspx.cs:78 System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +111 System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +79 System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209 [/FONT]

Ciao!

Sicuramente c'è un errore nella cancellazione ma nel caricamento non ho problemi..

Potresti riprovare ora?

Fammi sapere

:bua:
 

NMascell

Gregario
1 Marzo 2007
527
3
69
Rimini
Visita sito
Bici
S-Works SL3 OSBB DA7900
Mi spiace, ma l'unico giro che mi ha caricato è quello presente nel programmo e il file l'ho prelevato dalla cartella che polar mi ha creato in automatico per il 2011; se però provo caricare qualsiasi altro file prelevandolo dalla cartella creata per il 2010 continua a darmi errore
 

GabrieleBike

Pignone
26 Marzo 2010
186
2
Visita sito
Bici
Pinarello FP2 Veloce
Mi spiace, ma l'unico giro che mi ha caricato è quello presente nel programmo e il file l'ho prelevato dalla cartella che polar mi ha creato in automatico per il 2011; se però provo caricare qualsiasi altro file prelevandolo dalla cartella creata per il 2010 continua a darmi errore

Ok!

Mi manderesti all'indirizzo [email protected] i file che non riesci a caricare?

Appena ricevo i file risolvo tutto..

:cry
 

robertofrr

Apprendista Passista
3 Aprile 2008
1.196
189
Lodi
asdsantangelo.blogspot.com
Bici
Sempre in box :(
nooooooo!!!!! ho caricato un percorso a mano, ho aspettato una ventina di minuti che finiva di caricare l'altimetria, ho compilato i dettagli e poi
tasto salva .... la schermata malefica...

mi sono perso tutto...

Server Error in '/' Application.

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

[FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif]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.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

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:

[ViewStateException: Invalid viewstate. Client IP: 79.31.217.76 Port: 50774 User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; GTB6.6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.1; .NET CLR 3.5.30729; .NET CLR 1.1.4322; .NET CLR 3.0.30729) ViewState: /wEPDwUKMTg5MTk0NzMxNg9kFgJmD2QWAgIDD2QWCAIDDw8WAh4EVGV4dAUWcm9iZXJ0b2ZycjY2QGxpYmVyby5pdGRkAgcPZBYkAgMPDxYCHgtOYXZpZ2F0ZVVybAVPfi9QYWdlcy9Qcm9maWxvL1VzZXJfUHJvZmlsb1V0ZW50ZS5hc3B4P1VJPTY1MGE0N2M1LTgzYzItNDE3ZC1iZTA4LTE1MDliNDE0ZDQ3Y2RkAgUPDxYCHwEFT34vUGFnZXMvUHJvZmlsby9Vc2VyX1Byb2ZpbG9VdGVudGUuYXNweD9VST02NTBhNDdjNS04M2MyLTQxN2QtYmUwOC0xNTA5YjQxNGQ0N2NkZAIHDw8WAh8BBU1+L1BhZ2VzL1Byb2ZpbG8vVXNlcl9Qcm9maWxvQmlrZS5hc3B4P1VJPTY1MGE0N2M1LTgzYzItNDE3ZC1iZTA4LTE1MDliNDE0ZDQ3Y2RkAgkPDxYCHwEFRn4vUGFnZXMvUHJvZmlsby9Vc2VyX1dhbGwuYXNweD9VST02NTBhNDdjNS04M2MyLTQxN2QtYmUwOC0xNTA5YjQxNGQ0N2NkZAILDw8WAh8BBUx+L1BhZ2VzL1VzY2l0YS9Vc2VyX1VzY2l0ZS5hc3B4P1VJPTY1MGE0N2M1LTgzYzItNDE3ZC1iZTA4LTE1MDliNDE0ZDQ3YyZNTD0wZGQCDQ8PFgIfAQVMfi9QYWdlcy9Vc2NpdGEvVXNlcl9Vc2NpdGUuYXNweD9VST02NTBhNDdjNS0...][HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.] System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +106 System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState) +14 System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +237 System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4 System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37 System.Web.UI.HiddenFieldPageStatePersister.Load() +207 System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +105 System.Web.UI.Page.LoadAllState() +43 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6785 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242 System.Web.UI.Page.ProcessRequest() +80 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.pages_uscita_user_dettagliouscita_e_aspx.ProcessRequest(HttpContext context) +4 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
[/FONT]
 

robertofrr

Apprendista Passista
3 Aprile 2008
1.196
189
Lodi
asdsantangelo.blogspot.com
Bici
Sempre in box :(
sono riuscito a trasformare l'uscita "Nembro-Selvino" in mie salite ma ho dovuto selezionare il percorso "km da 0 a 10" per poter fare generare il grafico della pendenza perche' in automatico non mi riconosce la salita.


Invece con un'altro percorso sulle colline di san colombano non sono riuscito a salvare il grafico, e' uscita la solita schermata malefica.
Avevo selezionato la salita dal km 21,1 a 22,1 :cry:

ciao
Vado a dormire
 

GabrieleBike

Pignone
26 Marzo 2010
186
2
Visita sito
Bici
Pinarello FP2 Veloce
nooooooo!!!!! ho caricato un percorso a mano, ho aspettato una ventina di minuti che finiva di caricare l'altimetria, ho compilato i dettagli e poi
tasto salva .... la schermata malefica...

mi sono perso tutto...

Server Error in '/' Application.

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

[FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif]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.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

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:

[ViewStateException: Invalid viewstate. Client IP: 79.31.217.76 Port: 50774 User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; GTB6.6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.1; .NET CLR 3.5.30729; .NET CLR 1.1.4322; .NET CLR 3.0.30729) ViewState: /wEPDwUKMTg5MTk0NzMxNg9kFgJmD2QWAgIDD2QWCAIDDw8WAh4EVGV4dAUWcm9iZXJ0b2ZycjY2QGxpYmVyby5pdGRkAgcPZBYkAgMPDxYCHgtOYXZpZ2F0ZVVybAVPfi9QYWdlcy9Qcm9maWxvL1VzZXJfUHJvZmlsb1V0ZW50ZS5hc3B4P1VJPTY1MGE0N2M1LTgzYzItNDE3ZC1iZTA4LTE1MDliNDE0ZDQ3Y2RkAgUPDxYCHwEFT34vUGFnZXMvUHJvZmlsby9Vc2VyX1Byb2ZpbG9VdGVudGUuYXNweD9VST02NTBhNDdjNS04M2MyLTQxN2QtYmUwOC0xNTA5YjQxNGQ0N2NkZAIHDw8WAh8BBU1+L1BhZ2VzL1Byb2ZpbG8vVXNlcl9Qcm9maWxvQmlrZS5hc3B4P1VJPTY1MGE0N2M1LTgzYzItNDE3ZC1iZTA4LTE1MDliNDE0ZDQ3Y2RkAgkPDxYCHwEFRn4vUGFnZXMvUHJvZmlsby9Vc2VyX1dhbGwuYXNweD9VST02NTBhNDdjNS04M2MyLTQxN2QtYmUwOC0xNTA5YjQxNGQ0N2NkZAILDw8WAh8BBUx+L1BhZ2VzL1VzY2l0YS9Vc2VyX1VzY2l0ZS5hc3B4P1VJPTY1MGE0N2M1LTgzYzItNDE3ZC1iZTA4LTE1MDliNDE0ZDQ3YyZNTD0wZGQCDQ8PFgIfAQVMfi9QYWdlcy9Vc2NpdGEvVXNlcl9Vc2NpdGUuYXNweD9VST02NTBhNDdjNS0...][HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.] System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +106 System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState) +14 System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +237 System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4 System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37 System.Web.UI.HiddenFieldPageStatePersister.Load() +207 System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +105 System.Web.UI.Page.LoadAllState() +43 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6785 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242 System.Web.UI.Page.ProcessRequest() +80 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.pages_uscita_user_dettagliouscita_e_aspx.ProcessRequest(HttpContext context) +4 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
[/FONT]

Ciao Roberto!

Questo è un problema ti Timeout..ieri i server che ospitavano il software erano in manutenzione..:bua:
 

GabrieleBike

Pignone
26 Marzo 2010
186
2
Visita sito
Bici
Pinarello FP2 Veloce
sono riuscito a trasformare l'uscita "Nembro-Selvino" in mie salite ma ho dovuto selezionare il percorso "km da 0 a 10" per poter fare generare il grafico della pendenza perche' in automatico non mi riconosce la salita.


Invece con un'altro percorso sulle colline di san colombano non sono riuscito a salvare il grafico, e' uscita la solita schermata malefica.
Avevo selezionato la salita dal km 21,1 a 22,1 :cry:

ciao
Vado a dormire

Ok Roberto!

Stasera verifico perchè non riconosce la salita..:bua:

Mi diresti di preciso la salita che ti è andata in errore (quella dove hai selezionato i km da 21.1 a 22.1) che cerco di replicare il problema?

o-o
 

GabrieleBike

Pignone
26 Marzo 2010
186
2
Visita sito
Bici
Pinarello FP2 Veloce
Ragazzi grazie mille per la mano che mi state dando..

Purtroppo il tempo che posso dedicare al progetto è pochissimo e spesso non faccio test approfonditi..

Approfitto della vostra disponibilità..

Grazie o-o
 

robertofrr

Apprendista Passista
3 Aprile 2008
1.196
189
Lodi
asdsantangelo.blogspot.com
Bici
Sempre in box :(
ho riprovato adesso, mi ha dato questo errore


Server Error in '/' Application.

Input string was not in a correct format.

[FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif]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: Input string was not in a correct format.

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: Input string was not in a correct format.] System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7471335 System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) +115 System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info) +192 BikersBook.Pages.Uscita.Salite.DettaglioSalita.lnk_btn_save_Click(Object sender, EventArgs e) in C:\Users\Gabriele\Documents\Visual Studio 2010\Projects\BikersBook_9\BikersBook\Pages\Uscita\Salite\DettaglioSalita.aspx.cs:525 System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +111 System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +79 System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565[/FONT]


l'uscita e'
Giro sulle colline di San Colombano
selezionare da km 21,1 a 22,1

in fase di salvataggio esce l'errore mentre in visualizzazione grafica funziona anche se il grafico finisce prima del km 22
 

GabrieleBike

Pignone
26 Marzo 2010
186
2
Visita sito
Bici
Pinarello FP2 Veloce
Si si l'errore è che lui non riconosce il formato di una stringa..

Di preciso mi dai i riferimenti all'uscita che ti va in errore? Va bene il link..

Mi diresti anche i passi che fai per mandare in errore l'applicativo?

Così replico il tutto e sgamiamo il problema..:mrgreen:
 

robertofrr

Apprendista Passista
3 Aprile 2008
1.196
189
Lodi
asdsantangelo.blogspot.com
Bici
Sempre in box :(