Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all 10032 articles
Browse latest View live

.NET interop failing in combination with AllowPartiallyTrustedCallers

$
0
0
Hello everyone,

we have been using RazorEngine for html document templating successfully from within 2009 and 2015.
We are currently upgrading to 2016 and interop doesn't seem to work anymore because of security reasons.

Please excuse I can only provide the error thrown in German.
Microsoft Dynamics NAV
---------------------------

Fehler bei einem Aufruf von TemplateEngine.TemplateEngine.Render mit folgender Meldung: Fehler beim Versuch der SecurityTransparent-Methode "RazorEngine.Engine.get_IsolatedRazor()", auf die sicherheitskritische Methode "RazorEngine.Templating.IsolatedRazorEngineService.Create()" zuzugreifen.

Die Assembly "RazorEngine, Version=3.7.7.0, Culture=neutral, PublicKeyToken=9ee697374c7e744a" ist mit "AllowPartiallyTrustedCallersAttribute" markiert und verwendet das Sicherheitstransparenzmodell der Stufe 2. Bei Festlegung der Transparenz auf Stufe 2 werden alle Methoden in AllowPartiallyTrustedCallers-Assemblys standardmäßig sicherheitstransparent, was die Ursache der Ausnahme sein kann.
---------------------------
OK
---------------------------

After investigation I found out that RazorEngine uses AllowPartiallyTrustedCallersAttribute (see Isolation API), which doesn't seem to play nicely with 2016.
// We have to load Razor with full trust (so all methods are SecurityCritical)
// This is because we apply AllowPartiallyTrustedCallers to RazorEngine, because
// We need the untrusted (transparent) code to be able to inherit TemplateBase.

I want to avoid forking the project and rewriting the relevant parts, which might actually be impossible to do.

Is this a known problem and can anyone provide a solution?

Can anyone help with installing NAV 2015 RTC on a user's PC?

$
0
0
Hi,

I've installed the RTC no issues for plenty of users in the past, however I can't seem to figure this one out. Whenever I go to install the RTC on the user's PC, this error appears:
<img src="http://cd8ba0b44a15c10065fd-24461f391e20b7336331d5789078af53.r23.cf1.rackcdn.com/vadysoft-mibuso.vanillaforums.com/FileUpload/e5/1d7be032c3d26c608be400cb9d007a.png" />

I have obviously installed Visual C++ Re distributable:
<img src="http://cd8ba0b44a15c10065fd-24461f391e20b7336331d5789078af53.r23.cf1.rackcdn.com/vadysoft-mibuso.vanillaforums.com/FileUpload/04/cd4445384fb0d72d620d8ee5db09ab.png" />

I am currently running Windows 10 x64 and have had no issues on many other user's PC's here in the office.

Thanks.

Error using table 370 Excel Buffer for import data

$
0
0
Hi,

I'm on NAV 2015 8.0.40262.0 (HF5).
I'm getting the following error:

Microsoft Dynamics NAV


A call to Microsoft.Dynamics.Nav.OpenXml.Spreadsheet.WorkbookReader.Open failed with this message: C:\Data.xlsx
OK

Last month it worked fine. Perhaps an Office 365 update messed it up?

Seems it's a returning error. Saw in NAV 2013 R2 there it was bug then.

Anybody any idea how to fix it?
Or can only Microsoft deliver the solution?

Thanks in advance!

How to use internal "Lync" dial function on segment dial number

$
0
0
Hi,

sind NAV2009 we have the new Lync/Dial icon besides phone number if we set the ExtendedProprty to Phone Number.
This works great in our environment and dials directly via out swyx IP phones.
When I use the the dial phone number wizard the system tries to dial by codeunit 5053 TAPIManagement.
Unfortunatly in these situations the windows internal dialer.exe pops up and does not dial the number.

Does anybody know the difference of both "ways" and how to use the lync dial functionality that works from contact card?

Thanks in advance!

NAV 2015 Cumulative Update 16 (Build 44973) Change Paper Size Orientation Printer

$
0
0
Dear all,

After I applied Cumulative Update 16 (Build 44973), my printer preferences show orientation that is same in report layout.
So, if I use paper size 22 cm x 14 cm (width 22 cm and height 14 cm) in my report layout, the report properties assume orientation as landscape. When print this report, the result is also landscape. What I want is portrait. I mean I want to print the report in 1/2 paper size.

When I use Cumulative Update 13 (Build 44973), my printer preferences show orientation portrait although I use paper size 22 cm x 14 cm in my report.

What should I do? Please help.


CellDecorator - any way to use a "None" - i.e. preserve formatting done in Excel already

$
0
0
Table 370 - gets the CellDecorator based on properties set around bold / underline etc..

Is there any way to ignore this... i.e... leave the cell decorated like it is ?

If not.. will rather write the sheet with openxml...

Have tried a default Decorator.. but the WriteSheet fails.

Decorator := Decorator.CellDecorator();

