Καλημέρα και καλό μήνα σε όλους.
Σήμερα έπεσα πάνω σε ένα μήνυμα λάθους το οποίο με προβλημάτισε αρκετά. Μέσα από ένα CLR Trigger έπαιρνα το παρακάτω μήνυμα λάθους
A .NET Framework error occurred during execution of user-defined routine or aggregate “…”:
System.InvalidOperationException: Data access is not allowed in this context. Either the context is a function or method not marked with DataAccessKind.Read or SystemDataAccessKind.Read, is a callback to obtain data from FillRow method of a Table Valued Function, or is a UDT validation method.
Έπειτα από την σχετική έρευνα βρήκα το παρακάτω link το οποίο δίνει λύση στο προβλημα You may not be able to make a remote connection to SQL Server from a CLR trigger