.net - Upgrading 1.1 Framework To 4.0?
Aug 13, 2010if i need to upgrade one version at a time (2.0, 3.5, 4.0) or if I can just directly from 1.1 to 4.0?
View 1 Repliesif i need to upgrade one version at a time (2.0, 3.5, 4.0) or if I can just directly from 1.1 to 4.0?
View 1 Repliesi will be responcible for upgrading an IIS web server from the Microsoft .NET framework v2.0 to v3.5.I am wondering if there is anything special i need to know or any caveats i should be aware of before proceding?he site gets a fair number of hits per day and I will be taking it down and performing the upgrade at an off-peak time.Aside from double clicking the installer is there anything i need to know?Will the server need to be rebooted afterwards, does the installer handle all of the configuration changes? etc..
View 1 RepliesWe have multiple websites deployed onto Windows 2003 WebServer running under .NET Framework 2.0 SP1 version and now we want to upgrade it to .NET Framework 2.0 SP2, so just wanted to check that after upgrading the .NET Framework on the server do we also need to re-deploy the websites by recompiling them in .NET Framwork 2.0 SP2 version or it's not necessary as they will automatically start referencing the latest assemblies?
View 2 RepliesI have a site that was sucesfully upgraded to Framework 3.5 on Vista with VS2008. Now however after installing VS2010 and upgraded to Win 7 wierd things are happenning and was wonderring if any of you have experienced this and how you've dealt with it.First thing I notice in my main page that the four user controls are not in alignment. They should appear side by side in a single row, however now they spread acros two rows with one on top and three on the bottom. Also my graphics and navigation is not where they supposed to be. Just for comparison, if run the existing solution on Win 2003 with VS2008, it works like it supposed to. All the formatting is handled in .css and that didn't change either.
[Code]....
[Code]....
I have recently developed a new vs2010 web application that I would like to add to my web site.
The existing website was developed using vs2008. The web site is hosted on a windows 2008 server running iis 7. My new web application sits below my main website i.e. mywebite mywebsite/mynewwebsite
I have set the application pools for the mynewwebsite to be asp.net v4.0, leaving the application pools for mywebsite as .net v2.0 If I try and open my new web application i.e. [URL] then I get 500. Internal server error. I assume that it is iis that is unhappy here. Do I have to rebuild the whole of my web site to be vs2010 using asp.net v4.0. If I do should I use ASP.Net v4.0 or ASP.net v4.0 Classic for my application pools, and should I have a separate and distinct application pool for each of my web applications ( I have 4 of these) Just to clarify my clients can log on the web site as
[Code]....
our project using active directory on vb.net 1.1 and server 2003. We will be upgrade to vb.net 3.5 and server 2008.
In this case, 1. We convert all vb.net 1.1 application to vb.net 3.5 and run on server 2003.
Then later on, 2. Our server will upgrade to server 2003 to server 2008.
I would linke to know after doing above two phase will effect on Active Directory code setting in our program.
Can I conver to 1 to 1 withut changing anything in vb.net and server?
I upgraded my project from 3.5 to 4.0. Now I get:
Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies
escription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.
Source Error: [Code]....
I need to upgrade my web solution ASP.NET 3.5 to 4.0 currently used VS 2010. Earlier upgraded from VS2008 ASP.NET 2.0 to 3.5.So project currently used in VS 2010 with ASP.NET 3.5.
Visual Studio Conversation Wizard does not pop up, when I am chancing the version number in the solution file from 11 to 10 the wizzard pop up, but it doesn't do the upgrade to 4.0.
I'm administrating servers running IIS 6, hosting a website on ASP.NET 2.0. Yesterday I installed .Net framework 3.5, and all my user authentication system was lost. Users can't log in, because their password arn't getting authenticated, maybe because the hash function has changed in 3.5??? I can't really get to the code, but I know it uses an extention called CodeSmith.Do you know of any break my upgrade the 3.5 ugrade could couse?
View 1 RepliesI just upgraded one asp.net 2.0 (using vs2008) app to asp.net 3.5 (using vs2010) but session do not work. (pass a value from one page to another page)
I used code in web.config file as below.
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="120"/>
I have to get the value from a textbox (not bound) that has been put into a formview control. The Submit button also resides in the formview control. I have this code in the button's click method:
Dim TestValueTextBox
As TextBox =
New TextBox
[Code]....
to get that value entered and store it into the enteredValue variable (and yes, I know I have to do validation, etc). But when this runs, the value of the text in the textbox is "". I tried to put this up in the page load event, but then I get an error about declaring New.
I have a webform that has a formview (fvwContract) and inside itemtemplate there is a Tabcontainer with three tabs (invoice (spanish: factura), receipt (spanish: recibo) and beneficiary (spanish: beneficiario). I have another formview inside invoice tab (fvwFactura) with many textboxes that I need to manipulate in code behind. The thing is that I canīt reference any of them like the following:
protected void DropDownList1_SelectedIndexChanged2(object sender, EventArgs e)
{
AjaxControlToolkit.TabContainer container = (AjaxControlToolkit.TabContainer)fvwContract.FindControl("TabContainer1");
[Code]....
how to reference any control inside frwContract.TabContainer1.fvwFactura?
Is there any tool out there which can upgrade an MVC project from MVC2 to MVC3 and at the same time upgrades to the ViewEngine Razor or must I do this work manually everytime a new MVC version is released?
View 5 RepliesSince upgrading a website from ASP.NET 3.5 to ASP.NET 4.0 my dates come out in US format, ie 3/24/2010. How can I change it back to UK format (24/3/2010) for all pages on my site? Is there a default setting somewhere?
View 1 RepliesI struggling trying to insert the value I select from a "DropDownList1" country list into a TextBox inside a FormView1. I have tried the following but It wont insert the text:I also tested on a textbox1 outside the FormView1 and it works but just after clicking Cancel or Inser in the formView1.
[Code]....
i created a web setup project for my asp.net application. am trying to create an upgrade MSI that will only replace some few files in my initial installation (very minor upgrade). right now, am not getting it right because the whole initial set of files is been replaced. i guess i only need to change the package code, but i cant do this in VS.NET 2008.
View 6 RepliesWe currently have two web servers that are load balancing a website. Each server at the moment has its own copy of the site on their own hard drives. We have recently installed a SAN thats accessible by both servers so what I would like to do is move the website files on to the SAN for easy management of upgrades to the site. What steps should I take to ensure this works correctly with IIS7 and the web.config files and possibily machine.config files. For additional information the web.config's on each server is currently encrypted, how would I be able to achieve this with a SAN?
View 2 RepliesI have a website I developed in VS 2008 targeting .net 3.5. It has worked well. I recently upgraded to VS 2010 and needed to make a few changes to the site. However, I'm receiving compile errors (haven't made any changes to the code yet--was just launching the site to make sure it worked ok). I get "Contains" is not a member of system.array. Everything I've read states that the contains method was added in .net 3.5, which I know to be correct because it was working in VS 2008. I've been targeting .net 3.5 in VS 2010, but it still isn't working. I also used linq quite a bit with linqkit to do dynamic queries and all of my linq queries were saying my queries weren't queryable (I don't have the actual error in front of me). Anyway, to fix that one, I had to import system.linq (I previously had system.data.linq and it was working fine). To reiterate, I haven't targeted my site to .net 4 in VS 2010, I've left it targeting .net 3.5.
I tried converting my arrays to arraylists since arraylists were still pulling up with a .contains method, but then it broke my linqkit queries when I ran it on the site.
Here is my linqkit query:
Dim str() As String = archlist.ToArray(GetType(String))
Dim str3 As New ArrayList
str3 = ArrayList.Adapter(str)
predicate = predicate.And(Function(l As CompatTesting) str3.Contains(l.application.cpuarchitecture))
Before, I didn't have the arraylist conversion, I just had str.contains and it worked great to generate a sql "in" statement. Now after using the code above, the site launches, but when I actually run the code, I get Method 'Boolean Contains(System.Object)' has no supported translation to SQL. I also tried upgrading my linqkit dll to the latest version but it didn't help.
My questions are, since I'm targeting the same .net 3.5 framework in 2010, why is it not allowing me to use array.contains anymore? Maybe if I can address that issue, it will fix my linqkit issue where it says "contains" has no supported translation to sql.
I need to upgrade a ASP.NET website for IE8. it works fine in IE6, but not in IE8. I don't want to run it in any backward compatibility mode. I would like to make any code changes that are required to make it fully compliant with IE8/Firefox. what is the best and/or easiest way to do that? is it just a case of going through each of the things that are broken and fixing them one by one or is there a more efficient way to fix these issues (some kind of utility??).
View 3 Repliesi was normally using VS2005 and SQL server 2005... i upgraded to SQL Server 2008... and then... i could not build my project anymore... because of this error: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
View 2 RepliesI have been writing c# .net in MVS 2005 conneting to a sql 2005 db, after initial setup about a million years ago, everyhting ran smoothly. Then I upgraded to MVS 2008 connecting to a sql 2005 server. Still all good. Now my IT department FINALLY wants to upgrade the sql server (Stand alone server running on win server 2003 r2). I am wondering if there is a checklist or walk through of steps i need to take to keep connettivity. If I shoiuld build new connection strings for example, or should the current connections be ok to find the server/db/tables provided the server name and permissions haven't changed? Here is a snippit of my config file
...
<remove name="LocalSqlServer" />
<add name="debugConnectionString" connectionString="Data Source=UMAURSQL;Initial Catalog=debug;Integrated Security=true;"
providerName="System.Data.SqlClient" />
...
My company is looking to upgrade the web server from Server 2003 to 2008 (along with IIS of course). Currenty the websites are built using ASP.NET 3.5 (and a blog in PHP), is there anything that needs to be done to ensure the sites (forget the blog) still work on the new server? I'll no doubt upgrade the sites over time to use .Net 4 or MVC, but for the moment the transition needs to be almost seamless.
View 2 RepliesI upgraded a Website to use ASP.NET 4.0, from 3.5. This involved setting it up on a different server, with the same hosting company. I'm using a shared hosting plan on Windows Server 2008.
Since migrating, it gives an error message when I try to login to the site:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
I'm using the same connection string as I did in the old version, which always worked. I also changed the permissions for the database to allow connections from the redeployed Website, via the host's control panel.
I have searched the web.config, and the source for the site, and I haven't been able to find a connection string that looks incorrect.
I've contacted the host about it, in case it is a configuration issue on their side.
I'm upgrading a regular asp.net project to asp.net mvc 3 (RC2) with Razor syntax. I got stuck now trying to figure out some way to create nested master pages. My main "layout" page contains the default header & footer. I used
[Code]....
When I now try to make a view page use the AuthLayout as a "layout" page:
[Code]...
Then I receive this error: The "RenderBody" method has not been called for layout page "~/Views/Shared/_AuthLayout.cshtml".
I have installed VSPro 2010 on my workstation. It comes with .NET 4 framework. How to I need to install .NET on the web server?
View 1 Replies