Solved

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

Posted on 2003-11-20
3
506 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

724 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