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

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

psp316r
16-Pearl

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.

 

1 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.

View solution in original post

10 REPLIES 10
PaiChung
22-Sapphire I
(To:psp316r)

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.

Jimwang
14-Alexandrite
(To:psp316r)

@psp316r,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
13-Aquamarine
(To:psp316r)

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.

 

slangley
23-Emerald II
(To:psp316r)

Hi @psp316r 

 

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.

@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.

PaiChung
22-Sapphire I
(To:psp316r)

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.

Announcements