Permalink
Browse files

Supprime les references a Crystal Report

  • Loading branch information...
1 parent 49db6ce commit de637d4b711129bfd12e7b3a8339df0951dc55d5 @coylz coylz committed Dec 10, 2012
@@ -22,8 +22,8 @@
</ul>
</div>
<asp:CheckBox runat="server" ID="cbTous" AutoPostBack="true" Text=" Sélectionner tout" CssClass="ckTouscss"/>
- <asp:Button runat="server" ID="btnSauvegarde" Text="Sauvegarder la base de données" CssClass="btnAdminSauv" />
- <asp:Button runat="server" ID="btnObtenir" Text="Obtenir une copie de sauvegarde" CssClass="btnAdminSauv" />
+ <!-- <asp:Button runat="server" ID="btnSauvegarde" Text="Sauvegarder la base de données" CssClass="btnAdminSauv" />
+ <asp:Button runat="server" ID="btnObtenir" Text="Obtenir une copie de sauvegarde" CssClass="btnAdminSauv" /> -->
<br />
<asp:Label ID="lblErreur" runat="server"></asp:Label>
<div id="dMessage">
@@ -162,24 +162,24 @@ Public Class Administration
lblDialogue.Text = ""
End Sub
- Private Sub Sauvegarde() Handles btnSauvegarde.Click
- Dim chemin As String = Server.MapPath("~/sauvegardes/sauvegarde.sql")
-
- If File.Exists(chemin) Then
- File.Delete(chemin)
- End If
-
- Process.Start("c:\\Program Files (x86)\\MySQL\\MySQL Server 5.5\\bin\\mysqldump.exe", "-uroot -ptoor --result-file=""" + chemin + """ --all-databases")
-
- End Sub
-
- Private Sub Obtenir() Handles btnObtenir.Click
- If File.Exists(Server.MapPath("~/sauvegardes/sauvegarde.sql")) Then
- Response.AppendHeader("Content-Disposition", "attachment; filename=hobbycartes_db.sql")
- Response.TransmitFile(Server.MapPath("~/sauvegardes/sauvegarde.sql"))
- Response.End()
- Else
- lblErreur.Text = "Le fichier de sauvegarde n'existe pas. Sauvegarder la base de données avant de pouvoir récupérer le fichier."
- End If
- End Sub
+ 'Private Sub Sauvegarde() Handles btnSauvegarde.Click
+ ' Dim chemin As String = Server.MapPath("~/sauvegardes/sauvegarde.sql")
+
+ ' If File.Exists(chemin) Then
+ ' File.Delete(chemin)
+ ' End If
+
+ ' Process.Start("c:\\Program Files (x86)\\MySQL\\MySQL Server 5.5\\bin\\mysqldump.exe", "-uroot -ptoor --result-file=""" + chemin + """ --all-databases")
+
+ 'End Sub
+
+ 'Private Sub Obtenir() Handles btnObtenir.Click
+ ' If File.Exists(Server.MapPath("~/sauvegardes/sauvegarde.sql")) Then
+ ' Response.AppendHeader("Content-Disposition", "attachment; filename=hobbycartes_db.sql")
+ ' Response.TransmitFile(Server.MapPath("~/sauvegardes/sauvegarde.sql"))
+ ' Response.End()
+ ' Else
+ ' lblErreur.Text = "Le fichier de sauvegarde n'existe pas. Sauvegarder la base de données avant de pouvoir récupérer le fichier."
+ ' End If
+ 'End Sub
End Class
@@ -19,28 +19,15 @@
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
- <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
- <add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
- <add assembly="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
- <add assembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
- <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
- <add assembly="CrystalDecisions.ReportAppServer.DataDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
- <add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
- <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
- <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
- <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
<buildProviders>
- <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</buildProviders>
</compilation>
<pages theme="MainTheme" />
<httpHandlers>
- <add path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
- <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
- validate="false" />
+
</httpHandlers>
</system.web>
<system.serviceModel>
@@ -66,8 +53,6 @@
</system.serviceModel>
<system.webServer>
<handlers>
- <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode" />
- <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>

0 comments on commit de637d4

Please sign in to comment.