Solved

SqlServer Exception

Posted on 2011-09-29
5
257 Views
Last Modified: 2012-05-12
When i am trying to run the SP from asp.net, i am getting the below error.

INSERT failed because the following SET options have incorrect settings: 'ARITHABORT'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.

Can i please know the reason for the issue.....................
0
Comment
Question by:Praveen_Bobbili
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 9

Expert Comment

by:yeelokhk
ID: 36890067
This problem is occurred when you attempts to insert a row into a table that is referenced in an indexed view.

Here is the official solution to your problem:
http://support.microsoft.com/kb/305333
0
 
LVL 11

Expert Comment

by:brutaldev
ID: 36890083
This is normally an issue with newer API's calling into older databases. An easy way around this is to configure the compatibility of the SQL Server to at least 2005:
ALTER DATABASE YourDatabaseName SET COMPATIBILITY_LEVEL = 90

Open in new window

You can also try set it on in code if you can't change the server, look here: http://support.microsoft.com/kb/305333
0
 
LVL 1

Accepted Solution

by:
Praveen_Bobbili earned 0 total points
ID: 36908269
If we change the compatibility level it will effect the remaining procedures. They may not work properly. We can use this, it works for me.
ALTER DATABASE YourDatabaseName SET ARITHABORT ON
0
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 37932330
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question