| | |
"Operation is not allowed when the object is closed" error
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2005
Posts: 8
Reputation:
Solved Threads: 0
Hello,
I have a few web applications that I have been running on one of our web servers at work and everything is fine. Rearrangements have come about and a change of server is needed. Therefore all the intranet websites/applications on one server were moved onto a new server. But now some of the applications just don't work.
I'm getting the following error in 3 of 8 websites/applications:
The strange thing is I can't find any consistency between the 8 websites. All the HTML only websites are working fine. The 3 websites that are not working all try to access an MS Access database and this is where the error is coming from. However, there are another 2 applications that access MS Access database's but are not suffering from this error
I'm guessing its some sort of permissions error in the folders/files or IIS itself but I can't seem to work it out. The scripts themselves have not changed so I can rule out any coding errors. If anyone has any ideas or directions I could go with this your help would be greatly appreciated, thanks.
Regards.
I have a few web applications that I have been running on one of our web servers at work and everything is fine. Rearrangements have come about and a change of server is needed. Therefore all the intranet websites/applications on one server were moved onto a new server. But now some of the applications just don't work.
I'm getting the following error in 3 of 8 websites/applications:
ASP.NET Syntax (Toggle Plain Text)
Operation is not allowed when the object is closed
I'm guessing its some sort of permissions error in the folders/files or IIS itself but I can't seem to work it out. The scripts themselves have not changed so I can rule out any coding errors. If anyone has any ideas or directions I could go with this your help would be greatly appreciated, thanks.Regards.
•
•
Join Date: Jan 2005
Posts: 8
Reputation:
Solved Threads: 0
I don't think the code will indicate anything because the exact code works fine on two other computers. It has to be a permissions issue with folders/files or IIS. Unfortunately I'm not sure what permissions I may have set incorrectly.
Does anyone have any suggestions for fixing the permissions?
Regards.
Does anyone have any suggestions for fixing the permissions?
Regards.
Have you checked the permissions on the Access DB? Is it set to owner, or user mode? Under the Right Click -> Properties -> Security tab is those computers that work with it listed, and those that don't not listed???
How about the same for the folder / IIS folder (also) that would have the application in it?
How about the same for the folder / IIS folder (also) that would have the application in it?
And this is required, so nothing unusual there. Why was it set to not allow anonymous? The only reason to have it not anonymous is if you want to only allow those on your domain (active directory type thing) to acces those pages.
Hence the help file : "Before your server can authenticate users, however, you must first create valid Windows user accounts and then configure Windows File System (NTFS) directory and file permissions for those accounts. For more information, see About Authentication."
Hence the help file : "Before your server can authenticate users, however, you must first create valid Windows user accounts and then configure Windows File System (NTFS) directory and file permissions for those accounts. For more information, see About Authentication."
![]() |
Similar Threads
- "Forbidden / You don't have permission to access / on this server." error (Linux Servers and Apache)
- Why this error???Operation is not allowed when the object is closed. (ASP)
- ADODB.Recordset (0x800A0E78):Operation is not allowed when the object is closed. (ASP)
- Dreaded "server cannot perform the requested operation" error (Windows NT / 2000 / XP)
Other Threads in the ASP.NET Forum
- Previous Thread: Need help!!
- Next Thread: urgent: session timeout occurs unexpectedly(given both web.config & global.asax code)
Views: 29699 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 3.5 ajax appliances asp asp.net beginner box browser businesslogiclayer button c# c#gridviewcolumn cac checkbox child class compatible complex confirmationcodegeneration content contenttype control countryselector courier css database datagrid datagridview datalist deadlock deployment development dgv dialog dropdown dropdownmenu dynamic edit embeddingactivexcontrol feedback fileuploader findcontrol flash flv folder form forms grid gridview homeedition hosting iis image index javascript jquery languages list maps menu mobile mssql multistepregistration nameisnotdeclared novell objects order problem profile ratings refer relationaldatabases response.redirect rotatepage search security serializesmo.table sessionvariables silverlight sql ssl tracking treeview typeof update validatedate validation vb.net virtualdirectory vista visual-studio visualstudio vs2008 web webarchitecture webdevelopment wizard xml





