We have a .Net (3.0) Windows Service application that inserts rows into a client's ERP SQL Server database. The client has added a CLR Stored Procedure that eventually gets called from an insert trigger.
The Windows Service is running on a separate machine than the SQL Server. I have no access to the SQL Server box, nor do I have sa privileges, so I can't do any meaning full troubleshooting.
When the SqlCommand.ExecuteQuery() function is called, we get an error: System.Exception: An Address is incomplete or invalid.
My questions are
Could this be caused by Code Access Security?
This is the error I am receiving
A .NET Framework error occurred during execution of user-defined routine or aggregate "SSSVTXAVACalcSp":
System.Exception: An Address is incomplete or invalid.
System.Exception:
at SSSVTXAppProcedures.StoredProcedures.SSSVTXAVACalcSp( ....