Solved

SqlServer Exception

Posted on 2011-09-29
5
200 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now