logo
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: 923
Switzerland

Thanks: 14 times
Was thanked: 154 time(s) in 148 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
Similar Topics
HTTP Error 500.19 - Internal Server Error (Installation)
by cyracks 6/5/2020 11:40:41 PM(UTC)
Seal Security Editor - How to fix error Invalid authorization specification? (General Discussions/Other)
by DinhDieu 4/1/2020 8:50:39 AM(UTC)
Error creating a new subreport (Data Source Creation)
by DinhDieu 3/19/2020 8:22:42 AM(UTC)
Error when executing report : login failed for user xxx (Bug Reports)
by CPBOURG 2/20/2020 3:37:48 PM(UTC)
Script Errors (Installation)
by thsobota 12/9/2019 1:20:13 PM(UTC)
SQL syntax correct but still error 'the column Quantity was specified multiple times...' (Reports)
by Tom Van Overbeke 11/5/2019 4:17:12 PM(UTC)
Error in report when executing from seal web server (Bug Reports)
by j.torres@tewis.com 5/21/2019 11:13:47 AM(UTC)
Error in Excel Conversion (Reports)
by netpacket 5/8/2019 6:36:10 AM(UTC)
Error with Datetime reestriction (Bug Reports)
by j.torres@tewis.com 4/26/2019 11:48:08 AM(UTC)
SQL SERVER SELECT ERROR (Reports)
by skelbone 4/25/2019 3:24:06 PM(UTC)
Seal Report 4.1 Web Install - Newtonsoft Error (Installation)
by scott9677 12/5/2018 9:33:49 PM(UTC)
Getting system.outofmemory Error When Running Report (General Discussions/Other)
by smccarthy945 8/24/2018 7:07:29 PM(UTC)
"Is required" property gives error (General Discussions/Other)
by Tabssum Mulani 6/20/2018 10:24:18 AM(UTC)
Class not registered error (Installation)
by rgetting 5/7/2018 3:23:11 AM(UTC)
SQL Error - MySQL (Reports)
by JoPitts 1/7/2018 8:42:06 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.