Any thoughts ?

Error when Open files from Domain User Account in Dynamics Navision 2015

$
0
0
We have installed Dynamics Navision 2015 on Server.

Domain user account are connected to server with roletailored Client from their computer on Domain.

If we try to open local files from local computers, navision olways try to open file from server and give an error: "File was not found".



How to setup Navision to open file from local computer not from server.

Error when we try to read Excel file with OpenXML variable or with Excel buffer. NAVISION 2015

$
0
0
We have a problem to open files from users client.

When we try to open Excel file with OpenXml dotnet variable, we get an error: A call to Microsoft.Dynamics.NAV.OpenXml.Spreadsheet.WorkbookReader.Open failed with this message: "C:\Test.xlsx"

Same problem we have when we try to open text files or xml file, we get an error that file cant't open.

We have installed navision service on Server, users are connected from theirs computer to server with Roletailored client.

What would cause a Search Description to work for one user, but not another?

$
0
0
When creating a Sales Order, in the subform the user is able to enter the Item No. or the Item Search Description into the No. field and the system will validate either for the Sales Line. This works for one user, but not for another. They are both setup the same in NAV, as SUPER users and have the same Profile set under User Personalization. What would cause this?
Thanks in advance!

[NAV2016] Run object from development envirnoment not reusing opened RTC client anymore in Update 5?

$
0
0
I just installed NAV 2016 CU5 (build 45243) and now when I run an object directly from the development environment it no longer opens in an RTC client connected to the same instance, but is always starting up a new RTC client, which is rather annoying when doing development.

Did anyone else notice a similar problem?

Here are the fact as I know them:
1. I have multiple NAV installations, 2009/6.0, 2013/7.0, 2013R2/7.1, 2015/8.0 and 2016/9.0 on the computer (Win8.1) and all were working ok last week.
2. Running a Page from NAV 2016 dev. env. was opening in current RTC client while I had 2016 CU2 installed (build 43897)
3. Running a Page from NAV 2016 CU5 dev. env. is not opening in currently opened RTC client anymore
4. Running a Page from NAV 2015 dev. env. (CU12 build 42951) is also not opening in currently opened RTC client anymore (but was working last week)
5. Running a Page from dev. env. is still working as expected from NAV 2013/2013R2 (both are much older builds)

Can someone please confirm if this is still working for them with their installation of NAV 2016 with cumulative update 3 or greater?

Error message: Request failed.. Control Addin

$
0
0

I need to know if anyone has had the following problem, I have developed an addin that want to use a dll AForge.Video.dll and AForge.Video.DirectShow.dll, but when using these dll and load the addin on a page It shows me the following error:

ni3urbs5gpbq.png


. "An Error occurred When initializing the Control add-in Error message: Request failed .."

If I remove any code that references these dll addin works correctly.

Any idea what's going on?

Minimum stock for locations in NAV 2013

$
0
0
We are starting using minimum stock/Reorder point for our different locations, so that we can fill them up seperately. (And not just use the field in item card)

Can anyone help how to create these reorder points easily? We known that you can do it locations by locations when you are in the "Stockkeeping unit list" and choose "Edit" on each line.

There have to be an easier way, right???

Thank you :-)

Dot Net error?

$
0
0
Does anyone know what this error means? And why I am getting it on an unmodified version of NAV2016 GB when trying to import an excel file into the Rapid Start Configuration Package?

Even more important, how do I solve it?

Thanks!

How does one set a Default Filter Column in for a LookUp programmatically?

$
0
0
I have been doing some research into an issue. The client has customized their Item No. LookUp to open the Item List page, instead of using the built-in drop down menu. Because of this the user's cannot select the Search Description to be their default lookup column. I found out that this information is stored in the Page Data Personalization table. I tried to make a copy of the line that has this set for one of the users and update the User SIS and USER ID to a new user, but I get validation errors. I don't know what the BLOB is for the Value field. How can this be achieved? Maybe a processing report?

PhoneClient NAV 2016 and Timesheets

$
0
0
Hi,

We have configured Phone Client for users to use the timesheet functionality.
But when users use a mobile device they get a message that the task can't be executed on the current device.


Does anyone have experience with this issue?

User Metadata."Page Metadata Delta"

$
0
0
There is a blob field in the User Metadata table called "Page Metadata Delta" that is a blob datatype. Most user personalization (moving columns, hide/show etc...) is stored in here as xml. I was wondering if anyone new how to map the guid's ({47F878F7-1EB4-4B40-A6D5-55E87F26029B} for example) to the actual controls/fields that are being referenced? Here is a sample of the xml for some personalization I did on page 20 General Ledger Entries:

