Problems saving values in the configuration file

Hello,
I'm upgrading one of my projects from VS2005 (with .NET 2.0) to VS2013 (with .NET 4.5). I have a setup project in my solution, but this is no longer supported and I have to change to InstallShield
deployment project. With the old setup project my app runs fine, but now with InstallShield I have a problem. I install the application in this folder: C:\Program Files (x86)\CompanyName\AppName. I use .config file to read and write some parameters.
Reading parameters goes well, but when I write new values in the .config file a get one error. When I used the old setup project, at writing time the system created new .config file in C:\Users\me\AppData\Local\VirtualStore\Program Files (x86)\CompanyName\AppName
(this is named isolated storage, isn't it? :S).
These are all changes I made in the solution:
When I opened the solution with VS 2013 the migration process went well (some warnings and messages) except setup project (of course).
I upgrade all projects to .NET Framework 4.5 (Project properties -> Application -> Target framework).
I have intalled InstallShielld Limited Edition and added and configured the new deployment project.
I think that these are all changes. And this is the source code where I get the exception:
public void SetXParamValue(string value)
try
Configuration conf = ConfigurationManager.OpenExeConfiguration(Application.ExecutablePath);
conf.AppSettings.Settings["XParam"].Value = value;
conf.Save();
catch (Exception e)
MessageBox.Show("Error setting X param.");
And this is the exception:
Exception messsage:
An error occurred loading a configuration file: Access to the path 'C:\Program Files (x86)\CompanyName\AppName\oy25i1se.tmp' is denied. (C:\Program Files (x86)\CompanyName\AppName\ExeFile 1.0.192b.exe.config)
Stack trace:
at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
at System.Configuration.Configuration.SaveAsImpl(String filename, ConfigurationSaveMode saveMode, Boolean forceSaveAll)
at System.Configuration.Configuration.Save()
at VisualizadorCabecera.FormPrincipal.EstablecerIdioma(CultureInfo idioma)
Inner exception messsage:
Access to the path 'C:\Program Files (x86)\CompanyName\AppName\oy25i1se.tmp' is denied.
Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean
checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension)
at System.Configuration.Internal.WriteFileContext..ctor(String filename, String templateFilename)
at System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext, Boolean assertPermissions)
at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext, Boolean assertPermissions)
at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
at System.Configuration.ClientConfigurationHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
at System.Configuration.UpdateConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
Any suggestions? I have to configure something else?
Thank you,
Jon.

> "With the old setup project my app runs fine"
Actually, I disagree.  Your configuration file is sitting alongside your application, in a directory that
should be protected from changes by "regular" users and it's
only running because Windows is intercepting your attempt to write under C:\Program Files* and rerouting those attempts to a "Virtual Store" location.  By the sounds of it, something your new installer is doing is [quite rightly]
stopping this from happening (IIRC, virtualisation can be turned off for a program and, IMHO,
should be).  
You need to move the configuration file to a location that the user can write to (somewhere under C:\Users\username), even if you have to copy it the very first time it's needed. 
Regards, Phill W.

Similar Messages

  • No dsn is present in the configuration file in the reporting services 2008

    HI i have found this error in the log file of my reporting services ,
    when i comes to the Configuration file in that
    my DSN path is empty no input code is there in that DSN tags
    <DSN>
    <DSN/>
    it shows the empty tags,
    and my Current Report Server Report Credentials are Windows,Service account credentails
    will it take the problem or what
    We have repair the BIDS setup also still not able to solve my issue.
    once this is  resolved now able to send the emails using subscriptions.
    pls infom abut this , i have sufferd this problem last 20 days.
    Please update the above query with high priority
    TanQ

    Hi Ychinnari,
    According to your description, you found error in log file of reporting services, when you come to rsreportserver.config file, the DSN tag is empty.
    DSN specify the database server that hosts the report server database connection string.  The report server database is created, this value will be encrypted and added to the configuration file. To solve the problem, we need to connect to either an
    existing report server database or create a new one for this instance. For detail information, please refer to the following steps:
    Start the Reporting Services Configuration Manager and connect to the report server instance for which you are creating the database.
    On the Database page, click Change Database.
    We can create a new report server database or select an existing database, then click Next.
    Connect to the instance of the Database Engine that you will use to create and host the report server database.
    Specify properties used to create the database.
    Specify the credentials used by the report server to connect to the report server database.
    Review the information on the Summary page to verify the settings are correct, and then click Next.
    Verify the connection by clicking a URL on the Report Server URL page or Report Manager URL page.
    For detail information about Configure a Report Server Database Connection, please refer to the following document:
    https://msdn.microsoft.com/en-us/library/ms159133.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • JboException: JBO-33001: Cannot find the configuration file /common/bc4j.xc

    Hello,
    i'm new on this board and found it while i was searching for an solution of my problem.
    I would like to apologize about my english, i try my best.
    Now lets come to my problem.
    I have 1 workspace with 2 projects.
    in project 1 there are entity objects, view objects and an application object.
    in project 2 there are jsp's action classes and form beans (i try to use Struts).
    in one jsp i try this:
    <jbo:ApplicationModule id="am" configname="*.*.*.bc4j.ReportingModule" releasemode="Stateful" />
    <jbo: DataSource id="ds" appid="am" viewobject="*.*.*.bc4j.HilfeTexteView" />
    <select name="TEXT" size="1">
    <option value="-1" selected>sonstiges</option>
    <jbo:RowsetIterate datasource="ds" changecurrentrow="true">
    <option value="<jbo:ShowValue datasource="ds" dataitem="TEXT"></jbo:ShowValue>">
    <jbo:ShowValue datasource="ds" dataitem="AUTOR"></jbo:ShowValue>
    </option>
    </jbo:RowsetIterate>
    </select>
    <jbo:ReleasePageResources releasemode="Stateful" appid="am" />
    compilation finish successful, but when i try to run this jsp, there appear an error like:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /common/bc4j.xcfg in the classpath
    i think it dont work, because the configuration file bc4j.xcfg is in project 1 folder and i try to take it out of projeck 2 folder
    I hope you know what i try to tell you
    i will be very happy, when somebody could help me.
    greetings
    Rene

    Please refer to other posts for the JboException.
    JBO-33001: Cannot find the configuration file /model/common/bc4j.xcfg
    Accessing BC4J ApplicationModule from another Project

  • Imac is no longer able to open the Configuration file

    Hi ,
    I have an imac ( ilamp) 20' connected to ADSL, via Netopia Router which is connected to the Airport extreme connected to imac, for the PB Aluminum Tiger 10.4.5. we both can connect. PB can print via imac/printer.
    The imac is no longer able to open the Configuration file, when i enter the pswd which is correct, i get the message "The Airport Admin. Utility was unable to read the configuration of the selected base station an error occurred while reading the configuration "
    My Beau updated Airport to V5.7, this is the first time since the update I've tried to access the conf. file for the imac which i have done numerous times prior.
    I have a new base station Ip address 254.128.0 in Airport Utility Admin, on the imac which does not reflect my network settings anywhere, and is not what it use to be, i think, it was one value different than the PB.Base station IP. I do not know how it changed neither one of us changed it.
    I tried using the Airport Setup assistant (imac), I received this message:
    "Appropriate Airport hardware was bot found on this computer,if you recently
    Installed, an Airport card,please shut down your computer$ make sure the card is properly istalled."
    The imac does not have a card, nor do i think it needs one.
    I would like to be able to at least open the configuration file.
    Thank you for reading my post.
    Eme
    Power PC G4 (3.3) iMac♥ Flat Panel 10.3.9 & 15 Alum.PowerBook Tiger   Mac OS X (10.4.4)  

    Hi Kes, a star for the company !
    I made an error on my first post I have a Netopia modem, Airport router.
    And so it remains, i guess that there must be an easy answer somewhere
    that I am missing that I/we should read, some direction to that would be helpful, and I would be very appreciative.
    As I said the password had been set, and it is not an issue of that being forgotten, i wondered if it was changed back to "public" tried, not it.
    particular because everytime the imac wakes one of the folders on ( no one else in office just me and boyfriend and it is his work folder he has a copy on the PB.( the folder on desk top has been clicked on, the one with sensitve info, i have backed the folder up and secure trashed it, just in case some security issue hacking has taken place, thats closing the barn door after the fact.
    Good luck,w/ this Q.
    regards Eme
    Power PC G4 (3.3) iMac ♥ Flat Panel 10.3.9 & 15 Alum.PowerBook Tiger   Mac OS X (10.4.5)  

  • The configuration file did not contain well formed AppV configuration XML - When using Office 2013 ODT package

    All,
    I'm experiencing an issue where when using the Office 2013 package pulled down from ODT, that if I try to change the locations of either InfoPath Filler 2013 or Publisher 2013 from the default of Microsoft Office 2013 then I receive the message "The
    configuration file did not contain well formed AppV configuration XML. Please check the management server event log for more information". If I check Applications and Services\Microsoft\AppV\Server-Management\Admin the error displayed there is "An
    error was encountered parsing dynamic configuration file '0'. However I am able to change the shortcut location for all other applications except the above 2. I've tried redownloading the files using the ODT and also changing the version number (so far I've
    tried both the 15.0.4631.1002 and 15.0.4659.1001 with the same result).
    As all I'm interested in so far is having a package which contains Visio and Project I've tried following the article to exclude all the other Office elements:
    http://technet.microsoft.com/library/jj219426(v=office.15).aspx#BKMK_ExcludeAppElement. However the package looks to be the same and when I load it into the management console all the options and elements to Office 2013 are available like they were before
    when I hadn't set the exclude tags so I'm not sure whether the ExcludeApp parameters actually work correctly.
    This then brings me onto the 3rd issue I've experienced. I have a group for the Visio users and I've set custom security for them to have Visio delivered to them but not Project and then a seperate group for just Project users who will have Project delivered
    to them but not have Visio. When testing this sometimes seems to work but other times it seems to trip out and a user just in the Project or Visio group will get all of the Office 2013 applications and under the default location of Microsoft Office 2013. When
    trying to spot correlation with this it appears random and can happen to any user on any device. We have sequenced a few applications ourselves where different parts are needed for different users and we have successfully managed this using different security
    groups for different applications, just as I'm trying here with Office 2013.
    Has anyone else experienced the issue with the "did not contain well formed XML" as at the start of the post and how were you able to resolve this? Also has anyone any advice on how to troubleshoot the issue with the security seeming to trip out
    and publish all applications within a package to a user regardless of whether they are in the correct group or not?
    The management / publishing servers are 5.0.1224.0 which is SP1 HF4 and the clients are on SP2 HF5.
    Thanks

    Nicke,
    The config files are UTF-8. I did find the same article as yourself, however when searching for the value ‘TakeoverExtensionPointsFrom46=’ within either of the configuration.xml files that text isn’t found.
    No sinister reason not to share the file used, just it’s the same structure as referenced in the article:
    http://technet.microsoft.com/en-us/library/dn745895(v=office.15).aspx. The only difference being that I’m using ProPlusVolume and I’ve set a version number (which is the October
    2014 update). I’ve even looked to follow the above example as closely as possible in just using the ExcludeApp ID of Access and InfoPath, just to try and prove the process. However I still get the usual full package. The version of the Click-to-Run setup.exe
    I’m using is 15.0.4623.1001, so later than the version specified at the end of that article which is 15.0.4619.1000. Where can I expect to see the elements excluded? Will it be when loading the package into the management console or would it just not appear
    on the machine when delivered?
    <Configuration>
      <Add SourcePath="C:\OfficeDeploymentToolV2" Version="15.0.4659.1001" OfficeClientEdition="32">
        <Product ID="ProPlusVolume">
          <Language ID="en-us" />
    <ExcludeApp ID="Access" />
    <ExcludeApp ID="InfoPath" />
        </Product>
      </Add>
    </Configuration>
    3). We’ve not used global publishing in our environment yet so I will try that. I’ve set both GlobalRefreshEnabled and GlobalRefreshOnLogon to True and when using the command Get-AppvPublishingServer on the client I’m testing with I can see this is pulled
    through correctly. I’ve also added the client name to the AD group used to grant access to the package and it is published. However nothing is pulling through onto the Client, so are there any steps I’ve missed or misinterpreted when looking to set this up?
    I guess the global publishing is there to keep in with licensing for Office being per device? On a slight aside, as Windows licensing is being changed to allow per user licensing
    http://www.zdnet.com/microsoft-to-make-per-user-windows-licensing-available-to-enterprise-customers-7000035401/ does anyone know if there are any plans to allow for Office / Project / Visio licenses to go per user as well? We’re a volume license customer
    rather than subscription based so I think a lot of the options to selectively deploy Visio and Project are excluded for us.
    Dan,
    Ok that explains why the security could be tripping out then and leading to this result. As above I’ll try with global publishing and see how I get on.
     From what I’ve read / watched  I think only one Office 2013 package can be published to a machine, so we would be unable to have a separate package for Visio and a separate package for Project and then attempt to deliver
    them both together. If a user wanted both Project and Visio then I guess we’d need to have a combined Project and Visio package to cover than scenario, but then 2 more separate Project and Visio packages for those who would only want either Project and Visio
    (I think).
    The scenario we’re looking at is to see whether we are able to deliver Project and / or Visio to different users through an AppV package and this will then cover users on XenApp or on fat clients. Only a small proportion of our
    users will need access to Project and / or Visio so therefore we’d only have a small amount of Project and Visio licenses.
    However from what I’ve tested up to this point and from what I’ve picked up from Forum posts / watched on TechEd sessions is that as publishing is Global and is unable to use different security groups for different elements of the
    suite, then using Office through AppV is only suitable if you will be delivering the whole suite (including Project and Visio) to all of your users. So in a scenario where you’d only want certain elements to be delivered to a handful of users then you’d need
    to keep with traditional ESD methods to have this installed onto fat clients and steer clear of XenApp. If wanting to install to XenApp then a lockdown tool like AppSense or AppLocker would also need to be brought into the equation.
    Is my understanding above correct or have I missed some options / methods?
    If the full Office package is always delivered but a company only has Office licenses and no Project and Visio licenses for all its users, how do they stop Project and Visio being delivered and being available? Or again if you have
    this use case is the AppV method one which will be unsuitable?
    Thanks

  • CR10 Dev JRC ReportSDKException Report location is not specified in the configuration file error

    I'm trying to embed a simple report into a j2ee application running under BEA WebLogic(without
    workshop)
    using the standalone Java Reporting Component (JRC), but I'm getting the exception
    shown below (along with my config and source).
    I'm just wondering at the cause of the exception, because I can successfully deploy
    this code to jboss.
    I've tried moving the CrystalReportEngine-config.xml file everywhere, from the
    /WEB-INF/classes/ folder
    to the /WEB-INF/ folder to the /WEB-INF/lib/ folder.
    I consulted the product documentation on the JRC and its tutorials but it has
    me stumped.
    I went through the BEA WebLogic Workshop tutorial, which worked for some reason,
    but I'm looking to do all the coding manually without any of BEA's controls and
    what not.
    Any information would be GREATELY APPRECIATED!!!
    Thanks,
    -Colin
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Report location is
    not specified in the configuration file---- Error code:-2147
    215356 Error code name:fileNotOpened
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown
    Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown
    Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown
    Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.ReportAgentBase.case(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.ReportServerControl.getReportSource(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.int(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(Unknown
    Source)
    at jsp_servlet.__viewreport._jspService(__viewreport.java:197)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    My EAR file structure is as follows:
    /crystal/ (context)
    /reports/qtrade_sp_listing.rpt
    /crystalreportviewers10/ -- bunch of crystal viewing stuff
    /WEB-INF/classes/CrystalReportEngine-config.xml
    /WEB-INF/lib/ -- bunch of crystal jar files
    My CrystalReportEngine-config.xml is as follows
    <?xml version="1.0" encoding="utf-8"?>
    <CrystalReportEngine-configuration>
    <reportlocation>../..</reportlocation>
    <timeout>10</timeout>
    <keycode>A2960-01C00FA-U700063</keycode>
    </CrystalReportEngine-configuration>
    My relevant Web.xml looks like:
    <web-app>
    <context-param>
    <param-name>crystal_image_uri</param-name>
    <param-value>/crystal/crystalreportviewers10/</param-value>
    </context-param>
    <taglib>
    <taglib-uri>/crystal-tags-reportviewer.tld</taglib-uri>
    <taglib-location>/WEB-INF/crystal-tags-reportviewer.tld</taglib-location>
    </taglib>
    </web-app>
    My JSP Page Source:
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer"%>
    <html>
    <head>
    <title>Web Application Page</title>
    </head>
    <body>
    <crviewer:viewer
    viewerName="SPListingReport"
    reportSourceVar="_SPListingReport"
    displayGroupTree="false"
    displayToolbarToggleTreeButton="false"
    reportSourceType="reportingComponent">
    <crviewer:report reportName="reports/qtrade_sp_listing.rpt"></crviewer:report>
    </crviewer:viewer>
    </body>
    </html>

    I'm trying to embed a simple report into a j2ee application running under BEA WebLogic(without
    workshop)
    using the standalone Java Reporting Component (JRC), but I'm getting the exception
    shown below (along with my config and source).
    I'm just wondering at the cause of the exception, because I can successfully deploy
    this code to jboss.
    I've tried moving the CrystalReportEngine-config.xml file everywhere, from the
    /WEB-INF/classes/ folder
    to the /WEB-INF/ folder to the /WEB-INF/lib/ folder.
    I consulted the product documentation on the JRC and its tutorials but it has
    me stumped.
    I went through the BEA WebLogic Workshop tutorial, which worked for some reason,
    but I'm looking to do all the coding manually without any of BEA's controls and
    what not.
    Any information would be GREATELY APPRECIATED!!!
    Thanks,
    -Colin
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Report location is
    not specified in the configuration file---- Error code:-2147
    215356 Error code name:fileNotOpened
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown
    Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown
    Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown
    Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.ReportAgentBase.case(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.ReportServerControl.getReportSource(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.int(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(Unknown
    Source)
    at jsp_servlet.__viewreport._jspService(__viewreport.java:197)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    My EAR file structure is as follows:
    /crystal/ (context)
    /reports/qtrade_sp_listing.rpt
    /crystalreportviewers10/ -- bunch of crystal viewing stuff
    /WEB-INF/classes/CrystalReportEngine-config.xml
    /WEB-INF/lib/ -- bunch of crystal jar files
    My CrystalReportEngine-config.xml is as follows
    <?xml version="1.0" encoding="utf-8"?>
    <CrystalReportEngine-configuration>
    <reportlocation>../..</reportlocation>
    <timeout>10</timeout>
    <keycode>A2960-01C00FA-U700063</keycode>
    </CrystalReportEngine-configuration>
    My relevant Web.xml looks like:
    <web-app>
    <context-param>
    <param-name>crystal_image_uri</param-name>
    <param-value>/crystal/crystalreportviewers10/</param-value>
    </context-param>
    <taglib>
    <taglib-uri>/crystal-tags-reportviewer.tld</taglib-uri>
    <taglib-location>/WEB-INF/crystal-tags-reportviewer.tld</taglib-location>
    </taglib>
    </web-app>
    My JSP Page Source:
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer"%>
    <html>
    <head>
    <title>Web Application Page</title>
    </head>
    <body>
    <crviewer:viewer
    viewerName="SPListingReport"
    reportSourceVar="_SPListingReport"
    displayGroupTree="false"
    displayToolbarToggleTreeButton="false"
    reportSourceType="reportingComponent">
    <crviewer:report reportName="reports/qtrade_sp_listing.rpt"></crviewer:report>
    </crviewer:viewer>
    </body>
    </html>

  • Unable to open the configuration file

    A new installation of Thunderbird, open the Thunderbird error, cannot open the configuration file, the configuration file is missing or cannot access. My OS:Win 7 32bit

    Can you provide a screenshot of your problem?
    http://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem

  • [svn] 3519: Fix typo in error string for situations where there are advanced messaging configuration settings from LCDS used in the configuration files but no AdvancedMessagingSupport service .

    Revision: 3519
    Author: [email protected]
    Date: 2008-10-08 04:17:40 -0700 (Wed, 08 Oct 2008)
    Log Message:
    Fix typo in error string for situations where there are advanced messaging configuration settings from LCDS used in the configuration files but no AdvancedMessagingSupport service. The error string said that there was no flex.messaging.services.AdvancedMessagingService registered but it is the flex.messaging.services.AdvancedMessagingSupport service that needs to be registered.
    Add configuration test that starts the server with a destination that has the reliable property set which is an advanced messaging feature but there is no AdvancedMessagingSupport service registered.
    Modified Paths:
    blazeds/trunk/modules/common/src/flex/messaging/errors.properties
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/messagingService/ReliableDestina tionWithNoAdvancedMessagingSupport/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/messagingService/ReliableDestina tionWithNoAdvancedMessagingSupport/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/messagingService/ReliableDestina tionWithNoAdvancedMessagingSupport/services-config.xml

    Hi,
    Unfortunately I already tried all kinds of re-installs (the full list is in my original message). The only one remaining is the reinstall of Windows 8 itself, which I would really like to avoid.
    What I find really strange is the time it takes for the above error message to appear. It's like one hour or even more (never measured exactly, I left the computer running).
    What kind of a timeout is that? I would expect that, if ports are really used by some other application, I get the message in less than a minute (seconds, actually). To me this looks like the emulator itself for some reason believes there's a problem with
    some port while in reality there isn't.
    I'll eventually contact Microsoft Support, thanks for the suggestion.

  • Jdev 10.1.2  JBO-33001: Cannot find the configuration file bc4j.xcfg in cla

    Hi all,
    i have a ear application containing a web app and a bc4j module deployed on the embedded oc4j instance inside JDeveloper 10.1.2 (build 1929). Inside the model i have a topic durable subscriber that, when a message is sent, invoke, by reflection, a java class to perform the job. Inside the java class i need an Application Module so i write
    ApplicationModule am = Configuration.createRootApplicationModule(fullClassName, configuration);
    but i get the error in the subject.
    Here is a piece of the stack trace
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /it/despa
    r/orderplatform/model/services/common/bc4j.xcfg in the classpath
    at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:
    358)
    at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:281)
    at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)
    at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManag
    er.java:165)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configura
    tion.java:1457)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configura
    tion.java:1435)
    at it.despar.orderplatform.task.GenericTask.getApplicationModule(Generic
    Task.java:40)
    at it.despar.orderplatform.task.trasmission.ValidateTrasmissionTask.<ini
    t>(ValidateTrasmissionTask.java:38)
    at it.despar.orderplatform.jms.utils.TaskInvoker.invoke(TaskInvoker.java
    :27)
    at it.despar.orderplatform.jms.listener.TextListener.onMessage(TextListe
    ner.java:60)
    at com.seebeyond.jms.client.STCMessageConsumer.onMessage(STCMessageConsu
    mer.java:529)
    at com.seebeyond.jms.client.STCSession.onMessage(STCSession.java:259)
    at com.seebeyond.jms.sockets.ConsumerSocket.deliverMessage(ConsumerSocke
    t.java:346)
    at com.seebeyond.jms.sockets.ThreadPerConnectionMgr$ConnThread.run(Threa
    dPerConnectionMgr.java:230)
    If i invoke the java class (the task) by command line inside jdev all works fine.
    I've read all the stuff about this exception but they do not apply to mi problem (I run the adf runtime installer, i try with an oc4j extended and standalone....)
    Please help us. Thanks
    Any ideas?
    Suggestion?

    This program is an example of basically what ADFBC will be trying to do to open/parse the bc4j.xcfg file. Can you incorporate the same lines into your test program to see if it also behaves the same in your JMS-initiated Java class ?
    Of course, you'll need to substitute "sample/common/bc4j.xcfg" with your relevant path name.
    package sample;
    import java.io.IOException;
    import oracle.xml.parser.v2.DOMParser;
    import oracle.xml.parser.v2.XMLDocument;
    import oracle.xml.parser.v2.XMLParseException;
    import org.xml.sax.SAXException;
    public class Class1 {
      public static void main(String[] args) throws XMLParseException,
                                                      SAXException, IOException {
        DOMParser d = new DOMParser();
       d.parse(Thread.currentThread().getContextClassLoader().getResource("sample/common/bc4j.xcfg"));
        XMLDocument doc = d.getDocument();
        doc.print(System.out);
    }

  • Cannot find the configuration file

    Hi...
    I have configuration problem, while i press a submit button in my application
    This is the error...
    JBO-33001: Cannot find the configuration file /empApp/model/common/bc4j.xcfg in the classpath
    can any one help me...
    Resmi.

    Hi Resmi
    It seems the configuration file of your app module has been delete, try re-creating your Module configuration or creating a new Module.
    Good Luck

  • How To Get the Properties in the Configuration File

    I have a configuration file in the class path. the content of the file rough looks like below:
    DISABLE_PASSWORDLESS_AUTH = true
    REQUIRE_ACTIVATION = false
    ENABLE_RSS = true
    ENABLE_WATCH = true
    ENABLE_ATTACHMENT = true
    MAX_ATTACHMENT_SIZE = 1024
    ENABLE_LOGIN_INFO_IN_SESSION = true
    ENABLE_LOGIN_INFO_IN_COOKIE = true
    ENABLE_LOGIN_INFO_IN_REALM = false
    ENABLE_LOGIN_INFO_IN_CUSTOMIZATION = falseHow do I write Java code to pick up the value of the property; for example, ENABLE_RSS, in the configuration file?

    One slight correction:
    String path = "/path/to/topOfClassPath/";
    InputStream is = getClass().getResourceAsStream(path + "properties.conf");jfbriere's code would try to load the properties from the same location in the ClassPath (e.g. package) from where the class is located. Got bit by that one more than once. I usually try to locate items like this in a "/resources" package located at the "top" of the ClassPath so I always know where they are and use a fully qualified path to load them - e.g.
    getResourceAsStream("/resources/application.properites");

  • Change in the Configuration file

    I need to change the configuration file in the run time and reflect the changes using JMX. Can anybody suggest me the way to proceed and also provide me links related to that?

    Hi Pawan,
    You need to use WCF-Custom adapter and add the ServiceThrottlingBehavior service behavior to a WCF-Custom Locations.
    ServiceThrottlingBehavior.MaxConcurrentCalls - Gets or sets a value that specifies the maximum number of messages actively processing across a ServiceHost. The MaxConcurrentCalls property specifies the maximum number of messages actively
    processing across a ServiceHost object. Each channel can have one pending message that does not count against the value of MaxConcurrentCalls until WCF begins to process it.
    Follow MSDN-
    http://msdn.microsoft.com/en-us/library/ee377035%28BTS.10%29.aspx
    http://msdn.microsoft.com/en-us/library/system.servicemodel.description.servicethrottlingbehavior.maxconcurrentcalls.aspx
    I hope this helps.
    Rachit
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Cannot find the configuration file .../dataModel/common/bc4j.xcfg?

    Hi!
    I'm using Jdeveper 10.1.3 EA, when i run my application i meet error:
    Exception in thread main
    oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /com/fss/isp/admin/dataModel/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:365)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:281)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:144)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:250)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:73)
         at oracle.adf.model.BindingContext.get(BindingContext.java:454)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:129)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:225)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:295)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:424)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:43)
         at oracle.adf.model.BindingContext.get(BindingContext.java:480)
         at oracle.jbo.uicli.jui.JUPanelBinding.setup(JUPanelBinding.java:93)
         at oracle.jbo.uicli.controls.JUTestFrame.createBindingCtxAndSetUpMenu(JUTestFrame.java:168)
         at oracle.jbo.uicli.controls.JUTestFrame.<init>(JUTestFrame.java:121)
         at oracle.jbo.uicli.controls.JUTestFrame.startTestFrame(JUTestFrame.java:84)
         at com.fss.isp.admin.view.PanelGroup.main(PanelGroup.java:113)
    Process exited with exit code 1.
    How to can i fix problem?
    thanks!

    Refer
    New to JDeveloper - cannot find the configuration file
    Re: JBO-33001: Cannot find the configuration file /model/common/bc4j.xcfg

  • App Module Tester - JBO-33001: Cannot find the configuration file

    I have a custom main function for my application module. Launching the tester is fine
    launchTester("a.b.c.user_mnt.datamodel", "user_mntServiceLocal" );but if I comment out that line and add custom code:
    String amDef = "a.b.c.user_mnt.datamodel";
    String config = "user_mntServiceLocal";
    ApplicationModule am = Configuration.createRootApplicationModule(amDef,config);I get the following error:
    Diagnostics: (BC4J Bootstrap) Routing diagnostics to standard output
    (use -Djbo.debugoutput=silent to remove)
    [00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [01] CommonMessageBundle (language base) being initialized
    [02] Configuration.loadFromClassPath() failed
    [03] Stringmanager using default locale: 'en_US'
    [04] oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file
    /a/b/c/user_mnt/common/bc4j.xcfg in the classpathBut the bc4j.xcfg exists in
    /a/b/c/user_mnt/datamodel/common/bc4j.xcfgIs there a way to change where Jdev is looking for that file?
    Thank you,
    Brian

    Completely new workspace doesn't fix the problem.
    If I move the common folder to where jdev is looking it runs fine (I get a runtime error, but it runs none-the-less).
    Any help?
    Brian

  • JBO-33001: Cannot find the configuration file /Procref/common/bc4j.xcfg

    Migrating project from Jdev 9.031 to Jdev 10.1.2.
    After the migration the app works fine on Jdev 10.1.2, but when deployed to local stand alone OC4J it throws the JBO 33001 error.
    I added dependency of view to the model.
    Checked the existense of bc4j.xcfg in the classes.
    I also ran the ADF Runtime installer as per the recommendations.
    Any suggestions.....
    The complete statck trace of the error is
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /Procref/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:358)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:281)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
         at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:817)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:169)
         at index.jspService(_index.java:73)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
         at gov.mi.mdch.procref.MainController.processRequest(MainController.java:53)
         at gov.mi.mdch.procref.MainController.doPost(MainController.java:39)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)

    This is the same problem I am having. The "Model" product contains the AppModule and it's entity and view objects.
    I right-clicked on the AppModule and chose "Business Components Deployment". This created in the Resources folder a Model.bcdeploy, which contained ModelMiddleTier1.deploy and ModelCommon1.deploy.
    When I went to the project properties of my "WS" project in the same workspace, in the Dependencies panel, Model.bcdeploy and its 2 .deploy files were now listed bewas now listed beneath model.jpr. There is a check mark beside model.jpr. I thought this would do it.
    I then recreated the "J2EE Web Service" from class file in the WS project, and deployed to the external OC4J.
    When I test the web service using OC4J's test facility, I still get the same JBO-33001 error complaining that the adfws/model/common/bc4j.xcfg file is not in the classpath.
    Does something else need done to get it to be found at run time?
    This is JDev 10.1.3.
    Thanks for any ideas.
    Morga

