PC Review


Reply
Thread Tools Rate Thread

ASP.NET using Visual Studio.NET

 
 
Mark Sandfox
Guest
Posts: n/a
 
      6th Feb 2007
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.


 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      7th Feb 2007
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" ?




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Mark Sandfox" <(E-Mail Removed)> wrote in message
news:VV7yh.16707$(E-Mail Removed)...
> 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.
>
>



 
Reply With Quote
 
Mark Sandfox
Guest
Posts: n/a
 
      7th Feb 2007
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?



"Juan T. Llibre" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" ?
>
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaņol : http://asp.net.do/foros/
> ===================================
> "Mark Sandfox" <(E-Mail Removed)> wrote in message
> news:VV7yh.16707$(E-Mail Removed)...
>> 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.
>>
>>

>
>



 
Reply With Quote
 
Juan T. Llibre
Guest
Posts: n/a
 
      7th Feb 2007
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.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Mark Sandfox" <(E-Mail Removed)> wrote in message
news:Kd9yh.3026$(E-Mail Removed)...
> 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?
>
>
>
> "Juan T. Llibre" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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" ?
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaņol : http://asp.net.do/foros/
>> ===================================
>> "Mark Sandfox" <(E-Mail Removed)> wrote in message
>> news:VV7yh.16707$(E-Mail Removed)...
>>> 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.
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Mark Sandfox
Guest
Posts: n/a
 
      7th Feb 2007
What about 2002 as i have.

"Juan T. Llibre" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaņol : http://asp.net.do/foros/
> ===================================
> "Mark Sandfox" <(E-Mail Removed)> wrote in message
> news:Kd9yh.3026$(E-Mail Removed)...
>> 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?
>>
>>
>>
>> "Juan T. Llibre" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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" ?
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en espaņol : http://asp.net.do/foros/
>>> ===================================
>>> "Mark Sandfox" <(E-Mail Removed)> wrote in message
>>> news:VV7yh.16707$(E-Mail Removed)...
>>>> 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.
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Juan T. Llibre
Guest
Posts: n/a
 
      7th Feb 2007
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.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Mark Sandfox" <(E-Mail Removed)> wrote in message
news:QW9yh.16735$(E-Mail Removed)...
> What about 2002 as i have.


> "Juan T. Llibre" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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.
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaņol : http://asp.net.do/foros/
>> ===================================
>> "Mark Sandfox" <(E-Mail Removed)> wrote in message
>> news:Kd9yh.3026$(E-Mail Removed)...
>>> 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?
>>>
>>>
>>>
>>> "Juan T. Llibre" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> 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" ?
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, asp.net MVP
>>>> asp.net faq : http://asp.net.do/faq/
>>>> foros de asp.net, en espaņol : http://asp.net.do/foros/
>>>> ===================================
>>>> "Mark Sandfox" <(E-Mail Removed)> wrote in message
>>>> news:VV7yh.16707$(E-Mail Removed)...
>>>>> 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.
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Mark Sandfox
Guest
Posts: n/a
 
      7th Feb 2007
First logical answer anyone has given me in days. Thank you. Just order VS
Pro 2005. I truely hope this solves my problems.


"Juan T. Llibre" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaņol : http://asp.net.do/foros/
> ===================================
> "Mark Sandfox" <(E-Mail Removed)> wrote in message
> news:QW9yh.16735$(E-Mail Removed)...
>> What about 2002 as i have.

>
>> "Juan T. Llibre" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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.
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en espaņol : http://asp.net.do/foros/
>>> ===================================
>>> "Mark Sandfox" <(E-Mail Removed)> wrote in message
>>> news:Kd9yh.3026$(E-Mail Removed)...
>>>> 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?
>>>>
>>>>
>>>>
>>>> "Juan T. Llibre" <(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>> 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" ?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, asp.net MVP
>>>>> asp.net faq : http://asp.net.do/faq/
>>>>> foros de asp.net, en espaņol : http://asp.net.do/foros/
>>>>> ===================================
>>>>> "Mark Sandfox" <(E-Mail Removed)> wrote in message
>>>>> news:VV7yh.16707$(E-Mail Removed)...
>>>>>> 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.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enabling browser back button for GridView Paging and Sorting in Ajax1.1 and 3.5 (using Visual Studio 2005/ Visual studio 2008) anil reddy Microsoft C# .NET 0 11th Feb 2009 04:22 PM
Enabling browser back button for GridView Paging and Sorting in Ajax1.1 and 3.5 (using Visual Studio 2005/ Visual studio 2008) anil reddy Microsoft ASP .NET 0 11th Feb 2009 04:22 PM
How to take an IE rendered screenshot of a website with visual studio .net 2002 or visual stuido .net 2003? I can't install visual studio .net 2005 on this computer. Daniel Microsoft Dot NET 4 17th May 2007 07:56 PM
How to take an IE rendered screenshot of a website with visual studio .net 2002 or visual stuido .net 2003? I can't install visual studio .net 2005 on this computer. Daniel Microsoft Dot NET Framework 1 14th May 2007 08:05 PM
How to take an IE rendered screenshot of a website with visual studio .net 2002 or visual stuido .net 2003? I can't install visual studio .net 2005 on this computer. Daniel Microsoft C# .NET 0 14th May 2007 07:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:35 PM.