ASP.NET using Visual Studio.NET

M

Mark Sandfox

How do i get my ASP.NET Web Application to work on my MS Server 2003 on the
internet? Step by step please.

I have created and built a simple calendar app that works locally, but not
when i publish it to the website. All files are in the website's SubWeb,
including the Bin folder with the dll.

I know i am missing something simple but i cannot find any documentation
telling me to do anything mroe that i have not already done.

Thanks in advance for your help.
 
J

Juan T. Llibre

First, did you enable ASP.NET 2.0 on the 2003 server ?


Open the IIS Manager, scroll down on the left to the "Web Service Extensions" folder,
then highlight the ASP.NET version or versions that you want to enable on the
right-hand panel and click the "Allow" button.

That will allow the execution of ASP.NET pages.

Second, did you create a virtual directory for your "SubWeb" ?
 
M

Mark Sandfox

First part is yes. All our websites run ASP.NET (longhand code) without
issue including this one. But this Web App created with Visual Studio won't
work.

Second point. Arent the virtual paramaters setup upon creation of the Sub
Web?
 
J

Juan T. Llibre

re:
But this Web App created with Visual Studio won't work

Which version of VS are you using ?

re:
Aren't the virtual parameters setup upon creation of the Sub Web?

That may depend on the VS version.

VS 2003 created virtual webs for every project created.
VS 2005 can use a file-based project and not use a virtual web at all.
 
M

Mark Sandfox

What about 2002 as i have.

Juan T. Llibre said:
re:

Which version of VS are you using ?

re:

That may depend on the VS version.

VS 2003 created virtual webs for every project created.
VS 2005 can use a file-based project and not use a virtual web at all.
 
J

Juan T. Llibre

re:
What about 2002 as i have.

That's your problem right there.

Windows 2003 Server shipped with the .Net Framework 1.1 out-of-the-box,
and doesn't support the .Net Framework 1.0, so websites created with VS 2002 won't run.

You can run the .Net Framework 1.0/VS 2002 on Windows 2000 or XP, but not on 2003 Server.
 
M

Mark Sandfox

First logical answer anyone has given me in days. Thank you. Just order VS
Pro 2005. I truely hope this solves my problems.
 

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

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top