Report Problem

BraiN
Member Posts: 13
Hi, i'm having some problems showing reports in the ep.
I had added a Action to the Table using this parameters:
Show Report » Current » SHOWREPORT » 122 » 206
Table 122 = Purch. Inv. Header
Report 206 = Sales-Invoice
I had added the new code to the Codeunit 6828 ( EP Report Mgt. ).
When i click on the "link" to get the report it just opens a ie window with a error saying that the page is not avaible. I had tryied to track the xml messages that the nas returns to nav from sharepoint and i dont get any response when i click the link. Has this happen to anyone before?
Best regards,
Rafael Fontes
I had added a Action to the Table using this parameters:
Show Report » Current » SHOWREPORT » 122 » 206
Table 122 = Purch. Inv. Header
Report 206 = Sales-Invoice
I had added the new code to the Codeunit 6828 ( EP Report Mgt. ).
When i click on the "link" to get the report it just opens a ie window with a error saying that the page is not avaible. I had tryied to track the xml messages that the nas returns to nav from sharepoint and i dont get any response when i click the link. Has this happen to anyone before?
Best regards,
Rafael Fontes
0
Comments
-
Hi,
sorry but correct me if i am wrong, but if you want to print the purchase invoice report (do not know the id currently), this report must be based on table 122, if you want to print the sales invoice report (206), you have to set the table 112 - Sales Invoice Header (not 122).
HTH,
Rainer0 -
Yes your are right. I had the table 112 defined... :P i just wrote 122 by mistake.
I solve the problem be reading your post:
http://mibuso.com/forum/viewtopic.php?t=8887&highlight=report+problem&sid=93c34e71fea3990745a26859f8c562c0
But now have a weird problem....
Parser Error Message: File or assembly name Microsoft.Navision.EmployeePortal.UserControlLibrary, or one of its dependencies, was not found.
i got the dll where it should be, i have tryied to give the full path to the dll file and got the same problem :X0 -
Hi,
please provide a little bit more information about your installation:
- Which NAV version?
- Which EP version?
- Which WSS version / MOSS / SPS?
Thanks.
KR
Rainer0 -
Versions:
- Nav 4.0 SP3
- EP 4.0 SP3
- WSS 2003
- Microsoft .NET Framework Version:1.1.4322.2300
- ASP.NET Version:1.1.4322.2300
This is weird... i have checked the lines from report.aspx and its equal to some that i saw in the forum.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: File or assembly name Microsoft.Navision.EmployeePortal.UserControlLibrary, or one of its dependencies, was not found.
Source Error:
[No relevant source lines]
Source File: report.aspx Line: 1
Report.aspx:<%@ Register TagPrefix="cc" Namespace="Microsoft.Navision.EmployeePortal.CustomControlLibrary" Assembly="Microsoft.Navision.EmployeePortal.UserControlLibrary" %> <%@ Page language="c#" Codebehind="Report.aspx.cs" AutoEventWireup="false" Inherits="Microsoft.Navision.EmployeePortal.UserControlLibrary.ReportPage" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <HTML> <HEAD> <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1"> <meta name="CODE_LANGUAGE" Content="C#"> <meta name="vs_defaultClientScript" content="JavaScript"> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> <link rel="stylesheet" type="text/css" href="/_layouts/1033/styles/ows.css"> <script language="javascript"> window.focus(); </script> </HEAD> <body class="ms-WPBody"> <form id="Form1" method="post" runat="server"> <cc:Report runat="server" id="report" /> <asp:Label id="label1" runat="server" /> </form> </body> </HTML>
0 -
Hi,
can you check the web.config and see what trust level your site is using?
Can you verify, that the folder "UserControls" is an Excluded Path in SharePoint?
HTH,
Rainer0 -
<trustLevel name="WSS_Medium" policyFile="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\config\wss_mediumtrust.config" /> <trustLevel name="WSS_Minimal" policyFile="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\config\wss_minimaltrust.config" /> <trustLevel name="WSS_NEP_Minimal" policyFile="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Config\wss_NEP_minimaltrust.config" />
The UserControls is a excluded path.0 -
Hi,
can you please send a list of all files in the bin folder of the website?
KR,
Rainer0 -
Microsoft.Navision.EmployeePortal.Communication.dll
Microsoft.Navision.EmployeePortal.Connector.dll
Microsoft.Navision.EmployeePortal.DataStorage.dll
Microsoft.Navision.EmployeePortal.dll
Microsoft.Navision.EmployeePortal.ErrorLibrary.dll
Microsoft.Navision.EmployeePortal.UserControlLibrary.dll
The file is there in the Bin.
Best Regards.0 -
Well, i solved the previous problem, by copying the Bin folder with all files inside to the directory UserControls. For some reason IIS wasnt getting to the directory in the root of the homepage.
Now i have another error.
Unable to initialize data storage. Please close this window and reload the Web Page. (10035)
This is getting tricky :X
Best regards,
Rafael Fontes0 -
Hi,
this indicates that the enableSession is not set to true.
Please inspect the web.config file. There is one entry in the PAGES node (i think, sorry i have currently no EP portal at hand) the enableSessionState must be set to true as well as a node which is normally commented named SessionState - not 100% sure, search for session in the web.config, there should be not that many entries.
HTH,
Rainer0 -
Hi, i have checked the web.config. The session was already set to true :X
<httpModules> <clear /> <add name="OutputCache" type="System.Web.Caching.OutputCacheModule" /> <add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" /> [b]<add name="Session" type="System.Web.SessionState.SessionStateModule" />[/b] </httpModules> <globalization fileEncoding="utf-8" /> <compilation batch="false" debug="false" /> <pages [b]enableSessionState="true"[/b] enableViewState="true" enableViewStateMac="true" validateRequest="true" />
Still getting the same problem :x0 -
Hi,
this sounds really like a weird problem.
Can you do two other tests?
The "normal" EP web parts are working?
Can you create a second portal and try the configuration there as well?
From my point of view something really strange happens with either your IIS and/or with that web site (because the BIN folder is accessible anywhere in a site).
KR
Rainer0 -
Yes the other web parts works fine.
This is getting quiet weird :X
I will try that.
Thanks0 -
I got the weekend to do more trys to fix this problem. But the result is still the same.
I had made another Page and start the config from scratch. Still getting the same problem.
If someone else gets to this error please tell me something.
Thanks IHateLinux for the help.
Best regards.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions