AXForum  
Go Back   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Forgotten Your Password?
Register Forum Rules FAQ Members List Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 16.01.2014, 19:00   #1  
Blog bot is offline
Blog bot
Участник
 
25,646 / 848 (80) +++++++
Join Date: 28.10.2006
If like me you’ve been tinkering with your Lumia 1020 smartphone and snapping some high-resolution photos over the holidays, you may be wondering whether Microsoft Dynamics NAV 2013 R2 can handle such large photo sizes on the Microsoft Dynamics NAV Web client.

Let's say you want to capture photos of your product catalogue (using the Photo action on the Item card). When uploading large files such as high-resolution photos, Microsoft Dynamics NAV will show the following error:



The file that you are trying to use is too large. Clearly. Whilst Microsoft Dynamics NAV defaults to 4MB uploads on the Web client, you will be pleased to hear it takes just a minor tweak to your IIS configuration to support larger file uploads:
  1. Launch the IIS Configuration Manager (in this example I am using IIS 8 but similar steps apply to earlier versions).
  2. Select the Microsoft Dynamics NAV web site in the left pane and then double-click Request Filtering.
  3. Right-click and select Edit Feature Settings… in the context menu.
  4. Set field Maximum allowed content length to an appropriate value such as 100000000 (in bytes) and click OK.
  5. Now select the Microsoft Dynamics NAV web site in the left pane again and double-click the Configuration Editor.
  6. Make sure that the From field is set to "Microsoft Dynamics NAV 2013 R2 Web Client Web.config"
  7. Set field Section to system.web/httpRuntime
  8. A number of properties should appear. Set maxRequestLength to an appropriate value such as 100000 (this time it is in kilobytes) and click the Apply action on the right.


The new settings should take effect immediately without the need for an IIS or site reset.

Go ahead and try to upload a large file now and BANG! the upload succeeds.

You can read more about the maxRequestLength property here:

http://msdn.microsoft.com/en-us/libr...v=vs.110).aspx

Best regards,

Lukasz Zoglowek and Mike Borg Cardona



Источник: http://feedproxy.google.com/~r/Micro...eb-client.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Рейтинг@Mail.ru
All times are GMT +3. The time now is 09:39.
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Contacts E-mail, Advertising.