Databases :: Site Wont Recover After Db-server Downtime

Jun 10, 2010

Im using the MySql Membership-,Role- and ProfileProvider. If the mysql-server goes offline the site crashes (ofcourse). But when the mysql-server gets back online the site still crashes, complaining that the Role provider cant get initialized because of missing or incorrect schema. If I then make a meaningless change to the web.config (like adding a space somewhere) the site works again.

View 2 Replies


Similar Messages:

Handle Server Downtime For Several Websites?

Nov 2, 2010

My company is planning on having some planned down time, because of some server migrations. Their are about 20 different web applications (internet, and intranet). Any of which can go down at any one time because of the server migration of applications.

So, does anyone know if their is a way to provide a generic message to users if a particular application is down? Like a popup message box, or generic page for that particular application? The idea is to not write 20 different popups or 20 different Fyi-Web pages. But one single page or popup informing that the application is down.

View 2 Replies

Sql Server - Deploy An Enterprise Application And Schema Changes With Zero Downtime

Jan 5, 2011

We have a huge ASP.NET web application which needs to be deployed to LIVE with zero or nearly zero downtime. Let me point out that I've read the following question/answers but unfortunately it doesn't solve our problems as our architecture is a little bit more complicated.

Let's say that currently we have two IIS servers responding to requests and both are connected to the same MSSQL server. The solution seems like a piece of cake but it isn't because of the major schema changes we have to apply from time to time. Because of it's huge size, a simple database backup takes around 8 minutes which has become unacceptable, but it is a must before every new deploy for security reasons.

Currently the best idea we came up is buying another SQL server which would be set up as a replica of the original DB. From the load balancer we would route all new traffic to one of the two IIS webservers. When the second webserver is free of running sessions then we can make deploy the new code. Now comes the hard part. At this point we would go offline with the website, take down the replication between the two SQL servers so we directly have a snapshot of the database in a hopefully consistent state (saves us 7.5 of the 8 minutes). Finally we would update the database schema on the main SQL server, and route all traffic via the updated webserver while we are upgrading the second webserver to the new version.

also share your thoughts regarding this solution. Can we somehow manage to eliminate the need for going offline with the website? How do bluechip companies with mammuth web applications do deployment?

Edit 1 (2010.01.12):

Another requirement is to eliminate manual intervention, so in fact we are looking for a way which can be applied in an automated way.

Let me just remind you the requirement list:

1. Backup of database
2a. Deploy of website
2b. Update of database schema
3. Change to updated website
4 (optional): easy way of reverting to the old website if something goes very wrong.

View 7 Replies

Architecture That Displays Messages (like Downtime) In Application?

Aug 13, 2010

I'm thinking of a architectural way of displaying messages in our application (Flex-Asp.NET-SqlServer), mostly messages that announce for instance a downtime.Currently I was thinking of creating a table FlexMessage that holds the name of a message (based on that name I now where to put in Flex) and the value (the message itself). As a result however, someone will have to create these messages and also delete them when they are no longer valid. So, thinking further, I thought of creating messages having a startdate and enddate, so an interval in which they need to be displayed. Like this, someone could login to the management part and create a message that needs to be displayed from a certain date until a certain date.I could also hardcode it in the Flex Application, but that would mean putting a new build online (of the swf) each time something changes with a certain message.

View 1 Replies

WebMatrix :: And Databases To Access The Site Uredi_let_padalce.cshtml

Jan 18, 2011

I'm learning to use webmatrix via the tutorials on the website. I've had success with all table operations, when only using one table. I'm using the following address to access the site uredi_let_padalce.cshtml?LetId=4 and the is code:

[Code]....

The page works if I write: where LetId=4 instead of @0. But if I leave the variable I get the following error: The column name cannot be resolved to a table. Specify the table to which the column belongs. [ Name of ambiguous column = LetId ] If I specify the table name LetId_PadalecId. LetId=@0, then I get the parameter missing error. How could I tell the server which LetId I want?

View 2 Replies

Security :: Transfer User From One Web Site Site To Another Web Site On A Different Server With User?

Jan 26, 2011

I have a requirement where I have to transfer a user from Web Site 1 on Server A to web Site 2 on Server B.

