Seal Report Forum
»
Troubleshooting
»
Bug Reports
»
Got Unexpected Exception -> Invalid URL
Rank: Newbie
Groups: Registered
Joined: 9/4/2015(UTC) Posts: 2 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
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 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...
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 9/4/2015(UTC) Posts: 2 Location: Istanbul
|
Originally Posted by: epf 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?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 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
|
|
|
|
Seal Report Forum
»
Troubleshooting
»
Bug Reports
»
Got Unexpected Exception -> Invalid URL
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.