cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Can't Delete an Entity in thingworx, shows an Error

pshashipreetham
17-Peridot

Can't Delete an Entity in thingworx, shows an Error

When ever I try to delete an Entity in TWX, it shows an error message:

psp316r_0-1653151021143.png

but if I delete from VM(where TWX is installed), can delete successfully.
Thingworx version: 9.3
@slangley @PaiChung 

Thanks,
Shashi.

 

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
ACCEPTED SOLUTION

Accepted Solutions

Thank @slangley , for the Article, this issue is fixed. Attaching modified web.xml file in the post for Thingworx 9.0+. 

hope this helps some Thingworx Developers facing same issue.

Thanks,
Shashi.

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

View solution in original post

10 REPLIES 10

This is a rather strange error, you are logged in as the same person both times?

Hi @PaiChung ,

Yes I am logged in as same person both the times.

Thanks,
Shashi.

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

@pshashipreetham,make sure you are connecting to the same Thingworx server? What is the error message in Thingworx's application log and error log? You may get more trace information by enabling trace logging refer to https://www.ptc.com/en/support/article/cs227712

knagata
14-Alexandrite
(To:pshashipreetham)

Hi, I have verified similar issue before. In that case, the request to delete an Entity is unable to be reach ThingWorx Platform given the current network configuration. Since that the delete can be performed from VM, I think that it is due a network communcation issue in your environment. Please verfiy the network communication in your system (i.g. FireWall, Virus Soft,)
Also there is the article below:

https://www.ptc.com/en/support/article/CS313233

 

Hi @knagata ,

Not able to find the article:

psp316r_0-1656350514328.png


Thanks,
Shashi.

 

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

Hi @pshashipreetham 

 

I updated the link in @knagata's post and it appears to be working now.

 

Regards.

 

--Sharon

Thank @slangley , for the Article, this issue is fixed. Attaching modified web.xml file in the post for Thingworx 9.0+. 

hope this helps some Thingworx Developers facing same issue.

Thanks,
Shashi.

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

@PaiChung , @knagata ..

Only able to delete the entities if I logged in as Administrator in localhost:8080/Thingworx, then only the entities are getting deleted, if not those are not getting delete. Is there any changes need to be done in the web.xml ?

@slangley @VladimirN ..


Thanks,
Shashi.

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

If it only works as Administrator and not as other users, then likely you have some permission issues.

the Script/Application log should be showing you the permission errors.

Hi @PaiChung ,

Thanks for the reply, issue is fixed, DELETE was missing from the web.xml. Attached the web.xml in the solution post.
 
Thanks,
Shashi.

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
Announcements


Top Tags