On Web Site 1, I have to provide controls to enter user id and password and which have to be validated on Web Site 2 on server B, after validating them I have to redirect the user to Web site 2.

what is best way fo doing it. code examples are greatly appreciated.

Note: On Web Site 2, user login functionality is already existing and it is provided by ASP.Net login control, am not sure how to handle the user login process from two different places.

or is it the best way to move Web Site 2 from Server B to Server A so that, the same login controls will be shown using Iframe on Web Site A.

View 6 Replies

C# - Recover The URL That Is Used WebService?

Aug 26, 2010

I'm creating a webservice. I wanna recover the URL that is used my webservice.

e.g: Someone from www.sth.com invoke my webservice's methods. Now I wanna recover www.sth.com from my webservice!

View 1 Replies

ADO.NET :: Recover Data From .IBD File

Jan 5, 2011

I am using mySql 5.1 in my current project and I do have a .IBD file of patient with me. I want to recover data from .IBD file to my patient table structure.

View 4 Replies

How To Recover A Deleted Control In ToolBox

Dec 31, 2010

I delete a control(TextBox) from toolBox by accident, but not getting how to get it back at there please help me to recover.

View 1 Replies

Recover Code Behind Files From App_Code.dll

Feb 14, 2010

I lost my solution files for a project which I've sent to my web host earlier. Now I need to edit and fix some but I don't have the solution files now. I have my project with App_Code.dll. Is there a way to get the whole project back?

View 1 Replies

Security :: Recover Password Not Working?

Apr 19, 2010

I am trying to use the asp.net contol recover password in my web page I cna load the page and enter the username and answer to the question fine but when I click on the submit button I get an error message saying System.Net.Mail.SmtpException: The operation has timed out

the stack trace is

[code]....

I have only put the recover password control on the web page I havn't added any formatting or code and all the other emails I have set to send work fine so can't see why the smtp setting would be wrong for this unless I need to add some code to my page.

View 5 Replies

Visual Studio :: How To Recover The Code

Jul 13, 2010

I am really worried about this. I recently got hold on VS 2010. I had been working on a control when my VS 2010 crashed upon me. I terminated all of the applications that might be slowing down VS. To my horror when I restarted VS I had lost all of the coding and classes written within that control's code behind file which was SearchFilter.ascx.cs. IT shows the size of this file as 0KB. There nothing in it now. Does any one out there know how can I recover my file, it had almost over 700 lines of code. I would be really very grateful to you people out there.

View 5 Replies

Web Forms :: How To Recover Password Using Email ID

Jan 23, 2012

When user enters their email id i how to send email to them ? whether it is good to send their password or send a link to change password? how to make the link not working after 24 hrs/1 day?

View 1 Replies

AJAX :: Recover Parameter In Callback Function

Jan 15, 2011

I'm using ajax to call a webmethod from javascript. The call is successfully made to the webmethod but I'm not able to access the parameters I passed to the webmethod inside of the "OnSucceeded" callback method. I need access to those params because I need to perform more tasks on the client side when the webmethod returns. I'm assuming that the params are returned inside "usercontext", but the value of that param is "null" How can I have access to those params?

Here my sample code:

function OnSucceeded(result, usercontext , methodName)
{
alert( result + ' The value of usercontext is: ' + usercontext);
}
function OnFailed(error, userContext, methodName)
{
alert('Attempt to delete semantic attribute from page failed!');
}
function deleteSemanticAttribute()
{
var username = 'xxxxxx';
var password = 'yyyyyy'
PageMethods.GetMyData(username, password, OnSucceeded,OnFailed);
}
[WebMethod]
public static string GetMyData(string username, string password)
{
return "This is my test application!";
}

View 2 Replies

Tools To Recover ASPX File From Precompiled Dll?

Dec 5, 2010

I have the compiled output from a site which uses asp precompilation. The .aspx files are just a placeholder and there are .compiled files for each .aspx. I'm trying to reconstruct a site's .aspx files from the precompiled assemblies. I've looked in the compiled assemblies using reflector but reconstructing the .aspx looks like a bigger task than what I was hoping for. I have a relatively short timeframe for this.Does anyone know of any easy way? Are there any tools out there that can acheive this task?

View 1 Replies

DataSource Controls :: How To Recover Data From Mdf File

