Loading ...

How to deploy asp.net website on local machine?

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  client side web development   » How to deploy asp.net website on local machine?

How to deploy asp.net website on local machine?

Posts under the topic: How to deploy asp.net website on local machine?

Posted: 10/7/2011

Lurker 245  points  Lurker
  • Joined on: 4/15/2011
  • Posts: 44

I want to deploy my website (develop in VS2008) on local machine with database (MySql)

i have followed the following steps

1.Install IIS v5.1

2.publish wesite to path F:\Publish

3.Then copy this Publish folder to Inetpub->wwwroot->Publish

4. Then I had create virtual directory Test

but my problem is when I try to browse htttp://localhost/Test

receving XML file not recover error

can somebody please guide me becoz first time i am deploying the website


Posted: 10/7/2011

Lurker 10  points  Lurker
  • Joined on: 10/7/2011
  • Posts: 2

pallavi karpe said:

receving XML file not recover error

1. Post here actual error message

2. Had you set correct Framework version for your web site in IIS?

3. Are you using any athentication method for your web site? please mention.


Posted: 10/11/2011

Lurker 245  points  Lurker
  • Joined on: 4/15/2011
  • Posts: 44

Hi Parwej,

the error is : Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.

I am using Integrated Windows Authentication & also checked(checkbox) for Anonymous Access & Allow IIS to controll password.

I have also set the correct framework version i.e 2.0.50727

when i search it on google i come to know that i need to create IIS_WPG group

but i don't know how?

please reply...


Posted: 10/11/2011

Lurker 10  points  Lurker
  • Joined on: 10/7/2011
  • Posts: 2

It may be: so try following steps:

1. Provide everyone or IIS_WPG read access to the root of the web folder. Here's how:

   a. Right click on the web folder and click Properties.
   b. Click on Security tab.
   c. Click Add...
   d. Type Everyone or IIS_WPG and click OK.
   e. Give at least read permission to it and click OK to exit.

Now see if you still get this error.

2. If the above doesn't work try to register the asp.net in IIS

   a. In DOS command prompt type: ASPNET_REGIIS -i

 

Thanks


Page 1 of 1 (4 items)