Configuration :: Long App Restart When Copying Over Bin Files?

Oct 16, 2010

Lately it's been taking about 15-30 seconds for my site to respond after copying new files into the bin folder. I do updates throughout the day to fix bugs, add new features, etc. It used to only take a couple seconds.

I have 4 files that get copied into the bin directory regularly. 2 DLLs and 2 PDB.s I use debug mode (I prefer it for the errors since right now I'm updating frequently), but have also tried release mode and it didn't make a difference. 3 files are 1MB and the other is 400KB. I've also cleaned and re-built but still the same.

It was only taking a couple seconds for the app to restart until a day or two ago. I'm not sure what changed. This is an active site so having a long delay is a problem. I've been tempted to try an iisreset, but that'll really create a problem for users on the site.

This is with IIS6, Win 2003, and .NET 3.5.

I looked in the .NET temp folder and it's not filled with garbage.

View 7 Replies


Similar Messages:

Configuration :: Unauthorized Access Exception Copying Files From One Server To Another?

Dec 21, 2010

I have been struggling with an issue that sounds like it should be quite common but I can't seem to get the thing working no matter how much I research it!

I am using an AJAX file uploader to upload files (up to 100MB) to the webserver and when the user clicks a button to complete navigate to the next page, I then attempt to move the files off the webserver onto a file server on Page_Load. Both servers are WinServer 2003. There just isn't enough space on the webserver to hold all the uploads once we go live with this solution so I have to get the files off the webserver.

Uploading the file and creating a new subdirectory on the webserver (to hold the file) works no problem at all. When I do the file copy to our file server locally on VS2008, again, no problem. However, when I delopy to the live server and try the same thing, the upload happens ok, but the file copy does not. I get an UnauthorizedAccessException. I don't have access to the webserver myself (but can request it if absolutely necessary) and our file server sits within the same domain (Active Directory).

I do not want to use Impersonation at a high level (web.config), so I tried it programmatically for the purposes of the copy file but it did not work. I used one of our general clerical accounts to pass in the credentials and gave full permission to this account on the file server to create/modify files.

Stack Trace:

[code]...

And the Copy code is:

[Code]....

View 2 Replies

Configuration :: Deployment Error -Failed To Generate A User Instance Of SQL Server Due To A Failure In Copying Database Files

Jul 28, 2010

I have created roles and users using ASP.NET configurations for login validations, it works fine if I run my application within project but when I publish my site and try to run from my Inetpub it giving this error. I tried all shorts of solutions posted in website but nothing worked for me.

"Failed to generate a user instance of SQL Server due to a failure in copying database files. The connection will be closed"

View 5 Replies

Web Forms :: Copying The Folder Along With Its Files?

Sep 8, 2010

i want to copy the entire folder along with its contents from the client machine to the server where the application is deployed. i am using asp.net 3.5.

View 3 Replies

Configuration :: Application Start After Restart The PC?

Jun 10, 2010

My asp.net application working fine but sometime it suddenly stops and cannot display a page.After restart the PC it works fine again.I am not getting whats the problem. I also restart the IIS then also it not work.

View 6 Replies

Configuration :: Missing Assembly After IIS Restart

Apr 24, 2010

I have strange problem with missing assembly of my application after IIS restart. My application is installed correctly to IIS 7.5 (windows 7) and works fineAfterwards I make a restart of IIS serverNow my application is not working properly, some classes (assemblies) are missing. I've insterted a code to my application that writes all avaible assemblies into my log file (see code below ) and really a few assemblies are missing[Code]....

Restart of IIS or even restart of windows is not enoughThe workaround is to make some change in web.config or to rewrite some *.dll by the same dll library (in order to force IIS to reload whole application)afterwards it works fine again (till next restart of IIS) for better understanding I've recorded a video for you [URL] Do you have any idea how to solve it? or what what to check? (My application is based on ASP.NET and I'm using ported version of Jade framework (framework originally created in Java).) This problem is related to another problem on this forum [URL]

View 4 Replies

MVC :: Publish Website Not Copying Static Files?

Mar 1, 2011

I am new to MVC. I am using MVC and VS2010. I am trying to publish my website to a remote server. All files are copied except some static pages i have kept inside a folder. for e.g. i have a folder named Content. I have around 5 .pdf files inside this folder and also a .css. When i do Build->Publish <appname> all the files including the .css is copied but not the .pdfs.

View 2 Replies

Web Forms :: Copying Files To A Folder On Web Server?

