RE: Machine.config file no longer likes App
From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 03/17/04
- Next message: Jeremy: "Re: Pros n Cons - One class to hold all Data Access Method?"
- Previous message: Jeremy: "Re: Pros n Cons - One class to hold all Data Access Method?"
- In reply to: mklapp: "Machine.config file no longer likes App"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 03:33:35 GMT
Hi,
>From your description, you encountered the "Access Denied" exception
recently in your ASP.NET web app. Also you found that if you turn off the
index service as some one suggested, the exception disappeared, yes?
If there is anything I misunderstood, please feel free to let me know.
Based on my experience, there are some certain situations which'll cause
such problems.
1. When you have a certain assembly(dll) which is strong-named. If you put
it in application's bin folder rather than registered it in the GAC(Global
Assembly Cache) and if the index serviced in turned on, there'll occur the
similar exception as you mentioned. Here is the related kb article:
#PRB: "Access Denied" Error Messages When You Do Not Put Strong-Named
Assemblies in the Global Assembly Cache
http://support.microsoft.com/?id=813833
2. When you use the Index Sevice in your ASP.NET web application and with
the impersonate as true. There'll also occur "Access is Denied" exception,
here is the related kb:
#FIX: "Access Is Denied" Error Message When You Try to Access Indexing
Service from ASP.NET with Impersonation Enabled
http://support.microsoft.com/?id=323293
In addition, according to your problem's symptom, I think the #1 is more
likely, please have a check on it to see whether it suits your problem. If
you have any quesitons, please feel free to post here. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
- Next message: Jeremy: "Re: Pros n Cons - One class to hold all Data Access Method?"
- Previous message: Jeremy: "Re: Pros n Cons - One class to hold all Data Access Method?"
- In reply to: mklapp: "Machine.config file no longer likes App"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|