468,110 Members | 1,679 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,110 developers. It's quick & easy.

"Unable to create the app domain"

Hi there,

on IIS 5.0, when I contact my asmx Web service page, I get an error message
on IE and the event log gives me this error: "App domain cannot be created".
So the asmx page is containing managed C# code, and the App domain is not
authorized to be created. But why and what can I do (what permission do i
have to give ? ) to overcome that ?

Best regards

Oriane

Jun 18 '07 #1
4 3714
"Oriane" <or****@guermantes.frwrote in message
news:4D**********************************@microsof t.com...
Hi there,

on IIS 5.0, when I contact my asmx Web service page, I get an error
message on IE and the event log gives me this error: "App domain cannot be
created".
Is that all it says? Can you post the event log entry?
--
John Saunders [MVP]
Jun 18 '07 #2
Is that all it says? Can you post the event log entry?
--
John Saunders [MVP]
Here it is:

Failed to initialize the AppDomain:/LM/w3svc/1/ROOT/WebServiceStibil

Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. Access denied.
StackTrace: at System.Reflection.Assembly.nLoad(AssemblyName fileName,
String codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Activator.CreateInstance(String assemblyName, String typeName,
Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args,
CultureInfo culture, Object[] activationAttributes, Evidence securityInfo,
StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironment(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironmentAndReportErrors(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)

Jun 19 '07 #3
"Oriane" <or****@guermantes.frwrote in message
news:84**********************************@microsof t.com...
>
>Is that all it says? Can you post the event log entry?
--
John Saunders [MVP]
Here it is:

Failed to initialize the AppDomain:/LM/w3svc/1/ROOT/WebServiceStibil

Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. Access denied.
StackTrace: at System.Reflection.Assembly.nLoad(AssemblyName fileName,
String codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection)
Ok, so this is telling you that .NET attempted to load System.Web.dll, but
was unable to do so because of an Access Denied. This is now like any other
Access Denied problem - you need to figure out who (which identity) is
attempting access, and why it was denied.

--
John Saunders [MVP]
Jun 19 '07 #4
Ok. Thanks a lot !
Jun 19 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Pankaj Jain | last post: by
reply views Thread by Unabogie | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.