ARITHABORT Error

When i run a DTS package- which was correctly working earlier, I get the following error.
INSERT failed because the following SET options have incorrect settings:'ARITHABORT'
All that this package is doing is loading a flat file to a table.

I had created an indexed view based on the table. After which i truncated the table.

Since I was getting this error, I deleted the indexed view.

However, the error still persists- what should I do to fix it?
aswam1975Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aswam1975Author Commented:
I tried that- i still get the same thing
0
aswam1975Author Commented:
I think the problem is that i created an indexed view with a table, then truncated the table and I am now again trying to load the table with new data.
I tried SET ARITHABORT OFF from query analyzer- and then tried running the package but i still get the same error
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

aswam1975Author Commented:
would like to delete the question - as i solved it by removing the indexes on the view
thanks
0
Anthony PerkinsCommented:
>>I think the problem is that i created an indexed view with a table<<
Yep that is it.

>>as i solved it by removing the indexes on the view<<
There is a better approach: You can
SET ARITHABORT ON
in your DTS package. See here for more details:
SET Options That Affect Results
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/createdb/cm_8_des_05_1ng3.asp

>>I tried SET ARITHABORT OFF from query analyzer- and then tried running the package but i still get the same error<<
Right, they are different connections.

>>would like to delete the question<<
If you still want to delete the question, see here:
I answered my question myself. What do I do?
http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/help.jsp#hi70
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
aswam1975Author Commented:
thanks for the useful links
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.