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: 836
Switzerland

Thanks: 14 times
Was thanked: 142 time(s) in 136 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
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)
Error after installed seal report 3.0 'NVD3YPrimaryMaxLen' (General Discussions/Other)
by irreddy123 12/1/2016 8:03:36 AM(UTC)
Error in web NVD3YPrimaryMaxLen (Data Source Creation)
by irreddy123 12/1/2016 7:26:29 AM(UTC)
Error while compiling Seal Application in Vs 2013 (Installation)
by Sangamesh 4/25/2016 12:34:48 PM(UTC)
Error publish (Installation)
by washington 12/30/2015 2:41:05 AM(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.