Configuration :: .NET Windows 2003 Security Patch And Impersonation. IIS 6

Jun 30, 2010

I have an ASP.NET site that uses impersonation. As the impersonated user I use a domain user (not a local machine user). The site is hosted in IIS 6 running on Windows 2003. In IIS 6 for directory security windows authentication is ticked.The site has been running now for about 6 months without any problem. However since about a week back the site has started spuring up really wierd errors. For one, users cannot access the site anymore. When accessing a windows authentication dialog box appears having the user to enter the credentials. However these credentials are not accepted and the standard unauthorized page is displayed

View 7 Replies

Similar Messages:

Security :: RoleProvider Error "processing Of Configuration File" For Windows 2003

Feb 2, 2010

I am getting an error with my custom RoleProvider (based on System.Web.Security.RoleProvider) initializing in my ASP.NET application. The error is: "Description: An error occurred during the processing of a configuration file required to service this request." I see this below error happening on a Windows 2003 server with .NET 3.5 SP1. I have not seen it on Windows 2008 servers, and have not seen the error when the ASP.NET application was built under .NET 2.0 (running on this same server). Any thoughts on the nature of the error?

Classification: UNCLASSIFIED

Caveats: NONE
Server Error in '/Assist' Application.
Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: FrameworkRoleProvider_Initialize

Source Error:

Line 122: <clear />
Line 123: <add
Line 124: type="Grb.Security.FrameworkRoleProvider"
Line 125: applicationName="MyApplication1" />
Line 126: </providers>

Source File: D:inetpubAssistweb.config Line: 124

Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082


Public Overloads Overrides Sub Initialize(ByVal name As String, ByVal config As System.Collections.Specialized.NameValueCollection)

If config Is Nothing Then
Throw New ArgumentNullException("config")
End If
If String.IsNullOrEmpty(name) Then
name = Me.GetType().BaseType.Name
End If
If String.IsNullOrEmpty(config(DescriptionKey)) Then
config.Add(DescriptionKey, SR.GetString(SR.RoleSqlProvider_description))
End If
MyBase.Initialize(name, config)
' Get the configuration settings
Dim configurationSettings1 As Grb.Framework.Business.ConfigurationSettings = Grb.Framework.Business.FrameworkConfiguration.GetConfiguration()
' Load the DomainManager

Dim dataManager1 As New Grb.Framework.Data.Main(Nothing, configurationSettings1.FrameworkSchema, configurationSettings1.AssistSchema, _
configurationSettings1.ConnectionString, configurationSettings1.ProviderInvariantName, _
configurationSettings1.EnablePerformanceLogging, System.Web.HttpContext.Current.Request.PhysicalApplicationPath)
' Load the DomainManager
Dim frameworkDomainManager As Grb.Framework.Business.DomainManager = New Grb.Framework.Business.DomainManager(dataManager1, -1, -1)
m_ProductDomainManager = New Grb.PlugIn.Assist.Business.DomainManager(dataManager1, frameworkDomainManager)
m_ApplicationName = config(ApplicationNameKey)
If String.IsNullOrEmpty(m_ApplicationName) Then
m_ApplicationName = SecUtility.GetDefaultAppName()
End If
If m_ApplicationName.Length > 256 Then

Throw New System.Configuration.Provider.ProviderException(SR.GetString(SR.Provider_application_name_too_long))

End If
If config.Count > 0 Then
Dim attribUnrecognized As String = config.GetKey(0)
If Not String.IsNullOrEmpty(attribUnrecognized) Then

Throw New System.Configuration.Provider.ProviderException(SR.GetString(SR.Provider_unrecognized_attribute, attribUnrecognized))

End If
End If
Catch ex As Exception
Throw New Grb.Framework.Core.Exceptions.FrameworkBusinessException( _
Resources.ExceptionMessages.FrameworkRoleProvider_Initialize, ex)
End Try
End Sub

