Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version
Go Back  Xtreme Visual Basic Talk > > > Deploying ASP.NET Website and Targeting Framework Version


Reply
 
Thread Tools Display Modes
  #1  
Old 12-05-2009, 02:21 PM
Adel99 Adel99 is offline
Centurion
 
Join Date: Aug 2005
Posts: 160
Default Deploying ASP.NET Website and Targeting Framework Version


Hello,
I'm totally new to IIS; I know nothing about it. I'm totally confused! I've finished programming and testing an ASP.NET 3.5 Website (not Web Application) and now I want to put it online.
I rent a server in the United States with this information:
- Windows Sever 2003 Web Edition SP 2
- ISS Version 6.0
- SQL Server 2005
- From the Control Panel > Add/Remove Programs, I can see that all the following are installed:
1- .Net Framework 2.0 SP 1
2- .Net Framework 2.0 SP 2
3- .Net Framework 2.0 AJAX Extensions
4- .Net Framework 3.0 SP 1
5- .Net Framework 3.0 SP 2
6- .Net Framework 3.5 Language Pack
7- .Net Framework 3.5 SP 1

Using Remote Desktop, I uploaded all the files in the developed website's root folder to the server's C drive. In the IIS on server, I created a website and configured it. When testing the website on the Internet, I got errors regarding the namespace "Linq" and other 3.5 related features. I found out that the website is targeting .Net Framework 2.0! How is this, and how can I fix it?

Please help me! Thank you.
Adel
Reply With Quote
  #2  
Old 12-17-2009, 09:49 AM
SteveNutt SteveNutt is offline
Freshman
 
Join Date: Jun 2005
Location: Thailand
Posts: 35
Default

Go into IIS and navigate to the virtual folder you created (or default web site). There should be a setting that allows you to change which version of the framework your web site targets.
__________________
IP Alarms - built with VB and ASP.net with a SQL Server back end.
Alarm Monitoring - built with ASP.Net web services.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version
 
Deploying ASP.NET Website and Targeting Framework Version
Deploying ASP.NET Website and Targeting Framework Version
 
-->