<?xml version="1.0"?>
<delta xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<changes>
<order id="{17F878F7-1EB4-4B40-A6D5-55E87F26029B}" sequence="{47F878F7-1EB4-4B40-A6D5-55E87F26029B}; {00000014-0000-0039-0008-0000836BD2D2}; {00000014-0000-0030-0008-0000836BD2D2}; 205eb6cb-6b7a-4f2d-b2e5-748d3b3bca7f; {87F878F7-1EB4-4B40-A6D5-55E87F26029B}; {97F878F7-1EB4-4B40-A6D5-55E87F26029B}; {CDBA910D-E283-4A38-AD03-C9D42763C3CE}; {27F878F7-1EB4-4B40-A6D5-55E87F26029B}; {37F878F7-1EB4-4B40-A6D5-55E87F26029B}; {57F878F7-1EB4-4B40-A6D5-55E87F26029B}; {67F878F7-1EB4-4B40-A6D5-55E87F26029B}; {77F878F7-0003-4B40-A6D5-55E87F26029B}; {77F878F7-0004-4B40-A6D5-55E87F26029B}; {77F878F7-0005-4B40-A6D5-55E87F26029B}; {77F878F7-0006-4B40-A6D5-55E87F26029B}; {77F878F7-0007-4B40-A6D5-55E87F26029B}; {77F878F7-0008-4B40-A6D5-55E87F26029B}; {77F878F7-0009-4B40-A6D5-55E87F26029B}" />
<order id="{97F878F7-1EB4-4B40-A6D5-55E87F26029B}" sequence="{3964E29E-BD34-4f2b-B7E5-3B3749ED8B92}; {EA0CB2A3-D17D-4148-BAC7-5D76DDA797F3}; {8AF9CED3-EAE5-4735-88A4-B2E24CF29384}" />
<order id="{dcaf515a-205a-4113-b2e4-37ecffeb7ee1}" sequence="{00000014-0000-0018-0008-0000836BD2D2}; {00000014-0000-000B-0008-0000836BD2D2}; {a4a26640-eb10-41aa-894d-ce8778650cde}; {bbc4c78a-4e7b-45eb-a018-42c1f3788c84}; {7CD09CCE-5C58-409e-A79B-05ED9416E806}; {1AF878F7-1EB4-4B40-A6D5-55E87F26029B}" />
<update id="d2371308-c54a-4221-a23a-a5ba38313c6e" uri="" name="Caption" value="" />
<update id="{8AF9CED3-EAE5-4735-88A4-B2E24CF29384}" uri="" name="Visible" value="False" />
<update id="{27F878F7-1EB4-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{57F878F7-1EB4-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{67F878F7-1EB4-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0003-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0004-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0005-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0006-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0007-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0008-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{77F878F7-0009-4B40-A6D5-55E87F26029B}" uri="" name="Visible" value="False" />
<update id="{a4a26640-eb10-41aa-894d-ce8778650cde}" uri="" name="Caption" value="General Ledger Entries" />
<update id="{9e511277-3955-4b4c-8ebd-e34570808bf7}" uri="" name="Visible" value="False" />
<update id="{0ccf4a6a-de68-44e2-812f-928774f5ba1e}" uri="" name="Visible" value="False" />
<update id="{00000014-0000-0001-0008-0000836BD2D2}" uri="" name="FreezeColumnID" value="-1" />
<update id="{00000014-7198-B453-0008-0000836BD2D2}" uri="" name="Visible" value="1" />
</changes>
</delta>

Using 'Incoming Documents' functionality NAV 2016 and Permissions

$
0
0
Hi,
When user tries to create a new incoming document using the 'Create from File' option it only works if user has been assigned 'SUPER' permission.
If user doesn't have SUPER permission, then the insert file page opens but no record is created in NAV.
No 'permission' error is displayed.
I have tried adding the 'system' permissions for 1310, 1320, 1330 and 1340 to the 'BASIC' profile, but this doesn't make a difference.

Does anyone how to get this working for non-SUPER users?

Thanks,
Ben

NAV 2016 upgrade error during Data Upgrade step

$
0
0
Hi all,

I'm upgrading a database from 2009->2016. In the last step (going from 2015->2016) I am running the "Data Upgrade" step.

I'm getting the following error:
SessionId : 0
CodeunitId : 104050
FunctionName : CheckPreconditions
CompanyName : <Companyname>
StartTime :
Duration :
State : Failed
Error : There is no Active Session within the filter.

Filters: Server Instance ID: 1024, Session ID: 74

Any ideas?

Ron

Specify a property depending of another value

$
0
0
Hello
Please in a report layout (RDLC) how to specify the left property (in the location) depending of a field value or a textbo value or a variable
or if possible i seardh a solution to specify a left property dynamically
thank you very much

Nav 2016 Home Ribbon tab on Role Center not showing.

$
0
0
Hi all,
I've realized that on 2016 RTC client the "Home" ribbon tab on Role Center pages does not exists and I couldn't find a way to make it visible. Used to be visible in previous versions when promoting actions (from dev environment), but now is not. So far I couldn't find anything. I'd appreciate any help.

Thanks in advance,
Pavlos
Viewing all 10032 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>