Solved

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

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 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

21 Experts available now in Live!

Get 1:1 Help Now