Configuration :: Net_wp Memory Options

Aug 3, 2010

i have a web application that when i deploy it at a local computer with windows xp apnet_wp needs about 100-140mb of ram. when i deploy it to the webserver it is being reset by the administrator because the ram needed exceeds 250mb.i have noticed that at the local pc there is only one instance of aspnet_wp for all the connected users. On the other hand at the web server there are different instances all over 100mb.1) is there a programmaticaly way to reduse the aspnet_wp.2) does 140mb of ram is extremely big amount of ram for a medium web application?3) is it possible to to configure the web server to run only one instance of aspnet_wp for all connected issues?

View 2 Replies


Similar Messages:

Net_wp.exe Can't Start

Feb 25, 2011

I have a brand new computer installed with .net Framework 4. I have a 80004005 error that says something like "aspnet_wp.net can't be started because you have the wrong credentials" (sorry, the error message is in another language than english).I tried adding userName="SYSTEM" in the section of the machine.config but it didn't work.I'm desperate, I don't know what to try and I'm normally a Linux

View 2 Replies

Configuration :: Web App Deployment Options

Jan 14, 2011

While developing my web application I was testing using the cassini web server and everything works great! So my program is complete and I am trying to publish it out to a client IIS server on a Windows 2008 R2 server. I have created an app.pool for this application and set it to run with a domain admin users (I am not using the "Administrator" account) since the file processing will be writing the file to a NAS device via a UNC path. When I start the debugging on the server and look at task manager it shows that the "w3wp.exe" is running using the domain admin account, but when I run my code it does not give me a run time error I just get the following warning in the event log.

View 11 Replies

Configuration :: Explanation Of Publishing Site Options?

Feb 18, 2011

what the two following options in the publish dialog are for when publishing a site? I just required to know in what situation these will be use.

1) "Allow this precompiled site to be updatable"

2) "Used fixed naming and single page assemblies"

3) "Emit Debug information"

4) "Enable strong naming on precompiled assemblies"

View 1 Replies

Configuration :: IIS Memory Usage Is Extreme - Is That Normal

Jan 6, 2011

I have an ASP.NET 3.5 app that collects data from a handful of external pages, parses the relevant bits and displays them in a table. Total data retrieved is 3-4MB and the resulting page is about 1MB. I am using synchronous WebRequest GetResponse for the retrieval, but the same problem existed using an asynchronous BeginGetResponse/EndGetResponse process.

There is no database access, no session storage, but an in-memory list of about 100 objects/1MB of data, plus a good amount of AJAX (AjaxControlToolkit). This issue appears on the very first run of the app, even if I have restarted IIS.

The issue:

When I run the app on my dev computer, the maximum commit charge is about 1.5GB. The biggest user, measured by Task Manager's VM Size, is WebDev.WebServer.exe (600MB). The app runs perfectly.

When I run it on my rent-a-server (IIS 7.5, 1GB RAM), the maximum commit charge is over 3.8GB. The biggest user is w3wp.exe at 2.7GB. IIS grinds to a halt and spits out a timed-out error page.

Given my limited server budget and the hope of having multiple simultaneous users, I'm kind of in a panic.

View 3 Replies

Configuration :: Attempted To Read Or Write Protected Memory?

Jun 28, 2010

created an application that accesses some external APIs (google earth api). When I run in VS, everything works. When I run my application on another computer, I get the error:

[Code]....

View 2 Replies

Configuration :: How To Change The CustomErrors Mode Settings In Memory

Dec 18, 2010

By defauly in my web.config I have set the , in runtime I just want to change the Mode = "Off" in memory. I do not want to save the changes to web.config.

Basically we need to see the description of the runtime error, when required.

View 2 Replies

Web Forms :: Treeview / SiteMapDataSource - Get Tree Layout That Matches The Numbers Of Options But No Text On Any Of Options To Click

Jan 18, 2011

I have a Default.aspx program that contains a Treeview with a SiteMapDataSource. I also have a web.sitemap loaded up with urls. When I run the deafult app I get the tree layout that matches the numbers of options but no text on any of the options to click.

View 1 Replies

Configuration :: Test For Memory Leaks On A Website Running Locally?

Nov 14, 2010

The application pool randomly shuts down. I am assuming this is due to Rapid Fail Protection and errors are occuring that are triggering it. However... there are no errors being reported in the event logs. So my next inclination is to think of the possibilities of a memory leak. How do you test for memory leaks on a website running locally?

