Rank: Newbie
Groups: Registered
Joined: 1/2/2017(UTC) Posts: 4
|
i'm using the code
Repository repository = Repository.Create(); Report report = Report.LoadFromFile(@"F:\NewReport.srex", repository); ReportExecution execution = new ReportExecution() { Report = report }; execution.Execute(); while (report.Status != ReportStatus.Executed) System.Threading.Thread.Sleep(100); string result = execution.GenerateHTMLResult(); Process.Start(result);
to add report to asp page but it gives me error
Unable to read the file 'F:\NewReport.srex'. There was an error reflecting type 'Seal.Model.Report'.
help please
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
probably it is because the windows user used for you IIS Web site does not know F:\ or has no right to access this path... check your rights (test first on c:\temp to see if it is the problem). good luck.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 1/2/2017(UTC) Posts: 4
|
no it's not the user i think it's different version from the report seal model and the version on my asp pro
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.