Application Error: “ASP.NET v4.0” does not have the authority to perform the requested command or operation.” Problem: ASP.NET v4.0 application has no right to access DB2 database with default application user. Solution: Read more… Login on to server where your application is hosted Create new local user account (myuser, myusrpwd) Add myuser account to DB2ADMNS, […]
Archive for the 'application error' Category
Error – The ‘Microsoft.ACE.OLEDB.12.0’ provider is not registered on the local machine.
Applies to: Microsoft Access Database Engine 2010 Redistributable This download will install a set of components that can be used to facilitate transfer of data between 2010 Microsoft Office System files and non-Microsoft Office applications. Overview This download will install a set of components that facilitate the transfer of data between existing Microsoft Office files […]
Arithmetic overflow error converting expression to data type datetime
Condition: <asp:SqlDataSource ID=”PolExpCurrentMo” runat=”server” ConnectionString=”< %$ ConnectionStrings:appConnectionString2 %>” SelectCommand=”SELECT * FROM [VendorList] WHERE _([EXPIRATION_DATE] >= @EXP_BEGIN) AND ([EXPIRATION_DATE] < @EXP_END) AND _([EXPIRATION_CONTACT] = @EXPIRATION_CONTACT) ORDER BY EXPIRATION_DATE "> <selectparameters> <asp:parameter DefaultValue=”YES” Name=”EXPIRATION_CONTACT” Type=”String” /> <asp:parameter Name=”EXP_BEGIN” Type=”String”/> <asp:parameter Name=”EXP_END” Type=”String” /> </selectparameters> Code behind default value ‘ *current months date parameter PolExpCurrentMo.SelectParameters(“EXP_BEGIN”).DefaultValue = _DateTime.Now.Month.ToString() + […]