SQL Tables

Hi, I using Asset navigator 5.1 helpdesk portal and I'm getting error when updating a ticket.
I'm using sql express 2008.

This is the error:  Activity has not been submitted - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_HD_Ticket_Activity_HD_Ticket_Activity_CategoryHD_Ticket_Activity". The conflict occurred in database "NAV5", table "dbo.HD_Ticket_Activity_Category", column 'Activity_Category'

thanks for you support.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

What was the insert statement you issued?

It looks like you entered a value that is NOT in the unique column that the foreign key references.
 Maybe you want insert data in "dbo.HD_Ticket_Activity" but you dont have any information
 about that in table "dbo.HD_Ticket_Activity_Category".
tiinettechAuthor Commented:
how do I add the information in "dbo.HD_Ticket_Activity_Category" ?

PortletPaulEE Topic AdvisorCommented:
if you are using a product (i.e. "Asset navigator 5.1") why are you issuing inserts at all?

they should be performed by the product (or via some supported API) and you may be violating your support arrangements by direct DML

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
tiinettechAuthor Commented:
the insert is being done by the app itself, how do I add the information in "dbo.HD_Ticket_Activity_Category" ?
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 2008

From novice to tech pro — start learning today.