Forum Discussion

BWL's avatar
BWL
Icon for Helper II rankHelper II
8 years ago

Unexpected error: Attempted to read or write protected memory. This is often an indication that othe

Dear all,

 

I have an ODBC connection with a Universe database. When trying to get some data with a SELECT statement, I get the following error:

Unexpected error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Details:
Microsoft.Mashup.Evaluator.Interface.ErrorException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Am I doing something wrong? 

Kind regards,

 

BWL

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi BWL,

     

    Have you turn on thread safe option in your connection string? If not, you can turn on it and try again.


    In addition, I'd like to suggest you to use udl to test you datasource connections.

    Utl Technologies Limited Speed Test - TestMy.net

     

    Regards,

    Xiaoxin Sheng