Solved

SqlServer Exception

Posted on 2011-09-29
5
230 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
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 learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Creating and Managing Databases with phpMyAdmin in cPanel.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

792 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