Configuration :: DB Update On Webserver Without Shutting Down Website?

Aug 17, 2010

What is the best way to update a DB on a webserver without shutting down the website that is running on the server?

We want to do things like replacing tables, updating tables and so on, without shutting down the website. One can do everything one wants to by simply opening the webiste on a local instance of visual webdeveloper express (2008 for example). But as soon as the DB is opened in that program, the website looses contact to the database and is effectively down.

Is there another way to access the database wihtout having to shut it down?

Of course one could program such functions viwht asp.net, however, there are so many tasks to be done that it would be tedious to program a new function on an admin website each time. Is there a simple and direct way to change the DB?

View 5 Replies


Similar Messages:

Configuration :: Uploading A Aspx Website To A Webserver?

Jun 3, 2010

how to upload a aspx website project to a webserver.

I have tried to test the website with the LocalHost, and it is working. The project has both aspx and html files linked inbetween. How can I upload the project to a webserver and test it with the URL address.

View 3 Replies

Regular Expression And Required Field Validators Shutting Down Whole Website?

Jan 18, 2011

We are using regular expression and required field validators. They work fine, especially in out of the box environments like the log in control.

When used on other controls, e.g. a textbox, they also work, but we note that the whole site is in effect shut down until the expression is valid. I.e. the user cannot click cancel, or a link. The site only starts working again after the expression has been made valid.

How can this be fixed?

The validators should only apply to the control to validate and to the control that would cause the value of that control to be posted back to the server (e.g. a button), not the whole site.

View 2 Replies

How To Download The CSV File In Website From Other Webserver

Jan 20, 2011

In my website I need to download a CSV file from other webserver through coding.

How can I do so?

View 1 Replies

Configuration :: Cannot Overwrite Pdf File On Webserver

Jul 21, 2010

We recently migrated applications from one web server to another. Previously they could upload files to the server and if it already existed, it would over write with the new one.

Now I have to manually delete the file from the server so they can upload a new one. If I delete it they can upload a new one and even upload one to overwrite the one they uploaded. But only after I delete the "migrated" one.

All of the security is correct. ASPNET and IIS_WPG have permissions.

Da Code:

If System.IO.File.Exists(UploadLoc + Me.FileUpload_PDF.FileName) Then
System.IO.File.Delete(UploadLoc + Me.FileUpload_PDF.FileName)
End If

Me.FileUpload_PDF.SaveAs(UploadLoc + Me.FileUpload_PDF.FileName)

I get the dreaded "access to the file is denied"

Update: I find if I give "USER" modify rights it works, but that does not seem secure.

View 2 Replies

Configuration :: Mailing Not Working On Webserver?

Nov 17, 2010

the codes given below only working on localhost but not on web server.

[Code]....

View 15 Replies

Configuration :: Ajax Not Working On Webserver?

Aug 3, 2010

i m using ajax toolkit 3.0.30930.0 for asp.net 3.5 with vs 2008. it works fine while running on the local machine but while uplaoding on the web server produce following error in the webconfig file,custom error set to off

should i do some changes in web config file before hosting it to the server. i m using script manager from ajax extension rather than toolkit script manager

View 1 Replies

Configuration :: Unable To Programmatically Update Web.Config File Withing Website

Mar 24, 2010

I have a few app settings I want to update from within my web site and to do this I use this code:

[Code]....

This works fine in my development enviroment but when using IIS7 I get an exception while saving these settings:Access to the path 'C:InetpubwwwrootNSiteCOMweb.config' is denied.How can I configure IIS7 to allow my application to update web.config?

View 2 Replies

Configuration :: Unable To Start Debug On Webserver

Oct 2, 2010

While i am running my asp.net application , it show an message that Unable to start a dubug on webserver. Unable to Connect Webserver. Verify web server is running and that incoming Http request are not blocked by a firewall. My application is configured with local iis. Early it is working peoperly. Some time it wil not show when we edit iis property. But right now i can unable to proceed my application by running.

I checked some forum with post of same issue. But still my problem not get solution yet.

View 2 Replies

How To Read System.webserver Configuration Section

Sep 6, 2010

Is there any way to read configuration section group of IIS7 by using WebConfigurationManager o anything?

I tried to read the authorization section but WebConfigurationManager.GetSection() returns an 'IgnoredSection' instance.

This is what my code looks like...

authSection = WebConfigurationManager.GetSection("system.webServer/security/authorization", HttpContext.Current.Request.Path)

View 1 Replies

Configuration :: Attachment In Mail Not Working On Webserver?

Sep 25, 2010

i am using the mail sending facilily in asp.net using system.net.mail and system.net.mime.my code is work fine on local host but show the followiing error on webserver as exception

[Code]....

View 3 Replies

Configuration :: Remote Webserver Didn't Have Target Framework 4.0

Jun 15, 2010

I installed Visual Web Developer Express 2010 and - after that - I realized that my Remote WebServer did not have the FramWork 4.0. So, I uninstalled VWD 2010 and its Framework 4.0 and re-install VWD 2008 and Framework 3.5. So, I've done my ASP.NET application on that Framework 3.5. Unfortunatelly, everytime I've tried to publish the files remotelly, I get the error bellow. What should I do to solve that?

[Code]....

View 3 Replies

Configuration :: Getting The Components / Application Working Properly On The Webserver?

Apr 16, 2010

