Bad request issue on Azure
we run into it every time after redeployment?
Issue detail:
-The first request to our cloud site (mysite cloudapp net) from any machine will be redirected to login(mysite cloudapp net/Account/Login?ReturnUrl=%2F#/)
,after filling in username/pwd, clicking login
gets “bad request”, “refresh” won’t solve this issue.
-update url back to mysite cloudapp net,
redo login, this time works.
thanks
I haven't solved this issue.
this is the error:
400 The anti-forgery cookie token and form field token do not match.
and I noticed the __RequestVerificationToken are different in request header and form data:
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:
gzip, deflate
Accept-Language:
en,en-US;q=0.8
Cache-Control:
max-age=0
Connection:
keep-alive
Content-Length:
161
Content-Type:
application/x-www-form-urlencoded
Cookie:
ai_user=0C348769-EFD5-43DB-A089-8B24FAC3E780; .AspNet.ApplicationCookie=mI_Bb1ZbDfJDjjgUSIViJV3ByuTCGSW9ISubRCuISa9lWLT1LBsFRpI6O-gZgG0zq5odVF04lg3J2zoMggN9B8f_jy2JQfAQWGMmDxdQfYlQEk5m1LtKso6iggoYReru_z6NK3gpbcVVS9mKo8ietGnBB92oieUikXtm4I3LEbPXsirkPpOH2rXfJ-PlxXQN1-w-tBpxXZakuFYmMJaOKTvXVjhymtHDSrsBs0LpYbcPCncFX_B1rSvBc8zT_99_wNkzTT1lbTIQqahVVxGr_dxDXUIkcu5X13ng_PZX-G3DikQhsyU66X721F2hhU0zwpkr4ZW8VYaAs6bFzBkMkjlv2CKlZg8zMj4FB1DqDA7dVbHymMqGz9B3Ma1_UBq3o3guv4ZDWcKRPvDWwwgEzidjLWhF9oYHwYZqj-hG9A_d4ITKc47Tde1PpVe2247zWl77hnqR07UyLZM_45J2h3hooQj8ofIsYHXoCF62seLChJd_d2Ash8RE4JJ8ByPyZmCrX0DjjZB105QcoQG04ByZHTY;
__RequestVerificationToken=a-cqe0GcLCXPRQtKr6LPGObUZP9nCC55k1P2wc2_qzWj-nhTKuREYjo2yfo2yhT-F-DV6rm9_s8dBAJDrMHFM27pFXE1; ai_session=C3B73A83-7377-4B92-A522-B73600522C11|2015-02-12T21:01:46.477Z|2015-02-12T21:01:46.957Z
DNT:
1
Host:
26ef0dfa5ecc41149068d2813447fc5d.cloudapp.net
Origin:
http://26ef0dfa5ecc41149068d2813447fc5d.cloudapp.net
Referer:
http://26ef0dfa5ecc41149068d2813447fc5d.cloudapp.net/Account/Login?ReturnUrl=%2F
User-Agent:
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36
Query String Parametersview sourceview URL encoded
ReturnUrl:
Form Dataview sourceview URL encoded
__RequestVerificationToken:
0UoJRAXCBNKhYZ6NG9FtorrAPQmUno2ToGntepniXMsmyIswv0CyZz3oUZ3Wmxo1ZzozydyVIusZBYKTBUuTP8Tzh7k1
BTW, our website is asp.net MVC + windows identity.
this is the login page:
@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
@Html.AntiForgeryToken()
this is the controller:
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public async Task<ActionResult> Login(LoginViewModel model, string returnUrl)
if (!ModelState.IsValid)
return View(model);
// This doesn't count login failures towards account lockout
// To enable password failures to trigger account lockout, change to shouldLockout: true
var result = await SignInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, shouldLockout: true);
thanks,
Similar Messages
-
LightSwitch HTML Client pubished on azure get an 400.0 bad request error
Well, I have this problem: "Request failed with status code '400' and the status text 'Bad Request'." when I run my LightSwitch HTMLClient application that are published in Azure Web Applications.
I already look everywhere for 3 days and still could not find the answer to this problem.
I hope someone in this forum can help me.
Thanks.Hi, thank you for respond.
let's see, the fiddler throws these:
NOTICE: Don't follow the links, they are dummies
GET http://myapp.azurewebsites.net/ApplicationData.svc/$metadata
400 Bad Request (text/html)
The Request
GET /ApplicationData.svc/$metadata HTTP/1.1
MaxDataServiceVersion: 3.0
Accept: application/xml
Referer: http://myapp.azurewebsites.net/HTMLClient/default.htm
Accept-Language: es-MX,es;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko
Connection: Keep-Alive
Host: myapp.azurewebsites.net
Cookie: ARRAffinity=354b4b5b87b2f1e4e8b6c19a5566c6e055bf3e4047b54b4d2ea846ba1b33d561; msls-client-parameters=preferredLanguage=es-MX; ASP.NET_SessionId=bkf52whz0rkufhcxmqrfuirm
The Response
HTTP/1.1 400 Bad Request
Cache-Control: private
Content-Type: text/html
Server: Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
X-Content-Type-Options: nosniff
X-Powered-By: ASP.NET
Date: Wed, 01 Apr 2015 04:23:39 GMT
Content-Length: 1647
Connection: Keep-Alive
The azure logs, the lightswitch diagnostic and the debugger not show any difference from these. -
MS Azure - Bad Request 400 Error
Hi,
I have this line of code which throws a MobileServiceInvalidOperation exception every time the line of code is executed:
List<Account> accounts = await App.accountTable.Where(account => account.EmailAddress == email).ToListAsync();
This is the exception:
A first chance exception of type 'Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException' occurred in mscorlib.dll
Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException: The request could not be completed. (Bad Request)
at Microsoft.WindowsAzure.MobileServices.MobileServiceHttpClient.<ThrowInvalidResponse>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.WindowsAzure.MobileServices.MobileServiceHttpClient.<SendRequestAsync>d__1d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.WindowsAzure.MobileServices.MobileServiceHttpClient.<RequestAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.WindowsAzure.MobileServices.MobileServiceTable.<ReadAsync>d__b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.WindowsAzure.MobileServices.MobileServiceTable.<ReadAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.WindowsAzure.MobileServices.Query.MobileServiceTableQueryProvider.<Execute>d__8`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.WindowsAzure.MobileServices.Query.MobileServiceTableQueryProvider.<Execute>d__3`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.WindowsAzure.MobileServices.MobileServiceTableQuery`1.<ToListAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at eventsphere.Utilities.ValidationUtility.<CheckEmailExistsError>d__2.MoveNext()
I have a very similar line of code shown below which works perfectly fine:
List<Account> accounts = await App.accountTable.Where(account => account.Username == username).ToListAsync();
I am a bit puzzled by how one gives an error and the other doesn't.
This is my Accounts table definition:
CREATE TABLE [eventsphere].[Accounts] (
[Id] NVARCHAR (128) DEFAULT (newid()) NOT NULL,
[AccountId] INT IDENTITY (1, 1) NOT NULL,
[Username] NVARCHAR (MAX) NULL,
[EmailAddress] NVARCHAR (MAX) NULL,
[Password] NVARCHAR (MAX) NULL,
[IsBusiness] BIT NOT NULL,
[User_Id] NVARCHAR (128) NULL,
[Business_Id] NVARCHAR (128) NULL,
[Version] ROWVERSION NOT NULL,
[CreatedAt] DATETIMEOFFSET (7) DEFAULT (sysutcdatetime()) NOT NULL,
[UpdatedAt] DATETIMEOFFSET (7) NULL,
[Deleted] BIT NOT NULL,
CONSTRAINT [PK_eventsphere.Accounts] PRIMARY KEY NONCLUSTERED ([Id] ASC),
CONSTRAINT [FK_eventsphere.Accounts_eventsphere.Businesses_Business_Id] FOREIGN KEY ([Business_Id]) REFERENCES [eventsphere].[Businesses] ([Id]),
CONSTRAINT [FK_eventsphere.Accounts_eventsphere.Users_User_Id] FOREIGN KEY ([User_Id]) REFERENCES [eventsphere].[Users] ([Id])
GO
CREATE CLUSTERED INDEX [IX_CreatedAt]
ON [eventsphere].[Accounts]([CreatedAt] ASC);
GO
CREATE NONCLUSTERED INDEX [IX_User_Id]
ON [eventsphere].[Accounts]([User_Id] ASC);
GO
CREATE NONCLUSTERED INDEX [IX_Business_Id]
ON [eventsphere].[Accounts]([Business_Id] ASC);
GO
CREATE TRIGGER [eventsphere].[TR_eventsphere_Accounts_InsertUpdateDelete] ON [eventsphere].[Accounts] AFTER INSERT, UPDATE, DELETE AS BEGIN UPDATE [eventsphere].[Accounts] SET [eventsphere].[Accounts].[UpdatedAt] = CONVERT(DATETIMEOFFSET, SYSUTCDATETIME())
FROM INSERTED WHERE inserted.[Id] = [eventsphere].[Accounts].[Id] END
This is the DataObject for the Accounts table:
namespace eventsphereService.DataObjects
public class Account : EntityData
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int AccountId { get; set; }
public string Username { get; set; }
[DataType(DataType.EmailAddress)]
public string EmailAddress { get; set; }
public string Password { get; set; }
public bool IsBusiness { get; set; }
public string User_Id { get; set; }
[DatabaseGenerated(DatabaseGeneratedOption.None)]
[ForeignKey("User_Id")]
[Association("UserIdAssociation", "UserId", "Id")]
[Column(Order = 1)]
public virtual User User { get; set; }
public string Business_Id { get; set; }
[DatabaseGenerated(DatabaseGeneratedOption.None)]
[ForeignKey("Business_Id")]
[Association("BusinessIdAssociation", "BusinessId", "Id")]
public virtual Business Business { get; set; }
Any input or advice would be appreciated.
Thanks in advance!You would need to use Fiddler tool to analyze the request sent to the Mobile Services to ensure you are sending the right data.
Let me know if this helps in investigating this issue.
Abdulwahab Suleiman -
10gAS Portal and SSO issue, HTTP 400 Bad Request
New installation
10gAS Portal (9041)
Sun Solaris 9
Internet Explorer 6.0.28
After installation, I changed the mid-tier web cache listening port to 80 by following the instruction in Oracle® Application Server 10g Administrator's Guide:
http://download-east.oracle.com/docs/cd/B10464_05/core.904/b10376/ports.htm#sthref362
Now I am able to go to portal homepage with port 80:
http://<host-name>/pls/portal/
And when I click on the Login link, it correctly directs me to the SSO login page.
However, when I type in username and password, it returns HTTP 400 Bad Request error.
The weird thing is, if I enter the portal homepage URL again in the same browser, and click the login link again, I am logged in.
Any idea what might cause this issue?
Would re-register portal help?
Thanks,
CarolThe IIS settings probaly also need to get increased as well to accommodate the large number of groups.
I'll see if I can find a better link, but this should get it working.http://support.microsoft.com/kb/970875
Bump up the values, restart the box and see if this continues.
Cheers,
Rhoderick
Microsoft Senior Exchange PFE
Blog:
http://blogs.technet.com/rmilne
Twitter: LinkedIn:
Facebook:
XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Bad Request error on Analysis Services Connector
I'am trying to connect my PowerBI preview account to a tabular instance on a Azure Virtual Machine and always fail at the end with this error:
The remote server returned an error: (400) Bad Request. [UTC TIMESTAMP: 2/19/2015 12:20:49 PM] [REQUESTID: 72fc77f8-05c1-4293-b3d3-89d42cbbb8d7]
It also fail in my PowerBI account:
Rui RomanoHi Rui,
Sorry for the delay in getting back to you on this. If you're still hitting the issue, please use the "Contact Support" option at the top-right of the website. This will send the full error details directly to our Engineering team who will follow
up with you.
Regards,
M. -
Keep getting Conflict or Bad Request
Hi,
I am trying to automate VM creation and capture image process using azure rest api. I have written logic which first creates a VM, updates roles and then captures image. While trying this sequence of steps
Sometimes I get a Conflict Error for Update role and sometimes Bad Request for Capture Image. It is very unstable in the aspect that when I m trying to do this stuffs in parallel it keeps me giving unpreditable results.
There is no issue in the request as I m able to do all this steps sequentially via console but when I try to have them parallel it causes issue. Could you please let me know if we have any issue running these service calls in parallel. If yes then what is
the best way to execute these steps:
1. Create VM
2. Update Role (I didn't wanted this step but I m not able to create endpoints in Step1 as I m using a image to create VM)
3. Capture ImageHi Ankita,
Base on my experience, the reason of this error is the previous step is not completed, and you have sent the next request. So I suggest you can wait some minutes to send the next request using rest API. If you always have this issue, please share some
code and let me know.
Regards,
Will
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. -
Hello All , Request your help on the below issue ,
We have a single server farm SP 2013 where workflow was working as expected but its broken now , Not sure
what caused this. Workflow manager is installed alongside Service Bus. Workflow Manager client is installed on the same SP server.
We are able to create and publish the workflows from SP Designer without errors but when we start the workflow from SharePoint list we get an error " Sorry something went wrong". We have tried creating new workflows but the same problem.
We receive the below error in event viewer.
Error processing management request. Method: PUT, RequestUri: http://server URL:12291/$Workflows/89c767d2-82d2-4bd9-8e5e-dcace81d844f, Error: System.ArgumentException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException:
The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.GetAsyncResult`1.EndGetResponse(GetAsyncResult`1 thisPtr, IAsyncResult ar)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
--- End of inner exception stack trace ---
Server stack trace:
Exception rethrown at [0]:
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Gateway.HttpAsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Gateway.WorkflowServiceGateway.<>c__DisplayClass6a.<EndCreateOrUpdateWorkflow>b__69()
at Microsoft.Workflow.Gateway.WorkflowServiceGateway.ExceptionFilter[T](Func`1 body)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
ULS logs give below error
Error 1 - Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId: Servername.
Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) -
-- End of inner exception stack trace ---
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManager.Publish(WorkflowDescription description, Boolean terminateActiveInstances)
at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishWorkflow(String serviceGroupName, WorkflowDescription workflow)
at Microsoft.SharePoint.WorkflowServices.WorkflowProxy.CreateDefinitionSubscription(String subscriptionName, String eventSource, List`1 eventTypes, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext) StackTrace:
at Microsoft.Office.Server.Native.dll: (sig=35339f9c-8871-4ef1-9118-9c1bd0cb6598|2|microsoft.office.server.native.pdb, offset=131CE)
at Microsoft.Office.Server.Native.dll: (offset=21B4D)
Error 2 - Error publishing workflow subscription (republish or retry publish) information: Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received
from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId:
ServerName. Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500)
Internal Server Error.
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) -
-- End of inner exception stack trace ---
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManager.Publish(WorkflowDescription description, Boolean terminateActiveInstances)
at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishWorkflow(String serviceGroupName, WorkflowDescription workflow)
at Microsoft.SharePoint.WorkflowServices.WorkflowProxy.CreateDefinitionSubscription(String subscriptionName, String eventSource, List`1 eventTypes, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext)
at Microsoft.SharePoint.WorkflowServices.FabricSubscriptionService.<>c__DisplayClass1.<CreateDefinitionSubscription>b__0()
at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.InvokeWithEcosystemRetry(WorkflowServicesContext context, EcosystemRequiredMethod method)
at Microsoft.SharePoint.WorkflowServices.FabricSubscriptionService.CreateDefinitionSubscription(String subscriptionName, Guid eventSourceId, String eventSource, List`1 eventNames, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext)
at Microsoft.SharePoint.WorkflowServices.WorkflowSubscriptionStorageEventReceiver.ItemUpdating(SPItemEventProperties properties)
Error3 - Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId: ServerName.
Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at SPRequest.AddOrUpdateItem: UserPrincipalName=i:0).w|s-1-5-21-182846760-3036401646-508972453-351846, AppPrincipalName= ,bstrUrl=http://sharepointsite ,bstrListName={48A21758-9123-48F0-9BDE-9EB632B07BC6} ,bAdd=False ,bSystemUpdate=False ,bPreserveItemVersion=False
,bPreserveItemUIVersion=False ,bUpdateNoVersion=False ,pbstrNewDocId=00000000-0000-0000-0000-000000000000 ,bHasNewDocId=False ,bstrVersion=16 ,bCheckOut=False ,bCheckin=False ,bUnRestrictedUpdateInProgress=True ,bMigration=False ,bPublish=False ,bstrFileName=<null>
Any help appreciated. Thanks in advance.Hi,
As I understand, you encountered the issue when you published a workflow on SharePoint 2013 workflow platform.
I wonder does it work well before when using 2013 workflow platform? If it works before, did you install any updates or change the configuration to the workflow related settings?
If this is the first time after you installed workflow manager 2013, then I’d recommend you try re-registering workflow service per the link below and post the result:
http://technet.microsoft.com/en-us/library/jj663115(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj658588(v=office.15).aspx
From the message you accessed workflow host uri, please make sure the account to wfsetup and wfservice account are both in wfadmins group.
http://blogs.msdn.com/b/briangre/archive/2013/02/20/least-privilege-configuration-for-windows-azure-workflow-with-sharepoint-2013.aspx
Regards,
Rebecca Tu
TechNet Community Support -
Cookie - Bad Request - Size of a request header field exceeds server limit -
We are on cq5.5. We see this error intermittently. What is the best way to fix this? Cookie size seems to be adding to the issue.
Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
Cookie: cq-mrss=path%3D%252Fcontent%252Fdam%26p.limit%3D-1%26mainasset%3Dtrue%26type%3Ddam%3AAsse t; __unam=acfbce4-13b8ffd6084-6070cfe6-4; __utma=16528299.1850197993.1355330446.1361568697.1362109625.3; __utmz=16528299.1355330446.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); REM_ME=1004; SessionPersistence-author-lx_qa_author2=CLIENTCONTEXT%3A%3DvisitorId%3Danonymous%2Cvisito rId_xss%3Danonymous%7CPROFILEDATA%3A%3DauthorizableId%3Danonymous%2CformattedName%3DAnonym ous%20Surfer%2Cpath%3D%2Fhome%2Fusers%2Fa%2Fanonymous%2Cavatar%3D%2Fetc%2Fdesigns%2Fdefaul t%2Fimages%2Fcollab%2Favatar.png%2Cage%3D%2Cage_xss%3D%7CTAGCLOUD%3A%3Dtopic%3Aworkflow%3D 14%2Cindustry%3Aprocess_management%3D2%2Ctopic%3Aprocess_mining%3D3%2Ctopic%3Aprocess_docu mentation%3D1%2Ctopic%3Aintelligent_capture%3D5%2Cindustry%3Acapture%3D5%2Ctopic%3Adocumen t_imaging%3D2%2Ctopic%3Adistributed_intelligent_capture%3D2%2Ctopic%3Adocument_output_mana gement%3D4%2Cindustry%3Acontent_management%3D14%2Cindustry%3Asoftware_solutions_hardware%3 D4%2Cindustry%3Adevice_management%3D2%2Ctopic%3Ahelp_desk_services%3D2%2Cindustry%3Aintera ct%3D15%2Ctopic%3Asecure_content_monitor%3D2%2Ctopic%3Aelectronic_forms%3D2%2Ctopic%3Ainte lligent_forms%3D2%2Ctopic%3Adocument_accounting%3D2%2Ctopic%3Aerp_output_management%3D2%2C topic%3Aprint_release%3D2%2Cindustry%3Aoutput_management%3D4%2Ctopic%3Aerp_printing%3D4%2C topic%3Aenterprise_search%3D4%2Ctopic%3Amicrosoft_sharepoint%3D6%2Ctopic%3Adocument_filter s%3D4%2Cindustry%3Asearch%3D4%2Ctopic%3Ahuman_services_case_management%3D2%2Cindustry%3Aca se_management%3D2%2Cindustry%3Aimprove_business_processes%3D6%2Ctopic%3Abusiness_process_m odeling%3D1%2Ctopic%3Alawson%3D1%2Ctopic%3Aapplication_integration%3D8%2Cindustry%3Asoluti on%3D4%2Ctopic%3Amicrosoft_dynamics_crm%3D2%2Cindustry%3Ahealthcare%3D13%2Cindustry%3Areta il%3D8%2Cindustry%3Abanking%3D3%2Cindustry%3Aincrease_efficiency%3D7%2Cindustry%3Agovernme nt%3D8%2Ctopic%3Amicrosoft_outlook%3D2%2Ctopic%3Aesri%3D2%2Ctopic%3Ajd_edwards%3D2%2Ctopic %3Asap%3D1%2Cindustry%3Adrive_business_growth%3D1%2Cindustry%3Abusiness_challenges%3D6%2Ci ndustry%3Aconnect_distributed_workforce%3D1%2Ctype%3Alanding_page%3D2%2Ctopic%3Aconsulting _services%3D2%2Ctopic%3Aretail_pharmacy%3D2%2Cindustry%3Aindustry_solutions%3D5%2Ctopic%3A health_information_management%3D3%2Ctopic%3Apatient_scheduling%3D3%2Ctopic%3Aclinical_depa rtment_solutions%3D3%2Ctopic%3Aclinical_hit_integration%3D3%2Ctopic%3Apatient_admissions_r egistration%3D3%2Ctopic%3Ahealthcare_forms_management%3D3%2Ctopic%3Apatient_access%3D3%2Ct opic%3Aenterprise_print_management_software%3D2%2Ctopic%3Aprint_queue_management%3D2%2Ctop ic%3Aadvanced_print_management%3D2%2Ctopic%3Aemployee_onboarding%3D3%2Ctopic%3Ahuman_resou rces%3D1%2Cindustry%3Ahuman_resources%3D3%2Ctopic%3Aemployee_recruitment%3D1%2Cindustry%3A manufacturing%3D2%2Ctopic%3Aplatform_integration%3D1%2Ctopic%3Awealth_management%3D2%2Cind ustry%3Afinancial_services%3D2%2Ctopic%3Aaccount_opening%3D2%2Ctopic%3Acompliance%3D1%2Cin dustry%3Acompliance%3D1%2Ctopic%3Abusiness_operations_solutions_for_banking%3D2%2Ctopic%3A retail_delivery%3D1%2Ctopic%3Aloan_processing%3D1%2Ctopic%3Aon_demand_negotiable_documents %3D1%2Ctopic%3Anew_account_openings%3D1%2Ctopic%3Aon_demand_forms_customer_communications% 3D1%2Cindustry%3Ainsurance%3D1%2Ctopic%3Amicr_printing%3D1%2Ctopic%3Abank_branch_capture%3 D1%2Ctopic%3Aagency_capture%3D1%7C; ys-cq-damadmin-tree=o%3Awidth%3Dn%253A240%5EselectedPath%3Ds%253A/content/dam; ys-cq-damadmin-grid-assets=o%3Acolumns%3Da%253Ao%25253Aid%25253Ds%2525253Anumberer%25255E width%25253Dn%2525253A23%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253At humbnail%25255Ewidth%25253Dn%2525253A45%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25 253Ds%2525253Atitle%25255Ewidth%25253Dn%2525253A78%25255Ehidden%25253Db%2525253A1%25255Eso rtable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Aname%25255Ewidth%25253Dn%2525253A3 37%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Apublished%25255Ewidth%2 5253Dn%2525253A37%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Amodified %25255Ewidth%25253Dn%2525253A78%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%25 25253Ascene7Status%25255Ewidth%25253Dn%2525253A78%25255Ehidden%25253Db%2525253A1%25255Esor table%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Astatus%25255Ewidth%25253Dn%2525253A 71%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Dn%2525253A8%25255Ewidth%25253Dn%2 525253A78%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Aworkflow%25255Ew idth%25253Dn%2525253A78%25255Ehidden%25253Db%2525253A1%25255Esortable%25253Db%2525253A1%25 5Eo%25253Aid%25253Ds%2525253Awidth%25255Ewidth%25253Dn%2525253A37%25255Esortable%25253Db%2 525253A1%255Eo%25253Aid%25253Ds%2525253Aheight%25255Ewidth%25253Dn%2525253A37%25255Esortab le%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Asize%25255Ewidth%25253Dn%2525253A37%25 255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Areferences%25255Ewidth%25253 Dn%2525253A199%25255Esortable%25253Db%2525253A1%5Esort%3Do%253Afield%253Ds%25253Alabel%255 Edirection%253Ds%25253AASC; amlbcookie=04; ObLK=0x82abacf3a5e3b1e2|0x1cf34305ac210c7e9b2b07e3725392e2; iPlanetDirectoryPro=AQIC5wM2LY4Sfcw0UQ2MST5NlqDAsUi2dscer0wO7VMy9pE.*AAJTSQACMDYAAlMxAAIw NA..*; renderid=rend01; login-token=c9c0d027-c5f9-4e5a-9a90-09d1cf21cfd2%3a0279e369-1689-433c-80ef-d8411040efe5_6 15c2fd1eba8fd42%3acrx.default; ys-cq-siteadmin-grid-pages=o%3Acolumns%3Da%253Ao%25253Aid%25253Ds%2525253Anumberer%25255E width%25253Dn%2525253A23%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253At humbnail%25255Ewidth%25253Dn%2525253A50%25255Ehidden%25253Db%2525253A1%25255Esortable%2525 3Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Atitle%25255Ewidth%25253Dn%2525253A386%25255Es ortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Aname%25255Ewidth%25253Dn%2525253A 148%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Apublished%25255Ewidth% 25253Dn%2525253A25%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Amodifie d%25255Ewidth%25253Dn%2525253A86%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2 525253Ascene7Status%25255Ewidth%25253Dn%2525253A86%25255Ehidden%25253Db%2525253A1%25255Eso rtable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Astatus%25255Ewidth%25253Dn%2525253 A76%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Aimpressions%25255Ewidt h%25253Dn%2525253A86%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Atempl ate%25255Ewidth%25253Dn%2525253A86%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds %2525253Aworkflow%25255Ewidth%25253Dn%2525253A86%25255Ehidden%25253Db%2525253A1%25255Esort able%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Alocked%25255Ewidth%25253Dn%2525253A8 6%25255Ehidden%25253Db%2525253A1%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2 525253AliveCopyStatus%25255Ewidth%25253Dn%2525253A86%25255Ehidden%25253Db%2525253A1%25255E sortable%25253Db%2525253A1%5Esort%3Do%253Afield%253Ds%25253Atitle%255Edirection%253Ds%2525 3AASC; ys-cq-siteadmin-tree=o%3Awidth%3Dn%253A306%5EselectedPath%3Ds%253A/content/homesite/en-US /insights/video_unum-group-accelerates-workflows-with-solutions-; ys-cq-cf-clipboard=o%3Acollapsed%3Db%253A1; ys-cq-cf-tabpanel=o%3AactiveTab%3Ds%253AcfTab-Images-QueryBox; JSESSIONID=ad311ac3-7c24-4e62-ae8a-0ebacd8e8188; SessionPersistence-author-lx_qa_author1=CLIENTCONTEXT%3A%3DvisitorId%3Danonymous%2Cvisito rId_xss%3Danonymous%7CPROFILEDATA%3A%3DauthorizableId%3Danonymous%2CformattedName%3DAnonym ous%20Surfer%2Cpath%3D%2Fhome%2Fusers%2Fa%2Fanonymous%2Cavatar%3D%2Fetc%2Fdesigns%2Fdefaul t%2Fimages%2Fcollab%2Favatar.png%2Cage%3D%2Cage_xss%3D%7CGEOLOCATION%3A%3D%7CTAGCLOUD%3A%3 Dindustry%3Aconnect_distributed_workforce%3D1%2Cindustry%3Abusiness_challenges%3D1%2Cindus try%3Acontent_management%3D1%2Cindustry%3Ahealthcare%3D1%2Ctopic%3Afinance%3D1%2Ctopic%3Ap rocurement_processing%3D1%2Cindustry%3Afinancial_services%3D2%2Cindustry%3Ainsurance%3D2%2 Cindustry%3Aindustry_solutions%3D2%2Ctopic%3Aagency_capture%3D2%7C; s_cc=true; s_sq=lxmtest%3D%2526pid%253Dinsights%25253Avideo_unum-group-accelerates-workflows-with-so lutiHi EbodaWill,
File daycare for fp 2324 where in you can configure & allow you to increase the request header size and avoid the bad request error OR for a package that improves client side persistence & does not use cookies.
Thanks,
Sham -
KDE Printer Manager fails with "client-error-bad-request"
I'm having some trouble with printing on my system. The KDE printer manager shows "client-error-bad-request" and no other information. When I run the KCM from the command line, I also get "kcmshell(17286) KCupsRequest::serverError: status unrecognised: 1024" on the console. I wasn't able to find any useful information on this issue on google or these forums; not even what the 1024 status code means. It seems to me that this may be a bug in the kcm_printer_manager module, but I'd like to rule out other possibilities first. Unfortunately, I don't know what to try from here. I'll provide as much potentially relevant information as I can think of below.
Changes since last successful print job:
Multiple updates to KDE packages
Update to cups that changed systemd unit file names.
Stopped and disbled old units
daemon-reload
Enable and start new units
Other updates to cups since then, if I recall correctly.
Packages and versions:
kdeutils-print-manager 4.14.3-1 (owns kcm_printer_manager module for kcmshell4)
kdebase-runtime 4.14.3-1 (owns kcmshell4 binary)
cups 2.0.1-1
libcups 2.0.1-1
systemd 218-1
linux 3.17.6-1
Let me know if any other information might be helpful.Anyone please help.
Thanks,
Orton -
Sorry, Bad Request.
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
Cookie: B=75kpq496lk13o&b=4&d=sCtogappYEIRcz6KBGzeoYZ9MqTV.a4yAp6fAQ--&s=ka&i=KBG0.9m3_RKQtWi41uCH; CH=Ahs0ZxveIG43DDRlM2sJzTTiDVorThat issue can be caused by corrupted cookies.
*https://support.mozilla.com/kb/Cannot+log+in+to+websites
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" -
For about two days all my devices have been failing to sync, with "Unknown error" in the bottom bar, and errors like this in the sync logs:
<pre><nowiki>1366935522699 Sync.Tracker.History DEBUG Saving changed IDs to history
1366935524160 Sync.Collection DEBUG mesg: POST success 200 https://phx-sync500.services.mozilla.com/1.1/zackw/storage/history
1366935524160 Sync.Collection DEBUG POST success 200 https://phx-sync500.services.mozilla.com/1.1/zackw/storage/history
1366935524544 Sync.Engine.History INFO Uploading 100 - 200 out of 643 records
1366935524547 Sync.Collection DEBUG POST Length: 53358
1366935525789 Sync.Collection DEBUG mesg: POST success 200 https://phx-sync500.services.mozilla.com/1.1/zackw/storage/history
1366935525789 Sync.Collection DEBUG POST success 200 https://phx-sync500.services.mozilla.com/1.1/zackw/storage/history
1366935525981 Sync.Engine.History INFO Uploading 200 - 300 out of 643 records
1366935525985 Sync.Collection DEBUG POST Length: 48900
1366935527259 Sync.Collection DEBUG mesg: POST success 200 https://phx-sync500.services.mozilla.com/1.1/zackw/storage/history
1366935527259 Sync.Collection DEBUG POST success 200 https://phx-sync500.services.mozilla.com/1.1/zackw/storage/history
1366935527654 Sync.Engine.History INFO Uploading 300 - 400 out of 643 records
1366935527657 Sync.Collection DEBUG POST Length: 47409
1366935527786 Sync.Collection DEBUG mesg: POST fail 400 https://phx-sync500.services.mozilla.com/1.1/zackw/storage/history
1366935527786 Sync.Collection DEBUG POST fail 400 https://phx-sync500.services.mozilla.com/1.1/zackw/storage/history
1366935527786 Sync.Engine.History DEBUG Uploading records failed: <h2>Client sent a bad request.</h2>
1366935527795 Sync.Status DEBUG Status for engine history: error.engine.reason.record_upload_fail
1366935527795 Sync.Status DEBUG Status.service: success.status_ok => error.sync.failed_partial
1366935527795 Sync.ErrorHandler DEBUG history failed: <h2>Client sent a bad request.</h2>
No traceback available
1366935527795 Sync.Synchronizer INFO Sync completed at 2013-04-25 20:18:47 after 14.18 secs.
1366935527795 Sync.SyncScheduler DEBUG Next sync in 600000 ms.
1366935527796 Sync.ErrorHandler DEBUG Some engines did not sync correctly.</nowiki></pre>They are having sync server issues for the past few days.
https://services.mozilla.com/status/
https://twitter.com/mozservices
'''''Mozilla Services @mozservices 26m'''''
'''''Sorry folks, we're still experiencing some intermittent server/hardware issues with sync. We really do appreciate your patience!''''' -
Cache server getcert http request issue
Hi,
We are using third party repository for documents archiving and storage. And we have separate application for connecting third party repository to the SAP.
We have installed content server and cache server on the system where SAP was installed.
Now we want to run getcert HTTP request from our application so that we will get the certificate from SAP cache server. What we need to do in order to achieve the same? Or in other words how we can make the connectivity between cache server and the third party repository?
We have verified the following URLs
http://10.224.1.37:1090/ContentServer/ContentServer.dll?serverInfo
http://10.224.1.37:1095/Cache/CSProxyCache.dll?serverInfo
(Where 10.224.1.37 is the IP address of the system where SAP is installed)
for content server and cache server respectively.
The URL for cache server was giving the correct server information but URL for content server is not at all showing any server information even after running for long time.
Could you please tell me step by step by procedure and configuration steps for running get cert request to cache server? We want to know how to send the getcert request to third party content management system from cache server.
We have given the following URL in http get functional module but we are getting a 400 bad request response
http://10.224.1.37:1095/Cache/CSProxyCache.dll?getcert&pversion=0046&conrep=RH
Where RH is pointing to the third party content server (through transaction oac0).
Thanks,
RaviHi All,
I am also facing the same problem, Please help us out to solve this issue.
Thanks in advance
Regards
Harshavardhan.G -
HTTP/1.1 400 Bad Request error in receiver REST channel
Hi Experts
I am currently working on an interface in which we have created a REST communication channel on the receiver side.
The below error comes up in the PI when we try to perform the GET operation on the URLs given below:
Error Message: HTTP error occurred: HTTP/1.1 400 Bad Request
URLs -
i) https://<myHost>:<myPort>/businesses/search?Keyword=Viridor&ResultsPerPage=10
ii) https://<myHost>:<myPort>/businesses/ec92a1e9-cef0-48aa-8800-a2e500ce8b1c/sites?Keyword=Viridor&ResultsPerPage=10
When we use SOAP UI to perform the above test, it works perfectly fine and fetches the required response from the target REST server.
Also, when we use the URL - https://<myHost>:<myPort>/businesses in the receiver communication channel in PI, it works fine and retrieves the
values of all the businesses present on the target server, however on making URL more specific - like the two URLs above, it does not work
and gives the bad request message.
Please can you let me know what could be the issue.
Thanks,
MaheswarareddyHi All,
Issue resolved:) ...that due to When calling a URL in the REST Receiver Channel, all GET variables are ignored
so we had to upgrade SP10 patch level 5 and all services are working as we expected.
Also pls check Note :2114322
Thanks,
Maheswarareddy -
Hi all,
I'm on the process of transition from Exchange 2003 to 2010, everything is going perfectly alright however ActiveSync is bugging me!
when I try to test activesync I get the following error:
[PS] C:\>Test-ActiveSyncConnectivity -MailboxCredential $user -TrustAnySSLCertificate |FL
RunspaceId : 136b8f68-26ec-4e29-a5bb-cf5ee816e04b
LocalSite : SITE
SecureAccess : True
VirtualDirectoryName :
Url :
UrlType : Unknown
Port : 0
ConnectionType : Plaintext
ClientAccessServerShortName : cas01
LocalSiteShortName : SITE
ClientAccessServer : CASSERVERNAME
Scenario : Options
ScenarioDescription : Issue an HTTP OPTIONS command to retrieve the Exchange ActiveSync protocol version.
PerformanceCounterName :
Result : Success
Error :
UserName : user1
StartTime : 12/12/2012 1:02:23 PM
Latency : 00:00:00.0312496
EventType : Success
LatencyInMillisecondsString : 31.25
Identity :
IsValid : True
RunspaceId : 136b8f68-26ec-4e29-a5bb-cf5ee816e04b
LocalSite : Reckon_NS
SecureAccess : True
VirtualDirectoryName :
Url :
UrlType : Unknown
Port : 0
ConnectionType : Plaintext
ClientAccessServerShortName : CASSERVERNAME
LocalSiteShortName : SITE
ClientAccessServer : CASSERVERNAME
Scenario : FolderSync
ScenarioDescription : Issue a FolderSync command to retrieve the folder hierarchy.
PerformanceCounterName : DirectPush Latency
Result : Failure
Error : [System.Net.WebException]: The remote server returned an error: (400) Bad Request.
HTTP response headers:
MS-Server-ActiveSync: 6.5.7638.1
Content-Length: 46
Cache-Control: private
Content-Type: text/html
Date: Wed, 12 Dec 2012 02:02:23 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
UserName : user1
StartTime : 12/12/2012 1:02:23 PM
Latency : -00:00:01
EventType : Error
LatencyInMillisecondsString :
Identity :
IsValid : True
environment:
Ex 2003 'Exchange' virtual directory permission: Integrated Windows Authentication, Basic
Ex 2003 'OMA' permission: Basic Authentication
Ex 2003 'ActiveSync' permission: Integrated, Basic
Ex 2010 successfully redirects users from 2010 to 2003 webmail if you login to OWA with a mailbox on 2003Yes Martina,
It has been done through ESM
I cannot test using testexchangeconnectivity.com since I cannot put the 2010 one into production, I will get into trouble if I change the DNS record to the new mail server!
Yes, EAS works perfectly fine with 2010 mailboxes.
OK.
It might be that it's not possible to run Test-ActiveSyncConnectivity against a mailbox stored in Exchange 2003.
Installing KB937031 and enabling Windows Authentication is really all that needs to be done in EX03, in order for Exchange 2010 to proxy the EAS requests.
Martina Miskovic -
Hello All,
I'm up against a show stopper. I have a simple region (lets call it the "Quote Region") of type SQL Query that returns rows from a table which I will need tp update. Occasionally the query will return a large number of rows, depending on the size of the customer's quote. My problem is when the quote is large (somewhere around 200 rows) and I perform an update I get HTTP 400 Bad Request "the webpage cannot be found", the URL says something about 7779/pls/apex/wwv_flow.accept.
The update is simple, it takes values that a user enters in another region and does a mass update to the lines in the Quote Region. The lines in the Quote region that are updated are determined by the user selecting them in a shuttle with the shuttle returning the line_id. For small quotes and even quotes with up to 195 lines everything works fine but I need this to work for large quotes! Does anyone know what's going on here???
I'm on version 3.1.2.00.02
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
I don't think it's my code, but here is the mass update anonymous block for review...
DECLARE
l_selected APEX_APPLICATION_GLOBAL.VC_ARR2;
x PLS_INTEGER := 1;
c_loopcount NUMBER := 0;
c_labelcount NUMBER := 0;
l_records VARCHAR2(32000);
l_line_id NUMBER;
BEGIN
-- Check that the shuttle has values
If :P3_APPLY_TO_LINES = 'NA' Then
RAISE_APPLICATION_ERROR( -20110, 'At least one line is required.' );
End If;
-- Convert the colon separated string of values in the shuttle into
-- a PL/SQL array
l_selected := APEX_UTIL.STRING_TO_TABLE(:P3_APPLY_TO_LINES);
FOR i IN 1.. NVL(l_selected.count,0) LOOP
l_line_id := l_selected (i);
c_loopcount := c_loopcount +1;
-- loop through each of the label values that have been entered by the user
FOR i IN 1 .. apex_application.g_f11.COUNT LOOP
c_labelcount := c_labelcount +1;
-- Update the transaction table with the provided value
UPDATE forx_label_transactions
SET value = apex_application.g_f01 (i) -- the user supplied value
,last_update_date = sysdate
,last_updated_by = :P3_LAST_UPDATED_BY
,last_update_login = :P3_LAST_UPDATE_LOGIN
WHERE label_id = apex_application.g_f11 (i) -- the hidden label id that is the foreign key
AND source_transaction_id = l_line_id; -- the line id of the quote line
--AND source_transaction_id = 1074016;
END LOOP;
l_records := l_records||l_selected (i);
END LOOP;
:p3_labelcount := c_labelcount;
:p3_loopcount := c_loopcount;
:p3_selected := (l_records);
END;
Edited by: blue4speed on Oct 7, 2010 8:54 PM
Edited by: blue4speed on Oct 7, 2010 9:04 PMWhen submitting a page there is some limit about the page size (I think 32K) after that it throws HTTP 400. We were also facing the same problem in our large tabular form. You can use Pagination to limit the rows displayed in a page to avoid this error.
But when using pagination you will face another issue. Let's say you have 100 rows and pagination is displaying only 10 rows. If you update some rows and press navigation button (Next/Previous) the changes you have made are lost and not saved. I also have a workaround for this if you are interested please let me know. I will post you if you need it.
Maybe you are looking for
-
How do I open an iTunes account for a child?
What is the trick to opening a new iTunes account for children so they can still share my account's music?
-
One solution for 'iTunes has stopped working' message
This worked in my case for iTunes 10.5 on a Dell Inspiron 1525 running 32-bit Vista. Symptoms started after I had to re-install it. Suddenly, whenever I tried to dl anything from the store, the dl would hit 100%, then I'd get the error message and DE
-
Can't create PDF file from Browser Window
Hi, I used to use Acrobat extensively (but not recently) to create PDF files from various websites. Today when I tried to do it from IE and from Chrome I found out that the ability to do that is no longer there. I cannot figure out why it disappeared
-
Airplay from MBP iTunes to aTV not working
Greetings For quite some time now I have not been able to stream from my MBP to my aTV using Airplay. The aTV syncs perfectly with the iTunes library on my MBP. In iTunes I can see the aTV option in the Airplay/remote speakers drop-down, but I selec
-
Script or Program for massive role changes
Hi, does anybody know some script to execute massive changes in SAP ROLE?? Ciao