Solved

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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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