I'm quite new to ASP and I can't seem to figure out how to get the application/website to work properly on my webserver. The first thing I had done was to build the solution, shortly followed by 'build website' and at last, to 'publish website'. It saved the files to C: -> Documents -> MS VS -> Projects -> My website.

There, the following files are found:

Account [folder]; App_Data [folder]; Scripts [folder]; Styles [folder]; bin [folder]; Web.config; Site.master; Default.aspx; About.aspx and PrecompiledApp.config.

I then uploaded these via FTP to my webserver and accessed the appropriate URL. Seems nothing showed up in root beside "Index of/". When I tried to access /Default.aspx, nothing but text appeared (which would be the code displayed in Default.aspx).

I've also read some tutorials regarding this matter where they instructed me to upload directly from Visual Studio to the FTP server, but I'm kind of afraid that it'll delete everything in said folder, as I don't know what the structure of said direct upload should be like.

View 2 Replies

Configuration :: Adding A User To Upload VWD Projects To My Webserver

Jul 28, 2010

I need to be able to create and manage users and what sites they can access in IIS. For instance, I dont want user A touching user B's site.

I do not want to enable users to log in to the webserver via remote desktop.

View 5 Replies

Configuration :: Routing Not Working In Remote Webserver (Win 2008)?

Dec 15, 2010

I have created an application which is relying on routing extensively. it works fine in my development machine, and when deployed in the local IIS server. but when i publish it to remote server routing does not work? any idea why it happens. i also have the following in my web.config

[Code]....

View 1 Replies

Configuration :: Iisreset Prohibits Webserver Extension V2.0.50727?

Sep 21, 2010

some reason that I can't figure out, the iisreset command prohibits the webserver extension ASP.NET 2.0.50727 and this prevents the site being accessible.I would have to manually allow the webserver extension so that the site becomes accessible.This happens only on one of the load balanced servers.The rest work fine without any issues.

View 3 Replies

AJAX :: Published Website Giving Errors On Webserver 2008 - How To Fix It

Nov 9, 2010

I've read different posts on both of these issues and maybe I'm just not understanding what needs to be done. Here is my dilimma. I am running Windows Vista with IIS 6 and coding in VS 2010 using .NET 4 for the ASP.NET site. I installed the AjaxControlToolkit.NET4 in VS 2010 with no issues. I even used the TabContainer and had no problems on my machine, at least when debugging. When I publish it out and install on my remote Webserver 2008 with IIS6, I get the following errors:

Webpage error details

Message: ASP.NET Ajax client-side framework failed to load.

[code]....

I can't see the tab container...Likewise My reports (using reportviewer) on local machine are displaying perfectly but on my webserver they are not showing...

View 16 Replies

Configuration :: Ldap Authenication Code Is Not Working With IIS But Works With Visual Studio Developement Webserver?

Sep 13, 2010

I have weird issue here, I have a method that takes a login Id and authenticates with LDAP active directory and returns the employee Id. It works great when I run the application in Visual studio 2008 ( it uses the default visual studio developement webserver). The code authenitcates the login id and returns emp Id perfectly. But the problem comes when I publish the code to the Local IIS in my developement PC.

[Code].....

View 4 Replies

Configuration :: Finding Correct "system.webServer / Modules / Add"

Aug 29, 2010

For example, in web.config you can use...

[code]....

...for getting rid of precondition="managedHandler". Where can I find the names and types of the other modules? I suspected that somewhere in the hierarchy there should be some XML describing the defaults. However, I cannot find it. Am I missing some machine.config, web.config file?

View 2 Replies

Configuration :: Unable To Open Website - Internal Server Error (website Down)

Nov 6, 2010

My host moved my website to a new server. The DNS configuration is correct but the website is still down and I'm getting this message

"unable to open website at www.aboutmecfs.org. Internal Server error"

View 9 Replies

Configuration :: Configuring Original Settings For New Website Based On Site Files From 1st Website & Password Q

Oct 19, 2010

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 -

C:inetpubvhosts*****mysite******httpdocsapp_themessiteStyleSheet.css

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=***;

View 2 Replies

Configuration :: Can Store Website Contents In A Folder That Is Located On Website

Apr 27, 2010

I need to have a copy of all my pages, bin fold, data folder, etc stored in a folder in the root of project called installation.

Once I have copied the contents of my web site into the installation folder how can I tell the complie/run process to ignore that folder ?

View 1 Replies

Configuration :: What Is The Difference Between Copy Website And Publish Website

Nov 17, 2010

What is the differenc between Copy Web Site and Publish Web Site? What are the advantages/disadvantages of each method?

View 6 Replies

Configuration :: Website Within A Website Won't Display On Host's Server?

Feb 19, 2011

I'm trying to run a website (site2) that I've placed inside a folder (dir-site2) of another website (site1). The default file of site2 displays fine in every browser on my local computer, as in when I type http://localhost:45912/www.site1.com/dir-site2/default.aspx. But when I upload everything to my host's server and type this

http://www.site1.com/dir-site2/default.aspx I get a server "can't access" error message. I can't display any file that is inside the subdirectory, dir-site2.

View 2 Replies

Configuration :: Website That Use X64 Dll?

Sep 12, 2010

I have a website built in .Net Framework 4. It's built on my Win 7 X64 pc. When I add a x64 dll file as reference I get a "Could not load file or assembly 'xxname' or one of its dependencies. An attempt was made to load a program with an incorrect format."I know that I can set the application pool to enable 32 bits application or not, but this error cause me to not being able to debug or compile the website. How do I proceed?

View 5 Replies







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