Thursday, August 18, 2011

Cannot create/shadow copy when that file already exists


Solution 1 : Clean the solution and rebuild and it will work fine then.


Solution 2 : If this happens frequently you can add the following in web.config or app.config

<system.web>
   <hostingEnvironment shadowCopyBinAssemblies="false" />
</system.web>


Note : Shadow Copy is a ASP.NET feature enabled on every appdomain. Usually loadded assemblies
will be copied to a shadow copy cache directory, and from there it will be used so that the original file is not locked.

Saturday, February 5, 2011

Home



                                    This is blog is created with aim to publish my ideas. Here I have published What I know.  Thank you For Visiting




Wednesday, February 2, 2011

ASP.NET Topics

 Errors And Solutions

 1. Operation Must Be An Updateable Query

'Operation Must Be An Updateable Query' Error



Suggestion 1:
                        If you are using Windows XP, NT or 2000, give full access permission to the anonymous user account called IUSR_ to that particular database or the folder containing database.

Suggestion 2:
                       1. Right Click the database file or the folder containing database.
                        2. Uncheck the READ-ONLY property of that particular database or the folder containing database.