InfoPath combined with Excel Rest services gives State service error
Hi
I'm having a problem with InfoPath and Excel Services. I have a InfoPath form that calls Excel to do a fairly simple calculation, but I also have another form at a client that is doing the same calling a much more complicated function.
The error I get is
SharePoint Server
State Service
bm1k
Medium
StateSqlSession.GetItemBytesInternal() Locked row in database for key ba18f90ee2e844468b08e90ad96dff2c_05967b71a21948d39b7d4d3ada9b27c9 for 4 seconds
SharePoint Server
State Service
bm0t
Unexpected
StateManager.GetState() Locked data (05967b71-a219-48d3-9b7d-4d3ada9b27c9)
InfoPath Forms Services
Runtime - State Service
b5st
Medium
MOSS StateService threw an exception: A Microsoft SharePoint Server State Service error occurred while processing your request. For more information, contact your server farm administrator.
I have determined that if the user is in the Members group, then it works, but as soon as the user is in another group, it gives the error. I have played around with permission levels, given the user all rights, but it still gives that error.
Does anyone have any idea about what might be the problem? I have thought that it's a problem on the state service, but it isn't configurable. I don't want to resort to put everyone into the Members group, as that doesn't seem to be a solution that will
work with everyone. We are on the June 2012 CU.
Thanks Sergio. I tried that but unfortunately didn't fix the problem. I have given the groups Contribute rights, Full Control rights, create my own custom permission level, nothing works except when the user is in the Members post.
I realised today that the error I posted above is a bit misleading. The error that happens first before that one is this (after removing timestamps and correlations):
Entering monitored scope (Request (POST:https://<server>/ContentHub/_layouts/Postback.FormServer.aspx))
Name=Request (POST:https://<server>/ContentHub/_layouts/Postback.FormServer.aspx)
Site=/
Access denied.
Thread was being aborted.
Not persisting state for request due to previous errors. Form Template: urn:schemas-microsoft-com:office:infopath:Expense-Claims-With-Excel:-myXSD-2004-12-26T20-14-04
Unhandled exception processing request for PostbackPage Microsoft.Office.InfoPath.Server.Util.InfoPathFatalException: Exception of type
'Microsoft.Office.InfoPath.Server.Util.InfoPathFatalException' was thrown.
at Microsoft.Office.InfoPath.Server.Util.GlobalStorage.get_CurrentFormId()
at Microsoft.Office.InfoPath.Server.Util.GlobalStorage.get_CurrentContext()
at Microsoft.Office.InfoPath.Server.Util.GlobalStorage.IsDefined(GlobalItems key)
at Microsoft.Office.InfoPath.Server.Controls.DateFormattingInfo.TryGetCachedTimeZoneId(UInt16& timeZoneId)
at Microsoft.Office.InfoPath.Server.Controls.DateFormattingInfo.GetSPTimeZoneObject()
at Microsoft.Office.InfoPath.Server.Controls.DateFormattingInfo.CalculateSPLocalTimeOffset()
at Microsoft.Office.InfoPath.Server.Util.GenericUtils.GetServerTimeZone()
at Microsoft.Office.InfoPath.Server.DocumentLifetime.ErrorPageRenderer.RenderResult(TextWriter writer, Document document, EventLogStart eventLogStart)
at Microsoft.Office.InfoPath.Server.DocumentLifetime.ErrorPageRenderer.RenderForException(HttpContext context, Exception exception, Document document, EventLogStart eventLogStart)
at Microsoft.Office.InfoPath.Server.Controls.PostbackPage.OnPreInit(EventArgs e)
at System.Web.UI.Page.PerformPreInit()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The error I first posed is I think the reaction to this exception. The strange thing is that the user can access the spreadsheet fine. When I go to the URL that is used for the rest service and just remove the $format parameter, it displays it fine as a HTML
value.
Similar Messages
-
Error in communicating with Excel Calculation Services
When attempting to use Excel Web Access web part, I get "We're sorry. We ran into a problem completing your request. Please try that again in a few minutes."
Checked event log and found
There was an error in communicating with Excel Calculation Services
http://my server:32843/49082a5d56c141629497dd8b28375f47/ExcelService*.asmx exception: The remote server returned an error: (503) Server Unavailable.
[Session:
User: ].
I googled the error and, as suggested by various sources, rebooted the server. (Same issue occurs) I also tried disabling asp.net impersonation with no change. Ideas?Hi ,
Reason for the error :
The Excel Services Application server computer is in a non-valid state and may need to be restarted.
Resolution : (Before taking the step toward to restart the server, try the below option)
Restart your excel service application app pool/ restart the excel service. (Reference :http://technet.microsoft.com/en-us/library/ee513104(v=office.14).aspx)
If you have more than one application server in the farm , then try start the excel serviceto a different server.
Regards,
Senthil -
I am installing Adobe Acrobat on a Mac with OSx Mountain Lion - gives me this error any ideas?
ERROR: DW006: Apple Package failed to install successfully.
ERROR: DW050: The following payload errors were found during install:
ERROR: DW050: - Acrobat Professional: Install failedNo there is not enough information in this snipped of your installation log. Please see Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for information on how to review the installation log in it's entirety.
-
im trying to restore my iphone with itunes and it gives me this error "We're sorry, we are unable to continue with your activation at this time."
This is usually a symptom that the phone was hacked/jailbroken. Was it?
-
Issue with calling restful services via HTTP in an Orchestration
The company I work for is using RESTful services for our I/O. We are processing EDI files using Biztalk, and are calling the REST services via HTTP from a c# code called within the orchestration. At lower volumes, the service performs fine, but at higher
transaction volumes, the HTTP calls never return. Is there a resource that needs to be tuned somewhere on the biztalk node to allow higher volumes of HTTP calls? Its not the REST service side - it has no problems handling loads generated by non biztalk nodes.
For further clarification, the EDI message is a multi batched, so there are many simultaneous orchestrations running at once. I have started to look at ways to throttle how many instances can run at once, but I still suspect some resource in the HTTP
sequence that we dont have enough of.
Ideas?I think you were not enough free threads in the ThreadPool to complete the operation.
So you can work out with Max connection setting in your BTSNTSvc file first
<system.net>
<connectionManagement>
<add address="http://name.of.server.here" maxconnection="1oo" />
</connectionManagement>
</system.net>
and try increasing number of threads allocated to the specific send Host instance and your Orchestration instance ,you can try twinkling Response timeout in minutes as well on host instance
Thanks
Abhishek -
Guidance on how to work with more REST services
You have already seen examples of REST services like Bing Search, Bing Translator and Yammer working in Project Siena Beta2.
We now have a blog post outlining how to author a WADL configuration file for accessing REST services:
http://blogs.technet.com/b/projectsiena/archive/2014/04/03/connecting-to-rest-web-services-how-to-write-a-wadl-configuration-file.aspx
Thanks.Hello,
This is great news, but when can we expect instructions as to how to use in Siena. Also, how much of these services can we expect? http://www.bing.com/dev/en-us/dev-center -
Call a storedprocedure with CLOB input parameter gives ORA-24811 error
Hi all,
I am calling a storedprocedure from VB using ADO and OraOLEDB. Calling stored procedure as mention in OraOLED documentation.
The procedure accepts a varchar and a CLOB parameter.
While executing the store procedure its throw an error as Error while trying to retrieve text for error ORA-24811
Then I executed a storeprocedure with only one CLOB out parameter. It is working fine.
Oracle version is
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
PL/SQL Release 9.2.0.4.0 - Production
CORE 9.2.0.3.0 Production
TNS for Linux IA64: Version 9.2.0.4.0 - Production
NLSRTL Version 9.2.0.4.0 - Production
O/S: Linux.
OLEDB version 9.0.1.0.1
But exact code working with
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Production
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 Production
O/S window 2003
OLEDB version 9.0.1.0.1
Can somebody help me on this?
Regards,
Mani
Sample code of stored of stored procedure and VB function pasted below.
StoreProcedure
============
create or replace procedure xmltext (EmpName varchar2,EmpDetails CLOB)
as
begin
insert into emptmp values (EmpName);
end;
VB function
=========
Dim Oracon As New ADODB.Connection
Dim cmd As New ADODB.Command
Dim param1 As New ADODB.Parameter
Dim param2 As New ADODB.Parameter
Dim empname As String
Dim empdetails As String
Set Oracon = CreateObject("ADODB.Connection")
Oracon.ConnectionString = "Provider=OraOLEDB.Oracle;Data Source=testdb;User ID=newtest;Password= newtest;PLSQLRSet=1;SPPrmsLOB=1"
Oracon.Open
empname = "Mani"
empdetails = "<EmpDet/>"
Set cmd.ActiveConnection = Oracon
cmd.CommandType = adCmdText
Set param1 = cmd.CreateParameter("param1", adVarChar, adParamOutput, 10, empname)
cmd.Parameters.Append param1
Set param2 = cmd.CreateParameter("param2", adLongVarChar, adParamInput, 10000, empdetails)
cmd.Parameters.Append param2
cmd.CommandText = "{ call xmlText(?,?)}"
cmd.Executecode for my procedure testblob is :
create or replace procedure testblob(bpic blob) as
val blob;
v_rdata blob;
v_start BINARY_INTEGER := 1;
v_buffer BINARY_INTEGER := 32767;
BEGIN
select pic into val from my_pic where no=1 for update;
DBMS_LOB.OPEN (val, DBMS_LOB.LOB_READWRITE);
FOR i IN 1..CEIL(DBMS_LOB.GETLENGTH(bpic) / v_buffer)
LOOP
v_rdata :=DBMS_LOB.SUBSTR(bpic, v_buffer, v_start) ;
DBMS_LOB.WRITEAPPEND(val, DBMS_LOB.GETLENGTH(v_rdata), v_rdata);
v_start := v_start + v_buffer;
END LOOP;
dbms_lob.close(val);
exception
when others then
raise_application_error(-20000,sqlerrm);
end; -
Safari keeps giving and error message. " Safari can't open the web page( insert web page here) , because it can't establish a secure connetion to the server.
It only seams to have a problem with https sites.
Any help would be appreciatedThe "s" in "https" indicates the site is a secure server--usually a site that will require a password. Connections to secure servers can be blocked by parental controls. Are you using any parental controls, either through OSX's settings (in System Preferences) or third party parental control software (such as Netnanny)? If so, check the settings to make sure they will allow the connection.
-
I have the latest iTunes software. I did notice that alot of my apps on my phone aren't there anymore after the update. Any suggestions?
Howdy Susiesdad,
I would suggest the troubleshooting steps from this article named Troubleshooting printer issues in OS X found here http://support.apple.com/kb/ts3147
Don't let the name throw you off, the troubleshooting is relevant for scanners as well.
Follow these steps until the issue is addressed:
Make sure that the printer is powered on, has ink / toner, and that there are no alerts on the printer’s control panel. Note: If you cannot clear an alert on the printer's control panel, stop here and check the printer's documentation or contact the manufacturer for support.
Ensure the printer is properly connected to a USB port on the Mac or AirPort base station / Time Capsule. If the printer is a network-capable printer, make sure that it is properly connected to your home network.
Use Software Update to find and install the latest available updates. If an update is installed, see if the issue persists.
Open the Print & Scan pane or Print & Fax (Snow Leopard) pane in System Preferences.
Delete the affected printer, then add the printer again.
If the issue persists, try these additional steps:
Reset the printing system, then add the printer again.
If the issue still persists, reset the printing system again. Download and install your printer's drivers. Then, add the printer again.
All the best,
Sterling -
Testing of Restful Service with ECATT
HI,
has anyone experience with testing Restful services via ECATT?
I didn't find any documentation about this.
BR,
OliverI figured this out...the context root is NOT the one specified in the @ApplicationPath annotation. The context root has to be specificed in the vendor-specific dd, glassfish-web.xml for example, or the default needs to be accepted.
The endpoint URI is of the form http://hostname:port/contextRoot/applicationPath/path, where applicationPath is specific with @ApplicationPath and path with @Path.
Edited by: asarkar on Jul 24, 2011 2:45 PM -
Hello,
I'm new to the whole Flex system and I'm trying to integrate with WCF Rest Services
I see that Flex doesn't support PUT and DELETE which is fine because we can use the x-http-method-override header which I assume you set in Flex with the headers property of the HttpService object?
httpService.headers["x-http-method-override"] = "DELETE"
The other thing is the HTTP Status code - it seems that Flex can't give you the HTTP Status code returned by the HttpService and that codes over 200 cause an exception. Is this correct and is this going to be resolved in Flex 4?
Thanks,
DaveI had a similar problem with 302 codes. Firefox gets HTTPStatusEvent.HTTP_STATUS and IE gets Event.COMPLETE. Can you check HTTPStatusEvent in Safari?
Basically the HTTP stuff is a total disaster because of all the inconsistencies in the browser plug-in interfaces. So much for "write once run anywhere"! More like write once, test everywhere, pray...
If you're in control of the server returning the 204 I'd say change it to not do that but I understand that may not be an option. -
Performance Problems with Excel Client
Hello all,
We installed BPC 7.5 SP7 NW on our customeru2019s system and experience massive performance problems on our local clients in combination with Excel and MS Office in general.
u2022When opening u201CMaintain Dimension Membersu201D it takes some time (approx. 2 min) to open the Excel Sheet with the elements. The u201CSave to Serveru201D as well as the u201CProcess Dimensionu201D also takes time to execute. When executing u201CProcess Dimensionu201D the sandbox appears and it takes approx 2 min until the Process popup window appears. The process itself has normal performance.
u2022We also experienced slow performance with the opening or saving dynamic templates dialogue in the Excel Client. It takes some time until this dialogue appears.
In general, we experience slow performance every time BPC is opening a pop up window! We also experience slow performance when opening a (non BPC) MS Office document.
In order to resolve this issue we looked at the following notes and forum entries:
Notes: 1541181, 1531059, 1507575, 1479436, 1448502, 1288810
Forum: BPC NW slow Performance (Expand, Refresh, Saving) - How to enhance it?, [BPC for Excel] Dimension clicked, then Excel hangs
Can anybody give me tipps on how to solve this issue?
Thanks in AdvanceHi,
It will work if in IE, Advanced, Security you uncheck "Check for publisher's certificate revocation "
=======================
http://CSC3-2004-crl.verisign.com/CSC3-2004.crl
http://ocsp.verisign.com/MFEwTzBNMEswSTAJBgUrDgMCGgUABBQ%2FxkCfyHfJr7GQ6M658NRZ4SHo%2FAQUCPVR6Pv%2BPT1kNnxoz1t4qN%2B5xTcCEH6eR%2B%2FPmw5g6qZVJ2HNXK4%3D
http://crl.verisign.com/pca3.crl
=========================
Regards to all,
Laurentiu Bogdan -
Advanced Antialias in combination with a lot of text does not show well
I am using embedded fonts in combination with antiAliasType ADVANCED which gives good results for smaller fontsizes.
But if the textField contains a lot of text (> 20000 characters) then part of the text is simply NOT shown. So the first couple of hundreds of lines are shown, then a couple of hundereds are not, then the next again are shown and so on. I have experimented with different values of the sharpness, but without results. Anyone any idea?
Thanks!
_textField.antiAliasType=AntiAliasType.ADVANCED
_textField.sharpness=300I cannot reproduce this issue with neither dynamic nor authoring font embedding approach. All text displays fine.
You may need to make sure that font you embed has all the characters first.
The code I used:
In Flash IDE (given Arial is embedded):
init();
function init():void
var tf:TextField = new TextField();
tf.multiline = tf.wordWrap = true;
tf.width = 1200;
tf.autoSize = "left";
tf.embedFonts = true;
tf.antiAliasType = AntiAliasType.ADVANCED;
tf.sharpness = 300;
tf.defaultTextFormat = new TextFormat("Arial", 9);
tf.text = "";
addChild(tf);
while (tf.text.length < 20000) {
tf.appendText(" " + String.fromCharCode(33 + Math.random() * 93));
And as a document class with Embed metatag:
package
import flash.display.Sprite;
import flash.text.AntiAliasType;
import flash.text.Font;
import flash.text.TextField;
import flash.text.TextFormat;
public class LargeText extends Sprite
[Embed(systemFont="Arial",fontName="_arial",mimeType="application/x-font-truetype",embedAsCFF="false")]
private var font:Class;
public function LargeText()
init();
private function init():void
var tf:TextField = new TextField();
tf.multiline = tf.wordWrap = true;
tf.width = 1200;
tf.autoSize = "left";
tf.embedFonts = true;
tf.antiAliasType = AntiAliasType.ADVANCED;
tf.sharpness = 300;
tf.defaultTextFormat = new TextFormat("_arial", 9);
tf.text = "";
addChild(tf);
while (tf.text.length < 20000)
tf.appendText(" " + String.fromCharCode(33 + Math.random() * 93)); -
Excel Web Service - yet another "Unable to process the request"
Hello,
On Windows Server 2008 R2 SP1 and
SharePoint 2010 SP1 we are receiving the following error while trying to open Excel document in Excel Web Part. It shows the standard error: "An error has occured".
When exploring ULS we found the non-informative error (An error has occurred):
There was an error in communicating with Excel Calculation Services http://domain:port/cced17b7a4c74d56827ad40c61795580/ExcelService*.asmx exception: An error has occurred. [Session: User: username].
Error ID is 5240, however, this asmx service file loads normally
by itself (using the same link from error message).
All needed features and services are enabled. IISRESET done a lot of times, even Excel Service Application was re-created.
Could you please help us with this problem or at least how to get more information about this "Error occurred"?
Thank you!Kindly access the excel service url by removing the *.
http://domain:port/cced17b7a4c74d56827ad40c61795580/ExcelService.asmx
By this you will get the root issue.
If you get the error something like:
"Memory gates checking failed because the free memory (51486720 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust
the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element."
Then do the following:
Edit the web.config in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config and add
minFreeMemoryPercentageToActivateService="0" to the
serviceHostingEnvironment element. Afterward, service will be started when there is at least 0% RAM free, i.e. always. -
I clicked on the phrase that said Check on whether your plug-ins are all current and then Firefox started just grinding away.
Finally it came back with "Plugin Finding Service Error We've encountered an error. Please try your request again later."
I get the same message every time I click on the "check on whether plug-ins are updated (attempted checking over
a number of days and still the same problem).Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
* Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove Cookies" from sites causing problems:
* Tools > Options > Privacy > Cookies: "Show Cookies"
You can check the permissions for all sites on the about:permissions page, via the location bar.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
Maybe you are looking for
-
Hi<br> I am trying to use the account transformation Business Rule in BPC 7 for MS. I have stored data gainst the the following <br> application = legal<br> period = 2009.006<br> category = Actual<br> ConsolView = LC<br> Intco = I_9005<br> Measure =
-
how can we interact with client when we are working in offshore and how can we change apo locations
-
Documentation of datasources in ecc
Hi all, Can anyone provide me with the links for the documentation of extractors/ dataSources available in ecc. Thanks, Kiran Please search the forum Edited by: Pravender on Jun 30, 2010 4:32 PM
-
Disk space for additional instance
As stated, in a Linus server, I have install Oracle 8i Enterprise Edition Release 8.1.6 with an application DB running on it. Now I'd like to create a new database for another application. Anyone know the minimum disk space requirement for an additio
-
Indesign not opening after update
Just updated Indesign with todays update. Now it won't open... I get this error when trying to open it followed by a bunch of 6 or more other similar errors and the it say it closed unexpectedly. Really annoying because I need to get work done and th