I have a customer that I cannot publish ANY customizations for. (This is on my development server.)
I have 12 different customers running on this server. All of them are fine. However, when I try to publish ant customizations for one particular customer, I get errors.
Here is the process:
- I backup the customer’s database using SQL Server Backup and restore it to my local SQL Server.
- I create a new Application Instance using AcumaticaConfig.exe, attaching it to an existing database (done in step 1)
- I start up the application in IIS
- I go to the customizations page, and of course all customizations are unpublished
- I try to publish ANY of them -- even the Acumatica Github Customizations (eg PXLineCostForAccrue) -- ANYTHING, and I get this error:
[2023-08-24 19:01:46.663] Compiled projects: PXLineCostForAccrue[07.17.23]
[2023-08-24 19:01:46.720] Validation started.
[2023-08-24 19:01:46.766] Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (403) Forbidden. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
--- End of inner exception stack trace ---
at PX.SM.BlobStorageProviderDefinition.CheckInitError()
at PX.SM.PXBlobStorage.Load(Guid id)
at PX.SM.UploadFileRevision.get_Data()
at Customization.CstBinFile.GetFileFromDb()
at Customization.CstBinFile.SaveFiles(FilesCollection context)
at Customization.CstDocument.GetFiles(FilesCollection context)
at Customization.CstManager.ValidateDocument(CstDocument doc, ICustomizationLogger logger, Boolean patchLibInDB)
at PX.Customization.CstValidationProcess.ValidateCurrentDocument(ICustomizationLogger logger)
at PX.Customization.CstValidationProcess.CompileInternal()
Request Information
RequestID:7cd7b5da-001e-0001-57bc-d6ca18000000
RequestDate:Thu, 24 Aug 2023 18:55:29 GMT
StatusMessage:This request is not authorized to perform this operation.
[2023-08-24 19:01:46.766] An error has occurred. Please report this error to the technical support and attach the information provided above.
I’ve tried recreating and reimporting the database, deleting and reinstalling the IIS application. Nothing works. This only happens with this customer. Every other customer running on this server works fine (and I followed the same steps as listed above) I think the issue must be in the customer’s data file somehow.
It seems like some database file is locked or something. But I don’t know how to go about fixing this.
Any ideas?
Best answer by darylbowman
View original