copy a cb.net project

  • Thread starter Thread starter Brian
  • Start date Start date
B

Brian

Hi Peter,
Yes I tried that and I can create an new project.
The problem only arises when I try to take a project from
one machine to another. I wrote a vb.net web app. for a
developer that doesn't know .net. The only thing is when
I burn it to a cd and take it over there. When I do this
she can not debug the program. If I run without a debug I
get web.config errors. I thought I would go around it by
creating a new web application and pasting the code into
the new project, and I get different errors saying that
the virtual directory is not set up with the iis. I am
confused about all of the different errors, and I am not
convinced that they are all that accurate. It seems that
every time I get an error with .net it has nothing to do
with what is wrong. Any help would be appreciated.

Thanks,
Brian
 
Hi Brian,

Because of all security isues (and changes) is what you are asking often a
problem.

But I know that this is a normal isue in the newsgroup

microsoft.public.dotnet.framework.aspnet

If I was you, I would try it there

I hope this helps,

Cor

ps.

I think this is wrong sending is an accident, but please keep in the
original thread.
 
Hi Brian,

It seems that you did not set the virtual directory in the IIS.
Here are my steps.
You may have a test.
[A develop machine] [B destination machine]
1. On [A] I create a new webapplication(TestWebApp) which can be debuged on
machine [A]
2. Navigate to C:\InetPub\wwwroot (On Machine [A]), copy the TestWebApp
folder to the C:\InetPub\wwwroot (On Machine )
3. On Machine, run Inetmgr open the IIS Manager
4. Navigate to Internet Information Services/<Computer Name>/Default Web
Site/TestWebApp
5. Right click on the TestWebApp folder, select properties
6. in the properties dialog, click create button in the Application
settting section.
7. open VS.NET 2003, File/Open/Project from web...
8. input http://localhost/TestWebApp, in the following dialog, select
TestWebApp.vbproj file to open the solution,
9. in the solution view, right click on the Webform1.aspx, select "set as
start page"
10. Press F5 to debug the application

If you have any concern on this issue, please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top