Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Free Website WooThemes - Quality Themes, Great Support
Pages: [1]   Go Down
Print
Topic: two ASP.Net version on one domain  (Read 2414 times)
« on: January 24, 2007, 08:36:20 PM »
Mike Offline
Newbie

View Profile
*

iTrader: 0
Posts: 36



hi,

I have a domain and I am using the HELM control panel to manage it. Would it be possible to use both versions of ASP.Net (version 1 and 2) on the same domain?

thanks,

mike

Share this topic on AskShare this topic on BlinkbitsShare this topic on BlinklistShare this topic on BloglinesShare this topic on BmarksShare this topic on Del.icio.usShare this topic on DiggShare this topic on DzoneShare this topic on FacebookShare this topic on Feed Me LinksShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on NetvouzShare this topic on NewsvineShare this topic on OneviewShare this topic on RedditShare this topic on RojoShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on TipdShare this topic on YahooShare this topic on Google buzz
« Last Edit: December 31, 1969, 05:00:00 PM by Mike » Logged
« Reply #1 on: January 25, 2007, 03:01:33 AM »
Kailash Offline
Administrator
Newbie

View Profile WWW
*****

iTrader: 50
Posts: 286



Hi Mike,

It is not possible. you can not use both versions on a single domain.

Thanks,
« Last Edit: December 31, 1969, 05:00:00 PM by Kailash » Logged

« Reply #2 on: March 05, 2009, 12:17:46 PM »
Harry Offline
Newbie

View Profile
*

iTrader: 0
Posts: 11



What happen if we assign the different ASP.Net version from IIS directly for one domain? Will it work or it will give an error?

Thanks,

Harry
Logged
« Reply #3 on: March 06, 2009, 11:47:26 AM »
Kailash Offline
Administrator
Newbie

View Profile WWW
*****

iTrader: 50
Posts: 286



Quote from: "Harry"
What happen if we assign the different ASP.Net version from IIS directly for one domain? Will it work or it will give an error?
I never tried this but I think it should work.

Kailash
Logged

« Reply #4 on: April 20, 2009, 04:16:05 AM »
gondaliya Offline
Newbie

View Profile
*

iTrader: 0
Posts: 5



ASP.NET 1 and 2 can not work on a same domain. However, if you want to use ASP.NET 2, 3.0 and 3.5 on a single domain then you just need to place separate web.config files by changing the target framework version(compiler version) accordingly. Find the below code and change the Version=2.0.0.0, 3.0.0.0 accordingly. Moreover, you need to keep only one BIN directory at the root application directory.

Code:
<assemblies>
      <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
      <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
      <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
      <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
      <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
Code:
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
Logged
Pages: [1]   Go Up
Print
Jump to:  

Untitled Document
(c) 2012 HELM, WHM, cPanel, ASP, .Net development, PHP, MySQL, MSSQL Server, SEO support forum
Powered by SMF 1.1.16 | SMF © 2011, Simple Machines | Forum style designed by PixelSlot
Google - Sitemap - XML Sitemap