I have the entry in vtiger_ws_entity_table , debugging MySQL this happens: "
<span style="font-family:'Times New Roman';font-size:medium">Column 'smownerid' cannot be null" -> </span>
<span style="font-family:'Times New Roman';font-size:medium"> insert into vtiger_crmentity (crmid,smcreatorid,smownerid,setype,description,createdtime,modifiedtime) values(1262,'1',NULL,'CuentasContables','','2012-06-28 10:03:56','2012-06-28 10:03:56') </span> <br>
<br>But this is so strange, with my develop enviroment all works, but then I upload to production (other webserver, pc etc) and this error happens.<br><br><div class="gmail_quote">2012/6/28 Nilay Khatri <span dir="ltr"><<a href="mailto:nilay.khatri@vtiger.com" target="_blank">nilay.khatri@vtiger.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>you can check if the webserviceObject is created or not. I guess you do not have an entry for your entity under the vtiger_ws_entity table.<br>
<br><div class="gmail_quote"><div><div class="h5">On Thu, Jun 28, 2012 at 1:31 PM, Desarrollo - Affinity <span dir="ltr"><<a href="mailto:desarrollo.affinity@gmail.com" target="_blank">desarrollo.affinity@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">I have this error when i save a custom module that i made:<br><br><span style="font-family:'Times New Roman';font-size:medium">Fatal error: Uncaught exception 'WebServiceException' with message 'Permission to perform the operation is denied' in C:\apache\htdocs\manager\include\Webservices\Retrieve.php:26 Stack trace: #0 C:\apache\htdocs\manager\modules\com_vtiger_workflow\VTEntityCache.inc(16): vtws_retrieve('35x1247', Object(Users)) #1 C:\apache\htdocs\manager\modules\com_vtiger_workflow\VTEntityCache.inc(83): VTWorkflowEntity->__construct(Object(Users), '35x1247') #2 C:\apache\htdocs\manager\modules\com_vtiger_workflow\VTEventHandler.inc(48): VTEntityCache->forId('35x1247') #3 C:\apache\htdocs\manager\include\events\VTEventTrigger.inc(119): VTWorkflowEventHandler->handleEvent('vtiger.entity.a...', Object(VTEntityData)) #4 C:\apache\htdocs\manager\include\events\VTEventsManager.inc(118): VTEventTrigger->trigger(Object(VTEntityData)) #5 C:\apache\htdocs\manager\data\CRMEntity.php(863): VTEventsManager->triggerEvent('vtiger.entity.a...', Object(VTEntityData)) #6 C:\apache\htdocs\manager\modules\Vendors\Save.php(44): CRMEntity->save('CuentasContabl in C:\apache\htdocs\manager\include\Webservices\Retrieve.php on line 26<br>
<br>What can I do? Where should I start to find?</span>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div>
<br></div>-- <br>regards<br>Nilay Khatri<br>(VTiger)<br><br>
</font></span></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br>