.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

maxUrlLength is useless for ASP.NET MVC 2 run under ASP.NET 4 AppPool

Posted By:      Posted Date: September 09, 2010    Points: 0   Category :ASP.Net
I was tested "Expanding the Range of Allowable URLs" for this ASP.NET 4 new feature.  The maxUrlLength attribute under <httpRuntime> section in the web.config is only apply to ASP.NET 4 Web Form files.  I couldn't use this feature in ASP.NET MVC 2 that run under ASP.NET 4 application pool.  Does anyone know this problem? 

View Complete Post

More Related Resource Links

{ End Bracket }: To Confirm is Useless, to Undo Divine


The common user interface technique of confirmation, popping a dialog box into the user's face and asking, "Are you really REALLY sure you want to do that?" is evil. It's unfriendly, it's distracting, and it's completely ineffective.

David S. Platt

MSDN Magazine March 2005

Login failed for user IIS APPPOOL\DefaultAppPool


Any Ideas on how to fix this issue?

Visual Studio 2005, Windows 7 64bit, SQL Server 2005 Express

Cannot open database "sql2" requested by the login. The login failed.
Login failed for user 'IIS APPPOOL\DefaultAppPool'.

sql server 2008 import/export wizard... completely useless??



import/export wizard in 2000 had lots of options.

I could copy databases without a care in the world. Including constraints, stored proc., AND the data, etc.

Now, with v2008, the wizard is dumbed down too much. It's a "stupid" copy function that fails on the first constraint it meets.

"Copy database.." is not an option here: it needs sysadmin on both source and destination server.

Re-adding the constraints manually is not an option either: the database is WAY too large. 

I'm actually hoping there is a temporary bug in the import/export wizard. Each option (and you have THREE...) returns with a new error.

Googling, I found I am not alone:


This post is exactly my situation. Here's what his post says: (bolded key parts)


I'm trying to get used to sql server 2008 having been forced to upgrade by my isp. I need to back up my key db on a weekly remote schedule, so have been trying to use ssms to export data from my remote db to a local copy.

Firstly I created a new empty db on the local machine. Then I scripted the structure of the db on the remote machine and ran the resulting query on the local machin

1511 Error on AppPool service account

How do I resolve the following error in the Windows application event log? This error occurs on the Web Application (managed) service account. Event Type: Error Event Source: Microsoft-Windows-User Profiles Service Event Category: None Event ID: 1511 Date:  6/08/2010 Time:  4:01:41 PM User:  [domain]\svcSharePointAppPool Computer: [my SP server] Description: The description for Event ID ( 1511 ) in Source ( Microsoft-Windows-User Profiles Service ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: The event log file is corrupt..

IIS AppPool Account

It appears that IIS 7 defaults to a userid with the same name as the AppPool name.  For example, APPPoolX runs under an ID of AppPoolX.  Is it possible to use a different account? 

Either the user, IIS APPPOOL\DefaultAppPool, does not have access to the PDW test database, or the d



When i try to connect sql 2008 R2 analysis service using OLAP control then i get following error

"Either the user, IIS APPPOOL\DefaultAppPool, does not have access to the PDW test database, or the database does not exist."

Here is connection string that i used: <add name="OlapDB" connectionString="Provider=MSOLAP;Data Source=PCT86\PCT86_R2;Initial Catalog=Adventure Works DW;Persist Security Info=false;Integrated Security=SSPI" />

can anyone let me know where i am wrong!!!



Using IIS AppPool\DefaultAppPool to access SQL Server

Hi all, I am taking over a web application from someone and while setting up the database in my environment I notied they are granting database access to the IIS AppPool\DefaultAppPool network service. Is this something that should be done and why? I have had some people tell me this is wrong, and others tell me that it is fine. I would like your expert opinions on this matter.

Thanks all for your help in this! 
Jeremy Western MCPD Windows - GeneralSoft Inc. www.generalsoft.com - jwestern at generalsoft dot com Please make sure to mark answers as helpful when used and answered when completed.

Central Administration not Available, STSADM password reset errors "job-admin-apppool-change" alread


Hi Everyone,

I think I've shot myself in the foot by not properly following set up instructions.

I have a two-fold problem.  Firstly, my Sharepoint Central Administration V4 site is showing Service Not Available.  This seems to be related to the credentials the Central Administration V4 Application Pool - hitting Test Settings within IIS Manager for the site shows an Authentication and Authorization error for the credentials due to a bad password.

My reading indicates that I should run something to the effect of:

%STSADM -o updatefarmcredentials -userlogin DOMAIN\username -password <new password as set via AD>

This runs into the following Error message

Error deploying administration application pool credentials. Another deployment may be active. An object of the type Microsoft.SharePoint.Administration.SPAdminAppPoolCredentialDeploymentJobDefinition named "job-admin-apppool-change" already exists under the parent Microsoft.SharePoint.Administration.SPTimerService named "SPTimerV4".  Rename your object or delete the existing object.


I've tr

Is it possible to hide a useless node from a hierarchy by default



I have a fact table that has a key column to which I basically connect 3 different dimension hierarchies. The hierarchies have some common keys but several keys that aren't common and are put under a "Not applicable" node in each hierarchy. When I'm browsing the cube I can easily hide the "Not applicable" node by deselecting it but is it possible to hide the node by default?

useless premium service

why do i pay 4,99 fro premium services but an unable to remove this annoying Potato ad.  Also how do I open a zip fil that will not seem to open.  The potato and shoppers report will not go away when I delete it from programs.  For 4.99 I think a live person should help but I guess I might as well rop that since it does not work,  Phone   760-898-5006

TCP exception - need to restart AppPool


I've 3 services hosted in IIS. They Expose both TCP and Http endpoints. Now, we've discovered that the TCP endpoint can fail but the HTTP endpoints still work. The only way to solve the problem so far is to restart the AppPool. The TCP endpoints are using PortSharing. It happens only sometimes so it's hard to see a pattern what might cause it. I noticed that the problem occurred also when only one service used a TCP endpoint. Everything works fine until suddenly the service stops responding. Nothing happens when trying to communicate over the TCP endpoint. I think these are the error messages generated when the service fails:

<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
<System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
<SubType Name="Error">0</SubType>
<TimeCreated SystemTime="2011-04-03T18:25:43.8168750Z" />
<Source Name="System.ServiceModel" />
<Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" />
<Execution ProcessName="w3wp" ProcessID="4712" ThreadID="22" />
<Channel />

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend