Solved

How to copy c#.net project from one pc to another?

Posted on 2003-11-20
3
483 Views
Last Modified: 2012-08-13
Hi everyone:

I am beginner or C#.net, I have a question when I copy C#.net project from one PC to another PC. Could you please help me why this happen, how to avoid this.
detail is:
I used my computer in my school to create a web application by using Microsoft Visual C#.net 2003. I try to copy all files to my home another computer. Compile is ok, but when I try to debug my project, it popup an error show me that "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged." And I look at my web.config. I already set debug = "true".

     <compilation
         defaultLanguage="c#"
         debug="true"
    />

Anyone know what's wrong? How to copy c#.net project from one pc to another? Thanks!
0
Comment
Question by:brownsbay
3 Comments
 
LVL 1

Accepted Solution

by:
ValentinRozescu earned 50 total points
ID: 9795824
your application folder is not an IIS Application

you can do that like that:
if you put the project directory into c:\inetpub\wwwroot\"your dir"
go into IIS console, right click on your directory click properties and then in "Application Settings" click the Create button and then OK

if your directory is in other place than c:\inetpub\wwwroot you have to create an Virtual Directory and create an application for that one like I describe. to create a Virtual Directory, in IIS console right click an website choose new / virtual directory; after that browse to your dir

now your application will run

let me know if this help
0
 

Author Comment

by:brownsbay
ID: 9800622
I followed your way, and it give an error "Error while trying to run project: unable to start debugging on the web server. server side -error occrred on sending debug HTTP request". Then I click help, there are too much option for me to look at. I check 'fold permission' difference between those two. Then I go back to IIS, choose 'permissions wizard' on my fold, I choose 'Inherit all security settings'. After that, I check 'Security tab' on properities of my fold, Now 'Everyone' have full control on my fold. Then it work! I don't know if I am right? Could you please take time explain a little bit for me?
Thank you so much!
0
 
LVL 1

Expert Comment

by:yosit
ID: 9802090
take a look at :
http://weblogs.asp.net/Rosherove/Story/3695.aspx

and if it doesn't help , post here again
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
I need help displaying 2 models in one view in my MVC.Net application with C# code behind 5 34
Error when loading the database 16 57
SQL Login 17 40
ASP.NET 5 Templates 2 66
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now