We have an application loading data into a SQL Server 2008 R2 Express database. The application runs about half way through then terminates with an error saying that SQL login failed for the current Windows user. We are using Windows authentication and it works for the part of the data.
The error log has this information
Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="MSSQL$AURORAXMP" />
<EventID Qualifiers="49152">18456</EventID>
<Level>0</Level>
<Task>4</Task>
<Keywords>0x90000000000000</Keywords>
<TimeCreated SystemTime="2012-06-27T02:17:41.000000000Z" />
<EventRecordID>27743</EventRecordID>
<Channel>Application</Channel>
<Computer>D0101026.idacorp.local</Computer>
<Security UserID="S-1-5-21-140328221-716536946-747242864-6054" />
</System>
- <EventData>
<Data>IPCO\SLW5493</Data>
<Data>Reason: Failed to open the explicitly specified database.</Data>
<Data>[CLIENT: <local machine>]</Data>
<Binary>184800000E00000013000000440030003100300031003000320036005C004100550052004F005200410058004D0050000000070000006D00610073007400650072000000</Binary>
</EventData>
</Event>
Can somebody suggest where to look for the problem?
Thanks,