dip s

dip s

  • NA
  • 256
  • 81.7k

Pasting Web API Project folder on other computer is not working

Jul 29 2020 7:08 AM
Hello all,
I have a web api project in asp .net mvc. I am using web api 2.0.
If I copy the whole project folder and paste it on another computer and
when try to run project on that computer then it displays error message 
"Internal server error" 
 
 
e.g. On computer1 my project directory is D:\MyProject
 
If I copy MyProject folder and paste it on other computer
 
computer2 on path E:\Project\MyProject 
 
And if I try to build and run the project then it displays error.
 
I think may be somewhere in the project folder previous path's reference is still there. That is why error is coming. This is my guess.
 
 
What I tried : 
I deleted bin folders from my pasted project folder(All projects under solution) and again build the solution. But no luck.
I am using visual studio 2017.
 
How to solve this problem. Any help would be appreciated. Thank you.

Answers (2)