<?xml version="1.0"?>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<!-- example: <add name="ConnectionString" value="Data Source=MyServer;User Id=GRB_WEB_USER_10;Password=temp;" providerName="Oracle.DataAccess.Client" /> -->
<add name="FrameworkConnection" connectionString="Data Source=;User Id=;Password=;" providerName="Oracle.DataAccess.Client"/>
<!-- example: <add key="FrameworkSchema" value="GRB_FRAMEWORK_2" /> -->
<add key="FrameworkSchema" value="" />
<!-- example: <add key="AssistSchema" value="GRB_ASSIST_2" /> -->
<add key="AssistSchema" value="" />
<add key="FromEmail" value="" />
<add key="PasswordCreateEmailSubject" value="GRB Assist Create Password" />
<add key="PasswordEstablishOrChangeEmailSubject" value="GRB Assist Established or Changed Password" />
<add key="PasswordForgotEmailSubject" value="GRB Assist Forgot Password" />
<add key="Timeout" value="60" />
<add key="RequiresSsl" value="False"/>
<!-- Email digital signing Pfx (certificate) -->
<add key="EmailSigningSignUsingCertificateFromPersonalStore" value="False" />
<add key="EmailSigningPfxFilePathAndName" value="" />
<add key="EmailSigningPfxPassword" value="" />
<customErrors mode="Off"/>
<add tagPrefix="aspajax" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development.

<compilation defaultLanguage="vb" debug="false">
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<!-- 1 GB maxRequestLength -->
<httpRuntime maxRequestLength="1048576" />
<sessionState mode="InProc" timeout="60" />
<!-- note: Set authentication timeout >= session timeout (session timeout will clear authentication timeout upon session_start) -->
<!-- note: <forms name="xxxx" value must be unique for each "forms authenticated" web application run on an IIS web server -->
<!-- note: For a more secure system, set requiresSSL="true" (and install/setup an SSL key on the web site) -->
<authentication mode="Forms">
<forms loginUrl="TimedOut.aspx" slidingExpiration="false" requireSSL="false" timeout="60"/>
<deny users="?"/>
<allow users="*"/>
<membership defaultProvider="FrameworkMembershipProvider1" userIsOnlineTimeWindow="15">
<clear />
passwordStrengthFailedMessage="The password must be only alpha-numeric characters."
<roleManager enabled="true" defaultProvider="FrameworkRoleProvider1">
<clear />
<add name="FrameworkRoleProvider1"
applicationName="MyApplication1" />
<!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
<jsonSerialization maxJsonLength="500">
<add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
<!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
<authenticationService enabled="true" requireSSL = "true|false"/>
<!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and writeAccessProperties attributes. -->
<profileService enabled="true"
writeAccessProperties="propertyname1,propertyname2" />
<scriptResourceHandler enableCompression="true" enableCaching="true" />
<validation validateIntegratedModeConfiguration="false"/>
<remove name="ScriptModule" />
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<remove name="WebServiceHandlerFactory-Integrated" />
<remove name="ScriptHandlerFactory" />
<remove name="ScriptHandlerFactoryAppServices" />
<remove name="ScriptResource" />
<remove name="WebServiceHandlerFactory-ISAPI-2.0"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<location path="Default.aspx">
<allow users="*"/>
<location path="Portal.aspx">
<allow users="*" />
<location path="Login.aspx">
<allow users="*" />
<location path="PasswordChange.aspx">
<allow users="*" />
<location path="PasswordForgot.aspx">
<allow users="*" />
<location path="PasswordEntry.aspx">
<allow users="*" />
<!-- Give ControlLoader.aspx full access and let it check session/authentication validation.