Mar 1, 2010

if we overwrite the db backup(using restore database) then is it posible to recover data of previous backups?

View 2 Replies

Is It Possible For A User To Recover Their Password By Entering Their E-mail Address Alone

Jan 19, 2010

Is it possible for a user to recover their password by entering their e-mail address alone?

Right now I am using the PasswordRecovery control, and i have security questions disabled. So all the user has to do is put their User Name, and hit submit, then their password is e-mailed to them.

But, a lot of my users forget their User Name, so right below I have a User Name recover section. The user inputs their e-mail address, and their corresponding user name shows up.

I would like to simplify this and just require the user's e-mail address to provide them their user name AND password.

View 3 Replies

Visual Studio :: Recover Files From System Restore?

Feb 12, 2010

I had something happen with my pc and had to do a system restore. This has caused some of the files in my project to be deleted. Is there a way to recover these files?

Is there anything I can do to prevent files from being deleted in the future if I ever have to do a restore again?

View 3 Replies

Forms Data Controls :: Recover A Hidden Key Value-by-row From A GridView?

Mar 9, 2010

Need to get access somehow to a by-row value that keeps each row's key. The value can not be displayed as column. The Recovery the value is to be used on a later separate Insert. I need to capture this by-row 'hidden' value on the SelectedIndexChanged event.

how hide this key value so I can recover it on Grid Row Selection?

View 2 Replies

How To Recover Deleted Files From Solution Explorer Of Visual Studio 2008

Jul 29, 2010

by mistake a .aspx and its corresponding .vb file was deleted from my project's solution explorer.Its not there in Recycle Bin too.Is there any method to recover that file ? I am using Visual Studio 2008. Win XP SP1.

View 6 Replies

Security :: Use The PasswordRecovery Control To Recover A Password Using The Email Address Instead Of The User Name?

Jan 26, 2010

Is it possible to use the PasswordRecovery control to recover a password using the email address instead of the user name?

Ideally I'd like to have the PasswordRecovery control allow users to enter their email address instead of their user name and then proceed to answer the security question.

View 3 Replies

Web Forms :: Enable Users Recover Password If Forget Passwords In Web Application

Aug 21, 2012

according to this thread i make login page URL....i have 1 label   1radiobutton and 1 send button now i want when users enter their password,if they enter their password  wrong morethan 3 time it show error that they can't login during 24 hours ,and they cann't enter password in password  textbox . and when they  click on radio button and click on send button it send a massage to my email and after i send them new password 

View 1 Replies

Security :: Configuring Website To Dispatch Email To Enable Members Recover Their Password?

Mar 11, 2010

I have finally designed the school portal. I am having another challenge now. I have created the recover password page. But when it comes to clicking submit I recive error. How do code this so that the password will be sent to my members email.

View 2 Replies

How To Host Site With ASPNETDB.MDF Database From Development Server To Production Server ?

Jan 21, 2011

I have created my site using ASP.NET Personal Starter Kits 3.5. I use Visual Studio 2008 only . .with its built-in SQL Server (2005 Express) ... my database in App_Data is ASPNETDB.MDF ...

I have created some of my tables also ....in ASPNETDB ..

In my local PC the site was running fine ...

But when I publish my site on production server it doesn't work and shows the following error

<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>


My hosting provider connection string ..

<add name="ConnectionString" connectionString="Data Source=69.16.253.19;Initial Catalog=usa_data;Persist Security Info=True;User Id=user;Password=pass" providerName="System.Data.SqlClient"/>


My hosting provider gave me the connection string to connect to the SQL Server 2005 but it doesn't work...

I don't understand why my site was running fine using the production SQL Server 2005 in my local PC when I include ASPNETDB.MDF file in App_Data in my local pc only ..if I remove file ASPNETDB.MDF from App_Data of my local pc ... the site stops working ...

Can anybody tell em how to fix this ... !! I am very tensed since last 3-4 days

View 1 Replies

Web Forms :: File Copy From Remote Server To Site Server ?

Jan 25, 2011

I have deployed my site in Win 2003 server. In this, it copies file from Another server and copies it in local. It is working with my local computer, but not in the server i have deployed. I hope access credentials may be the first reason. But are there any other reasons for this.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved