Adding custom404 to web.config

Hello, I've created a new project and added a Custom404Page tag. When I start the project and visit a page that doesn't exist, I'm not seeing my custom page. It's taking me to the default page. Below is what I added in my web.config file. I want to use this
technique for the 404 page, but it doesnt seem to work:
<appSettings>
<addkey="Custom404Page"value=http://mysite.com/Custom404Page.asp/>
</appSettings>

It appears that your question is more about web app configuration than about .NET Framework setup (this forum's topic), so I suggest you ask in the ASP.NET forums here:
http://forums.asp.net/26.aspx/1?Configuration+and+Deployment

Similar Messages

  • HttpBinding not working when HttpHandler tag is present in web.config file

    Hi,
    I tried to add a WCF service in WCF Test Client using HttpBinding. But I couldn't add the service. I got the below error.
    There was an error downloading 'http://localhost/Services/PostOffice.svc/_vti_bin/ListData.svc/$metadata'.
    The request failed with an empty response.
    Metadata contains a reference that cannot be resolved: 'http://localhost/Services/PostOffice.svc'.
    The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
    If the service is defined in the current solution, try building the solution and adding the service reference again.
    I removed the below code in the Web.Config, later I was able to add the WCF service to the WCF test client.
    <httpHandlers>
    <add type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" path="Telerik.ReportViewer.axd" verb="*" validate="true" />
    </httpHandlers>
    I'm not sure with the above code. Could you please let me what is the reason behind it and what is the use of above code and if I remove it how does it affect my application.
    Thanks in advance.
    Sandeep

    Hi Sandeep Pinniti,
    Please try to add the following config in your config file:
    <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    The validateIntegratedModeConfiguration="false" will allow us to keep our httpHandlers section populated without throwing an error. And I have tested in my side,
    it works fine.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to combine web.config section encryption and the usage of WebConfigModification

    Hi,
    I have a question about encrypting web.config section that are shared across solutions which might use WebConfigModifications to change the SharePoint web.config.
    Currently, I've embedded custom assemblies in my SharePoint solution. These assemblies read configuration items from the web.config so we need elements in the SharePoint web.config. We added those using the WebConfigModification class. No problem
    so far.
    Additionally, we want to encrypt specific sections, because they contain sensitive information. I tested this and encrypted the specific section. SharePoint still worked and my solution still worked. Still no problem so far.
    However, when I deactivate features that need to remove entries from that specific encrypted configuration section, the entries are not removed. Also, when I activate features that need to add entries to that specific encrypted configuration section, the
    entries are added within the section, but besides the encrypted content in that section. In the last case, SharePoint crashes complaining about invalid configuration. Makes sense, since entries exist twice (once encrypted, once unencrypted).
    Now we can tackle this issue when it's about sections are specifically created for our application/assemblies, but what if this is about section that are also used by other assemblies/solutions, say "connectionStrings" or "appSettings".
    Other SharePoint solutions might want to make changes to these sections as well using the WebConfigModification class. Those assemblies might not be able to deal with encrypted sections.
    Is there a way to deal with this issue, to be able to encrypt these 'shared' sections without other solutions generating a bunch of errors and crashing?
    Thanks in advance for any replies!
    Cheers,
    Ruud Hunnekens.

    Hi Ruud Hunnekens,
    From your description have you tried to first decrypt the section of the web.config file before removing the section nodes. In the feature activated event, add the section nodes and encrypt the section, then in the feature deactivated event, decrypted the
    section, then delete the nodes, check whether this works.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Does "default retry policy" mean what I define in web.config?

    Warning: Do not use the information listed in the comments below. Most of it is wrong and/or out of date!
    Hi all;
    The docs for
    ReliableSqlConnection(connectionString) state:
    Initializes a new instance of the ReliableSqlConnection class with a given connection string. Uses the
    default retry policy for connections and commands unless retry settings are provided in the connection string.
    Question 1:
    If I have the following in my web.config, does this set the default retry policy? Or is the default set in the libabry and I have to explicitly pass this defined policy?
    <RetryPolicyConfiguration defaultRetryStrategy="Fixed Interval Retry Strategy"
    defaultSqlConnectionRetryStrategy="Backoff Retry Strategy"
    defaultSqlCommandRetryStrategy="Incremental Retry Strategy"
    defaultAzureStorageRetryStrategy="Fixed Interval Retry Strategy"
    defaultAzureServiceBusRetryStrategy="Fixed Interval Retry Strategy">
    <incremental name="Incremental Retry Strategy" retryIncrement="00:00:01"
    retryInterval="00:00:01" maxRetryCount="10" />
    <fixedInterval name="Fixed Interval Retry Strategy" retryInterval="00:00:01"
    maxRetryCount="10" />
    <exponentialBackoff name="Backoff Retry Strategy" minBackoff="00:00:01"
    maxBackoff="00:00:30" deltaBackoff="00:00:10" maxRetryCount="10"
    fastFirstRetry="false"/>
    </RetryPolicyConfiguration>
    Question 2:
    If this does set the default, how do I set this in a cloud service as it does not have a web.config?
    thanks - dave
    What we did for the last 6 months -
    Made the world's coolest reporting & docgen system even more amazing

    Sorry, did not work. I got the NuGet package shown below (the search returned 5+ pages of results - you guys really need to uniquely name your packages).
    On the call to GetDefaultSqlConnectionRetryPolicy() I get:
    System.Configuration.ConfigurationErrorsException occurred
    HResult=-2146232062
    Message=An error occurred creating the configuration section handler for RetryPolicyConfiguration: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling, Version=5.0.1031.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. (c:\src\EnforcedVacation\UnitTestRepository\bin\Debug\UnitTestRepository.dll.config line 5)
    Source=System.Configuration
    BareMessage=An error occurred creating the configuration section handler for RetryPolicyConfiguration: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling, Version=5.0.1031.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
    Filename=c:\src\EnforcedVacation\UnitTestRepository\bin\Debug\UnitTestRepository.dll.config
    Line=5
    StackTrace:
    at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
    at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
    at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
    at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
    at System.Configuration.ConfigurationManager.GetSection(String sectionName)
    at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.SystemConfigurationSource.DoGetSection(String sectionName)
    at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileBasedConfigurationSource.GetSection(String sectionName)
    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Configuration.RetryPolicyConfigurationSettings.GetRetryPolicySettings(IConfigurationSource configurationSource)
    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicyFactory.CreateDefault()
    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicyFactory.GetOrCreateRetryManager()
    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicyFactory.GetDefaultSqlConnectionRetryPolicy()
    at UnitTestRepository.TestUtilities.GetConnection() in c:\src\EnforcedVacation\UnitTestRepository\TestUtilities.cs:line 41
    InnerException: System.IO.FileNotFoundException
    HResult=-2147024894
    Message=Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling, Version=5.0.1031.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
    Source=System.Configuration
    FileName=Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling, Version=5.0.1031.0, Culture=neutral, PublicKeyToken=null
    FusionLog==== Pre-bind state information ===
    LOG: DisplayName = Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling, Version=5.0.1031.0, Culture=neutral, PublicKeyToken=null
    (Fully-specified)
    LOG: Appbase = file:///c:/src/EnforcedVacation/UnitTestRepository/bin/Debug
    LOG: Initial PrivatePath = NULL
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: c:\src\EnforcedVacation\UnitTestRepository\bin\Debug\UnitTestRepository.dll.config
    LOG: Using host configuration file:
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Attempting download of new URL file:///c:/src/EnforcedVacation/UnitTestRepository/bin/Debug/Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.DLL.
    LOG: Attempting download of new URL file:///c:/src/EnforcedVacation/UnitTestRepository/bin/Debug/Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling/Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.DLL.
    LOG: Attempting download of new URL file:///c:/src/EnforcedVacation/UnitTestRepository/bin/Debug/Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.EXE.
    LOG: Attempting download of new URL file:///c:/src/EnforcedVacation/UnitTestRepository/bin/Debug/Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling/Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.EXE.
    StackTrace:
    at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
    at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
    at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
    at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
    at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
    InnerException:
    What I added:
    What we did for the last 6 months -
    Made the world's coolest reporting & docgen system even more amazing

  • Increasing MaxControls in Web.config for SharePoint Site

    <SafeMode MaxControls="200" CallStack="false"
    DirectFileDependencies="10"
    We have reached Max User Controls of 200 on our SharePoint Masterpage and need to increase this in the web.config to account for the new controls we are adding. Just wondering if anyone has any experience in increasing this
    number and at what point did you start seeing affect in the performance.
    Thanks 

    Hi,
    According to your post, my understanding is that you wanted to increase the maxcontrols in the web.config.
    It is not recommended to modify the web.config to increase the maxcontrols number.
    If you had changed the the number, it may occur some issues, such as the site would be unavaiable, no one could access the web application, you had to do a IIS reset to make the site run again.
    It is recommended to split up your page into multiple smaller pages if you have more than 200 user controls.
    If there is only few pages contain over 200 webcontrols, for one page, you can create a new page and move of a portion of components to the new one.
    In this situation ,each page has less than 200 controls, if they are webpart pages, you just need to add a OOB webpart Page View web part
    in one page to display the new page.
    That’s how to separate control-overload page and display them with iframe(or iframe webpart) in one page.
    More reference:
    http://prasanjitmandal.blogspot.com/2013/05/fix-max-controls-issue-in-sharepoint.html
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Web.config modification

    Hi ,
    I wrote a powershell script to modify web.config .I ran that script and and web.config got modifed corectly but later on I observed that the two line gets added after 6-12 hours.Could help me why are these getting written in web config and where are the
    logs written when web.config gets modified?
    Thanks
    Bhism

    Hi Inderjeet,
    Please find the line that gets added to web.config. 
    <add name=""RedirectHandler"" verb=""*"" path=""RedirectPage.red"" type=""Finance.ControlsOnlineV2.CustomActions.RedirectHandler, Finance.ControlsOnlineV2,Version=1.0.0.0,
    Culture=neutral, PublicKeyToken=ff1e2aa18314a87c"" resourceType=""Unspecified"" />
    <add name=""DeleteHandler"" verb=""*"" path=""DeletePage.del"" type=""Finance.ControlsOnlineV2.CustomActions.DeleteHandler, Finance.ControlsOnlineV2,Version=1.0.0.0,
    Culture=neutral, PublicKeyToken=ff1e2aa18314a87c"" resourceType=""Unspecified"" />
    Thanks
    Bhism

  • BO XI 3.1 OpenDocument direct SSO with secWinAD in web.config

    Hi, fellows,
    The need has emerged to provide users with direct links to InfoView documents using the OpenDocument URL syntax and perform primary authentication of request automatically without showing the InfoView welcome screen. We have BO XI 3.1 ASP.NET application installed on Windows 2008 Server's IIS 7 with Kerberos already configured.
    Usually, the OpenDocument links work nicely but only after the user has visited the /InfoViewApp page. The OpenDocument virtual directory by default has only the anonymous authentication enabled.
    I've skimmed and searched for the keywords included in the topic subject in Google, help.sap.com and specifically in the BO Enterprise Admin Guide and the paper by Miles Escow on configuring XI 3.1 InfoView with Active Directory using Kerberos.
    Unfortunately, the sources I've already encountered do not provide sufficient details on configuring the OpenDocument section of the Web application.
    To solve the problem I disabled anonymous access to OpenDocument directory and enabled ASP.NET impersonation and Windows authentication (this would force IIS to attempt authenticating the user originating the request before serving the page) and mirrored the authentication.default and cookie-related settings ("opendoc.authentication.default" value="secWinAD") to the OpenDocument/web.config from InfoViewApp/web.config and turned the "opendoc.sso.enabled" to "true" (this is crucial, otherwise you will still receive the logon screen for primary authentication in BO although already authenticated by IIS).
    Hope this helps others.

    Hi Aleley
    To solve the problem I disabled anonymous access to OpenDocument directory and enabled ASP.NET impersonation and Windows authentication (this would force IIS to attempt authenticating the user originating the request before serving the page) and mirrored the authentication.default and cookie-related settings ("opendoc.authentication.default" value="secWinAD") to the OpenDocument/web.config from InfoViewApp/web.config and turned the "opendoc.sso.enabled" to "true" (this is crucial, otherwise you will still receive the logon screen for primary authentication in BO although already authenticated by IIS)
    Can you pls tell how I can achieve this in Tomcat environment?
    Thanks

  • Search for a specific string in web.config file

    Hi
    Is there a way we can search a specific word in web.config using powershell.
    I have an entry of "user name" in the connection string. I want to find what the user name is and whether its a correct user name or not based on the criteria set in the script.
    i believe its a simple matter of if statement but due to connection string i am unable to do this.
    this is my connection string from web.config
        <connectionStrings>
        <add name="Membership" connectionString="Data Source=testdb;Initial Catalog=test;user   
        name=testUser;password=123456;MultipleActiveResultSets=true" 
        providerName="System.Data.SqlClient"/>
        </connectionStrings>
    My criteria is. if user name -eq testUser write-host "correct user name" else "user name is incorrect"
    This is the script which i am using
        $webConfig = 'C:\Users\test\web.config'
        $cfg = [xml](gc $webConfig)
    Not sure how the if statement will work in searching the document and applying critera

    Here is the full web.config file. i just modified the credentials.
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <configSections>
        <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection,
    EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
        <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
        <sectionGroup name="common">
          <section name="logging" type="Common.Logging.ConfigurationSectionHandler,
    Common.Logging" />
        </sectionGroup>
        <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468
    -->
      </configSections>
      <connectionStrings>
        <add name="Membership" connectionString="Data Source=TestDB;Initial Catalog=Test;user
    id=TestUser;password=1234556;MultipleActiveResultSets=true" providerName="System.Data.SqlClient" />
        <add name="Administrator" connectionString="Data Source=TestDB;Initial Catalog=Test;user
    id=TestUser;password=1234556;MultipleActiveResultSets=true" providerName="System.Data.SqlClient" />
      </connectionStrings>
       <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
      </startup>
      <entityFramework>
        <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory,
    EntityFramework" />
      </entityFramework>
      <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    throwExceptions="true">
      <targets>
           <target name="f1" xsi:type="File" fileName="test.log.txt"
    layout="${threadname} ${longdate}
         ${callsite} ${logger}[${level}] ${message}" />
           <target name="console" xsi:type="Console" layout="${threadname}
    ${longdate} ${callsite}
         ${logger}[${level}] ${message}" />
         </targets>
     <rules>
          <!--<logger name="Quartz.*" level="Warn" />-->
          <logger name="*" writeTo="f1" minlevel="Info" />
          <logger name="*" writeTo="console" minlevel="Debug"
    />
        </rules>
      </nlog>
      <common>
        <logging>
          <factoryAdapter type="Common.Logging.NLog.NLogLoggerFactoryAdapter, Common.Logging.NLog20">
            <arg key="configType" value="INLINE" />
          </factoryAdapter>
        </logging>
      </common>
      <appSettings>
       <add key="V3Import.Import.TestMode" value="true" />
        <add key="MSMQ.QueueName" value="TestQueue" />
        <add key="MSMQ.ErrorQueueName" value="TestQueue" />
        <add key="AdminSignaturePath" value="C:\user\test\myfolder" />
        <add key="SyncQueueJobCRON" value="0 0/2 * 1/1 * ? *" />
      </appSettings>
      <system.web>
        <authentication mode="Forms">
          <forms loginUrl="~/Account/Login" timeout="5000000" />
        </authentication>
        <membership defaultProvider="AspNetMembershipProvider">
          <providers>
            <add connectionStringName="Membership" enablePasswordRetrieval="false"
    enablePasswordReset="false" requiresQuestionAndAnswer="false" applicationName="/Test" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6"
    minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" name="AspNetMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0,
    Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
          </providers>
        </membership>
        <profile>
          <providers>
            <add name="AspNetProfileProvider" connectionStringName="Membership"
    applicationName="/Test" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
          </providers>
        </profile>
        <roleManager>
          <providers>
            <add name="AspNetRoleProvider" connectionStringName="Membership"
    applicationName="/Test" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
          </providers>
        </roleManager>
      </system.web>
      <system.net>
      </system.net>
      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="dotless.Core" publicKeyToken="96b446c9e63eae34"
    culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-1.3.1.0" newVersion="1.3.1.0"
    />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"
    culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-5.1.0.0" newVersion="5.1.0.0"
    />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"
    culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"
    />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089"
    culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0"
    />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="NLog" publicKeyToken="5120e14c03d0593c"
    culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0"
    />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"
    culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"
    />
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    </configuration>

  • Error occurred in deployment step 'Activate Features': Feature 'myfeature guid' is Site-scoped, and cannot be added to the Web.

    Error occurred in deployment step 'Activate Features': Feature 'e3d788e6-994d-446c-afbb-25ecf9907aeb' is Site-scoped, and cannot be added to the Web.
    ========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
    ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
    Hi,
     I have added a new eb part in my already existing SP solution.  but when I added 2 new web parts into this solution and trying  to depoy the same, am getting this error.
    can anybody pls help what am missing.
    the below is my feature manifest:
    <Feature xmlns="http://schemas.microsoft.com/sharepoint/" Title="BApprove_Feature" Id="e3d788e6-994d-446c-afbb-25ecf9907aeb" Scope="Site"></Feature>
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/" >
    <Module Name="BApprove" List="113" Url="_catalogs/wp">
    <File Path="BApprove\BApprove.webpart" Url="BApprove.webpart" Type="GhostableInLibrary" >
    <Property Name="Group" Value="Custom" />
    </File>
    </Module>
    </Elements>

    Hi SamolPP,
    Did you already have a look at following similar post?
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/a2af97c8-62db-4194-9fc5-cce6bc7e5d71/content-deployment-error-feature-is-site-scoped-and-cannot-be-added-to-the-web
    Hope this helps

  • For PrintControl.cab in crystal reports 2008 How can i configure Web.config in VS2005

    hi,  Now i am using crystal report 2008 evalution  with VS2005. In my ASP.net Application Viewiing reports using Crystalreportviewer PrintMode=ActiveX (not in PDF).If i am trying to print using Printcontrol.cab..in the client machine the activeX control is not installing in client. Its works good with crystal report bundle with 2005. with crystal report 2008 its not working. I want to know how i configuer web.config and others. Help me Pls.
    Instead of these code
    <configSections>
      <sectionGroup name="businessObjects">
        <sectionGroup name="crystalReports">
          <section name="printControl" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null" />
        </sectionGroup>
      </sectionGroup>
    </configSections>
    <businessObjects>
      <crystalReports>
        <printControl>
          <add key="url" value="http://myserver/PrintControl.cab" />
        </printControl>
      </crystalReports>
    </businessObjects>
    new version=??? Publictokenkey=?????
    Thank u in advance

    The workstation machine needs to be logged in as someone with administrative access.

  • WRE54G Web Config Page Setup - also Belkin Router F5D6321

    To: Users of this Linksys Community Forum
    What: I'm reposting my "reply post" text from a previous post (see below). The first time I posted it, I forgot to use "html carriage returns", so the text was hard to read. The proper carriage-returns should show in the text below.
    Original Post User Name: bfin1
    Original Post Date-Time: 10-13-2007 08:43 PM
    Original Post Message Subject Header: Re: Hi, I have a Belkin Router F5D6231-4 2.4GHz, 802.11G Wire...
    Original Post Thread User Name: fabiote
    Original Post Date-Time: 10-13-2007 10:02 AM
    Original Post Message Subject Header: Hi, I have a Belkin Router F5D6231-4 2.4GHz, 802.11G Wire...
    The original text (with carriage returns) is shown below --->:
    Before you access the Range Expander's web page, you need to gather some information (that you'll need once you do access the WRE54G web page).
    You need:
    1) The "IP Address" (of your Router/Wireless Access Point as seen by your local network). This will be something like "192.168.1.254" (depending on your local network's range of IP addresses).
    2) The "Sub-net Mask" (for your Router/Wireless Access Point as seen by your local network). Usually, this will be "255.255.255.0" (or "255.255.255.255").
    3) The (Default) "Gateway" Address (for your Router/Wireless Access Point as seen by you local network). This will usually be the "first" IP address in your network's range of IP addresses. For our example network above having a range of IP addresses of 192.168.1.1 through 192.168.1.255, the first IP address is "192.168.1.1" and so the "Gateway" Address will probably be "192.168.1.1".
    4) The "SSID" (Site Survey ID) of your network. This is the network name of your local network (i.e. the one you originally logged onto the network if you've already connected your computer wirelessly up with the router/wireless Access Point).
    5) The "Channel" your Wireless Access Point is using (from "1" through "11". A typical "Channel" used is "6".
    6) Wireless Network Encryption - you need to know if you are using encryption on your wireless network. You'll most likely either not be using it or your will be using either 40-bit (really 64-bit) WEP (Wired Equivalent Privacy) encryption, 128-bit WEP encryption, or the newer standard WPA-PSK (Wi-Fi Protected Access Pre-Shared Key) security settings. When you get to the WRE54G web-based configuration page, you will need to "enable" Security Settings (if yoiur using it) and then, in the next web config page that appears, enter WEP encryption key or enter the WPA-PSK pre-shared key used that is currently used for your local wireless network.
    NOTE: In the WRE54G web configuration page, if you are using encryption, BEFORE you enter the info (into the web-page configuration fields) noted in Item 1 through 5 above, you will want to click the "enable" button for "Wirelss Security", then click on the "Edit Security Settings" button, enter your encryption key on the next web page that appears, and then click on the "Save" button at the bottom of the web-page. The WRE54G will save your security setting to its Flash memory and then re-boot itself. You may want to unplug/replug the AC power to the WRE54G at this time and then re-log in to the WRE54G at its IP address of 192.168.1.240 (which I will explain how to do below).
    Before accessing the WRE54G web-based configuration page by pointing your web browser to "192.168.1.240", do the following:
    A. Connect the Ethernet cable that came with the WRE54G Ver.3 to the WRE54G (lift the small lid on the top of the WRE54G and plug the Ethernet CAT-5 cable into the RJ-45 jack there). Then plug the other end of the Ethernet cable into your computers RJ-45 jack (I assume your computer has one, right?).
    B. Change your computer's IP Address to use a "Manual" IP address rather than "DHCP". Then enter the following "static" IP address: "192.168.1.50". This is an good example address, but other addresses in the range of "192.161.1.XXX" where X is 1 to 255 will work (except I would not use 192.168.1.1, 192.168.1.240, or 192.168.1.255).
    C. Plug the WRE54G into the AC power. (check the lights on the WRE54G to make sure they are correct - the WRE54G startup documentation talks about this or I can give details later).
    D. Boot up your computer (make sure the network setting still show "manual" IP address and a static IP address of "192.168.1.50".
    E. Bring up your web browser and enter into the address field the WRE54G's IP address of "192.168.1.240".
    F. In less than a minute, the web-based configuration page should appear. Proceed cautiously to enter the configuration values as I've noted above in Steps 1 - 6. After clicking on the "Save" button at the bottom of the WRE54G's web pages, the WRE54G will always do a "reboot". I suggest unplugging and replugging the WRE54G into the AC after each reboot (just to make sure a cold reboot actually happens).
    NOTE: I would also suggest that you enter the "IP Address" of the Wireless Access Point (see Step 1 above) LAST after entering and saving all the other WRE54G configuration values. That way, you will still be able to log onto the WRE54G at the default IP Address of "192.168.1.240" and make sure all the values are saved correctly (in case you make a mistake and enter the wrong IP Address for the Wireless Access Point). Note that each time you reboot the WRE54G and log into it with your web browser, you will want to "Refresh" the web-page screen when you go to "192.168.1.240" so you can see the updated page contents. If you screw up the configuration, you can always use the "reset" button (you need to use a paper clip to push it) on the side of the WRE54G to reset the WRE54G back to its default values. Then you can start over from the beginning.
    My experience has been that if you have correctly configured the WRE54G and it works on your wireless network, you will be able to unhook the "hard-wired" Ethernet cable (from between the WRE54G and your computer) and still be able to wirelessly access the WRE45G at its IP address of "192.168.1.240" using your web browser
    If you want, you can change the WRE54G's Password (or Username and Password) to values only you know so no one will be able to get into your WRE54G and change your settings maliciously or inadvertantly. Let me know if the above helps you or just confuses you.
    --- bfin1

    Hi AngryDrake,
    Thanks for providing that information.
    Are you working from Parallels, Fusion or from some sort a VPN environment?
    If you are using the printer in a virtual environment, then please try accessing the printer's EWS in a regular environment just to see if you have the same results.
    Use Safari when accessing the printer's EWS, other browsers sometimes won't allow it to open.
    Since the printer is setup on the network and you are able to print, you just can't access the printer's  EWS, I would  update the firmware on the printer which should allow you then to access the printer's  EWS through a regular environment. HP LaserJet Pro M1212nf Multifunction Printer Drivers.
    Select your operating system, click next, click the link for firmware.
    If you are still having issue, then make sure the printer is connected directly to the Router or Airport and not a switch.
    Please let me know the results.
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Cannot find file drm-web.config after installation

    Hi all,
    I am trying to install drm version 11.1.2 on MS Server 2008 64bit. I tried installing the 64bit version of DRM. The installation succeeds but when the configurator is launched I get an error that it closed. I opened the web client and receive an asp.net error that the drm-web.config cannot be found. I went to the directory and it is not there. I read on another site that this happened. The guy reinstalled it and changed some settings in IIS. I tried a reinstall but it made no difference. I reviewed IIS but couldn't see anything to change, although the drm_pool was present. I uninstalled the 64bit version and installed the 32bit version. However, the same error occured. I looked at the support matrix and there is nothing to suggest drm isn't supported on MS Server 2008.
    I would be grateful if someone could let me know of a fix.
    Thanks,
    Nathan

    I think this is what you are looking for:
    User Configuration / Preferences / Windows Settings / Registry:
                    Value Name: Cache – Action: Replace – Hive: HKEY_CURRENT_USER – Key Path: Software\Microsoft\Windows\CurrentVersion\Explorer\User
    Shell Folders – Value Type: REG_SZ - Value data: D:\temp\%USERNAME%
                    Value Name:  Cache – Action: Replace – Hive: HKEY_CURRENT_USER – Key Path: Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
    Folders – Value Type: REG_SZ - Value data: D:\temp\%USERNAME%

  • Maximum size video upload settings in web config file

    Hi, i am providing video support in my application, whereas i need to provide support to upload video without any size limit, say for example atleast 1GB video should be uploaded and played via html5 and iframe tag. I have made some changes in web config
    file like maxrequestlength attribute and maxallowedcontentlength attribute set to support maximum of 1 GB video. But it does not affect my application in anyway. Any suggestions please??

    This forum supports setup of the .NET Framework itself.
    As you question concerns configuration of a web application, I recommend that you ask here:
    http://forums.asp.net/26.aspx/1?Configuration+and+Deployment

  • The setting ExternalProxy in the Web.Config file was not valid.

    Since installing Exchange 2010 SP1 (Upgrade from RTM) I get this in the event viewer.
    The setting ExternalProxy in the Web.Config file was not valid. The previous value was null and has been changed to .
    Any ideas what to check?

    I'm also getting a number of these errors on Exchange 2010 SP1 RU1, the settings that I get notified include (the values have been changed to a number of diferent values):
    ExternalProxy
    BootstrapMailDeliveryDelay
    MobileUpdateInformationURL
    BootstrapCABForWM61HostingURL
    FullServerVersion
    ADCacheMaxOrgCount
    ADCacheExpirationTimeout
    MaxDocumentDataSize
    MaxDocumentLibrarySearchResults
    MaxGALSearchResults
    BadItemEmailToText
    BadItemIncludeEmailToText
    BadItemIncludeStackTrace
    MaxClientSentBadItems
    MailboxSearchTimeoutNoContentIndexing
    MailboxSearchTimeout
    MaxMailboxSearchResults
    MaxRequestsQueued
    MaxWorkerThreadsPerProc
    MaxCollectionsToLog
    ProxyConnectionPoolConnectionLimit
    ProxyHandlerShortTimeout
    ProxyHandlerLongTimeout
    BackOffErrorWindow
    BackOffTimeOut
    BackOffThreshold
    ProxyVirtualDirectory
    BlockLegacyMailboxes
    BlockNewMailboxes
    SchemaValidate
    SchemaDirectory
    SyncLogDirectory
    SyncLogEnabled
    DisableCaching
    DeviceClassCacheADCleanupInterval
    DeviceClassPerOrgMaxADCount
    DeviceClassCachePerOrgRefreshInterval
    DeviceClassCacheMaxADUploadCount
    DeviceClassCacheMaxStartDelay
    MaxWindowSize
    MaxRetrievedItems
    EventQueuePollingInterval
    ADCacheRefreshInterval
    MaxSizeOfMailboxLog
    NumOfQueuedMailboxLogEntries
    MaxNumOfFolders
    Can these be resolved in a similar manner. Some additional information would be great (as sjoegarrett I can also ignore them, but would prefer if these could be eliminated).

  • How to get safecontrol tag section to a collection from web.config in c#

    how to  get safecontrol tag section to a collection from web.config in c#
    Below is my config file. I need to read the safecontrol tagsection and get all those in to a collection.please help me on this.
    <?xml
    version="1.0"
    encoding="UTF-8"
    standalone="yes"?>
    <configuration>
    <SafeControls>
    <SafeControl
    Assembly="System.Web,
    Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="System.Web.UI.WebControls"
    TypeName="*"
    Safe="True"
    AllowRemoteDesigner="True"
    SafeAgainstScript="False"
    />
    <SafeControl
    Assembly="System.Web,
    Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="System.Web.UI.HtmlControls"
    TypeName="*"
    Safe="True"
    AllowRemoteDesigner="True"
    SafeAgainstScript="False"
    />
    </
    SafeControls>
    </configuration>
    adityadugyala

    Here is the way to read and write custom sections programtically in web.config.
    http://msdn.microsoft.com/en-us/library/2tw134k3.aspx
    Or use the traditional way of reading XML with XMLDocument.
    Bala

Maybe you are looking for

  • Iphoto library upgrade to work with iphoto?

    Iphoto won't launch. I tried upgrading it to the newest iphoto, but it still doest not work. I followed some advice where I click the control-alt key to rebuild but when I do that it gives me a dialogue saying "the photo library needs to be upgraded

  • Material Rate of particular period

    Hi all, There is a requirement for me to get the rate of a material for the given period. Ex: Input: Material: 800101 Period  : 01.2008 Output: Unit Rate : 12.36 I can get only the current material rate in the table MBEW. Also I tried history table M

  • Vino server don't work: gnutls

    Hello, my remote control of gnome don't work. The problem is that vino server don't found the library libgnutls: $ /opt/gnome/libexec/vino-server /opt/gnome/libexec/vino-server: error while loading shared libraries: libgnutls.so.12: cannot open share

  • Information about bde_chk_cbo.sql

    Hi All, I want my database to be configiured as per bde_chk_cbo.sql. My apps version -12.1.3 and db version is 11.2.0.3 I have run the bde_chk_cbo.sql. Now How i will which parameter is to confiogured as per bde_chk_cbo.sql. dentification Date:     0

  • Credit management at order level

    Hi, Normally we set the credit limit under customer level, if the sales orders created , it will automatically check with  customer u2018s credit whether  the orders exceed the credit exposure ? if yes, the order will be blocked otherwise it can be c