begin process at 2012 05 28 13:13:56
  Trouver un code source :
 
dans
 
Accueil > Forum > 

Archive ASP & ASP.NET

 > 

Archives ASP & ASP.NET

 > 

AU SECOURS !!!!

 > 

Au secours pb erreur a la con tro chiant


Derniers messages déposésPoser une question dans le forum ou lancer une discussion

Au secours pb erreur a la con tro chiant

mardi 21 juin 2005 à 10:35:37 | Au secours pb erreur a la con tro chiant

FOXDIE_90

voici ce ki m arrive lorsque j ajoute plus de 4 enregistrements à mon datagrid:

 

Erreur du serveur dans l'application '/'.

Caractère non valide dans une chaîne Base 64.

Description : Une exception non gérée s'est produite au moment de l'exécution de la demande Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.

Détails de l'exception: System.FormatException: Caractère non valide dans une chaîne Base 64.

Erreur source:

Une exception non gérée s'est produite lors de l'exécution de la demande Web actuelle. Les informations relatives à l'origine et l'emplacement de l'exception peuvent être identifiées en utilisant la trace de la pile d'exception ci-dessous.

Trace de la pile:

[FormatException: Caractère non valide dans une chaîne Base 64.]
   System.Convert.FromBase64String(String s) +0
   System.Web.UI.LosFormatter.Deserialize(String input) +25
   System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +101

