Solved

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

Posted on 2003-11-20
3
487 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

813 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