Maybe you are looking for

  • Invoice Template problem - Putting a Header field in repeating Lines rows

    Dear experts, I would be grateful for a problem I am having with an Invoice statement I am developing (Oracle Applications 11.5.10 with BI Publisher version 10.1.3.4). This is very similar to the one in Tim Dexter's Blog (Anatomy of a Template): http

  • Flash not showing up in browsers

    Hello. I have been studying this problem in various threads online and have not found a solution that works for me yet. I am using Flash and Dreamweaver from Adobe's CS3 Web Premium package (on a Mac G5 PowerPC if that matters) and have inserted the

  • HTML5 Zoom Are Shows Wrong Image

    Hi All, I have a Captivate 6 Project that is being published ot HTML5.  Some of the Zoom areas zoom into what that area looks like later.  In other words, I wan to zoom into a menu, instead it sooms into an image that shows later in the slide.  The s

  • How do I transfer all my Dreamweaver CS3 data/settings, .. etc

    I am moving four sites onto a new computer with both computers using Windows XP Pro. Although my files transfer and open fine on the new computer, all the site definitions are gone as well as passwords etc. I read a previous post that suggested creat

  • Solaris 10 x86 USB/Firewire Installation

    Hello, I tried to install Solaris 10 x86 01/06 edition on an external hard disk. The connection is via USB in one case and via Firewire in the other case. In both cases, when the installation devices appear for selection and partitioning, the externa