View 2 Replies

Error Occurring When Using Wcf To Run Query - Memory Gates Checking Failed Because Of The Free Memory

May 21, 2010

I am building an asp.net application, using II6 on windows server 2003 (vps hosting).

I am confronted with an error I didn't receive on my development machine (windows 7, iis 7.5, 64 bit).

When my wcf service tries launching my query running against a local sql server this is the error I receive:

Memory gates checking failed because the free memory (43732992 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.

View 1 Replies

Error: Attempted To Read Or Write Protected Memory. This Is Often An Indication That Other Memory Is Corrupt?

Oct 11, 2010

I have both VS 2005 and 2008 installed on my machine. 2005 is fine. For 2008, literally any asp.net project I try to create gets this eror. I try stepping into the code, and the error occurs apparently before anything that I can trap is loaded. There is no information written to the event log. I have tried this with a "Hello World" webpage with nothing else going on. Seems unique to my Windows Server 2003 machine.

View 3 Replies

Attempted To Read Or Write Protected Memory. This Is Often An Indication That Other Memory Is Corrupt

Jul 30, 2010

I am getting a weird error in asp.net while using leadtools imaging api. Here's the stack trace.

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SetThreadData(_THREADDATA* )
at Leadtools.Codecs.CodecsOptions.Use()
at Leadtools.Codecs.RasterCodecs.DoSave(SaveParams saveParams)
at Leadtools.Codecs.RasterCodecs.Save(RasterImage image, Stream stream, RasterImageFormat format, Int32 bitsPerPixel)........

View 1 Replies

Attempted To Read Or Write Protected Memory. This Is Often An Indication That Other Memory?

Jan 26, 2011

I am maintaining C# .NET code written by somebody else, I get following exception few times,Attempted to read or write protected memory. This is often an indication that other memory is corruptThe code structure where I get the above exception is somethign like this,- it is using ref variables in following sequence,Variable-1 and variable-2 are local variables in App1, - App1: func1() which passes these variables reference to func2(), - App1: func2() passes same variables reference via .net remoting to another application (App2).-App2: does the same passes same received reference to another call 2 times.- The execption is occured while returning from App2.

(App1:func1(ref Var1, ref Var2) --> App1:func2(ref Var1, ref Var2) <---App1 .net remoting to App2--> App2:func3(ref Var1, ref Var2)--> App2:func4(ref Var1, ref Var2)-->variables getting updated and function returned to original caller)

My doubts are ,1. Is passing reference variables in such chain is correct? will it cause such exeption? Does .net support ref variable call directly?

View 1 Replies

Application - Configuration Implementation - Serialize Collections - Pick Up File Write Event To Reload New Instance Of Config Into Memory

Oct 11, 2010

I am working on a web app that will heavily rely on configuration. The configuration is also will be written by another process or human. I am looking to get response on best practices in .net 3.5 on how to implement this case. I had used the configuration section of an early version of the Enterprise Library Applications Block. I really liked working with it but from what I hear it is discontinued in current versions. Hence the question... Need to be able to serialize collections, pick up file write event to reload new instance of config into memory.

View 1 Replies

DataSource Controls :: Memory Leak - Server Will Crash - Log A Ton Of SQL Errors Stating That It Is "out Of Memory"

Jul 27, 2010

I have a memory leak somewhere that I cant find. Every few days my server will crash, and just before that I log a ton of SQL errors stating that it is "out of memory".

I cant find it anywhere, all of my connections are being disposed like so:

[Code]....
Then I call the connection from my pages like so:[Code]....

That is all pretty straight forward. The connection is disposed because it is implementing the USING clause. I am opening the connection in my connection manager class, and not where it is being utilized?Or, could the problem be in the below method I am using to populate a SqlDataReader:[Code]....

Now, at first it appears as though this could be the problem because the Connection isn't part of a USING clause, however doesn't the 'Data.CommandBehavior.CloseConnection' pretty much do the same thing. This makes sure that the connection is closed when the reader is closed, right? Here is how I call that above reader from my login page code behind:[Code]....

So the DataReader will get closed even without the .Close() because it is in the USING, and the connection should get closed because I specified it in the ExecuteReader paramters right?

View 8 Replies

ANTS Memory Profiler - Which Memory Should Be Looking At?

Aug 24, 2010

I have a memory issue on my websites and am trying to get to the bottom of it. I have downloaded the 14 day trial of ANTS Memory Profiler and have been playing with it to get a grip of what it's telling me. In the memory options on the timeline, I can see Bytes in All Heaps and Private Bytes etc but I am not sure which ones I should be focusing on to see where the memory spikes and doesn't go back down.I am profiling a ASP.NET website using ASP.NET 2.0.

View 1 Replies

Options To Use FindControl()?

Jan 16, 2010

The thing I don't like about FindControl() is the string parameter. If the ID has been changed the compiler won't pickup the error. The error will only occur at runtime. It would be nice if we could get the reference using a method that the compiler would check at compile time?

View 9 Replies

MVC Fileupload Options

Oct 6, 2010

I'm trying to write a simple file upload page using ASP MVC2.I've read some blog post so I started like this

foreach (string file in Request.Files) { HttpPostedFileBase hpf = Request.Files[file] as HttpPostedFileBase; f (hpf.ContentLength > 0) { tring filePath = Path.Combine(HttpContext.Server.MapPath("../Uploads") , Path.GetFileName(hpf.FileName));
[code]...

View 1 Replies

UpdatePanel With ImageButton Options

Jan 16, 2011

I've dynamically made a table that a TD and the TD g onclick="document.location=page1.aspx" (all in the aspx.cs) page, and an ImageButton in it, with imagebutton1.Attributes.Add("z-index", "1000"); and imagebutton1.Click += new ImageClickEventHandler(imagebutton1_Click);, when i click outside of the imagebutton it redirects me to page1.aspx, and when I click inside the imagebutton it does the imagebutton1_Click() function that I made

View 8 Replies

How To Extract Options From A Select Tag Using C#

Nov 29, 2010

I'm writing a simple C# Windows Form app, I send it to a website, and on the website there is a Drop Down menu with options. I want to extract those options and add it to my own drop down menu on my app.

So far, I've written something like this:

[code]....

View 2 Replies

Authentication And Authorization Options?

Sep 4, 2010

I have the usual requirement of implementing Authentication and Authorization. I used to implement it using custom code where I have Users, Roles, Role_Pages, User_Pages, and User_Roles. So this way we can give a certain user roles (that group multiple pages) and/or directly define access to certain pages. All that with the ability to specify fine grained permissions like the ability to Add/Edit/Delete records in those pages.

My question: How easy is it to implement this using Forms Authentication and what advantage does that give over implementing a custom solution. I am also concerned with knowing if there would be any advantage when it comes to securing from session hijacking and against spoofing where an attacker could replay requests and impersonate legit users. Would Forms Authentication have any advantage there, or is it only SSL that can secure against that (which makes both approaches equal in that regard).

View 2 Replies

Difference In Authentication Options?

May 7, 2010

I'm creating a web application that need to authenticate users throw active directory, but i don't know what is the difference between windows mode and forms mode using active directory?

View 5 Replies

Authentication For A Web Service Options?

Sep 15, 2010

I am new to Web services and .NET. I have to authenticate a web service that is being accessed using http post. I tried putting a custom soap header and sending it to the service and checking the header in service but the header object is always null in the service.also if i put the user and password options in http headers how can i validate them on the server ? Client code:

private void button1_Click(object sender, EventArgs e)
{
HttpWebRequest request;

[code]...

View 1 Replies

.net Global Resources Options?

Jan 6, 2010

global resources in my asp.net mvc web application. I have some resources in separate project(not a web app project). Those resources have following settings: Build action: Embedded Resource, Copy To Output Directory: Do not copy, Custom Tool: ResXFileCodeGenerator. When I change an existing value in resource file, build solution in release mode and upload neccesary dll files back to server, the previous values in resources are still shown. However, when I add a new key into resource file, the value of this key is shown properly.

View 1 Replies

Web Forms :: Options Instead Of Using RadioButtonList?

Mar 8, 2010

I want to be able to display information about each rate pulled, mainly: a description for the user, the rate or charge amount, hidden from the user I would like to save the estimated date of arrival and shipping method code.

Right now i'm using a RadioButtonList to display the data, but with a name/value pair I can only do so much (unless I wanted to really hack it up and make the value of each list item comma delimited or something like that to be able to store all that data). There can be multiple rates shown depending on the number of shipping options rates are being pulled from. Is my only other option to use a repeater or are there any other clean options?

View 3 Replies







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