Vibrant discussion about CSLA .NET and using the framework to build great business applications.
First of all i must say i am not a CSLA programmer, im a web programmer with the mandate to convert a part of a "winform CSLA 1.0" application to an ASP.NET application using the same core as the winform app (and i should mention i am sorry for the bad english my french sometimes takes over ) . And since we are a small team, i am the one to code the conversion.
the app: This app is quite simple in fact, it takes data from a database and use it in a CRYSTAL report. The problem is that i have to open the crystal report generated PDF in the user screen.
First the context :
At first i had some problems understanding
the Buisness principal error i got then i read ... A LOT then i found
that i had to log in to CSLA with
CSLA.Security.BusinessPrincipal.Login(user, pass) but then another
I cant open the pdf, the pdf is generated in a folder i created but i cant open it for the user so he can save it . I have an error that read like this :
Le type n'est pas résolu pour le membre 'CSLA.Security.BusinessPrincipal,CSLA, Version=1.0.2693.15966, Culture=neutral, PublicKeyToken=null'.
Which can be translated to
The member type cannot be resolve for 'CSLA.Security.BusinessPrincipal,CSLA, Version=1.0.2693.15966, Culture=neutral, PublicKeyToken=null'.
What can be the problem? In fcat i am mostly sure that its related to the buisness principal and the system principal. But how can i resolve the issue that i dont know. Is there a way to kill the buisness principal object or replace it by the system principal ( here i am only theorizing) .
Anyway thatnks for all the answers im really stuck here ... lol
Yes, Cassinni is a problem. It does not support custom .NET principal types.
You should use IIS Express or full IIS.
can it be caused by the test server i use? (MS test server Cassinni)
You do need to make sure the CSLA assemblies are in the \bin folder of the web site.
The assembleis are in the bin folder of the app
Can this be the bug i just read about coming from Cassinni VS test server
thanks a lot very useful
I cant open the pdf, the pdf is generated in a folder i created but i
cant open it for the user so he can save it . I have an error that read
what is generating you r pdf