Creating a ASP+ in VStudio .NET
How do I create a ASP+ Web Application in Visual Studio.NET ?
In the name textbox I state: Project1
In the location textbox I point to http://localhost/asptests (/asptests is a
virtual directory, like
it should be according to the documentation)
All it does is say:
Error in creating project: Unable to create Web project
'asptests/Project1'. Server error: There is no web named "".
Thanks for any help,
Bart Luyckx
Software Engineer - Internet R&D
Imagination In Motion
Belgium
bart.luyckx@iim.be
# 1 Re: Creating a ASP+ in VStudio .NET
Try this:
1) Create a directory such as c:\MyTest
2) In IIS, create a virtual directory on the above dir, such as "aspx". You
will get error if this vertual dir has not been created succesfully.
3) Create a solution in VS.NET:
a) File | New | Project
b) Select C# and click on ASP+ Web Application
c) Enter MySolution in the Name box
d) Enter http://localhost/aspx in the location box
4) Right-click on the MySolution and select Add New Project
5) Select project type and enter project name in the name box (the location
will be selected as http://localhost/aspx by the IDE)
A solution can contain one or more projects.
Mingyong Yang, MCP
---------
http://www.foxinternet.net/web2/myang
"Bart Luyckx" <bart.luyckx@iim.be> wrote:
>How do I create a ASP+ Web Application in Visual Studio.NET ?
>
>In the name textbox I state: Project1
>In the location textbox I point to http://localhost/asptests (/asptests
is a
>virtual directory, like
>it should be according to the documentation)
>
>All it does is say:
>
>Error in creating project: Unable to create Web project
>'asptests/Project1'. Server error: There is no web named "".
>
>Thanks for any help,
>
>Bart Luyckx
>Software Engineer - Internet R&D
>Imagination In Motion
>Belgium
>bart.luyckx@iim.be
>
>
>
>
>
>
# 2 Re: Creating a ASP+ in VStudio .NET
It looks like I'm doing things twice when I follow your steps.
After finishing step 3d) I still get:
Error in creating project: Unable to create Web project
'aspx/MySolution'. Server error: There is no web named "".
Although the creation of the virtual directory went without errors.
In VS.Net I then see an empty Solution (MySolution) in my Solution Explorer
saying it contains 0 projects.
When I right click MySolution I have to follow the same steps (?) all
over again when chosing Add - New Project and I get the same error:
Error in creating project: Unable to create Web project 'aspx/Project1'.
Server error: There is no web named "".
Thanks allready,
Bart.
"Mingyong Yang" <myang@foxinternet.net> wrote in message
news:39ca93b6$1@news.dev-archive.com...
>
> Try this:
>
> 1) Create a directory such as c:\MyTest
> 2) In IIS, create a virtual directory on the above dir, such as "aspx".
You
> will get error if this vertual dir has not been created succesfully.
>
> 3) Create a solution in VS.NET:
> a) File | New | Project
> b) Select C# and click on ASP+ Web Application
> c) Enter MySolution in the Name box
> d) Enter http://localhost/aspx in the location box
> 4) Right-click on the MySolution and select Add New Project
> 5) Select project type and enter project name in the name box (the
location
> will be selected as http://localhost/aspx by the IDE)
>
> A solution can contain one or more projects.
>
> Mingyong Yang, MCP
> ---------
> http://www.foxinternet.net/web2/myang
>
>
> "Bart Luyckx" <bart.luyckx@iim.be> wrote:
> >How do I create a ASP+ Web Application in Visual Studio.NET ?
> >
> >In the name textbox I state: Project1
> >In the location textbox I point to http://localhost/asptests (/asptests
> is a
> >virtual directory, like
> >it should be according to the documentation)
> >
> >All it does is say:
> >
> >Error in creating project: Unable to create Web project
> >'asptests/Project1'. Server error: There is no web named "".
> >
> >Thanks for any help,
> >
> >Bart Luyckx
> >Software Engineer - Internet R&D
> >Imagination In Motion
> >Belgium
> >bart.luyckx@iim.be
> >
> >
> >
> >
> >
> >
>
# 3 Re: Creating a ASP+ in VStudio .NET
The error message indicates that the virtual dir does not exist. Could you
put some ASP code (test.asp) in your virtual dir then use IE (http://localhost/aspx/test.asp)
to test if the virtual dir is okay or not before creating a project?
When create the first project, VS.NET will use the project name as the solution
name and add a project under it. Since I do not like same solution name and
the first project name, I usually create a solution then add projects under
it. You do not need to select project type when create the solution name.
It was my mistakes.
The IDE of VB.NET is very similar to that of Visual InterDev.
Mingying Yang, MCP
---------
http://www.foxinternet.net/web2/myang
"Bart Luyckx" <bart.luyckx@iim.be> wrote:
>It looks like I'm doing things twice when I follow your steps.
>After finishing step 3d) I still get:
>
>Error in creating project: Unable to create Web project
>'aspx/MySolution'. Server error: There is no web named "".
>
>Although the creation of the virtual directory went without errors.
>In VS.Net I then see an empty Solution (MySolution) in my Solution Explorer
>saying it contains 0 projects.
>
>When I right click MySolution I have to follow the same steps (?) all
>over again when chosing Add - New Project and I get the same error:
>
>Error in creating project: Unable to create Web project 'aspx/Project1'.
>Server error: There is no web named "".
>
>Thanks allready,
>Bart.
>
>"Mingyong Yang" <myang@foxinternet.net> wrote in message
>news:39ca93b6$1@news.dev-archive.com...
>>
>> Try this:
>>
>> 1) Create a directory such as c:\MyTest
>> 2) In IIS, create a virtual directory on the above dir, such as "aspx".
>You
>> will get error if this vertual dir has not been created succesfully.
>>
>> 3) Create a solution in VS.NET:
>> a) File | New | Project
>> b) Select C# and click on ASP+ Web Application
>> c) Enter MySolution in the Name box
>> d) Enter http://localhost/aspx in the location box
>> 4) Right-click on the MySolution and select Add New Project
>> 5) Select project type and enter project name in the name box (the
>location
>> will be selected as http://localhost/aspx by the IDE)
>>
>> A solution can contain one or more projects.
>>
>> Mingyong Yang, MCP
>> ---------
>> http://www.foxinternet.net/web2/myang
>>
>>
>> "Bart Luyckx" <bart.luyckx@iim.be> wrote:
>> >How do I create a ASP+ Web Application in Visual Studio.NET ?
>> >
>> >In the name textbox I state: Project1
>> >In the location textbox I point to http://localhost/asptests (/asptests
>> is a
>> >virtual directory, like
>> >it should be according to the documentation)
>> >
>> >All it does is say:
>> >
>> >Error in creating project: Unable to create Web project
>> >'asptests/Project1'. Server error: There is no web named "".
>> >
>> >Thanks for any help,
>> >
>> >Bart Luyckx
>> >Software Engineer - Internet R&D
>> >Imagination In Motion
>> >Belgium
>> >bart.luyckx@iim.be
>> >
>> >
>> >
>> >
>> >
>> >
>>
>
>
# 4 Re: Creating a ASP+ in VStudio .NET
Bart:
ASP does not work once .NET platform is installed. You may try saving the
following lines as "test.aspx" using notepad in your virtual dir (aspx) and
test it via IE5.5 (http://localhost/aspx/test.aspx):
<%@ Page Language="C#" %>
<html>
<body>
<% for( int i = 1; i<8; i++) { %>
<CENTER><font size="<%=i%>">Hello World</font></CENTER><br>
<% } %>
</body>
</html>
If it works, there should be no reasons that you can not create a project
in VS.NET.
Sorry about previous message asking you to use ASP to test the virtual dir.
M. Yang
# 5 Re: Creating a ASP+ in VStudio .NET
Thanks a lot for your help.
At first it didn't seem to work with the virtual directory I created. When I
tested it again
on a colleagues' machine it worked. So I reinstalled the Windows Component
Update 1.0
CD and retried to open the "test.aspx" file...it worked, but my happiness
didn't last for long...
I again tried to install a default ASP+ Web Project in that virtual
directory
and again received the following:
Error in creating project: Unable to create Web project 'aspx/Project1'.
Server error: There is no web named "".
Maybe I just ought to reinstall the whole thing, IIS, .NET, VStudio...not a
pleasant
thing to do during office hours but I'm getting a bit frustrated here.
I don't do much low-level tricks on my machine and it's an almost virgin
compatible installation and still it doesn't seem to work.
Thanks
"Mingyong Yang" <myang@foxinternet.net> wrote in message
news:39cb875f$1@news.dev-archive.com...
>
> Bart:
>
> ASP does not work once .NET platform is installed. You may try saving the
> following lines as "test.aspx" using notepad in your virtual dir (aspx)
and
> test it via IE5.5 (http://localhost/aspx/test.aspx):
>
> <%@ Page Language="C#" %>
> <html>
> <body>
> <% for( int i = 1; i<8; i++) { %>
> <CENTER><font size="<%=i%>">Hello World</font></CENTER><br>
> <% } %>
> </body>
> </html>
>
>
> If it works, there should be no reasons that you can not create a project
> in VS.NET.
>
> Sorry about previous message asking you to use ASP to test the virtual
dir.
>
> M. Yang
>
# 6 Re: Creating a ASP+ in VStudio .NET
I am having the same problem. I was able to create Web projects for weeks.
It just broke a few days ago.
Steve Binney
Bart Luyckx <bart.luyckx@iim.be> wrote in message
news:39cf658d$1@news.dev-archive.com...
> Thanks a lot for your help.
>
> At first it didn't seem to work with the virtual directory I created. When
I
> tested it again
> on a colleagues' machine it worked. So I reinstalled the Windows Component
> Update 1.0
> CD and retried to open the "test.aspx" file...it worked, but my happiness
> didn't last for long...
>
> I again tried to install a default ASP+ Web Project in that virtual
> directory
> and again received the following:
>
> Error in creating project: Unable to create Web project
'aspx/Project1'.
> Server error: There is no web named "".
>
> Maybe I just ought to reinstall the whole thing, IIS, .NET, VStudio...not
a
> pleasant
> thing to do during office hours but I'm getting a bit frustrated here.
> I don't do much low-level tricks on my machine and it's an almost virgin
> compatible installation and still it doesn't seem to work.
>
> Thanks
>
> "Mingyong Yang" <myang@foxinternet.net> wrote in message
> news:39cb875f$1@news.dev-archive.com...
> >
> > Bart:
> >
> > ASP does not work once .NET platform is installed. You may try saving
the
> > following lines as "test.aspx" using notepad in your virtual dir (aspx)
> and
> > test it via IE5.5 (http://localhost/aspx/test.aspx):
> >
> > <%@ Page Language="C#" %>
> > <html>
> > <body>
> > <% for( int i = 1; i<8; i++) { %>
> > <CENTER><font size="<%=i%>">Hello World</font></CENTER><br>
> > <% } %>
> > </body>
> > </html>
> >
> >
> > If it works, there should be no reasons that you can not create a
project
> > in VS.NET.
> >
> > Sorry about previous message asking you to use ASP to test the virtual
> dir.
> >
> > M. Yang
> >
>
>
# 7 Re: Creating a ASP+ in VStudio .NET
I was able to get past the "Unable to create Web project" by re-installing
the IIS Server and Windows Components. Now I am having another problem:
When I try to run the project, I get the following error: Unable to
automatically attach to http:\\...Server doesn't have debugging enabled.
Ste 'debugmode enable' to true. I looked in config.web and debugging
enabled is true.
Steve Binney <steve.binney@computerboards.com> wrote in message
news:39cf6674$1@news.dev-archive.com...
> I am having the same problem. I was able to create Web projects for weeks.
> It just broke a few days ago.
>
> Steve Binney
>
>
> Bart Luyckx <bart.luyckx@iim.be> wrote in message
> news:39cf658d$1@news.dev-archive.com...
> > Thanks a lot for your help.
> >
> > At first it didn't seem to work with the virtual directory I created.
When
> I
> > tested it again
> > on a colleagues' machine it worked. So I reinstalled the Windows
Component
> > Update 1.0
> > CD and retried to open the "test.aspx" file...it worked, but my
happiness
> > didn't last for long...
> >
> > I again tried to install a default ASP+ Web Project in that virtual
> > directory
> > and again received the following:
> >
> > Error in creating project: Unable to create Web project
> 'aspx/Project1'.
> > Server error: There is no web named "".
> >
> > Maybe I just ought to reinstall the whole thing, IIS, .NET,
VStudio...not
> a
> > pleasant
> > thing to do during office hours but I'm getting a bit frustrated here.
> > I don't do much low-level tricks on my machine and it's an almost virgin
> > compatible installation and still it doesn't seem to work.
> >
> > Thanks
> >
> > "Mingyong Yang" <myang@foxinternet.net> wrote in message
> > news:39cb875f$1@news.dev-archive.com...
> > >
> > > Bart:
> > >
> > > ASP does not work once .NET platform is installed. You may try saving
> the
> > > following lines as "test.aspx" using notepad in your virtual dir
(aspx)
> > and
> > > test it via IE5.5 (http://localhost/aspx/test.aspx):
> > >
> > > <%@ Page Language="C#" %>
> > > <html>
> > > <body>
> > > <% for( int i = 1; i<8; i++) { %>
> > > <CENTER><font size="<%=i%>">Hello World</font></CENTER><br>
> > > <% } %>
> > > </body>
> > > </html>
> > >
> > >
> > > If it works, there should be no reasons that you can not create a
> project
> > > in VS.NET.
> > >
> > > Sorry about previous message asking you to use ASP to test the virtual
> > dir.
> > >
> > > M. Yang
> > >
> >
> >
>
>
