• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

[email protected]
#1 Posted : Friday, September 5, 2008 11:03:06 AM(UTC)
chandler@olio2go.com

Rank: Member

Joined: 1/17/2007(UTC)
Posts: 69

for this parameter "Inventory Low Report Line Prefix:", adding this text


<br>



and then saving the change causes a server error.



Is this true of everyone or just me?



What I'm trying to do is format the report so that I get a LF/CR after each inventory item that is low on stock.
bvcoder
#2 Posted : Friday, September 5, 2008 3:09:03 PM(UTC)
bvcoder

Rank: Member

Joined: 8/1/2007(UTC)
Posts: 310

Yes. You are right. It happens because in ASP.Net request validation is enabled by default. For further information, please refer to: http://msdn.microsoft.com/en-us/library/ms998274.aspx

You can get around it by modifying the page directive for this specific page: InventoryNotices.aspx page. Its located in the folder BVAdmin/Configuration/. Once you open the page in a notepad or any text editor, the first line will be the page directive. It will be like this:

<%@ Page Language="VB" MasterPageFile="~/BVAdmin/BVAdminSetting.master" AutoEventWireup="false" CodeFile="InventoryNotices.aspx.vb" Inherits="BVAdmin_Configuration_InventoryNotices" title="Untitled Page" %>

Modify this page directive by adding validateRequest="false". So the modified page directive will look:

<%@ Page Language="VB" MasterPageFile="~/BVAdmin/BVAdminSetting.master" AutoEventWireup="false" CodeFile="InventoryNotices.aspx.vb" Inherits="BVAdmin_Configuration_InventoryNotices" title="Untitled Page" validateRequest="false" %>



Save the page. Now try adding <br> and it should go through.



Thanks,

Satya

support @ bayquel.com
Thanks,
Satya
support @ bayquel.net
Work: +1 803 883 3226
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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012