The rational is that if a user is "timed-out" and presses a button to load a control into ControlLoader, the ControlLoader validation will catch this condition and tell the parent page to reload (so the Login page doesn't appear in the modal-dialog).

<location path="ControlLoader.aspx">
<allow users="*" />
<location path="Documents/AccountServices.aspx">
<allow users="*" />
<location path="Documents/TermsOfUse.aspx">
<allow users="*" />
<location path="SystemAlertService.asmx">
<allow users="*" />
<smtp from="[URL]">
<!-- example: host="[URL]-->
defaultCredentials="true" />

View 1 Replies

Configuration :: Deploying Website From Windows 7 To Windows 2003

Feb 25, 2010

I'm running windows 7, so I installed on my machine the oracle client version (ODP.NET - Oracle.DataAccess version .
I'm trying to deploy an web application to a server that is running windows 2003, which has the oracle client version (ODP.NET - Oracle.DataAccess Version

In my web.config file I have:

<add assembly="Oracle.DataAccess, Version=, Culture=neutral, PublicKeyToken=89B483F429C47342"/>

(which for my surprise it compiles just fine).

Now when I compile my application and deploy it in a setup project (as pre-compiled). The start page of my web app tires to connect to Oracle and it returns the following error message:

"Could not load file or assembly 'Oracle.DataAccess, Version=, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified."

Which is super weird because, cause the web.config file as shown above has Version=

Now the strange part is that if I copy the source code from the client to the server, the same code, same config file, it works just fine.

So I'm thinking that the pre-compiled version is telling the server to load Oracle.DataAccess Version=, maybe in one of the dlls, not in the config file for sure.

Has anyone run into this problem?

what's the best approach to deploy to servers with different oracle client version? (I have a similar problem trying to deploy to a 64 bit machine)

View 2 Replies

Configuration :: Deploying Web App To Windows Server 2003

Oct 17, 2010

I've been given a virtual dev environment being windows server 2003 and I need to publish a web app to it. I've deployed apps quite easily using the publishing wizard but I'm not sure how to do deploy to a windows server.. can someone please provide a link or a guide on how to do this as I need to set it all up and I really don't know where to start.

View 2 Replies

Configuration :: ASP Error On Windows Server 2003

Jul 5, 2010

I set up VS 2008 team suite on windows server 2003 ,and when I begin a new web site and try to run this website I have error saying

Error 61 Unrecognized configuration section system.serviceModel.
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Configmachine.config 136

I tried to edit in Machine.config but It did't succeed

View 5 Replies

Configuration :: How To Set Full Trust In Windows 2003

Mar 23, 2011

I am using a third party report component, Xtrareport, which requires full trust in IIS Windows 2003 in order to embedded chinese font to pdf and printing purpose.

How can I set this full trust permission?

View 3 Replies

Security :: Application Within A Sharepoint Web Part Using Impersonation But Need Windows Identity

May 12, 2010

I currently have a client with a SharePoint site that wants to incorporate an (already written) ASP.NET application within a webpart in the SharePoint site. The application currently uses an IIS impersonation account to connect to the SQL database.

Some added functionality the client is requesting would require me to grab the user's windows login identity to use the SharePoint UserProfileWebService to query the PropertyPages for that specific user. Because the (already written) ASP.NET application uses impersonation, when I grab the WindowsIdentity.GetCurrent().Name, I get the impersonation account and not the actual user's account.

Is there a way to keep the current setup (impersonation account on IIS to connect to SQL) and still grab the logged in user's credentials? Or would a better way about this be to change IIS to consume the Windows Identity of the logged in user and encrypt the connection string in the web.config?

View 2 Replies

Configuration :: W3wp.exe High CPU On Windows 2003 64 Bit Sever?

Oct 26, 2010

Need you for IIS setting on new Windows 2003 64 bit server we have installed the 32-bit application installer on new 64 bit server, application Insatallation and access is fine

View 1 Replies

Configuration :: Deploying Web Application To Windows Server 2003

Oct 31, 2010

I have built my site using VS.Net 2010 on my XP machine. I would like to deploy it to my server which is a Windows 2003 Server. I have tried to do it with FTP, but it keeps failing with the error that "Front Page Extensions are not installed on the web server". When I check the server the extensions were installed and I also checked IIS and the service for the extension is allowed.

View 6 Replies

Configuration :: Upgrading Windows 2003 Server To Framework 2.0 SP2

Oct 25, 2010

We have multiple websites deployed onto Windows 2003 WebServer running under .NET Framework 2.0 SP1 version and now we want to upgrade it to .NET Framework 2.0 SP2, so just wanted to check that after upgrading the .NET Framework on the server do we also need to re-deploy the websites by recompiling them in .NET Framwork 2.0 SP2 version or it's not necessary as they will automatically start referencing the latest assemblies?

View 2 Replies

Configuration :: Deployment Of ASP 2.0 Website On Windows Server 2003

Jun 8, 2010

I have developed a website in ASP.NET and deployed on IIS 6.0 server on windows Server 2003.I used 2.0,SQL server 2005,AJAX and javascript .It is working.The problem I have that this website is slow. How did I deployed website on IIS? I went to Build-->Publish Web Site and it then created a folder with all pages, I simply copied that folder on webserver and put path in IIS. Is that a correct way to deploy webite or not? let me know is any other best way to deploy website that can make my website faster.

View 3 Replies

Configuration :: Deploying Asp 4 On Remote Windows Server 2003

Sep 27, 2010

I need to deploy an 4 website on a windows server 2003 remote server. I have updated the server's .net framework to 4.0 and installed IIS 7. how to deploy the website because I have no idea how to.

View 4 Replies

Configuration :: How To Deploy 3.5 Website In IIS 6 In Windows Server 2003 64 Bit

Nov 11, 2010

How to deploy web site in IIS 6.0 my Environment is windows server 2003 64 bit and port ruining 81.

View 1 Replies

Configuration :: 2.0 Website Failed In IIS Windows Server 2003 R2

Mar 30, 2011

when I deploy a website in IIS Windows Server 2003 R2 . First time deploy, it seemed no problem at all (fyi, the one who deploy for the first time is not me, but my friend) but after one or two days this problem occur. I can't browse from IIS and Internet Explorer. In Internet Explorer the page display:

"Internet Explorer cannot display the website." The worse, no error log data ever produced in Application category in Event Viewer.

I've tried change the address from localhost to but the response is still the same. I even tried access just localhost alone. It should display the default homepage from IIS but the response is still the same too. I've checked IIS' Web Service Extension, the Active Server Pages and ASP.NET 2.0 are set to allowed. I also have tried make a virtual directory with just index.html inside and the response is still the same.

FYI: The server seems run in 64 bit (HP Proliant server). The website I build only used ASP.NET Ajax 1.0 and Crystal Report for VS 2005. From the server, I can access the internet but not the localhost.

View 2 Replies

Configuration :: How To Publish The Website In Windows 2003 Iis Server

Dec 14, 2010

I am trying to publish the website in windows 2003 server in my office. it is getting published in windows xp iis. not getting up in windows 2003.

View 5 Replies

Configuration :: Deploy Web Site On Windows Server 2003?

Nov 28, 2010

I want to deploy 4.0 web site on windows server 2003, Now I already have a classic asp site running on it. Would there be any problem if I install .net 4.0 framework for my new site. Will the existing site (the one in classic asp) be affected?

View 2 Replies

Configuration :: How To Deploy Application To Totally New Windows 2003 Server

Mar 8, 2010

Can someone point me to a step-by-step guide on how to deploy ASP.Net applications to a totally empty and brand new Windows 2003 Server?The server has ASP.Net and the .Net framework installed on it. IIS is up and running. I have created a new application pool.

View 2 Replies

Configuration :: Cannot Load Aspx Page On Windows 2003 Server

Mar 20, 2010

I have an application which is used by others on different server without problems. The app was programmed by a programmer who is not available now. It was developed on .net 2.0. The windows 2003 is a new server, is enabled. from iis, I can configure it to use 2.0....,

but, when I load the site, it always show the 404. even after I change the default.aspx to a blank page, it still shows 404. however, if I put a default.htm in the folder, and it can be loaded without problems.

what can cause this? how to fix it? if I installed a vs2005 express on the server, will it fix the problem?

it seems the 2.0 dll is not recognized on server. never had this problem before.

View 1 Replies

Configuration :: ActiveX Control Not Load When Apply SSL In Windows 2003?

Jan 28, 2011

I Apply SSL Certificate on my web but due to this Activex Control not load. While i remove my SSL Certificate then Activex Control Show.

View 1 Replies

Configuration :: Application_Start (global.asax) Not Firing On Windows 2003 Server?

Jun 3, 2010

I have the same issue, I have added the On before the Application start, or Session Start and it is still not working.Application_OnStart or Application_Start is not firingSession_OnStart or Session_Start is not firing..Note that in my development environment it is firing (both of the names).When I am adding the Global.asax file, there is only one file (no .cs file). And when I am publishing the project, I am not getting the Global.asax file, I am getting a xxxxGlobal.asax.dll file on my bin folder...

View 1 Replies

IIS Configuration :: How To Install Framework When Migrating From Windows Server 2003 To 2008

Oct 19, 2013

We are running website on windows server 2003 with framework 2.0 and ajax 1.0 extensions. now we planned to migrate websites to windows server 2008 r2. since my websites on framwork 2.0, I need to install same framework on windows server 2008 r2 but I didnt find 2.0 version for windows server 2008 r2. Is it possible to install 2.0 version on windows server 2008 r2 ??

View 1 Replies

Configuration :: Publish Website On Windows Server 2003, When It Is Devloped On MS VisualStudio? 2010

Mar 30, 2011

I am installing MS Visual Studio 2010 on my PC and will develop website on it. I have developed my old websites on MS Visual Studio2005.Our webserver where we publish our websites on Windows Server 2003.I want to know that whether we can publish websites develop in MS Visual Studio 2010 on Windows Server 2003?

View 4 Replies

Configuration :: Error Hresult E_fail Has Been Returned From A Call To A Com Component Windows 2003 Interop Dll

Dec 28, 2010

I am getting above error when I executing a method of Dll in VS 2005 and DLL is made in VB6 which is interoperable . I am unable to trace the error .

View 1 Replies

Windows Server 2003 - Site Throwing A System.Security.SecurityException?

Jan 14, 2011

I have an ASP.NET application that was working fine on my server up until last night when I installed a bunch of windows updates, now it's throwing this exception : System.Security.SecurityException: Requested registry access is not allowed.Unfortunately there is some things that makes this hard to debug. I added the debug="true" attribute to the web.config file to get the line where the exception is lauched. The line identified in my code is an End If and the code just before seems benign :

<body id="body" runat="server">
<div class="conteneur-confirmation">


View 3 Replies

Configuration :: Website Db Selects Runs Extremly Slow On Windows 2003 (IIS6) When No Console User Is Logged In?

May 23, 2010

I have a really weird problem that I've been investigating for at least one week now. I deliver a website hosting both ASP classic and .NET 3.5 content in IIS6 on a Windows 2003 server environment with MySQL db backend. The solution has been installed on several servers (some hosted in WMWare) with no problems. On one specific server, also hosted in WMWare, the user experience great performance issues on the website. The problems are most seen when using database resources and is not limited to either .net or asp classic, but I am still not sure that the problem is only related to database calls.

Following components are involved:

IIS6 .NET FW 3.5 MyODBC 3.51 / 5.1 MySQL 4.x

Code executed on the server using all resources above runs smoothly when the IIS is not involved. The website shows times up to 2 minutes to execute code that takes 2 seconds outside the IIS. The exact same code is executed. Using profiling tools, I've seen that the great loss comes within calls to unmanaged code, for example when System.Data.ODBC namespace to calls into myodbc.dll.

The tricky part is: If at least one console user is logged in to the server, the performace problems are not seen anymore. When the user logs out, the problem appears again.I have tried to reinstall all components above, tried different versions of MyODBC, tried different website authentication methods, tried to run website under administrator privilegies, installed various MS KB's with no success.

View 4 Replies

Copyrights 2005-15, All rights reserved