Click here to Skip to main content
15,895,557 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: zip and unzip Pin
Jon Sagara22-Sep-05 2:31
Jon Sagara22-Sep-05 2:31 
Question.NET portability Pin
tom_dx21-Sep-05 10:39
tom_dx21-Sep-05 10:39 
AnswerRe: .NET portability Pin
Christian Graus21-Sep-05 10:43
protectorChristian Graus21-Sep-05 10:43 
GeneralRe: .NET portability Pin
sreejith ss nair21-Sep-05 21:23
sreejith ss nair21-Sep-05 21:23 
GeneralRe: .NET portability Pin
Christian Graus22-Sep-05 12:15
protectorChristian Graus22-Sep-05 12:15 
GeneralRe: .NET portability Pin
Dave Kreskowiak22-Sep-05 14:34
mveDave Kreskowiak22-Sep-05 14:34 
GeneralRe: .NET portability Pin
Christian Graus22-Sep-05 15:45
protectorChristian Graus22-Sep-05 15:45 
QuestionCrystal Reports w/ .NET Remoting Pin
Virgil Hretcanu21-Sep-05 8:20
Virgil Hretcanu21-Sep-05 8:20 
Hi,
I am working on an application that can run both remotly or locally.
The Listener is publishing 3 objects using .NET remoting. The Client has only the UI, all the calls to the database and the reporting are done through the Listener.
The remote computer that hosts the listener is also hosting the Crystal Report, .rpt, files.
The Client has also a Crystal Viewer. When the user clicks on a button, the Client sends the request along with an ID to the Listener that upon the ID provided selects a .rpt file from the server's disk, loads the file into a CrystalDecisions.CrystalReports.Engine.ReportDocument object, sets the parameters to that report (datasource, user/pass) and returns it to the client. The Client receives the object, binds it to the viewer and displays it. At least that is what is supposed to do...

Now if I set my application to run locally, without the listener, but using the same code, same objects, to load the .rpt file, everything works fine. The moment I set it up to work remotly, the system stops at the Load() method (the bold line).
It does not throw me any exception, it just stays there forever Frown | :(


<br />
...<br />
ReportDocument oRptDoc = new ReportDocument();<br />
<br />
string sFullPath = "test.rpt";<br />
<br />
oRptDoc.Load(sFullPath);//here is where it stops<br />
<br />
//pass the logon parameters to the report<br />
CrystalDecisions.Shared.TableLogOnInfo crLogonInfo;<br />
crLogonInfo = oRptDoc.Database.Tables[0].LogOnInfo;<br />
<br />
string sDataBaseName = "my database";<br />
string sServerName = "my server";<br />
string sUser = "my user";<br />
string sPassword = "my password";<br />
<br />
crLogonInfo.ConnectionInfo.ServerName = sServerName;<br />
crLogonInfo.ConnectionInfo.UserID = sUser.ToUpper();<br />
crLogonInfo.ConnectionInfo.Password = sPassword.ToUpper();<br />
crLogonInfo.ConnectionInfo.DatabaseName = sDataBaseName;<br />
<br />
oRptDoc.Database.Tables[0].ApplyLogOnInfo(crLogonInfo);<br />
						<br />
return oRptDoc;<br />
<br />


I hope somebody has any ideea...
Thank you,
Virgil
AnswerRe: Crystal Reports w/ .NET Remoting Pin
sreejith ss nair21-Sep-05 21:50
sreejith ss nair21-Sep-05 21:50 
QuestionPrint the project Pin
gashach21-Sep-05 3:18
gashach21-Sep-05 3:18 
AnswerRe: Print the project Pin
sreejith ss nair21-Sep-05 21:38
sreejith ss nair21-Sep-05 21:38 
Questioncrystal reports (and C#) Pin
T1TAN21-Sep-05 1:52
T1TAN21-Sep-05 1:52 
AnswerRe: crystal reports (and C#) Pin
sreejith ss nair21-Sep-05 21:34
sreejith ss nair21-Sep-05 21:34 
GeneralRe: crystal reports (and C#) Pin
T1TAN22-Sep-05 3:45
T1TAN22-Sep-05 3:45 
QuestionInterOp C++ library Pin
Rutger Stoots21-Sep-05 0:05
Rutger Stoots21-Sep-05 0:05 
AnswerRe: InterOp C++ library Pin
Christian Graus21-Sep-05 10:45
protectorChristian Graus21-Sep-05 10:45 
Questionenconding style ERROR Pin
Campaniço20-Sep-05 23:45
Campaniço20-Sep-05 23:45 
QuestionBoost .NET Application Performance Pin
Anonymous20-Sep-05 20:11
Anonymous20-Sep-05 20:11 
AnswerRe: Boost .NET Application Performance Pin
Colin Angus Mackay21-Sep-05 7:08
Colin Angus Mackay21-Sep-05 7:08 
AnswerRe: Boost .NET Application Performance Pin
Christian Graus21-Sep-05 10:46
protectorChristian Graus21-Sep-05 10:46 
QuestionSIP Client using C# Pin
GoTech20-Sep-05 7:04
GoTech20-Sep-05 7:04 
AnswerRe: SIP Client using C# Pin
Dario Solera20-Sep-05 8:39
Dario Solera20-Sep-05 8:39 
GeneralRe: SIP Client using C# Pin
Anonymous20-Sep-05 8:42
Anonymous20-Sep-05 8:42 
GeneralRe: SIP Client using C# Pin
Dario Solera20-Sep-05 9:03
Dario Solera20-Sep-05 9:03 
GeneralRe: SIP Client using C# Pin
enjoycrack20-Sep-05 17:28
enjoycrack20-Sep-05 17:28 

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.