[HttpException (0x80004005): Invalid_Viewstate
	Client IP: 127.0.0.1
	Port: 
	User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
	ViewState: dDwxMzQ5NDk2MTU4O3Q8O2w8aTwxPjs+O2w8dDw7bDxpPDE+O2k8Mj47PjtsPHQ8QDA8Ozs+Ozs+O3Q8QDA8cDxwPGw8UGFnZUNvdW50O18hRGF0YVNvdXJjZUl0ZW1Db3VudDtEYXRhS2V5czs+O2w8aTwxPjtpPDY+O2w8aTw4PjtpPDk+O2k8MTA+O2k8MTE+O2k8MTI+O2k8MTM+Oz47Pj47Pjs7Ozs7Ozs7O0AwPEAwPHA8bDxIZWFkZXJUZXh0O0RhdGFGaWVsZDtTb3J0RXhwcmVzc2lvbjtSZWF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js+Pjs7Ozs+O0AwPHA8bDxIZWFkZXJUZXh0O0RhdGFGaWVsZDtTb3J0RXhwcmVzc2lvbjtSZWFkT25seTs+O2w8REVTQ1JJUFRJT047REVTQ1JJUFRJT047REVTQ1JJUFRJT047bzxmPjs+Pjs7Ozs+O0AwPHA8bDxIZWFkZXJUZXh0O0RhdGFGaWVsZDtTb3J0RXhwcmVzc2lvbjtSZWFkT25seTs+O2w8UkVTUE9OU0FCTEU7UkVTUE9


si sombody aurai une explication cela m aiderai bcp, voici le code de ma page:

<%@ Page Language="VB" %>
<%@ Register TagPrefix="wmx" Namespace="Microsoft.Matrix.Framework.Web.UI" Assembly="Microsoft.Matrix.Framework, Version=0.6.0.0, Culture=neutral, PublicKeyToken=6f763c9966660626" %>
<script runat="server">

    Sub Button_Click(sender as Object, e as EventArgs)
    MyInsertMethod()
    End Sub
   
        Function MyInsertMethod() As Integer
            Dim connectionString As String = "server='(local)'; trusted_connection=true; database='amdec'"
            Dim dbConnection As System.Data.IDbConnection = New System.Data.SqlClient.SqlConnection(connectionString)
            Dim queryString As String = "INSERT INTO [Processus] ([OP], [DEFAUT], [EFFET], [CAUSES], [DETECTIONS], [G], [F], [D], [C], [DESCRIPTION], [RESPONSABLE], [DELAI], [R], [G'], [F'], [D'], [C']) VALUES ('', '', '', '', '', '', '', '', '', '', '', '?', '', '', '', '', '')"
            Dim dbCommand As System.Data.IDbCommand = New System.Data.SqlClient.SqlCommand
            dbCommand.CommandText = queryString
            dbCommand.Connection = dbConnection
            Dim rowsAffected As Integer = 0
            dbConnection.Open
            Try
                rowsAffected = dbCommand.ExecuteNonQuery
            Finally
                dbConnection.Close
            End Try
            Return rowsAffected
        End Function

</script>
<html>
<head>
    <title>Processus</title>
</head>
<body background="images\ludix.jpeg">
    <form runat="server">
        <% Dim tps
Dim MyCookie As New HttpCookie("tps")
Dim now As DateTime = DateTime.Now
MyCookie.Value = now.ToString()
MyCookie.Expires = now.AddHours(1)
Response.Cookies.Add(MyCookie)
MyCookie = Request.Cookies("tps")
tps= MyCookie.Value()%>
        <p align="center">
            <strong><u><font face="Arial" color="white" size="5">
            <asp:Image id="Image1" runat="server" Width="85px" Height="85px" ImageUrl="images\logo.jpg" AlternateText="PEUGEOT"></asp:Image>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            |AMDEC Processus|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input readonly="readonly" type="text" maxlength="20" size="20" value="<%=tps%>" name="tps" color="white" face="Arial" />
            </font></u></strong>
        </p>
        <p align="center">
        </p>
        <hr />
        <h3><font face="Arial" color="red"></font>
        </h3>
        <h3><font face="Arial" color="red"></font>
        </h3>
        <h3>
            <table bordercolor="white" bgcolor="transparent" border="1">
                <tbody>
                    <tr>
                        <td width="16.15%">
                        </td>
                        <td width="14.74%">
                            <p align="center">
                                <font color="white"><strong>Défauts sur le produit</strong></font>
                            </p>
                        </td>
                        <td width="16.94%">
                        </td>
                        <td width="9.25%">
                            <p align="center">
                                <font color="white"><strong>Av. Actions</strong></font>
                            </p>
                        </td>
                        <td width="35.08%">
                            <p align="center">
                                <strong><font color="white">ACTIONS</font> </strong>
                            </p>
                        </td>
                        <td width="10.6%">
                            <p align="center">
                                <font color="white"><strong>Ap. Actions</strong></font>
                            </p>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="8">
                            <h3 align="left">
                                <h3>
                                    <h3>
                                        <wmx:SqlDataSourceControl id="SqlDataSourceControl1" runat="server" UpdateCommand="" SelectCommand="SELECT * FROM [Processus]" ConnectionString="server='(local)'; trusted_connection=true; database='amdec'" DeleteCommand=""></wmx:SqlDataSourceControl>
                                        <wmx:MxDataGrid id="MxDataGrid1" runat="server" Font-Bold="True" HorizontalAlign="Center" PageSize="100" DataSourceControlID="SqlDataSourceControl1" BorderColor="White" AllowSorting="True" DataMember="Processus" BackColor="Transparent" CellPadding="5" DataKeyField="Num" BorderWidth="1px" BorderStyle="None">
                                            <SelectedItemStyle font-bold="True" forecolor="White" backcolor="#669999"></SelectedItemStyle>
                                            <ItemStyle font-size="Small" forecolor="White"></ItemStyle>
                                            <FooterStyle forecolor="#000066" backcolor="White"></FooterStyle>
                                            <HeaderStyle font-bold="True" forecolor="White" backcolor="Black"></HeaderStyle>
                                            <PagerStyle horizontalalign="Center" forecolor="#000066" backcolor="White" mode="NumericPages"></PagerStyle>
                                            <Fields>
                                                <wmx:ButtonField Text="X" ButtonType="PushButton" HeaderText="Suppression" CommandName="Delete">
                                                    <ItemStyle horizontalalign="Center"></ItemStyle>
                                                </wmx:ButtonField>
                                                <wmx:EditCommandField ButtonType="PushButton" UpdateText="Valider" HeaderText="Edition" CancelText="Annuler" EditText="Modifier">
                                                    <HeaderStyle horizontalalign="Center"></HeaderStyle>
                                                    <ItemStyle horizontalalign="Center"></ItemStyle>
                                                </wmx:EditCommandField>
                                            </Fields>
                                        </wmx:MxDataGrid>
                                    </h3>
                                </h3>
                            </h3>
                        </td>
                    </tr>
                </tbody>
            </table>
        </h3>
        <h3>
            <asp:Button id="Submit" onclick="Button_Click" runat="server" Width="180px" Height="25px" Text="Ajouter nouvelle ligne"></asp:Button>
        </h3>
    </form>
    <form action="Etape_1.aspx">
        <input style="WIDTH: 180px; HEIGHT: 25px" type="submit" size="25" value="Actualiser Base de donnee" />
    </form>
    <p>
        <hr />
    </p>
    <blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
    <p>
        <table>
            <tbody>
                <tr>
                    <td colspan="2">
                        <p>
                            <asp:HyperLink id="HyperLink1" runat="server" Font-Bold="True" BackColor="Transparent" Font-Names="Arial" NavigateUrl="amdec.aspx" Font-Size="Large" ForeColor="Red"><<==</asp:HyperLink>&nbsp;
       
                            </asp:HyperLink></p>
                    </td>
                    <td>
                        <p>
                            &nbsp;<asp:HyperLink id="HyperLink2" runat="server" Font-Bold="True" BackColor="Transparent" Font-Names="Arial" NavigateUrl="Etape_2.aspx" Font-Size="Large" ForeColor="Red">==>></asp:HyperLink>
                        </p>
                    </td>
                </tr>
            </tbody>
        </table>
    </p>
    </blockquote>
</body>
</html>



Cette discussion est classée dans : erreur, system, nbsp, pjs7ozs, o0awpha8bdxizwfkzxjuzxh0o0rhdgfgawvszdttb3j0rxhwcmvzc2lvbjtszwfkt25sets


Répondre à ce message

Sujets en rapport avec ce message

Pb modification d'une image a la volée [ par KPTNB ] Bon voila, j'ai un léger souci.Je veux modifier une image dans la méthode Page_Load avec le code suivant : System.Drawing.Image image = System.Drawing Message d'erreur lors de l'exécution d'une page aspx [ par inforock ] Bonjour tout le monde,Je crée des pages aspx avec Visual Studio 2005 Béta 2. Ces pages utilisent les objets "menus", "calendar", "accessdatasource". L PostBack Problème !! [ par Fildomen ] Saluuutt !! je veux que quand qlq1 upload un fichier plus que le maxlengthrequest !! qu'il revienne a la page de l'upload pour lui afficher un mesage re pb de codage dans une page ASP [ par leclone59 ] g corriger une erreur et une autre est apparuepouvez vous envore m'aider a ce sujetmercivoici le codage de la page asp : Le Clone --> Les boitiers</ti sans doute un pb de connexion a ne base de donnees avec ASP [ par leclone59 ] g corriger une erreur et une autre est apparuepouvez vous envore m'aider a ce sujetmercivoici le codage de la page asp : Le Clone --> Les boitiers</ti [.NET 1.1] Pdfcreator -> erreur acces [ par Agoye ] Bonjour,Je souhaite utiliser PDFCreator dans une application web 1.1 mais j'ai une erreur sur le New PDFCreator.clsPDFCreatorMon code :Private WithEve System.__ ComObject [ par Zelap ] Bonjour à tous, je tente de remplir un object select avec un recordset, lorsque je lance mon appli le select est bien rempli avec le bon nombre de lig Erreur du serveur dans l'application '/' + Echec du chargement de l'état. [ par khayour ] bonjour,j'ai une application web pour la gestion du personnel, elle a été developpée par des stagiaires qui étaient là avant moi.le probléme et que lo Erreur: is not allowed here because it does not extend class 'System.Web.UI.Page'. [ par PascalCmoa ] Bonjour à tous,Etant un débutant en développement ASP.Net, je viens faire appel à vos lumières.Mon problème est que j'obtiens cette erreur: 'ImprimeRe Erreur sur le site : ScriptResource.axd [ par scottmat ] Bonjour,Sur un site j'ai placer dans le fichier Global.asax en envoi d'email quand le site rencontre un beug ! fonction très pratique que j'ai trouver


Nos sponsors


Sondage...

CalendriCode

Mai 2012
LMMJVSD
 123456
78910111213
14151617181920
21222324252627
28293031   

Consulter la suite du CalendriCode

A découvrir



 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 0,733 sec (4)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales