logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
mohammedsaad  
#1 Posted : Tuesday, February 7, 2017 11:50:55 AM(UTC)
mohammedsaad

Rank: Newbie

Groups: Registered
Joined: 1/2/2017(UTC)
Posts: 4
Man
Egypt

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
epf  
#2 Posted : Tuesday, February 7, 2017 3:17:24 PM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

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.
mohammedsaad  
#3 Posted : Tuesday, February 7, 2017 3:28:03 PM(UTC)
mohammedsaad

Rank: Newbie

Groups: Registered
Joined: 1/2/2017(UTC)
Posts: 4
Man
Egypt

no it's not the user i think it's different version from the report seal model and the version on my asp pro
Users browsing this topic
Guest
Similar Topics
SQL Error 42000 - Microsoft SQL SERVER (General Discussions/Other)
by Androoda50 12/9/2022 10:13:09 AM(UTC)
how do you disable the display of error details? (General Discussions/Other)
by Androoda50 12/5/2022 6:59:57 AM(UTC)
ILogger Error when trying to push to Azure (Installation)
by scott9677 12/2/2022 8:57:16 PM(UTC)
Session any more error (General Discussions/Other)
by Hemleen 11/3/2022 8:13:57 AM(UTC)
Seal report Login Authentication Fail Error... (Bug Reports)
by balums 10/20/2022 1:28:13 PM(UTC)
Not able to publish seal report in azure - 500.30 error (Reports)
by Srividhya 10/20/2022 4:59:36 AM(UTC)
Error processing output 'output (Email Device)' (Reports)
by lester 10/4/2022 5:29:50 AM(UTC)
Web server error 404.0 (Installation)
by Androoda50 9/10/2022 10:30:29 AM(UTC)
Sql Error - Microsoft sql server (Reports)
by manjot.singh 9/2/2022 7:58:07 AM(UTC)
Azure appservice 500.30 (0xe0434352) Error on Seal reports deployment (Installation)
by Jeff 3/25/2022 3:18:33 AM(UTC)
How to fix Schedule error "Object reference not set to an instance of an object" (Advanced Tricks and Tips)
by laskamano 1/19/2022 8:45:39 AM(UTC)
Error creating sub-Report (Data Source Creation)
by sukumari 10/25/2021 12:18:34 PM(UTC)
Error on Ubuntu server when launching server (Installation)
by Nounours 6/17/2021 9:18:21 AM(UTC)
Error Browsing to Web Site After Upgrade to 6.1 (Installation)
by Ott 4/27/2021 3:33:55 PM(UTC)
Publish Report Error (Installation)
by Ohiostater 3/15/2021 7:17:05 PM(UTC)
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.