[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

SqlServer Exception

Posted on 2011-09-29
5
Medium Priority
?
271 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

650 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