Visual Studio Error

G

Guest

Hi,

I'm new to .Net, coming from J2EE.

I have just installed Visual Studio and am trying to start a new web
application, but am having trouble.

For example, when I complete the following steps:
1. New Project>Visual C# Project>ASP.Net Web Application
2. Location: http://localhost/TestWebApp

I get the following error message:
"The default web access mode for this project is set to file share, but the
project folder at 'http://localhost/TestWebApp' cannot be opened with the
path 'c:\inetpub\wwwroot\TestWebApp'. Unable to create Web prject
'TestWebApp'. The file path 'c:\inetpub\wwwroot\TestWebApp' does not
correspsond to the URL 'http://localhost/TestWebApp'...

If I ignore the error and select the option, "Try to open the project with
FrontPage Server Extensions", the project opens, but I get a new error
message evrytime I try to build:
"
ould not copy built outputs to the Web. Unable to add 'C:\Documents and
Settings\Administrator.AEM-ML36WGCHCGF\VSWebCache\AEM-ML36WGCHCGF\TestApp2\bin\TestWebApp.dll'
to the project. Server error: The following file(s) have been blocked by the
administrator: bin/TestWebApp.dll"

I have administrator access and neither of these problems occurs if I create
a Visual C# WIndows application.

Any ideas?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top