Click here to Skip to main content
15,908,166 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: They came back but it was weird Pin
Grapes-R-Fun1-Jan-07 6:35
Grapes-R-Fun1-Jan-07 6:35 
GeneralFull VS and I don't believe I set it as a template Pin
John Strudwick1-Jan-07 6:44
John Strudwick1-Jan-07 6:44 
QuestionProperties in Class Pin
Amit Kumar G30-Dec-06 5:41
Amit Kumar G30-Dec-06 5:41 
AnswerRe: Properties in Class Pin
Colin Angus Mackay30-Dec-06 7:32
Colin Angus Mackay30-Dec-06 7:32 
GeneralRe: Properties in Class Pin
Amit Kumar G31-Dec-06 2:58
Amit Kumar G31-Dec-06 2:58 
QuestionHow to implement Transparency to ASP.NET Menu Control? Pin
RameshKrishnan.NET30-Dec-06 5:33
RameshKrishnan.NET30-Dec-06 5:33 
AnswerRe: How to implement Transparency to ASP.NET Menu Control? Pin
Paszt3-Jan-07 9:16
Paszt3-Jan-07 9:16 
QuestionCrystal report or how to getting nuts with the Logon Failed error Pin
sybux200029-Dec-06 23:21
sybux200029-Dec-06 23:21 
Hi,

I've written a vb.net and asp.net application which is using Crystal Report for output. The application was working fine.

I now need to update it a little. So I've reinstalled Visual Studio.net 2003 on my computer and launch my old solution.

I can run it and debug it as well, but everytime I want to run a report, I got the "#@#@ error message : CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.

I've read many lines on internet explaining how to specifiy login user and password for SQL Server but I'm reading information for an access Database and parsing them to a dataset and then send the dataset to the report.

Here is my code :

<br />
   mDS = New dsDecompte<br />
   mStrSQL = "SELECT *, round(dfd_dedchange * dfd_prixachat;2) as DFD_PrixAchatEuro FROM vDecompte WHERE DFH_ID = " & CType(Session("ObjDevis"), Negoce.DevisFacHeader).devisID<br />
   mDS = CType(Session("cobjConn"), Negoce.DataAccess).SelectBDD(mStrSQL, "vDecompte", mDS)<br />
<br />
   myReport = New RPT_Decompte<br />
   myReport.SetDataSource(mDS)<br />
   myReport.ExportOptions.ExportDestinationType = CrystalDecisions.[Shared].ExportDestinationType.DiskFile<br />
   myReport.ExportOptions.ExportFormatType = CrystalDecisions.[Shared].ExportFormatType.PortableDocFormat<br />
   DiskOpts.DiskFileName = "c:\negoce\decompte.pdf"<br />
   myReport.ExportOptions.DestinationOptions = DiskOpts<br />
   myReport.Export()<br />


I really don't know why it doesn't want to work as it was working before.
I would really appreciate as help as possible.

Thx
Cyril


-- modified at 5:02 Sunday 31st December, 2006
QuestionCDO.Message Pin
vineesh v29-Dec-06 22:54
vineesh v29-Dec-06 22:54 
QuestionAsp.net DataGrid Pin
Member 288983729-Dec-06 21:55
Member 288983729-Dec-06 21:55 
QuestionHow to retrieve HTTP_RAW_POST_DATA in c# 2.0 Pin
Suman Singh29-Dec-06 19:39
professionalSuman Singh29-Dec-06 19:39 
AnswerRe: How to retrieve HTTP_RAW_POST_DATA in c# 2.0 Pin
DavidNohejl1-Jan-07 22:37
DavidNohejl1-Jan-07 22:37 
GeneralRe: How to retrieve HTTP_RAW_POST_DATA in c# 2.0 Pin
Suman Singh2-Jan-07 0:24
professionalSuman Singh2-Jan-07 0:24 
GeneralRe: How to retrieve HTTP_RAW_POST_DATA in c# 2.0 Pin
DavidNohejl2-Jan-07 1:07
DavidNohejl2-Jan-07 1:07 
QuestionAlternate control for DSO Framer in .net Pin
indian14329-Dec-06 19:19
indian14329-Dec-06 19:19 
QuestionFindout Pin
Sarguna Reddiar29-Dec-06 18:39
Sarguna Reddiar29-Dec-06 18:39 
AnswerRe: Findout Pin
Colin Angus Mackay30-Dec-06 1:04
Colin Angus Mackay30-Dec-06 1:04 
QuestionProblem in Upgrading from .net2003 to .net2005 Pin
pingtian29-Dec-06 13:11
pingtian29-Dec-06 13:11 
AnswerRe: Problem in Upgrading from .net2003 to .net2005 Pin
Colin Angus Mackay30-Dec-06 1:02
Colin Angus Mackay30-Dec-06 1:02 
AnswerRe: Problem in Upgrading from .net2003 to .net2005 Pin
Paszt30-Dec-06 5:33
Paszt30-Dec-06 5:33 
QuestionTextBox's text's lenght! Pin
Rojan Gh.29-Dec-06 12:13
professionalRojan Gh.29-Dec-06 12:13 
AnswerRe: TextBox's text's lenght! Pin
MoeInsairat29-Dec-06 12:21
MoeInsairat29-Dec-06 12:21 
GeneralRe: TextBox's text's lenght! Pin
Rojan Gh.29-Dec-06 12:35
professionalRojan Gh.29-Dec-06 12:35 
GeneralRe: TextBox's text's lenght! Pin
MoeInsairat29-Dec-06 12:38
MoeInsairat29-Dec-06 12:38 
GeneralRe: TextBox's text's lenght! Pin
Rojan Gh.29-Dec-06 12:45
professionalRojan Gh.29-Dec-06 12:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.