Configuration :: Moving Website Files On SAN For Upgrading
Jun 4, 2010
We 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?
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
I developed a test application using VS 2008 (ver: 9.0.30729.1. sp) and .net work (ver:3.5 sp1) using master pages,style sheets, ajax extenders etc.
I moved the whole website to another machine running VS Team System 2008 (windows xp) with the same above versions. The functionality of the application works fine, but the stylesheet seems to be affected. I have centered the whole application (fixed 960px). But when I ran the same app in new machine running windows xp the content area is getting floated or left justified. Is there anything that I need to take care when I move from one os to the other. What is causing this behavior? I tested using IE 8.
We have a web site with pages written in both vb and c#. We wish to move from a web site to a web application. As a web application cannot mix languages, my thought was to build two separate applications within the same solution and have the main(c#) reference the secondary(vb) and (somehow) copy the vb pages into corresponding places in the c# directory structure at build time.
I recently upgraded one of my hosting accounts on Godaddy to unlimited in order to eliminate several redundant hosting accounts. I ftp'd a website and published the databases into the unlimited account ok but I'm getting server errors which seem to be caused by the fact that the primary website is somehow interfering with the website which was transfered into the hosting account. The latest error is
I want to make a 2nd website and am using a copy of the site files from my 1st site built for me, I added them via FTP to the hosting company. I realise when I edit the new site via the CMS it is editing both sites plus when I try to change anything to the CSS file I get the following error -
So my questions are what do I need to change to be able to deploy a new site with the files I have to make a new site?I also don't understand where the password is coming from, I can see the User ID comes from the database. in the Asp.net connection strings are the following:
site Data Source=sql7.hostinguk.net;Initial Catalog=***;User ID=***;Password=*** - Where is this password coming from?
membership Data Source=sql7.hostinguk.net;User ID=***;Password=***;persist security info=False;initial catalog=***;
I wasn't sure which subforum to post this in as it appears to be a complex widespread issue. I have a WebApplication that was mostly coded in VB but had two C# classes and everything was working fine and it was created in VisualStudio 2005 as a Website. I finally finished converting the existing WebApplication as it was to C# and everything compiled fine. Trying to organize and such I created new Classes, DAL and BLL and migrated the existing classes into the appropriate location. Still compiled fine. Here's where the problems started.
Wanting to move from a Website to a Project, I created a new project WebApplication and migrated all the files from the Website into the Project. I re-added the references to the classes and .Net components and updated all the project settings to mirror what was in place before. Now when I try to compile. BAM. 171 Errors, mostly "The name '' does not exist in the current context." It appears most of them are in regard to Profile or accessing page components (Labels, Textboxes, etc) I can provide more detail about specific errors if needed but I was hoping maybe I just didn't do something incorrectly when moving to a Project from a website.
I created a virtual directory on the new server and I pointed to the location on the server where the webpages are located.
I keep getting this error:Compiler Error Message: CS1705: Assembly 'ClassLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=dd83483ddbd7ed99' uses 'Oracle.DataAccess, Version=10.1.0.400, Culture=neutral, PublicKeyToken=89b483f429c47342' which has a higher version than referenced assembly 'Oracle.DataAccess, Version=1.111.6.0, Culture=neutral, PublicKeyToken=89b483f429c47342'
ClassLib is a dll that is referenced within my site that has functions that were created within it.Within ClassLib there is a reference to the old oracle version. My new server has version 11. Will I have to install version 11 and reference that version within ClassLib and then recompile and add the new dll to my bin directory?
Our site as it exists now utilizes only the bin file. We are going to re-migrate our site to use the .cs files to compile on the fly. What settings do I need to set to allow for this and what disadvantages if any are there for using the .cs files in prod?
I have subdomain "s1" which points to "a" folder. I want to know how could I access to files stored in "b" folder form subdomain "s1". My issue is that files I have some html content which saved in DB Records and their path are base on webroot i.e. "<img src="/b/movie1.avi" /> .Could any one tell me how I could show these files via subdomain "s1"
Since 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?
I 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.
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??).
I 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.
on my web page i submit some data on click at button , this block is inside update panel.
this functionality working fine in 3.5 frame work.
Now our website is using 4.0 frame work.
controls inside update panel giving following error on submting data :
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500.
We 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?
I recently upgraded to Windows 7 Ultimate on my work computer. Before this debugging a website in Visual Web Developer 2008 was really fast - the page loaded up like a normal website would.
Since I've upgraded to Windows 7 the page loads like normal but gets stuck for about 30 seconds at the end of the load - this is slowing me down as I normally need to use the FireBug tool as soon as the page has loaded.
I am creating a web application using Asp.Net3.5. I tried to copy file from one location (some folder on the deployed to server ) to another machine (on the same network) , both the machine is running Windows Vista. It works fine, But when i tried to copy the same set of files to another machine ( MAC ) on same network it is not allowing. So how to achieve this functionality. Sample code for reference
I have some static (pure html) pages in my MVC application that I need to authenticate, so that not just anybody can look at them. Is there an way to do this without moving all the code to asp files and adding a controller and from there use the Authorize attribute? I would really prefer to not need to do this!
I am developing a web dashboard under a deadline. We are interested in making a demo release before the dashboard has been fully developed. It does not currently have the concept of a logged in user.
The state of the web dashboard is currently saved into Session. All my classes are serializable, and I was able to set my SessionState Mode to SQL Server and write Session to a SQL Database. I would be able to use this to serve my purposes, but I have been unable to figure out how, if possible.
The goal is this: "Represent the saved state of the web dashboard as text and be able to load the state of the dashboard on another computer." The method to me was to write XML to a text file and be able to move that text file to another computer, point at it, and load my state again.
My issue with writing Session State to a SQL Server is that when the Session expires (browser closed/time out) I am unable to load the old data up onto the page. If there was a way to say "Take the data from session state _ and load it onto the page" I would be golden. As far as I can tell this isn't possible.
The DB I am working with is for memberships. Looking forward, I will load the website to a host provider. I think that the process requires that I also load a database with the hosting company on their server as well. Meaning that I will have two applications, with a connection string to connect the two (the web app, and the database). Is this the normal process for bringing a website live?