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
emre  
#1 Posted : Friday, September 4, 2015 7:28:22 AM(UTC)
emre

Rank: Newbie

Groups: Registered
Joined: 9/4/2015(UTC)
Posts: 2
Turkey
Location: Istanbul

Hi Guys,

I am a newbie to Seal Reports. I download and installed it a few days ago, created Oracle data sources, designed a report and I can succesfully execute it. Then, I published Seal into IIS. I can browse the home page without any problem but whenever I click any report, browser gives me "Got Unexpected Exception -> Invalid URL" error.

I checked IIS settings, inetpub and program data directories. However I couldn't find any solution.

Do you guys have any idea why this is happening?

Thanks
epf  
#2 Posted : Friday, September 4, 2015 7:37:13 AM(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)
Hi, no real idea of what is going on...

Did you check with other browsers ?
Did you check if you have any JavaScript errors (F12 to get the console in your browser if IE or Chrome) ?
Check also in the Event Viewer if you have any additional info...


emre  
#3 Posted : Sunday, September 6, 2015 4:04:34 PM(UTC)
emre

Rank: Newbie

Groups: Registered
Joined: 9/4/2015(UTC)
Posts: 2
Turkey
Location: Istanbul

Originally Posted by: epf Go to Quoted Post
Hi, no real idea of what is going on...

Did you check with other browsers ?
Did you check if you have any JavaScript errors (F12 to get the console in your browser if IE or Chrome) ?
Check also in the Event Viewer if you have any additional info...


Hi,
Thank you for your quick reply!

It wasn't related with browser settings. I cloned the source code from GitHub and found the problem. In HomeController.cs there is a code part like below.

int index = Request.Url.OriginalString.ToLower().IndexOf("initexecutereport");
if (index == -1) throw new Exception("Invalid URL");

Our server has regional settings saved for Turkey and hence for Turkish language, so http://<HostName>/InitExecuteReport?path=%5c<ReportName>.srex lowered to ınitexecutereport. Since it is not matched, it gives Invalid URL exception.

Are you going to fix it? Or do you have any recommendation for me to do?
epf  
#4 Posted : Monday, September 7, 2015 7:09:15 AM(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)
Thank you for finding the issue, however I do not understand the problem:
"InitExecuteReport".ToLower() will not give "initexecutereport" in Turkish ?
Can you check with the debugger and propose a fix ?

Edited by user Monday, September 7, 2015 7:43:20 AM(UTC)  | Reason: Not specified

Users browsing this topic
Guest
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.