How to open an webapplication that is copied from another machine  
Author Message
pongopiprakash





PostPosted: ASMX Web Services and XML Serialization, How to open an webapplication that is copied from another machine Top

Hi,
I copied a web application from one machine and i pasted it in another machine in this localhost path C:\Inetpub\wwwroot\webapp1.while opening the application im getting the following Error:
"Unable to open web project "webapp1". The file path C:\Inetpub\wwwroot\webapp1 does not correspond to the URL http://localhost:/webapp1. The two need to map the same server location. HTTP Error 404:Object Not Found" . Please give me any solution for this ,im waiting for the Reply.

Thank You.




.NET Development19  
 
 
Mubshir Raza Ali





PostPosted: ASMX Web Services and XML Serialization, How to open an webapplication that is copied from another machine Top

Hi,

Open IIS goto the defualt website.
There will be folder Webapp1.
Right click on it and press Create button.

Hope this help.



 
 
pongopiprakash





PostPosted: ASMX Web Services and XML Serialization, How to open an webapplication that is copied from another machine Top

hi,
thanks for u r answer.
i had tried wat u said ,but its still showing the same error.Do u have any other solution.


 
 
Mubshir Raza Ali





PostPosted: ASMX Web Services and XML Serialization, How to open an webapplication that is copied from another machine Top

Ok, If you have copied it then soulution file may be referencing the old locations. What you can do is open solution (.sln) file in notepad and set new locations of files and virtaul dirs in it.

Hope this help.