Deploying Analysis Services Project Failed to encrypt sensitive information

Hi!
 I had a problem on a server when trying to implement a project analysis services and I get the
error:
"Failed to encrypt sensitive information. Perhaps the encryption key is inaccessible due to incorrect change the service account"
I have no idea how to solve this problem and where to get it.
can anybody help me?
Thanks in advance...
Akala

The package was probably created with the
default protection level "EncryptSesntitiveWithusrKey" by somebody else than who logged in to the machine to install.
If you deploy it by importing to MSDB/SSISDB then it needs to be set to "ServerStorage".
Arthur
MyBlog
Twitter

Similar Messages

  • SSDT Issues in VS2010 - Analysis Services Project

    Hi,
    I have installed SQL Server 2012 RC0 and CTP4 of the SSDT on my laptop with an existing VS2010 Premium SP1 installation. I hve opened an Analysis Services project and connected to a cube developed on SQL Server 2008 R2 and restored into the 2012 RC0 environment. 
    When I try to open the DSV of the Analysis Services project I get the following error:
    ===================================
    An error prevented the view from loading. (Microsoft Visual Studio)
    ===================================
    The specified module could not be found. (Exception from HRESULT: 0x8007007E) (System.Windows.Forms)
    Program Location:
    at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
    at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
    at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
    at System.Windows.Forms.AxHost.CreateInstance()
    at System.Windows.Forms.AxHost.GetOcxCreate()
    at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
    at System.Windows.Forms.AxHost.CreateHandle()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at Microsoft.DataWarehouse.Design.ComponentDiagram.CreateDdsView(Control parentControl)
    at Microsoft.AnalysisServices.Design.DataSourceDesignerView..ctor(DataSourceDesigner designer, DataSourceDiagram diagram, IComponent diagramOwnerComponent)
    at Microsoft.AnalysisServices.Design.DataSourceDesignerView..ctor(DataSourceDesigner designer)
    at Microsoft.AnalysisServices.Design.DataSourceDesigner.CreateDataSourceDesignerView(VsStyleToolBar pageViewToolBar)
    at Microsoft.DataWarehouse.Design.EditorWindow.EnsureViewIsLoaded(EditorView view)
    To date I have not been abe to find a solution which is frustrating. Any ideas how I can correct this issue?
    Regards,
    Alan
    Regards, Alan

    The error message that was being returned was:
    An error prevented the view from loading. (Microsoft Visual Studio)
    ===================================
    An error occurred while attempting to start the report preview worker process. (Microsoft.ReportingServices.Designer)
    Given that this scenario worked with previous editions of Reporting Services and BI Development Studio, the error was unexpected.  On further investigation, the same behavior and error could be reproduced by launching a Remote Desktop session in Seamless
    or Remote Applications Integrated Locally (RAIL) mode.
    RAIL extends the RDP protocol presents a remote application running on a RAIL server as a local user application running on the client machine. This causes the remote application to appear as if it is running on the user's local computer rather
    than being presented in the desktop of the remote Server.
    In this scenario, the behavior and the error message are both by design.
    SSDT is a multi-targeted assembly that is built around the .NET 4.0 Framework. Business Intelligence Development Studio (BIDS) is built around the .NET 3.5 Framework and there are differences in the way that the .NET 4.0 Framework deals with child processes
    when the parent process dies. As a result, there was a deliberate decision to change the behavior of the report viewer in preview mode. This is largely because under the .NET 4.0 Code Access Security policy, executing under the current AppDomain is no
    longer supported, necessitating use of a sandbox. You may wish to read Brian Hartman's blog posting "Expression Evaluation in Local Mode" for a more detailed discussion of Visual Studio 2010 defaulting to the .NET 4.0 CAS policy. The net result of
    the change is that when a report is previewed, SSDT spawns a child process to allow previewing of the report. In the RDP using Seamless or RAIL mode, it would still be necessary for SSDT to spin up a new instance of the Reporting Services Preview Processing
    Host (PreviewProcessingService.exe) separate from the SSDT process. In the event that the user were to close SSDT or SSDT were to crash, it would be possible for orphaned instances of the Reporting Services Preview Processing Host application to remain in
    memory and continue execution after SSDT was terminated.
    The change makes it cleaner to close SSDT and eliminates the possibility of orphaned child processes in the event that the SSDT environment is terminated for some reason. Had the change not been made, it would have been possible to allow orphaned
    child applications/processes to continue to execute, using CPU cycles and consuming server memory, until the user logged off the machine. If the user didn’t log off and rather elected to simply disconnect without logging off, any orphaned applications would
    have remained in memory for an indefinite period of time. In the scenario where a machine is being remotely accessed by multiple users, that could potentially mean thousands of orphaned applications would be in memory and actively executing at any given
    time.

  • Deployment Presentation Services Project (OTN's Jdeveloper Tutorial Pages )

    http://bderzhavets.blogspot.com/2006/02/deployment-presentation-services.html

    Hi ,
    I've had that error as well,
    java.lang.ClassNotFoundException: org.apache.struts.action.RequestProcessor
    The error was in the XML parse of struts-config.xml (tag mismatch) as a result of which the servlet could not be initialized.
    Check the log files of your OC4J, see if you can find an error in there.
    M.

  • Deploy node.js project failed with msnodesql driver install error

    I want to deploy a node.js project on Azure Website
    I use mssql with the "tedious" driver to access my database
    But I got deployment error with "msnosesql" (another driver for mssql)
    install.js: Unable to download msnodesql-0.2.1-v0.10-ia32.msi
    I found some solution, change the path to fix this download error 
    but after that I got another error
    remote: install.js: Error: Command failed: Access is denied.
    I seems that I don't have the permission to install this driver ?
    Is there any way to solve this problem?

    you cannot install new msi packages in Azure Websites due to multi tenant nature.
    As alternative you can use following MS SQL driver for Node.JS
    http://blogs.msdn.com/b/sqlphp/archive/2012/06/08/introducing-the-microsoft-driver-for-node-js-for-sql-server.aspx
    Hope that helps,
    Galin Iliev [MCSD.NET, MCPD], http://www.galcho.com

  • Cluster resource 'Analysis Services' of type 'Generic Service' in clustered role 'SQL Server' failed.

    Windows Server 2012 R2
    SQL Server 2012
    After a recent cluster failover from node 1 to node 2, the Analysis Services role is in a failed state, with the service stopped. When attempting to start the service, there are two error messages captured in Failover Cluster Manager:
    Log Name:      System
    Source:        Microsoft-Windows-FailoverClustering
    Date:          4/10/2014 11:48:49 AM
    Event ID:      1042
    Task Category: Generic Service Resource
    Level:         Error
    Keywords:      
    User:          SYSTEM
    Computer:      HQ-HASQL-1.sbgnet.int
    Description:
    Generic service 'Analysis Services (HASQL)' failed with error '1067'. Please examine the application event log.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-FailoverClustering" Guid="{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}" />
        <EventID>1042</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>16</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-04-10T15:48:49.752168200Z" />
        <EventRecordID>26212</EventRecordID>
        <Correlation />
        <Execution ProcessID="9036" ThreadID="14748" />
        <Channel>System</Channel>
        <Computer>HQ-HASQL-1.sbgnet.int</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data Name="ResourceName">Analysis Services (HASQL)</Data>
        <Data Name="Status">1067</Data>
      </EventData>
    </Event>
    Log Name:      System
    Source:        Microsoft-Windows-FailoverClustering
    Date:          4/10/2014 11:48:49 AM
    Event ID:      1069
    Task Category: Resource Control Manager
    Level:         Error
    Keywords:      
    User:          SYSTEM
    Computer:      HQ-HASQL-1.sbgnet.int
    Description:
    Cluster resource 'Analysis Services (HASQL)' of type 'Generic Service' in clustered role 'SQL Server (HASQL)' failed.
    Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster
    Manager or the Get-ClusterResource Windows PowerShell cmdlet.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-FailoverClustering" Guid="{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}" />
        <EventID>1069</EventID>
        <Version>1</Version>
        <Level>2</Level>
        <Task>3</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-04-10T15:48:49.752168200Z" />
        <EventRecordID>26213</EventRecordID>
        <Correlation />
        <Execution ProcessID="6464" ThreadID="9076" />
        <Channel>System</Channel>
        <Computer>HQ-HASQL-1.sbgnet.int</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data Name="ResourceName">Analysis Services (HASQL)</Data>
        <Data Name="ResourceGroup">SQL Server (HASQL)</Data>
        <Data Name="ResTypeDll">Generic Service</Data>
      </EventData>
    </Event>
    With just these generic error messages being present, this has been difficult to diagnose. Some research has yielded possible resolutions of the Event Viewer log being full, .NET corruption, missing registry entries, but none of those seem to be the issue
    (Event Viewer logs cleared, Analysis services is working on the same physical servers in a different cluster, and the registry entries was only a supported issue for SQL Server 2008 and 2008 R2).
    Any help would be greatly appreciated.

    Bring up Configuration Manager, look at binary path for SSAS.  Make sure BOTH folders exist.  Sometimes with failovers mappings get screwed up.

  • Localhost - Analysis Services Question

    Hi folks,
    I have a SQL Server named instance called (mymachine)\Tuesday that was installed with SQL Server Developer so I could run Analysis Services.   My original installation was done in SQL Express.   When I try to deploy a Analysis Services
    Project I change the connection string from the default - localhost to the named instance (mymachine)\Tuesday.   I get the following error:
    Error 62 The project could not be deployed to the 'localhost' server because of the following connectivity problems :  A connection cannot be made. Ensure that the server is running.  To verify or update the name of the target
    server, right-click on the project in Solution Explorer, select Project Properties, click on the Deployment tab, and then enter the name of the server.  0 0 
     Why does the connection string have to be set to localhost?
    Is the localhost connection string my original instance in SQL Express?
    Can I make my Developer edition (mymachine)\Tuesday the localhost?
    Can I deploy to my Developer named instance (mymachine)\Tuesday instead of localhost?
    Thanks for your patience!

    Hi Sorna,
    I did try that,  but I still got errors,  
    Here they are, if this tells you anything:
    Error 62 Internal error: The operation terminated unsuccessfully.  0 0 
    Error 63 Server: The operation has been cancelled.  0 0 
    Error 64 Internal error: The operation terminated unsuccessfully.  0 0 
    Error 65 Internal error: The operation terminated unsuccessfully.  0 0 
    Error 66 Internal error: The operation terminated unsuccessfully.  0 0 
    Error 67 OLE DB error: OLE DB or ODBC error: Login failed for user 'DPS\I4X464D1$'.; 28000.  0 0 
    Error 68 Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Adventure Works DW', Name of 'Adventure Works DW'.  0 0 
    Error 69 Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Targeted Mailing ~MC-Customer Key', Name of 'Targeted Mailing ~MC-Customer Key' was being processed.  0 0 
    Error 70 Errors in the OLAP storage engine: An error occurred while the 'Bike Buyer' attribute of the 'Targeted Mailing ~MC-Customer Key' dimension from the 'Adventure Works DW2' database was being processed.  0 0 
    Error 71 OLE DB error: OLE DB or ODBC error: Login failed for user 'DPS\I4X464D1$'.; 28000.  0 0 
    Error 72 Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Adventure Works DW', Name of 'Adventure Works DW'.  0 0 
    Error 73 Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Targeted Mailing ~MC-Customer Key', Name of 'Targeted Mailing ~MC-Customer Key' was being processed.  0 0 
    Error 74 Errors in the OLAP storage engine: An error occurred while the 'Age' attribute of the 'Targeted Mailing ~MC-Customer Key' dimension from the 'Adventure Works DW2' database was being processed.  0 0 
    I'm at a loss!   I cannot get a project to deploy sucsessfully to save my life.  Any idea where to go from here?
    Thanks

  • Analysis Services(Database Attachment)

    Hai
     I have the database AdventureWorksDW2008R2(),I
    have successfully attached to the database engine but i am unable to attach to Analysis services.when i am trying to attach it the error is showing as
    "The
    folder ' "C:\softwares\downloads\AdventureWorksDW2008R2.zip" ' does not exist, is too long, or contains characters that are not valid or are reserved. "
    Please help me out of this error..
    Thanks
    after several trials i am getting the error like this even i have detached the database from other server instance

    Hi Lavvi,
    In your scenario, you have attached AdventureWorksDW2008R2 database to database engine without any problem. Then AdventureWorksDW2008R2 database is relational database. So we cannot attach a relational database to Analysis Services server.
    In your scenario, you can download AdventureWorks 2008R2 Analysis Services Project from the link below
    http://msftdbprodsamples.codeplex.com/releases/view/88252
    And then open it on SQL Server Business Intelligence Development Studio, then deploy this project to Analysis Services server. Then you will have a sample cube on your server.
    References.
    http://technet.microsoft.com/en-us/library/cc280583.aspx
    http://technet.microsoft.com/en-us/library/ms166576.aspx
    If I have anything misunderstood, please point it out.
    Regards,
    Charlie Liao
    TechNet Community Support

  • SAP HANA as a data source for Analysis Services

    I tried to use SAP's .net provider for HANA as a data source for an Analysis Services cube but to no avail.   I can connect, create a named query and preview data from the data source view designer but when SSAS actually tries to run the query,
    it wraps the named query in another query and produces a syntax error.  
    For example,  if the named query is "select * from ENTHANA.MARA", 
    SSAS sends a query like this "SELECT [test].* FROM (select * from ENTHANA.MARA) AS [test]"   (Test is the name of the named query).
    I know SSAS wraps queries and that's fine - except that brackets are not a valid way to quote an identifier in HANA.  HANA uses double quotes like Oracle. 
    Is there any setting in SSAS that can affect this behavior?   Will HANA ever be a fully supported data source for SSAS?  If so, when?

    Hi David,
    According to your description, you are creating a SQL Server Analysis Services project, now what you want is using SAP HANA as the data source, right?
    SSAS support many type of data source. However, as you can see on the link below, SAP HANA data source was not listed on that link. So this type of data source is not supported in current version of SSAS. Microsoft will update that document when it is supported.
    http://msdn.microsoft.com/en-IN/library/ms175608.aspx
    Thank you for your understanding.
    Regards,
    Charlie Liao
    TechNet Community Support

  • How configure analysis services for remote excel connection

    Hi I haved tried  connecting me from a Excel client to  analysis services server but I have this problema when I use the connection assistant wizzard
    appears this error :"Analysis error in line 1, column 9, DTD is denied.
    I haved seen this video
    https://www.youtube.com/watch?v=tJGGyg1dDHY for configurate the http server.
    Thanks!!

    Hi Juanweb,
    According to your description, you configure HTTP access to Analysis Services on Internet Information Services, and then connect it in Excel using HTTP access with the error "Analysis error in line 1, column 9, DTD is denied."
    In Microsoft Excel, we can connect to AS cube directly, why do you use HTTP access to connect it?
    Data>select From Other Sources. After that, select the From Analysis Services option.
    For the detail information about it, please refer to the link below.
    http://www.mssqltips.com/sqlservertip/2828/using-excel-to-interact-with-a-ssas-cube/
    Regards,
    Charlie Liao
    TechNet Community Support

  • Error when deploy a project in SQL Server Analysis Services

    Hi all, I tried deploy my project SSAS, but it send message error.
    This is image before deploy myproject, it is star chema of project.
    and this is the image when i try deploy it, error list.
    I want to complete my project. How i can fix error list??? Help me.
     

    Hi Anhlovevietnam,
    According to the error message, it seems that the Analysis Services account lack permission to access ‘QLTICKET’. By default, the default account for AS services has only public permission to few databases. If you haven't change the AS services account,
    or haven't grant the permission for this account, then you cannot deploy the AS project to server.
    So in your scenario, ensure the service "SQL Server Analysis Services" is running with a proper Log On As user. This user should have administrator permission on Analysis Services and the proper permissions on the database engine. To avoid this issue, you
    can grant the SELECT permission for the default account for AS services to data source DB. Or you can change the services account to this domain user who has the corresponding to the data source DB.
    http://jetreportskb.host4kb.com/article/AA-00238
    Regards,
    Charlie Liao
    Charlie Liao
    TechNet Community Support

  • "Failed to debug the Windows Azure Cloud Service project. The Output directory .... does not exist" - Looking for Solution Config Name Folder?

    Good evening,
    I've been working on and with a VS2013 Update 2 / Azure SDK 2.3 Cloud Service project for a while now and never had a problem debugging it (setting the .ccproj Project as Startup Project) but at the moment I cannot Debug it anymore - I always get the following
    error message:
    Failed to debug the Windows Azure Cloud Service project.  The output directory 'D:\Workspace\Development\Sources\AzureBackend\csx\Backend - Debug' does not exist.
    Now what's odd here, is the last part - the "Backend - Debug" is the Solution configuration name, ALL projects in that particular solution configuration are set to the Debug Configuration. The .ccproj file also only specifies Debug|Any CPU (and
    Release|Any CPU respectively) as its output folder(s). Why is the Solution config appearing up there?
    And more importantly.. why is this happening and what can I do?!
    Thanks,
    -Jörg
    Ps: there seems to be a related
    connect bug and these sorts of issues do appear around the forums but none contains a solution (neither reinstalling the Azure SDK nor cloaking the workspace/re-retrieving & building everything worked).

    Good morning Jambor,
    I already tried de-installing everything Azure-Tooling related including the Azure SDK, Restarting my machine and re-installing the SDK.
    Same result. I can build the .ccproj perfectly fine and the cspack file IS generated perfectly fine, only debugging does not work and there's NO information in the VS output window (again - all projects succeed to build).
    I tried explicitely running VS as Administrator, no change. I removed all IIS Express sites (as the ccproj has one web worker role), remapped my local TFS workspace.. nothing helped.
    As building works, deploying to Azure Cloud Service (manually and via Publish inside VS) all works -perfectly-, I am pretty sure this IS a bug and I'd LOVE to help to get this fixed. As I said, currently I cannot debug and/or run & test my work, hence
    I cannot do ANY work.

  • Opened a SSAS project through connecting to analysis service server.. now need to put into source control

    hi there:
      I've connected to a SSAS project using connecting to analysis service server ... After a few modifications, I'd like to save it under a different name and eventually get put into the source control...
     Can someone tell me how to do that?
    thanks
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Hi Cat_ca,
    In your scenario, you can create a
    Import Analysis Services 2008 Database project to import the AS database to the project, and then change the database name following the steps below.
    Right-click the project and select Properties.
    Go to deployment option on the left pane.
    Change the Database name.
    Then deploy the project to Analysis Services server. The screenshot below are for your reference.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Web services randomly fail to deploy properly in OC4J

    I have an ear with around 15 services, and sometimes (today, all the time, other times, not at all) some of the services fail to deploy correctly in that when I come to access them I get one of the following (the service that fails is generally different so the below is just an example):
    2009-07-07 15:06:16.633 WARNING OWS-03005 Unable to connect to URL: http://local
    host:8888/democustomer/CimsImageService due to java.security.PrivilegedActionExc
    eption: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type:
    text/html
    OR
    2009-07-07 15:06:16.711 ERROR OWS-04005 An error occurred for port: {http://serv
    ices.cims.prologic.com/}CimsCategoryService: javax.xml.rpc.JAXRPCException: Erro
    r loading Tie: com.prologic.cims.services.runtime.CimsCategoryWebServiceSoapHttp
    _Tie.
    Missing class: com.prologic.cims.services.runtime.CimsCategoryWebServi
    ceSoapHttp_Tie
    Dependent class: oracle.j2ee.ws.server.J2EEImplementor
    Loader: oc4j:10.1.3
    Code-Source: /C:/oc4j/webservices/lib/wsserver.jar
    Configuration: <code-source> in META-INF/boot.xml in C:\oc4j\j2ee\home
    \oc4j.jar
    This load was initiated at democustomer.web.democustomer:0.0.0 using the loadCla
    ss() method.
    The missing class is not available from any code-source or loader in the system.
    If I redeploy it often, but not always, sorts the problem out so it is not a source code issue and I guess, possibly not a deployment descriptor problem for the same reason.
    I'm running on OC4J 10.1.3.1 (we need to run with this version for now).
    I get the same problem very occasionally on Linux 10.1.3.n but it's rare.
    Anyone out there seen this before ? It's becoming very irritating.

    idris, the only workaround I have found is to check at container startup that each service was deployed ok, by making a call to a serviceAvailable method. That way, if I restart OC4J after a deployment I see log messages if all was not well (and in fact I can specify that the container shouldn't start if the service failed)
    Class oracle.j2ee.server.OC4JStartup is the one you want and insert something like into server.xml after the cluster element (the jar conmtaining your code needs to be in the applib directory too):
         <init-library path="../applib/startupshutdown.jar" /> <!-- or wherever we put it -->
    <startup-classes>
    <startup-class classname="com.prologic.cms.services.StartupServer" failure-is-fatal="true" >
    <execution-order>0</execution-order>
                   <init-param>
                        <param-name>TestServices</param-name>
                        <param-value>true</param-value>
                   </init-param>
                   <init-param>
                        <param-name>deployment.port</param-name>
                        <param-value>7777</param-value>
                   </init-param>
                   <init-param>
                        <param-name>ASwitchToPassIn</param-name>
                        <param-value>true</param-value>
                   </init-param>
                   <init-param>
                        <param-name>SearchIndexRebuild</param-name>
                        <param-value>true</param-value>
                   </init-param>
                   <init-param>
                        <param-name>waitfor</param-name>
                        <param-value>50000</param-value>
                   </init-param>
                   <init-param>
                        <param-name>language</param-name>
                        <param-value>en</param-value>
                   </init-param>
                   <init-param>
                        <param-name>locale</param-name>
                        <param-value>UK</param-value>
                   </init-param>
    </startup-class>
    </startup-classes>

  • Creation of InitialContext fails when i hot-deploy scheduler-service.xml

    Creation of InitialContext fails when i hot-deploy scheduler-service.xml
    I configured scheduler-service as follows in Jboss 3.2:
    scheduler-service.xml
    <mbean code="org.jboss.varia.scheduler.Scheduler"
         name=":service=Scheduler">
    <attribute name="StartAtStartup">true</attribute>
    <attribute name="SchedulableClass">com.beta.my.utils.FMScheduler</attribute>
    <attribute name="SchedulableArguments">Schedulabe Test,12345</attribute>
    <attribute name="SchedulableArgumentTypes">java.lang.String,int</attribute>
    <attribute name="InitialStartDate">0</attribute>
    <attribute name="SchedulePeriod">10000</attribute>
    <attribute name="InitialRepetitions">-1</attribute>
    </mbean>
    Schedulable Class
    package com.beta.my.utils;
    import java.util.Date;
    import org.jboss.varia.scheduler.Schedulable;
    public static class FMScheduler
    implements Schedulable
    private String mName;
    private int mValue;
    public FMScheduler(String pName,int pValue)
    mName = pName;
    mValue = pValue;
    public void perform(Date pTimeOfCall,long pRemainingRepetitions)
    try {
              Context context = new InitialContext();//properties taken from jndi.properties file
              } catch (Exception e){
                   e.printStackTrace();
    I started my jboss..,FMScheduler created successfully, perform method in FMScheduler called succesfully after SchedulePeriod(1000)
    The problem occurs(NullPointerException) while i changed SchedulePeriod time and hot-deployed(just saved scheduler-service.xml).
    The following Exception occures due to InitialContext creation fails*(Context context = new InitialContext();)* in FMScheduler.
    17:46:27,361 ERROR [STDERR] java.lang.NullPointerException
    17:46:27,361 ERROR [STDERR] at org.jboss.mx.loading.UnifiedClassLoader.findR
    esources(UnifiedClassLoader.java:374)
    17:46:27,361 ERROR [STDERR] at java.lang.ClassLoader.getResources(ClassLoade
    r.java:825)
    17:46:27,361 ERROR [STDERR] at com.sun.naming.internal.VersionHelper12$5.run
    (VersionHelper12.java:145)
    17:46:27,361 ERROR [STDERR] at java.security.AccessController.doPrivileged(N
    ative Method)
    17:46:27,377 ERROR [STDERR] at com.sun.naming.internal.VersionHelper12.getRe
    sources(VersionHelper12.java:142)
    17:46:27,377 ERROR [STDERR] at com.sun.naming.internal.ResourceManager.getAp
    plicationResources(ResourceManager.java:468)
    17:46:27,377 ERROR [STDERR] at com.sun.naming.internal.ResourceManager.getIn
    itialEnvironment(ResourceManager.java:159)
    17:46:27,377 ERROR [STDERR] at javax.naming.InitialContext.init(InitialConte
    xt.java:215)
    17:46:27,377 ERROR [STDERR] at javax.naming.InitialContext.<init>(InitialCon
    text.java:195)
    17:46:27,377 ERROR [STDERR] at com.beta.my.utils.FMScheduler.perform
    (FMScheduler.java:42)
    17:46:27,392 ERROR [STDERR] at org.jboss.varia.scheduler.Scheduler$Listener.
    handleNotification(Scheduler.java:1263)
    17:46:27,392 ERROR [STDERR] at org.jboss.mx.server.NotificationListenerProxy
    .handleNotification(NotificationListenerProxy.java:69)
    17:46:27,392 ERROR [STDERR] at javax.management.NotificationBroadcasterSuppo
    rt.sendNotification(NotificationBroadcasterSupport.java:95)
    17:46:27,392 ERROR [STDERR] at javax.management.timer.Timer.sendNotification
    s(Timer.java:441)
    17:46:27,392 ERROR [STDERR] at javax.management.timer.Timer.access$000(Timer
    .java:31)
    17:46:27,408 ERROR [STDERR] at javax.management.timer.Timer$RegisteredNotifi
    cation.doRun(Timer.java:612)
    17:46:27,408 ERROR [STDERR] at org.jboss.mx.util.SchedulableRunnable.run(Sch
    edulableRunnable.java:164)
    17:46:27,408 ERROR [STDERR] at org.jboss.mx.util.ThreadPool$Worker.run(Threa
    dPool.java:225)
    please help me if u have any idea,thanks

    Hi Hamsa,
    Did you also create and configure an "Execution Destination"?
    You can test the Metadata destination configuration on Web Service Navigator.
    On the web service navigator (http://hostname:portnumber/wsnavigator) search in the metatda destination you have created for the service you imported in web dynpro as a model. If you can find it there test it on the ws navigator.
    Best regards,
    Yasar

  • Analysis Services failing to Start . File system error: Error occurred during the creation of directory

    Hello All,
    Posting this problem here and hoping for a solution from the experts in this forum.
    When i have restarted the Analysis Services , i see that it has been stopped but never started back. It fails with an error
    "The SQL Server Analysis Services (MSSQLSERVER) service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."
    When Checked the Event Viewer i see the following error -
    The service cannot be started: The following system error occurred:  The filename, directory name, or volume label syntax is incorrect.  File system error: Error occurred during the creation of directory: '\\?\E:\OLAP\MSSOLAPFactory\OlapData;M:\Test
    Backup'.
    I remember changing the BackupDir value of Analysis Services few days back, and i think it could have impacted. Can you please help me how can i change back the BackupDir value and have the server back?
    Let me know if you need any more details
    SG

    Is this still an issue? If so, I would find msmdsrv.ini and make sure you don't have two folders listed in the BackupDir (or DataDir or TempDir). You'll have to runas Administrator to edit the msmdsrv.ini file and save changes. Once you fix that, it should
    succeed.
    http://artisconsulting.com/Blogs/GregGalloway

Maybe you are looking for

  • Open item Mangement  not selected

    hi all We have created a GL A/c CST Recoverable-  A/c code No. 673210 on 02.02.07 (TC FS00) as a Balance Sheet account but due to oversight we didn’t mark the Account management as OPEN ITEM MANAGEMENT and Line Item Display. Latter we have marked lin

  • Data transfer schedule run error-object variable/with block variable no set

    I want to automate a Data Transfer Workbench routine. I created the appropriate xml file but when I run the .bat file I get the following error: "Object variable or with variable not set." I think that the problem resides in the xml file but there is

  • Article Limit

    My Folio keeps crashing....Im thinking that I am overloading it but it seems many people have produced some vary large folios that work just fine. So I want to gauge if I need to rethink my layout or isolate another issue that may be causing the Cont

  • Ports to be open from proxy

    dear all, i have imeeting impleminted i used it over the net many times, on of my clinet have a proxy so iam not able to use my imeeting over intenet on his site so he asked me what ports should i open for you inorder to use the imeeting. so what htt

  • New tab doesn't open as my home page

    I have Google as my home page. When I click the + button to open a new tab, it doesn't load my home page.