Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Getting an Error "Exception thrown: 'System.AccessViolationException' in Implementation.dll"

Valued Contributor
Valued Contributor

How to habndle this error  ? 

 

Exception thrown: 'System.AccessViolationException' in Implementation.dll

 

Regards,

Sandeep

7 REPLIES 7

Re: Getting an Error "Exception thrown: 'System.AccessViolationException' in Implementation.dll"

Siemens Legend Siemens Legend
Siemens Legend
Hi,
Can you please share the code that throws this exception?

Re: Getting an Error "Exception thrown: 'System.AccessViolationException' in Implementation.dll"

Valued Contributor
Valued Contributor

TxComponent.SetModelingScope()

Re: Getting an Error "Exception thrown: 'System.AccessViolationException' in Implementation.dll"

Siemens Legend Siemens Legend
Siemens Legend

Hi,

And can you set the scope for that object via the UI?

Re: Getting an Error "Exception thrown: 'System.AccessViolationException' in Implementation.dll"

Valued Contributor
Valued Contributor

Yes !

Re: Getting an Error "Exception thrown: 'System.AccessViolationException' in Implementation.dll"

Legend
Legend

@sandeepmore 

Why dont't you surround your TxComponent.SetModelingScope() with a try-catch?

Re: Getting an Error "Exception thrown: 'System.AccessViolationException' in Implementation.dll"

Valued Contributor
Valued Contributor
Did but no luck, Techomatix is crashing with access AccessViolationException, what I am seeing in call stack

Re: Getting an Error "Exception thrown: 'System.AccessViolationException' in Implementation.dll"

Siemens Legend Siemens Legend
Siemens Legend

hi,

Can you share your entire code +data ?

If you need i can provide a secure connection for the file transfer.