Open error

Hello,
I have the following sequence of commands:


m_tamino.Open(LocalTransaction);
<Exception: Bad gateway>


m_tamino.Open(LocalTransaction);
<Exception: TANTXE002: Transaction not in progress>

I think the problem is the connection is not in closed state, but what must I do to set closed state again after start database and before retry Open command?

thanks

Have you tried m_connection.Close()?

yes, I’ve tried and I get the same error:

<Exception: TANTXE002: Transaction not in progress>

Please raise a support request. Please provide a trace using a config file of the following form:


<configuration>
	<system.diagnostics>
		<switches>
			<add name="TaminoApiCore"  value="5" />
			<add name="TaminoHttpComms"  value="5" />
	        <add name="TaminoDataAdapter" value="5" />
		</switches>
		<trace autoflush="true">
			<listeners>
				<add name="DotNetApiListener"
					type="System.Diagnostics.TextWriterTraceListener" 
					initializeData="DotNetApiTrace.log"></add>
			</listeners>
		</trace>
	</system.diagnostics>
</configuration>

For a DLL called X.dll name it X.dll.config.
For an EXE called X.exe name it X.exe.config.