8 Replies - 7861 Views - Last Post: 13 February 2009 - 12:16 AM Rate Topic: -----

#1 newProgram  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 160
  • Joined: 28-October 08

Failed to execute request because the App-Domain could not be created.

Post icon  Posted 12 February 2009 - 08:26 PM

Hi to all,

Any help on how to solve this problem:

"Failed to execute request because the App-Domain could not be created."

I'm trying to test the website I developed. I'm using MS Server 2003 sp1.

Thanks in advance.
Is This A Good Question/Topic? 0
  • +

Replies To: Failed to execute request because the App-Domain could not be created.

#2 Magto  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 43
  • Joined: 10-February 09

Re: Failed to execute request because the App-Domain could not be created.

Posted 12 February 2009 - 08:33 PM

View PostnewProgram, on 12 Feb, 2009 - 07:26 PM, said:

Hi to all,

Any help on how to solve this problem:

"Failed to execute request because the App-Domain could not be created."

I'm trying to test the website I developed. I'm using MS Server 2003 sp1.

Thanks in advance.


First I would check in the Event Viewer and see if there are any errors in there. Event viewer can be a life saver sometimes. That can be found in Administrative Tools in the Control Panel. If that doesn't answer your problems then my first questions would be:

1) Is the version of ASP.Net you are using installed on the server?
2) Did you make the program an application in IIS?
3) Does IIS_WPG have permission to the folders your programs live in?

I would start with those. Normally, it is caused by 3 when the app is not in inetpub/wwwroot. Also, I have run into that when I try and create a virtual directory off of another virtual directory. Not promising that is going to fix your problem but it is a starting point.

This post has been edited by Magto: 12 February 2009 - 08:37 PM

Was This Post Helpful? 0
  • +
  • -

#3 newProgram  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 160
  • Joined: 28-October 08

Re: Failed to execute request because the App-Domain could not be created.

Posted 12 February 2009 - 08:44 PM

View PostMagto, on 12 Feb, 2009 - 07:33 PM, said:

View PostnewProgram, on 12 Feb, 2009 - 07:26 PM, said:

Hi to all,

Any help on how to solve this problem:

"Failed to execute request because the App-Domain could not be created."

I'm trying to test the website I developed. I'm using MS Server 2003 sp1.

Thanks in advance.



That could be a few problems but my first questions would be:

1) Is the version of ASP.Net you are using installed on the server?
2) Did you make the program an application in IIS?
3) Does IIS_WPG have permission to the folders your programs live in?

I would start with those. Normally, it is caused by 3 when the app is not in inetpub/wwwroot. Also, I have run into that when I try and create a virtual directory off of another virtual directory. Not promising that is going to fix your problem but it is a starting point.

Quote

Hi,

Thanks for the response. The only thing that I did is:
1. Install the latest version of .net because I'm using v2.0
2. I develope the application on different computer
and I used VS 2005 in developing the application
4. I already put the application on the IIS in Computer Management

Also I'am just new in developing Website because all of the application I'm developing is all Windows Application. What does IIS_WPG will do? and how will I include that on my program?

Thanks

Was This Post Helpful? 0
  • +
  • -

#4 Magto  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 43
  • Joined: 10-February 09

Re: Failed to execute request because the App-Domain could not be created.

Posted 12 February 2009 - 08:55 PM

IIS_WPG is just the user/group that has the minimum set of permissions that IIS needs to run an application. You don't have to add it to your app. It is a server permission that has to be setup if you are using non-standard directories.

Also, moving from Winforms to ASP.Net isn't a huge jump. You will be fine! :)

This post has been edited by Magto: 12 February 2009 - 08:58 PM

Was This Post Helpful? 0
  • +
  • -

#5 newProgram  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 160
  • Joined: 28-October 08

Re: Failed to execute request because the App-Domain could not be created.

Posted 12 February 2009 - 09:18 PM

View PostMagto, on 12 Feb, 2009 - 07:55 PM, said:

IIS_WPG is just the user/group that has the minimum set of permissions that IIS needs to run an application. You don't have to add it to your app. It is a server permission that has to be setup if you are using non-standard directories.

Also, moving from Winforms to ASP.Net isn't a huge jump. You will be fine! :)

Quote

Hi,

I already include the IIS_WPG. And now I encounter different error. "<add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>". The error is in CrystalDecissions. How about This?

And also about this error:

"Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache."

Thanks.

Was This Post Helpful? 0
  • +
  • -

#6 Magto  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 43
  • Joined: 10-February 09

Re: Failed to execute request because the App-Domain could not be created.

Posted 12 February 2009 - 09:29 PM

You should be able to add the ASPNET user to the directory your code is in. Write permissions should be sufficient. That may also take care of your Crystal problem since there will be a Crystal Reference in the GAC.

This is sort of the downside to using non-standard directories. Permissions can sometimes be a pain and cause unnecessary errors.

This post has been edited by Magto: 12 February 2009 - 09:31 PM

Was This Post Helpful? 0
  • +
  • -

#7 newProgram  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 160
  • Joined: 28-October 08

Re: Failed to execute request because the App-Domain could not be created.

Posted 12 February 2009 - 09:42 PM

View PostMagto, on 12 Feb, 2009 - 08:29 PM, said:

You should be able to add the ASPNET user to the directory your code is in. Write permissions should be sufficient. That may also take care of your Crystal problem since there will be a Crystal Reference in the GAC.

This is sort of the downside to using non-standard directories. Permissions can sometimes be a pain and cause unnecessary errors.

Quote

How will I add the ASPNET to the directory? I really don't have any idea in doing this things.

Was This Post Helpful? 0
  • +
  • -

#8 Magto  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 43
  • Joined: 10-February 09

Re: Failed to execute request because the App-Domain could not be created.

Posted 12 February 2009 - 09:44 PM

You have to have access to the server.... Where did you add permissions for IIS_WPG? Also, did your program work correctly when you installed the new Framework?

This post has been edited by Magto: 12 February 2009 - 09:47 PM

Was This Post Helpful? 0
  • +
  • -

#9 newProgram  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 160
  • Joined: 28-October 08

Re: Failed to execute request because the App-Domain could not be created.

Posted 13 February 2009 - 12:16 AM

View PostMagto, on 12 Feb, 2009 - 08:44 PM, said:

You have to have access to the server.... Where did you add permissions for IIS_WPG? Also, did your program work correctly when you installed the new Framework?

My Application is now working. Thanks for the help.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1