Link to home
Start Free TrialLog in
Avatar of anuboggaram
anuboggaramFlag for India

asked on

System Exception(s) Error 1: Attempted to read or write protected memory. This is often an indication that other memory is corrupt

Hi,

Last night suddenly got an error "System Exception(s) Error 1: Attempted to read or write protected memory. This is often an indication that other memory is corrupt" when was uploading excel report to asp.net application.

No updates or software installed on this server. i disabled firewall and Antivirus and checked but no luck.

Asp.net application is on windows 2008 R2 server, IIS7.0, framework 4.0 and DB is SQL 2008 R2 standard server.

Can anyone tell me what is the issue exactly?
Avatar of QuinnDex
QuinnDex

this seems to be a very generic error message and on its own will not point you towards the source of the problem...

please post any other related error messages/stack trace or log entries that may give more information
Avatar of anuboggaram

ASKER

Log file indicates error "The resultSet is empty for a given sql or no records found."
SQL error table is showing as :
A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)
Avatar of Rikin Shah
Hi,

There is a connectivity problem with a previously opened session in SQL Server.
http://forums.asp.net/p/1433838/3223633.aspx

Try-
SqlConnection.ClearAllPools();

It resets (or empties) the connection pool. If there are connections in use at the time of the call, they are marked appropriately and will be discarded (instead of being returned to the pool) when Close is called on them.
ASKER CERTIFIED SOLUTION
Avatar of anuboggaram
anuboggaram
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
solution was to launch new server