Web controls 2.1 Fail with Specified Cast is not valid

1) I loaded the 2.1 Beta .NET Webcontrols ..2) I removed the reference to the old Plumtree.WCFilter.dll from my project3) I added the new reference in its place4) I checked the GAC to see that WCLoader was the proper version5) Also noticed the reliance on J# redist 1.1 so I downloaded and installed this as well6) Any thoughts on why I am gettig invalid cast exception? When I access portlet in the portal it simply displays error, when I try to access portlet outside of portal I get cast exception.
[InvalidCastException: Specified cast is not valid.] Com.Plumtree.Remote.Transformer.Config.WCConfig.Load(TextReader reader) Com.Plumtree.Remote.Transformer.Config.WCConfig.LoadAll(String confPath) Com.Plumtree.Remote.Transformer.PTTransformer.get_Config() Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e) System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
Phil Orion | [email protected] | www.orionsmith.com

I am still unable to get the 2.1 Webcontrols to work, can anyone provide some insight to overcoem the cast exception?.-There seem to be some additional configuration items in this release - Can anyone explain their purpose? -The installation also placed the image server files in the wrong location - I had to move them from the ptimages folder to the ptimages/RemoteGadgets

Similar Messages

  • Async service keep stopping with Specified cast is not valid

    Hi there,
    Our organization currently is experiencing some failure on CRM 4.0 Async service.
    The error message is :
    failed while monitoring asynchronous operations queue. Exception: System.InvalidCastException: Specified cast is not valid.
       at Microsoft.Crm.Asynchronous.ServerOrganizationConfiguration.GetSdkBaseUrl()
       at Microsoft.Crm.Asynchronous.ServerOrganizationConfiguration.get_WebServiceEndpoint()
       at Microsoft.Crm.Asynchronous.CrmServiceFactory.CreateCrmService(Guid organizationId, Nullable`1 userId, CorrelationToken correlationToken)
       at Microsoft.Crm.Asynchronous.SdkPluginDescriptionProvider.GetPluginTypeDescription(Guid pluginTypeId, IOrganizationContext context)
       at Microsoft.Crm.Caching.PluginTypeCacheLoader.LoadCacheData(Guid key, IOrganizationContext context)
       at Microsoft.Crm.Caching.CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.CrmSharedMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.PluginTypeCache.LookupEntry(Guid pluginTypeId, IOrganizationContext context)
       at Microsoft.Crm.Asynchronous.AsyncOperationCommand.GetPluginType(Guid pluginTypeId)
       at Microsoft.Crm.Asynchronous.EventOperation.InternalExecute(AsyncEvent asyncEvent)
       at Microsoft.Crm.Asynchronous.AsyncOperationCommand.Execute(AsyncEvent asyncEvent)
       at Microsoft.Crm.Asynchronous.QueueManager.PoolHandler.ProcessAsyncEvent(AsyncEvent asyncEvent)
       at Microsoft.Crm.Asynchronous.QueueManager.PoolHandler.InvokeHandlerInPool(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
    It looks the GetSdkBaseUrl() function failed. Has anyone experienced it before?
    Cheers

    I don't know about your specific error, but the CRM 4.0 Async service was notoriously unstable.  That's why they added a monitoring service in later versions to keep it up.  However, for 4.0, I recommend going to the Service itself in the Windows
    Service area, and then tell the "behavior after failure" section to "Restart" every time it fails.  While not perfect, it will keep your Async service up and running even when it crashes.
    The postings on this site are solely my own and do not represent or constitute Hitachi Solutions' positions, views, strategies or opinions.

  • Specified cast is not valid. (Microsoft.SqlServer.Smo) - degradation of v11

    I have Sql management studio 2014 SP1 and im working with my Azure SQL Databases.
    Previously all my databases and servers were on Sql Server 11.0 and thing were working fine, until a couple of days ago; 1 database on a server started throwing the specified cast is not valid error when you try to use management studio to Script table as.....
    and today all (3) of my databases on (different) servers are throwing that error 
    Earlier today I upgraded 1 of the servers to the latest azure sql database 12.0.2000.8 (it took a while since it can take up to 24 hours); and can verify that the same script table as... or any management studio function that will generate scripts, like
    Generate Scripts task does not throw this error.
    The issue with v11 started happening a few days ago and is now on all my v11 databases; management studio will not generate scripts.,  wanted to submit this as a bug., but there is no easier way to do so.
    screenshots below.
    error dump:
    ===================================
    Specified cast is not valid. (Microsoft.SqlServer.Smo)
    Program Location:
       at Microsoft.SqlServer.Management.Smo.Table.Microsoft.SqlServer.Management.Smo.IPropertyDataDispatch.SetPropertyValue(Int32 index, Object value)
       at Microsoft.SqlServer.Management.Smo.PropertyDispatcher.SetValue(Int32 index, Object value)
       at Microsoft.SqlServer.Management.Smo.PropertyCollection.SetValue(Int32 index, Object value)
       at Microsoft.SqlServer.Management.Smo.SqlSmoObject.AddObjectPropsFromDataReader(IDataReader reader, Boolean skipIfDirty, Int32 startColIdx, Int32 endColIdx)
       at Microsoft.SqlServer.Management.Smo.SqlSmoObject.ImplInitialize(String[] fields, OrderBy[] orderby)
       at Microsoft.SqlServer.Management.Smo.SqlSmoObject.OnPropertyMissing(String propname, Boolean useDefaultValue)
       at Microsoft.SqlServer.Management.Smo.PropertyCollection.RetrieveProperty(Int32 index, Boolean useDefaultOnMissingValue)
       at Microsoft.SqlServer.Management.Smo.PropertyCollection.GetPropertyObject(Int32 index)
       at Microsoft.SqlServer.Management.Smo.SqlSmoObject.GetPropertyOptional(String propName)
       at Microsoft.SqlServer.Management.Smo.Column.EmbedDefaultConstraints()
       at Microsoft.SqlServer.Management.Smo.Column.GetPropagateInfo(PropagateAction action)
       at Microsoft.SqlServer.Management.Smo.SqlSmoObject.GetPropagateInfoForDiscovery(PropagateAction action)
       at Microsoft.SqlServer.Management.Smo.SmoDependencyDiscoverer.GetScriptableChildren(List`1 propInfoList, PropagateAction propagateAction)
       at Microsoft.SqlServer.Management.Smo.SmoDependencyDiscoverer.SfcChildrenDiscovery(HashSet`1 discoveredUrns)
       at Microsoft.SqlServer.Management.Smo.SmoDependencyDiscoverer.Discover(IEnumerable`1 urns)
       at Microsoft.SqlServer.Management.Smo.ScriptMaker.Discover(IEnumerable`1 urns)
       at Microsoft.SqlServer.Management.Smo.ScriptMaker.DiscoverOrderScript(IEnumerable`1 urns)
       at Microsoft.SqlServer.Management.Smo.ScriptMaker.ScriptWorker(List`1 urns, ISmoScriptWriter writer)
       at Microsoft.SqlServer.Management.Smo.ScriptMaker.Script(Urn[] urns, ISmoScriptWriter writer)
       at Microsoft.SqlServer.Management.Smo.ScriptMaker.Script(Urn[] urns)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ScriptGenerator.ScriptCreate(SqlTextWriter sqlwriter, Server server, Urn[] urns, SqlScriptOptions options)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ScriptNodeActionContext.Script(SqlTextWriter writer)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.SqlScriptMenu.OnScriptItemClick(Object sender, EventArgs e)

    I'm also running into this exact issue with V11 and SQL Server Management Studio -- table "Generate Create Script" fails with "Specified
    cast is not valid. (Microsoft.SqlServer.Smo)". This just started happening recently with V11 and doesn't manifest with V12. I'm running SSMS with latest hotifxes (CU6 I believe). I don't have the option of an immediate move to V12.
    Microsoft SQL Server Management Studio 12.0.2480.0
    Microsoft Analysis Services Client Tools 12.0.2480.0
    Microsoft Data Access Components (MDAC) 6.3.9600.16384
    Microsoft MSXML 3.0 6.0 
    Microsoft Internet Explorer 9.11.9600.17728
    Microsoft .NET Framework 4.0.30319.34014
    Operating System 6.3.9600

  • Getting errors in MSMQ intermittent Specified cast is not valid on Sending

    I keep getting this error when I try and Send a message on a windows server 2008 R2 box. It works about 95% of the time but ever so often I get the following:
    Log Entry : 4:29:44 AM Friday, April 17, 2015
      :Transaction Failed [Specified cast is not valid.]
    Log Entry : 4:29:44 AM Friday, April 17, 2015
      :Stack Trace [   at System.Messaging.Interop.MessagePropertyVariants.Lock()
       at System.Messaging.MessageQueue.SendInternal(Object obj, MessageQueueTransaction internalTransaction, MessageQueueTransactionType transactionType)
       at ProdUwsCallbackService.ProdUwsCallbackService.SmsCallback(SmsCallbackRequest SmsCallbackRequest) in C:\NH Applications\VerizonNewProdGateway\WebProdUwsCallback\API\ProdUwsCallbackService.asmx.cs:line 318]
    This happens about 7 or 8 times a night and it processes about 500 to 1000 messages before this happens. At about 4:30 in the morning I receive a large spike or volume of messages and it seems to happen around that time.
    Here is the code snippet that is sending the MSMQ:
                                RxUwsCallbackVerizonProdMQ.Formatter = new XmlMessageFormatter(new Type[] { typeof(UwsRxMessage) });
                                //MessageQueueTransaction RxUwsCallbacVerizonProdTran = new MessageQueueTransaction();
                                try
                                    //RxUwsCallbacVerizonProdTran.Begin();
                                    //RxUwsCallbackVerizonProdMQ.Send(Message, Label, RxUwsCallbacVerizonProdTran);
                                    NHUtils.WriteLog(VerizonUwsLogFile, "Putting SMS Message into Message Queue: [" + Label + "]");
                                    lock (RxUwsCallbackVerizonProdMQ)
    RxUwsCallbackVerizonProdMQ.Send(Message, MessageQueueTransactionType.Single);
                                    //RxUwsCallbacVerizonProdTran.Commit();
                                catch (Exception ex)
                                    //RxUwsCallbacVerizonProdTran.Abort();
                                    NHUtils.WriteLog(VerizonUwsLogFile, "Transaction Failed [" + ex.Message + "]");
                                    NHUtils.WriteLog(VerizonUwsLogFile, "Stack Trace [" + ex.StackTrace + "]");
    The bold line is where the error is happening.
    This is running as a application under IIS7 on a Windows 2008 R2 box.
    Any help would greatly be appriciated on how to deal with this error or correct it. Thanks.

    Hi Reggie,
    MSMQ forum is better, I help you to move it here.
    Thanks for your understanding.
    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.

  • Specified cast is not valid exception

    I have the following C# code (cut down for the post) that causes an exception (Specified cast is not valid) when I attemp the GetInt32 method call. FILE_HDR is a BLOB and I can read it just fine with GetBytes. This also happens on something like TO_NUMBER(FILE_ID, 'XXXXXXXX'). It seems like things do not work well when you define a column as a function. I can do this same thing with the MySQLDataReader without any problem.
    Can anyone tell me what I am doing wrong here?
    Thanks
    string SelectStatement = "select FILE_ID, DBMS_LOB.Getlength FILE_HDR)...."
    Cmd.CommandText = SelectStatement;
    Reader = Cmd.ExecuteReader();
    if (!Reader.HasRows)
    throw new Exception("Unit File List Query returned no rows");
    else
    totalBytes = 0;
    int HeaderLengthColumnOrdinal = Reader.GetOrdinal("DBMS_LOB.Getlength(FILE_HDR)");
    // Get the number of rows
    while (Reader.Read())
    RowCount++;
    totalBytes += (Int64)Reader.GetInt32(HeaderLengthColumnOrdinal); <- EXCEPTION
    }

    Hi,
    I was kind of thinking I could do something like this:
    CAST(DBMS_LOB.GetLength(BLOB_COLUMN) AS NUMBER(9))That should work OK as well. In fact, here is a small test:
    Database:
    SQL> create table test
      2  (
      3    clob_id number,
      4    clob_data clob
      5  );
    Table created.
    SQL> declare
      2    l_text varchar2(8192);
      3  begin
      4    for i in 1..8192 loop
      5      l_text := l_text || 'A';
      6    end loop;
      7    insert into test values (1, l_text);
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> commit;
    Commit complete.C#:
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    namespace NumberTest
      /// <summary>
      /// Summary description for Class1.
      /// </summary>
      class Class1
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
          int tempValue = 0;
          string constr = "User Id=xxx; Password=xxx; Data Source=oramag; Enlist=False; Pooling=False";
          // create connection to db
          OracleConnection con = new OracleConnection(constr);
          con.Open();
          // create a command object
          OracleCommand cmd = con.CreateCommand();
          // set command object properties
          cmd.CommandText = "select cast(dbms_lob.getlength(clob_data) as number(9)) from test where clob_id=1";
          // get a data reader
          OracleDataReader dr = cmd.ExecuteReader();
          if (dr.Read())
            try
              tempValue = dr.GetInt32(0);
            catch (Exception ex)
              Console.WriteLine(ex.Message);
          Console.WriteLine("Value: {0}", tempValue.ToString());
          Console.WriteLine("Press ENTER to continue...");
          Console.ReadLine();
          // clean up objects
          dr.Dispose();
          cmd.Dispose();
          con.Dispose();
    }Output:
    Value: 8192
    Press ENTER to continue...Note that I am using Oracle Database 10g 10.2.0.2.0 and ODP.NET beta 2.102.2.10 (the beta for VS2005).
    Hope that helps a bit...
    - Mark

  • Specified cast is not valid errors

    Hi all
    Sometimes, but not always, I'm finding that the Layer.Add, Cell.GlueTo and Window.Select methods throw errors similar to:
    Specified cast is not valid at System.StubHelpers.InterfaceMarshaler.ConvertToNative(Object objSrc, IntPtr itfMT, IntPtr classMT,
    Int32 flags) at Microsoft.Office.Interop.Visio.IVLayer.Add(Shape SheetObject, Int16 fPresMems)
    I'm using VB2010, Visio 2007 and currently testing on Windows XP 32 bit. The program is a stand-alone .exe program using Visio via .NET interop. The same program, with the same data can run several times without problem and then once this error
    has been thrown, the same error will be thrown every time until the Visio file is closed and re-opened.
    This VB2010 code was derived from a VB6 program which has been working fine for 2,000+ users over a period of about 15 years.
    Unfortunately I've not been able to replicate these problems in a small test program which is making the debugging process rather tedious and it's another aspect of this problem which is worrying and confusing me.
    The program is adding a 100 or so shapes from a stencil and gluing lines between them. I've tried playing with the settings of such properties as DeferRecalc, EventsEnabled, InhibitSelectChange, LiveDynamics, ShowChanges and UndoEnabled as I thought
    Visio might be having a problem updating the screen or allocating memory to the undo manager or something. I've also tried Application.DoEvents.
    I've re-written some of my code to avoid using Window.Select which I was using to select shapes to create groups. I guess I could also re-write the code to avoid using GlueTo, but I don't think I can always avoid using Layer.Add.
    Any thoughts or comments would be much appreciated.
    Best regards
    Roger Billsdon

    Hi Paul
    Many thanks for your reply and I hope all is well with you.
    I spent quite a lot of time trying to replicate the problem in a small test program created from scratch. All the offending methods (Window.Select, Layer.Add and Cell.GlueTo) worked fine in the test program, as indeed they often do in my main program.
    I carefully compared all the project references and everything else I could think of in both the test and my main program. I added loops in the test program so that it added many shapes, etc in an attempt to create some stress on the Visio UI, Undo manager,
    etc. Not being able to replicate the problem in a small test program is one aspect of this problem that is worrying and confusing me.
    The main program is quite large (I guess about 60,000 lines of code) and contains code for many other functions. An alternative approach would be for me to take a copy of the main program and try chopping chunks out to degenerate
    it into a small test program. However, at present I have a looming project deadline so I'm now putting my effort into recoding to eliminate the Window.Select, Cell.GlueTo and, where possible, Layer.Add method calls. Fortunately Visio provides alternatives
    which seem to be working. For example, rather than Cell.GlueTo I'm setting the relevant cell formulae and instead of Window.Select to form group, I'm creating a shape, converting it into a group and then dropping the other shapes into this group.
    Back in my VB6 programs I had some problems with select and group so I think this conversion is worthwhile, but I don't recall having had any problems with Cell.GlueTo or Layer.Add. Because I don't understand what's causing the problem I'm concerned that this
    re-coding work is just fixing the symptoms without actually getting at the root cause.
    In general I am finding rather more problems and performance issues with VB.NET Visio programs than I did over all the years I used VB3 and VB6 to program Visio.
    Best regards
    Roger

  • Specified cast is not valid

    Hello, I have the following code:
    if (dataTable.Columns.Count > 1)
    strXML = ChartFileNameandPath(chartType) + @"?dataXML=<graph caption='Report ; Summary' subcaption='" + ReportName(reportType) + "' xAxisName='Line Number' yAxisName='Pounds made' rotatelabels='1' slantlabels='1' showNames='1' showvalues='0' numberPrefix='$' exportenabled='1' exportAtClient='1' exportHandler='fcExporter1' exportFormats='PNG=Save as PNG' >";
    //Getting the Subtotal of PoundsMade based on the Line Number column
    //C# linq query
    if (reportType == ReportEnums.Clientsdata) {
    var query = from row in dataTable.AsEnumerable()
    group row by row.Field<string>("ClientName") into grp
    orderby grp.Key
    select new {
    Clientname = grp.Key,
    TotalAmountSpent = grp.Sum(r => r.Field<int>("TotalAmountSpent")) //error here, specified cast is not valid
    foreach (var grp in query) {
    strXML = strXML + "<set name='" + grp.Clientname.ToString() + "' value='" + grp.TotalAmountSpent.ToString() + "'/>";
    I get a error "Specified cast is not valid"
    Part of my store procedure where I'm grabbing it from is:
    SELECT ClientName,
    Mem_Name,
    Mem_Address,
    Mem_city,
    Mem_state,
    Sum(mv.AmountSpent) as TotalAmountSpent,
    (Sum(mv.AmountSpent)/ (CAST(s.TotalBusinessSales as decimal)) * 100) as PercentAmountSpent
    My question is: Am I getting an error because of TotalAmountSpent is an alias?
    Thanks,
    N

    ALTER PROCEDURE usp_Clienttransaction (@FromDate Varchar (30), @ToDate Varchar (30), @Active int)
    AS
    SELECT ClientName,
    Mem_Name,
    Mem_Address,
    Mem_city,
    Mem_state,
    Sum(mv.AmountSpent) as TotalAmountSpent,
    (Sum(mv.AmountSpent)/ (CAST(s.TotalBusinessSales as decimal)) * 100) as PercentAmountSpent
    FROM UnitedDiningClub.dbo.UDC_Member
    JOIN UnitedDiningClub.dbo.UDC_MemberVisits mv
    ON UDC_Member.Mem_ID = mv.MemberId
    JOIN UnitedDiningClub.dbo.UDClub_Client c
    ON c.ClientId = mv.RestaurantId
    INNER JOIN
    ( SELECT RestaurantId, sum(AmountSpent) as TotalBusinessSales
    FROM UnitedDiningClub.dbo.UDC_MemberVisits
    GROUP BY RestaurantId) s
    ON s.RestaurantId = c.ClientId
    GROUP by ClientName, Mem_Name, Mem_Address , Mem_city , Mem_state, s.TotalBusinessSales
    ORDER BY ClientName
    Thats the full procedure.
    Its coming from a sub query. Would an alias effect the results in c#?

  • HP Client Security Manager 8.3.3.1786 - Specified cast is not valid

    I've recently installed HP Client Security and find usefull accessing the PC using my finger: it works.But I got a problem accessing all USB Drivers. I got the solution reading questions in this forum: I should modify a setting in HP Client Security Manager.But my HP Client Security Manager fails after authentication giving: Specified cast is not validMy PC windows software is updated according to Microsoft Update,  even HP tool says it's all updatedI've bought the PC a little more than a year ago so HP assistence says they can't answer me (but they wrote a note) Error details: at DPClientConsole.FirstBooleanToIntConverter.Convert(Object[] values, Type targetType, Object parameter, CultureInfo culture)
    at System.Windows.Data.MultiBindingExpression.TransferValue()
    at System.Windows.Data.MultiBindingExpression.Transfer()
    at System.Windows.Data.MultiBindingExpression.UpdateTarget(Boolean includeInnerBindings)
    at System.Windows.Data.MultiBindingExpression.AttachToContext(Boolean lastChance)
    at System.Windows.Data.MultiBindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
    at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
    at MS.Internal.Data.DataBindEngine.Run(Object arg)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

    @ssheaf 
    ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with the Forum's private messaging please click here to learn more.
    Thank you,
    Omar
    I Work for HP

  • *An error has occurred: Specified cast is not valid.*  - Infoview Error

    Has anyone encountered this error when logging into Infoview or Report Datasources? 
    I've uninstalled and reinstalled Crystal Reports Server several times and have installed the Service pack1. I'm still getting the same error. I'm using Business Objects 11.
    Any suggestion is appreciated.  Thanks!
    URL:
    [<server>/businessobjects/enterprise11/InfoView/logon.aspx]

    I too am having this issue.  I have followed the support note (1205427) and re-installed .NET Web Component Adapter but the issue is still occurring.
    I am running release 1 of Crystal Reports Server XI Version 11.0.0.12825

  • Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state

    we have developed packages to do the followings
    Extract data from DB2 Source and put it in MS Sql Server 2008 database (Lets Say DatabaseA).From MS Sql Server 2008 (DatabaseA)
    we will process the data and place it in another database MS Sql Server 2008 (DatabaseB)
    We have created packages in BIDS..We created datasource connection in Datasource folder in BIDS..Which has DB2 Connection and both Ms Sql Server connection (Windows authentication-Let
    say its pointing to the server -ServerA which has DatabaseA and DatabaseB).The datasource connections will be used in packages during development.
    For deployment we have created Package Configuration which will have both DB2 Connection and MS SqlServer connection in the config
    We deployed the packages in different MS SqlServer by changing the connectionstring in the config for DB2 and MS SqlServer...
    While runing the package we are getting the following error message
    Code: 0xC0016016     Source:       Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for
    use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.
    ilikemicrosoft

    Hi Surendiran,
    This is because the package has been created by somebody else and the package is being deployed under sombody else's account. e.g. If you are the creator then the package is encryption set according to your account and the package setup in SQL server is
    under a different user account.
    This happens because the package protection level is set to EncryptSensitiveWithUserKey which encrypts
    sensitive information using creator's account name.
    As a solution:
    Either you have to set up the package in SQL server under your account (which some infrastructures do not allow).
    OR
    Set the package property Protection Level to "DontSaveSensitive" and add a configuration file
    to the package and set the initial values for all the variables and all the connection manager in that configuration file (which might be tedious of-course).
    OR
    The third options (which I like do) is to open the package file and delete the password encryption entries from the package. Do note that this is not supported by designer and every time you make changes to the connection managers these encryption entries come
    back.
    Hope this helps. 
    Please mark the post as answered if it answers your question

  • Error Message: The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. The request failed with HTTP status 404: Not Found.

    I have a web page that contains a ReportViewer control.  I am trying to display a report, which is an .rdl file located on the SSRS server, in this ReportViewer control.  I have set the ReportPath and ReportServerUrl correctly.  I am
    getting an error message.
    Am I suppose to use an .rdlc file rather than a .rdl file?  Does the web server configuration need to use a certain account?
     I am getting the following error message:
    The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
    The request failed with HTTP status 404: Not Found.

    Hi bucaroov,
    The error "The request failed with HTTP status 404: Not Found." means the ReportServerURL configured in the ReportViewer control is invalid.
    Please follow these steps to solve the issue:
    Logon the Report Server machine.
    Open the Reporting Services Configuration Manager.
    Copy the Report Server URL from 'Web Services URL'.
    Logon the application server(in this case, it is the server that host the web page), check if we can use the URL we got from step 3 to access the Report Server. If so, please replace the ReportServerURL in the ReportViewer control with this URL. If it is
    not available, could you please post the error message.
    Additionaly, we don't need to provide the extension for a server report. The ReportPath should be like: /<reports folder>/<report name>
    For more information, please see:
    Walkthrough: Using the ReportViewer Control in Remote Mode:
    http://msdn.microsoft.com/en-us/library/ms251669(VS.80).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • Error: on clicking Registry menu item in ESM Management Portal. The request failed with HTTP status 404: Not Found.

    Hi,
    I have installed ESB Management Portal successfully after following all the steps. everything is working fine except when I click the Registry menu in the portal. I get an unhandled exception. The event viewer shows the below error "The request failed
    with HTTP status 404: Not Found."
    ================================================
    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 1/27/2015 5:56:10 PM 
    Event time (UTC): 1/27/2015 5:56:10 PM 
    Event ID: f7aedd39118845b79c17d3442a0d15a7 
    Event sequence: 54 
    Event occurrence: 1 
    Event detail code: 0 
    Application information: 
        Application domain: /LM/W3SVC/1/ROOT/ESB.Portal-1-130668549484455107 
        Trust level: Full 
        Application Virtual Path: /ESB.Portal 
        Application Path: C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\ 
        Machine name: <Machine Name> 
    Process information: 
        Process ID: 4712 
        Process name: w3wp.exe 
        Account name: NT AUTHORITY\NETWORK SERVICE 
    Exception information: 
        Exception type: TargetInvocationException 
        Exception message: Exception has been thrown by the target of an invocation.
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
       at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
       at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
       at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
       at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
       at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    The request failed with HTTP status 404: Not Found.
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.Practices.ESB.Portal.UDDIService.UDDIService.GetCategoryByName(String UDDIServerUrl, String tModelName) in c:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Web References\UDDIService\Reference.cs:line
    575
       at Microsoft.Practices.ESB.Portal.Uddi.ServiceProxy.getBTEndpoints(String applicationName, Boolean getSendPorts, Boolean getRcvLocations) in c:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Uddi\ServiceProxy.cs:line
    553
       at Microsoft.Practices.ESB.Portal.Uddi.ServiceProxy.GetEndpointsByApplication(String applicationName, Boolean getSendPorts, Boolean getRcvLocations) in c:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Uddi\ServiceProxy.cs:line
    46
    Request information: 
        Request URL: http://localhost/ESB.Portal/uddi/uddi.aspx 
        Request path: /ESB.Portal/uddi/uddi.aspx 
        User host address: ::1 
        User: <domain>\<user>
        Is authenticated: True 
        Authentication Type: Negotiate 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Thread information: 
        Thread ID: 19 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
        Is impersonating: False 
        Stack trace:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
       at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
       at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
       at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
       at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
       at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Custom event details: 
    =================================
    Any idea why this is happening and what needs to be done ?
    PLEASE HELP
    Thanks & Regards
    Vikram

    Snippet from the link below:
    If you get a “404: Not Found” error, it ‘s because by default there is no script map for .svc file with default IIS 7.0 installation, so you need to register .svc extension in IIS:
    You need to update IIS script maps to register .svc extension In a command prompt (ran as administrator), execute the following command:
    “%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe” -r -y"
    Refer:
    https://dgoins.wordpress.com/2010/05/01/esb-toolkit-management-portal-installation-notes-from-the-field-2/
    Sarvanan's blog around this with detailed explanation:
    Configuring Exception Management Portal
    As mentioned above also
    Check Portal Configuration Settings
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • The request failed with HTTP status 404: Not Found

    Hi
    BPC version we are using is : 5.0.502
    When we  Publish all reports using the steps below:
    a. Log into BPC Web
    b. Click on Available Interfaces> Select BPC for Administration
    c. Under Web Admin Task Click Publish Reports
    d. Select all of the reports and click the green check mark to publish the
    reports.
    I am getting following message 'System.Exception: The request failed with HTTP Status 404: Not Found. Event log relation to this error is given below.
    Event Type:     Error
    Event Source:     OutlookSoft log
    Event Category:     None
    Event ID:     0
    Date:          12/8/2008
    Time:          11:26:42 AM
    User:          N/A
    Computer:     BPCAPP
    Description:
    ==============[System Error Tracing]==============
    [System  Name] : OSoftCPM
    [Message Type] : ErrorMessage
    [Job Name]     : AuditMgrService/SetAuditReportFiles
    [DateTime]     : 12/8/2008 11:26:42 AM
    [UserId]       : MMPlanning
    [Exception]
        DetailMsg  : {The request failed with HTTP status 404: Not Found.}
    ==============[System Error Tracing  End ]==============
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.
    We tried ' Publish all reports' as the resolution of error 'object variable or with block variable not set' on modifying an application as per sap note Note 1131320
    If anyone knows the resolution for the above issue, please help me.
    Thanks in advance
    Sajeev Abraham

    Hi
    Thanks for the response.
    Below are the full contents of the error message pop-up.
    ( System.Expection: the reguest failed with HTTP status 404:Not found at
    Microsoft.Visualbasic.CompierServices.lateBinding.LateGet(Object o, Type,String name, Object
    []args,sTRING[]paramnames, Boolen[]CopyBack)
    at OSoft.Services.WebServices.ReportmanageProxy.ReportManageProxy.SetPubishReport(String strAppSet,string
    strApp,string strFiter)
    url is given below
    http://<HostName>/osoft/Admin/WebAdminMain.aspx
    BPC Deployment is Multiple server ( Two servers) Database and Application deployed seperately.
    Sql Reporting server is working.. I could connect using sql management studio.
    Thanks

  • All crawl jobs are failing with errors, Query server not responding.

    Hi All,
    I'm facing issue with search service , one of the Query server not responding and all the crawl jobs are throwing errors.
    Errors:
    "The SharePoint item being crawled returned an error when requesting data from the web service. ( Error from SharePoint site )"
    "The object was not found. ( Error from SharePoint site: HttpStatusCode NotFound The request failed with HTTP status 404: Not Found. )"
    Please suggest some resolutions.
    Pavan

    Hi Pavan,
    1. First verify as given in this article - https://support.microsoft.com/en-us/kb/2323206?wa=wsignin1.0
    2. If not 1 resolves issue then try to disable the anonymous access on the default zone web application(in content source)
    3. Also check this article if above two steps does not resolve the issue - http://www.sharepointtechs.com/the-sharepoint-item-being-crawled-returned-an-error-when-requesting-data-from-the-web-service-error-from-sharepoint-site-value-does-not-fall-within-the-expected-range
    4. If none of the above works then install this CU update http://support.microsoft.com/kb/2596505 and
    then re-run you SP Configuration Wizard and restart your SharePoint Server. But before installing this CU on your SharePoint Server ensure your have the latest backup.
    4. If all above does not work then remove
    the anonymous access (if enabled) and restore the site collection to a new new site.
    Please remember to click 'Mark as Answer' if the reply answers your query or 'Upvote' if it helps you.

  • ImportError: DLL load failed: The specified procedure could not be found.

    Hi,
    I am new to Python. I'd like to try and connect to Oracle 10.2.0.4 database using Python. I have Oracle 10g client installed. When I try to import cx_Oracle I get the error below.
    If anyone can help me how to solve this, I will be grateful.
    C:\Users\milivojm>set path
    Path=C:\Oracle\OraClient10g\bin;C:\Oracle\OraClient10g\jre\1.4.2\bin\client;C:\O
    racle\OraClient10g\jre\1.4.2\bin;C:\Oracle;C:\Oracle\OraOdac11g;C:\Oracle\OraOda
    c11g\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program File
    s\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\CollabNet Subversion;C:\P
    rogram Files\jZip;C:\Program Files\QuickTime\QTSystem\;D:\Python\
    C:\Users\milivojm>python
    Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on
    win32
    Type "help", "copyright", "credits" or "license" for more information.
    import cx_OracleTraceback (most recent call last):
    File "<stdin>", line 1, in <module>
    ImportError: DLL load failed: The specified procedure could not be found.
    exit()C:\Users\milivojm>dir c:\Oracle\OraClient10g\bin\
    Volume in drive C has no label.
    Volume Serial Number is B0A4-2659
    Directory of c:\Oracle\OraClient10g\bin
    21.11.2008 15:29 <DIR> .
    21.11.2008 15:29 <DIR> ..
    06.03.2004 03:19 108.920 cemutls.exe
    27.01.2004 04:49 86.124 COREJAVA.DLL
    21.11.2008 15:28 1.024 emca.bat
    08.03.2004 17:15 52.552 extjob.exe
    08.03.2004 17:15 52.552 extjobo.exe
    07.02.2004 22:52 28.672 launch.exe
    21.11.2008 15:27 659 lbuilder.bat
    27.01.2004 06:47 81.948 LCSSCAN.EXE
    27.01.2004 06:46 43.064 LMSGEN.EXE
    08.03.2004 17:12 16.656 loadpsp.exe
    06.03.2004 03:20 96.592 lsnodes.exe
    27.01.2004 06:46 68.556 LXEGEN.EXE
    27.01.2004 06:46 276.908 LXINST.EXE
    21.11.2008 15:28 484 mkstore.bat
    21.11.2008 15:27 1.149 netca.bat
    21.11.2008 15:27 108 netca_deinst.bat
    08.03.2004 17:59 188.416 oci.dll
    08.03.2004 17:16 32.768 ociw32.dll
    10.02.2004 13:13 110.592 ODBTREEVIEW.OCX
    21.04.2005 04:13 864.256 oip10.dll
    21.04.2005 04:05 75.500 oip10.tlb
    21.11.2008 15:27 525 olsadmintool.bat
    21.11.2008 15:27 546 olsoidsync.bat
    10.02.2004 13:12 73.728 OO4OADDIN.DLL
    10.02.2004 13:12 69.632 OO4OCODEWIZ.DLL
    10.02.2004 13:12 20.480 OO4OCODEWIZ.EXE
    21.04.2005 04:05 24.576 oraansi10.dll
    21.11.2008 15:27 34 oracle.key
    05.03.2004 19:15 20.480 OracleAdNetConnect.exe
    05.03.2004 19:15 24.576 OracleAdNetConnectRCUS.dll
    05.03.2004 19:16 24.576 OracleAdNetTest.exe
    05.03.2004 19:16 24.576 OracleAdNetTestRCUS.dll
    08.03.2004 16:39 1.909.008 oraclient10.dll
    21.04.2005 04:14 241.664 oraclm32.dll
    10.03.2004 16:09 749.840 oracommon10.dll
    27.01.2004 04:49 688.400 ORACORE10.DLL
    06.03.2004 03:16 57.616 oradbcfg10.dll
    10.02.2004 13:17 386 oradc.lic
    21.04.2005 04:13 102.400 oradc.ocx
    08.03.2004 16:39 4.235.536 orageneric10.dll
    14.03.2004 10:43 327.952 orahasgen10.dll
    26.03.2004 17:11 77.824 oraimr10.dll
    05.03.2004 19:14 45.056 orajmisc.dll
    27.01.2004 17:16 278.800 oraldapclnt10.dll
    27.01.2004 17:16 258.320 oraldapjclnt10.dll
    27.01.2004 06:46 37.136 ORALXLED.DLL
    05.03.2004 19:25 946.448 oran10.dll
    05.03.2004 19:15 37.136 oranad10.dll
    05.03.2004 19:11 33.040 oranbeq10.dll
    05.03.2004 19:12 24.848 ORANCDS10.DLL
    05.03.2004 19:11 94.480 orancrypt10.dll
    05.03.2004 19:11 24.848 oranhost10.dll
    05.03.2004 19:11 33.040 oranipc10.dll
    05.03.2004 19:12 143.632 oranjni10.dll
    05.03.2004 19:11 180.496 oranl10.dll
    13.03.2004 03:40 74.000 oranldap10.dll
    10.03.2004 20:42 33.040 oranldapj10.dll
    27.01.2004 06:45 586.000 ORANLS10.DLL
    12.03.2004 01:23 1.544.353 oranmemso.dll
    05.03.2004 19:11 33.040 orannmp10.dll
    05.03.2004 19:12 28.944 orannzentr10.dll
    05.03.2004 19:12 28.944 ORANNZMCS10.DLL
    05.03.2004 19:11 962.832 orannzsbb10.dll
    05.03.2004 19:12 53.520 oranoncj10.dll
    05.03.2004 19:10 221.456 oranro10.dll
    05.03.2004 19:12 37.136 oransgr10.dll
    05.03.2004 19:11 49.424 orantcp10.dll
    05.03.2004 19:12 49.424 ORANTCPS10.DLL
    05.03.2004 19:11 24.848 orantns10.dll
    05.03.2004 19:13 28.944 oranzts10.dll
    06.03.2004 03:16 209.168 oraocr10.dll
    14.03.2004 20:50 147.728 oraocrb10.dll
    21.04.2005 03:54 438.272 OraOLEDB10.dll
    21.04.2005 03:54 1.608 OraOLEDB10.tlb
    21.04.2005 03:55 24.576 OraOLEDB10us.dll
    21.04.2005 03:53 131.072 OraOLEDBgmr10.dll
    21.04.2005 03:54 32.768 OraOLEDBpus10.dll
    21.04.2005 03:45 24.576 OraOLEDBrfc10.dll
    21.04.2005 03:46 24.576 OraOLEDBrmc10.dll
    21.04.2005 03:53 139.264 OraOLEDBrst10.dll
    21.04.2005 03:43 24.576 OraOLEDButl10.dll
    21.11.2008 15:28 483 orapki.bat
    08.03.2004 17:07 1.052.944 ORAPLP10.DLL
    08.03.2004 17:06 2.867.472 ORAPLS10.DLL
    04.02.2004 00:10 28.944 ORASLAX10.DLL
    27.01.2004 06:46 69.904 ORASNLS10.DLL
    11.03.2004 21:35 483.600 ORASQL10.DLL
    09.03.2004 21:46 61.712 orasrvm10.dll
    06.03.2004 03:17 143.632 orasrvmhas.dll
    27.01.2004 06:45 78.096 ORAUNLS10.DLL
    27.01.2004 04:49 28.944 orauts.dll
    27.01.2004 04:49 830 orauts.sym
    08.03.2004 16:39 24.848 oravsn10.dll
    03.02.2004 07:56 10.240 orawsec9.dll
    03.02.2004 23:58 1.473.868 ORAXML10.DLL
    30.09.1999 17:43 2.478 orclcontainer.bmp
    30.09.1999 17:43 2.478 orclcontext.bmp
    03.08.1999 19:00 246 orcldbserver.bmp
    30.09.1999 18:10 3.310 orclnetservice.bmp
    24.02.2004 13:11 57.344 OsUtils.dll
    10.03.2004 19:17 60.280 sclsspawn.exe
    21.11.2008 15:29 321 selecthome.bat
    21.11.2008 15:28 266 selecthome.bat.oo4o
    21.11.2008 15:29 55 selecthome.bat.oraoledb
    27.10.2004 10:14 434.176 sqora32.dll
    27.10.2004 10:16 65.536 sqoras32.dll
    27.10.2004 10:16 32.768 sqresus.dll
    21.11.2008 15:28 3.433 targetdeploy.pl
    05.03.2004 19:17 37.084 TNSPING.EXE
    21.11.2008 15:28 260 trcasst.bat
    30.11.1999 12:32 145.408 unzip.exe
    16.07.1998 18:36 104.448 zip.exe
    112 File(s) 25.228.632 bytes
    2 Dir(s) 8.552.009.728 bytes free

    You have oracle 10g and python 2.6. Are you sure you installed the cx_Oracle version that is compatible with those particular Python and Oracle's versions? (It comes in several flavours so you need to be sure you installed the right one).

Maybe you are looking for

  • Bind Variable

    Is the bind variable syntax supported in procedure? The following produces error: VARIABLE salary number CREATE OR REPLACE PROCEDURE bindvar is eid employees.employee_id%type; BEGIN SELECT employee_id INTO eid FROM EMPLOYEES WHERE employee_id > :sala

  • URLs are not being recognized inside PDF

    URL links inside a PDF that I've created in InDesign CS5 are not being recognized. I have email and website URLs embedded inside a PDF that was created in InDesign. These links are being recognized and I can click on them in Chrome, Opera, IE or Safa

  • Help with containers in BPM

    Hey guys i m making use of /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit to do a synchronous File to RFC scenario,during design of BPM i m a bit confused as to which abstract interface should i use for Receive ,Sync send and

  • Drag & Drop vs. Copy Paste

    Which is better to use to insert text into a Pages template from Word, select, drag and drop or copy paste? How about objects?

  • Create custom forms using code or SAP B1 Studio, which one is better?

    Hello Professionals, I'm new to SAP B1 9.0 SDK, i'm currently creating forms using code, but i noticed that it can be mad using SAP Business Studio, from your experience, which one is better for performance and quality wise?. Your help would be great