Aug 12, 2010

I have few files in FolderA on the web server.

I want the users to select a fews files from FolderA and copy them to FolderB on the same web server.

I want to list all the files in FolderA and allow the user to select a few files and copy.

I want to copy the files programatically when the user selects a few files and click on Copy button.

How to copy the files quickly from folderA to FolderB?

View 4 Replies

Configuration :: Continuous Application Restart At (almost) Every Request

Jan 2, 2011

I just released a new version of my web application on ASP.NET V4.0 (on IIS 7 Win2008 R2) For some reason, the application Restarts at (almost) every request. I cannot figure out what configuration (although I didn't change it) or code error may cause this problem. Mind this happens on a hosted server - so I have a somewhat limited ability to debug it.

View 4 Replies

How To Publish A Full Website Without Compiling And Without Copying SVN Files

Aug 17, 2010

Apparently, DNN installations do not like to be precompiled (they won't be able to find any localized strings then). Our installation is safely put in SVN, which means I cannot just copy the whole directory. To publish everything, I need to copy the whole website directory without the SVN files and directories. So far, I've been messing with good old DOS commands, which is time consuming and error prone.

an MS-Built script or step to do just this? Or can I do this using default Visual Studio 2010 commands?

Note: this is a website, not a web application.

View 3 Replies

Copying/transferring Files Directly From Client To Ftp Server?

Mar 5, 2010

is there any way to copy/transfer files directly from client to ftp server through my web application? user will select files through fileupload control.

copying via webserver takes too much time.

there may be several files of 0 kb to 10 mb.

View 3 Replies

Debugging - Copying Project Files With Code To Server?

Jan 6, 2011

I know you can copy a Website intact to the server and have it run normally (security and compilation time aside). What about the projects that are in the solution? [whose dll's are copied to the bin when built]. Is there a way to copy the projects' code files to the server as well?

My goal is to be able to debug [by modifying code in the project if needed] directly on the server without having to install an IDE [or keep building on dev machine and copying over dlls]. I can debug/modify the website files, but not the projects.

View 2 Replies

Configuration :: Browser Freezes - Have To Restart Iis For Next Request (related To Printing)

Apr 9, 2010

I am working with three machines. The printer is shared and it is attached to one machine. Second machine contains published pages and on third machine I am developing the application. I have an application which uses combit's list & label for label printing. I am able to print label from the project. Means while debugging the project, printing works fine without any problem(from the development machine). But when I deploy(publish) this project in IIS by making virtual directory and then try to run, it does not work(on deployment machine). The browser freezes and does not show any error as well. After closing browser and running the same page takes a lot of time just to load the page.(not even shows the complete GUI, just white page...) Eventually I have to restart the IIS. Does anybody have idea regarding this?

View 3 Replies

Configuration :: Copying Website From One PC To Another?

Sep 28, 2010

I wanted to transfer the website I was creating on my PC to the laptop so I can show it to other people, but when I try to start the copied website I get the following error: "Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl)." File is: MasterPage.master.cs and the Line is: 1.

As the website on my laptop is the exact copy of the website on my PC I don't understand what the problem is and why did it happen.

Am I doing something wrong? Is there any other way of transferring website from one PC to another. I have to add that the website is running on localhost.

View 9 Replies

Visual Studio :: Files Take A Long Time To Delete?

Feb 9, 2011

When I try to delete files or directories within the solution explorer, they take an excessive amount of time to delete. When I say excessive, I mean I almost had enough time to type this post out before a directory with nothing in it was finally removed. I'm using visual studio 2010 on Windows XP SP3 and I primarily program in MVC/C#.

View 7 Replies

Configuration :: Internet Explorer Gets Slower And Slower Untill Restart?

Sep 28, 2010

CWe've internal application written in ASP.NET, AJAX, SQL 2005. The problem is that sometimes response time (post back) is raising up to 10-30 second for some reson. The only way to make it faster is to restart browser (IE). Then it works really fast.

I have no clue what is causing this. Maybe it's viewstate, browser cache, browser memory clogging - I DON'T KNOW. The only thing I know is when I shut and reopen browser it's working fine. If I leave it open and come back in an hour or two it's really slow.

View 4 Replies

When Updating Aspx.cs Files On A Virtual Dedicated Server Does It Require A Restart Of The Virtual Server For The Changes To Take Effect?

Jan 26, 2010

Quick question. When updating aspx.cs files on a virtual dedicated server does it require a restart of the virtual server for the changes to take effect?

View 5 Replies

Configuration Take Long Time To Upload The Application?

Jun 9, 2010

We deplyed an application to a host, my default asp.net page load 3 small catalogs, this delay to load about 15 secondsthe first time, Can I do something about it

View 1 Replies

Configuration :: Site Take A Very Long Time To Load?

Mar 26, 2010

i developed a website already and it was hosted in live too. My Problem is , site take a very long time to load , it take nearly 30-60 seconds to open , once it opened then it is some what better, MY Url Ishttp:\shoesrus.msinternational.bizplease verify and give me a solution , is their is any setting changes has to be taken in iis or server side etc..

View 3 Replies

Configuration :: IIS Turn Around Time To Long After Page Is Idle?

Nov 12, 2010

I have IIS 7.5 running on windows 7 64 bit machine.

My problem is that in my web application after any page request if the page remains idle for more than 2 mins, it stops responding. For e.g. lets take the following scenario:

1. Initial page request

2. the page stays idle for 2 mins

3. Click a button to save data

4. It takes very long for the aspnet worker process to reach page_load, and firefox shows "connection was reset" message.

I put breakpoint on page_load. It strikes the breakpoint after a long time and also it does not go to the event handler of the button that was clicked.

The web application works perfectly if the page is not kept idle.

I am not using sessions in my web application.

View 3 Replies

Configuration :: First User Long Wait For Login.aspx?

May 7, 2010

I'm using the standard ASP membership provider

The first user of my site per day (or if nobody has used the site for awhile) gets a pretty long wait to bring up login.aspx. Subsequent users, site comes up immediately.

I understand this is an IIS setting to save resources. (I'm on IIS6). What is the community doing about this problem? I've read about writing programs to keep the site alive by hitting it every 20 min, but there must be a better way. One of my project is for a small business to provide order information for their customers -- gets used every day but not that many times per day.

Is this the reason most developers will have the first page as index.html then you click to login from there while it says "please wait for login" or similar?

View 3 Replies

Configuration :: Visual Studio Publish Taking A Long Time

Mar 24, 2010

When I Publish my website it takes around an hour and a half. This is publishing to a directory on my local machine, it is not FTP'ing to a remote server. The build seems to take about an hour (when I build without publishing it is noticeably slow, but 5 minutes slow, not an hour), then the publish seems to take a further half an hour.

what could be causing this and how I can improve this? This obviously causes issues when I make a change (I'm constantly updating the site) as I need to wait for an hour an a half. I'm considering not precompiling the site now and simply uploading the .aspx and .cs files direct to the server as this is unmanageable for me.

View 5 Replies

Configuration :: ResourceManager And Resx Files - Files To Display Items In Multiple Languages

Oct 13, 2010

I have an application that uses resource files to display items in multiple languages. My app uses quote a lot of javascript and the alerts need to display in the local language. To do this, I have created an http handler which will read the keys and values of the culture-specific resource file and write them to a JSON array which is then embedded in the page in a script tag, the messages can then be accesses using, for exmaple:

Message.Error (en-GB = "Error", fr-FR = "Erreur")

The messages http handler works great in development, however when I run the application on a test server, I get the error: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Resources.Alerts.resources" was correctly embedded or linked into assembly "App_GlobalResources.b0n9j90e" at compile time, or that all the satellite assemblies required are loadable and fully signed. The code that I use to acccess the resource file is:

ResourceManager manager = Resources.Alerts.ResourceManager;
ResourceSet resourceSet= Resources.Alerts.ResourceManager.GetResourceSet(Thread.CurrentThread.CurrentCulture, true, true);

Where Resources.Alerts is the type that contains my multi-lingual definitions. The build action for the Alerts.resx file is set to "Embedded Resource". Any ideas why this works locally but not on my test server, am I missing something?

View 1 Replies

Configuration :: How To Prevent Specific Files Being Deleted From Temporary Files

Jun 2, 2010

The majority of files in the Temporary ASP.NET File folder for a given application get deleted by ASP.NET following compilation -- .DLL and .PDB files amongst others remain.

Our compiler produces proprietary debug information files which are amongst those that get deleted.

Marking the files read-only prevents this but are there other options available?

View 5 Replies

Configuration :: Create MSI Files Or Setup Files Programmatically?

May 24, 2010

How to create MSI Files or setup files programmatically using MSBuild in VS 2008

View 1 Replies







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