RCU-6002:The specified database does not meet the minimum requirement to
I did all that is neccessary to let RCU to run but met the issues below. Really,this is not so good for me.pls has anyone a solution to this?
RCU-6002:The specified database does not meet the minimum requirement to load metadata repository.
RCU-6080:Global prerequisite check failed - Check requirement for specified database
The database you are connecting is not a supported version. Enter Database with version equal to or higher than 10.2.0.4.0 in 10g or version equal to higher than 11.1.0.7.0 in 11g. Refer to the certification matrix for supported DB versions
Mcdonald gabriel
Hi Dear,
You need install the database version 10.2.0.4.0 in 10g or version equal to higher than 11.1.0.7.0 with the database character set AL32UTF8.
Best of Luck
Similar Messages
-
AD CS Web Enrollment Error - "public key does not meet the minimum size required"
I've installed a standalone root CA and a enterprise subordinate CA in our environment - both are Windows 2008 R2. Everything is working except for Web Enrollment using a custom User template. I duplicated the default User template and choose
2003 Compatible for the new one. I changed the minimum key length to 2048 and set the validity period to 2 years.
We'd like to avoid using the Advanced Certificate Request page, so I modified certrqtp.inc to point to the new template:
Else
' Request types for enterprise
rgAvailReqTypes(0,FIELD_TEMPLATE)="User-custom"
rgAvailReqTypes(0,FIELD_FRIENDLYNAME)=L_UserTemplateCert_Text
rgAvailReqTypes(0,FIELD_CSPLIST)="Microsoft Enhanced Cryptographic Provider v1.0?Microsoft Base Cryptographic Provider v1.0"
rgAvailReqTypes(0,FIELD_CSPLIST2)="Microsoft Base Cryptographic Provider v1.0?Microsoft Enhanced Cryptographic Provider v1.0"
rgAvailReqTypes(0,FIELD_EXPORTABLE)="True"
nAvailReqTypes=1
End If
I also ran into this issue where Web Enrollment jumps straight to the Advanced page if the original User template isn't present on the CA:
http://social.technet.microsoft.com/Forums/en/winserversecurity/thread/9ab514bc-1f9f-424e-b70d-705874d9c623
So I have both User templates loaded on the CA, and I get this error back when attempting a certificate request using IE 8 or 9:
Your certificate request was denied.
Your Request Id is 25. The disposition message is "Denied by Policy Module".
Contact your administrator for further information.
Looking at the CA's Failed Requests section, I see this error:
The public key does not meet the minimum size required by the specified certificate template. 0x80094811 (-2146875375)
I double-checked our custom template and it does specify 2048 as the minimum key size.
Also, when trying with Chrome 11.0, I get an extra option during enrollment asking for a key size (1024 or 2048). When I choose 2048, the certificate request succeeds. I don't get the key size option when using IE, though.
We'd like to get this working with IE if possible. Any ideas?We had the same error message. The problem turned out to be on the requesting computer, not the server. When we went to renew a cert in IIS on a server it was generating a 1028-bit key request. Since the minimum on the server was set to 2048-bit
the request failed. So, there's two ways to handle this. You can change the certificate template on the server to have a minimum set to 1024-bit or you can have IIS submit a new request for a certificate and choose 2048-bit as the size of the key during the
wizard. We opted to have IIS request a 2048-bit key. The same would apply for whatever computer, device, or software you are using to form the certificate request.
Your message is pretty old, but I am running on the same problem right now. I've added a custom template to select (with 2048) minimum length, but the webpage from the IIS by default provides just 1024-bit. Where can i optimize the IIS to use a 2048-bit
key when requesting the certificate?
When I open the same site with Firefox for example, i got a listed option (Medium / High Strength) to choose for the encryption. It seems that the high strength is >= 2048-bit. -
When trying to create a new user profile service application on a new SharePoint install I get the following error:
"The specified database is not a valid synchronization database"
The installation then fails and does not create the third database.
I found some threads with similar problems but it involved upgrading an existing db. In this case we want to create a new one. Here is the relevant ULS log info:
Starting schema provisioning of SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
Provisioning the SP15_TEST_ENT_SyncDB database with the script at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\SQL\SPS\drop_procs.sql.
Provisioning the SP15_TEST_ENT_SyncDB database with a script stream.
Ensuring that the SP15_TEST_ENT_SyncDB database exists . . .
The SP15_TEST_ENT_SyncDB database does not exist.
It will now be created.
Setting the AutoClose option to False on the database SP15_TEST_ENT_SyncDB.
Setting the ArithAbort option to True on the database SP15_TEST_ENT_SyncDB.
Setting the TruncLogOnChkpt option to True on the database SP15_TEST_ENT_SyncDB.
Starting schema evaluation of existing SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
Validate Database: validating sync database
Validate Database: validation failed: Error code -2
Application error when access /_admin/NewProfileServiceApplicationSettings.aspx, Error=The specified database is not a valid synchronization database
at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()
at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()
at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()
at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Microsoft.SharePoint.Administration.SPDatabaseException: The specified database is not a valid synchronization database
at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()
at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()
at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()
at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.Administration.SPDatabaseException:
The specified database is not a valid synchronization database
at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()
at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()
at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()
at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I Tried to create another one under a different name (databases also) and I get the same error.
The SharePoint instance has the march mandatory update installed. The sql instance we are using is an existing SQL cluster for other SharePoint poc's.
Has anybody seen this issue before?I had the same problem and could not figure out what was wrong for the longest time. I then had the idea to check in the model system database to see if there were any extra custom tables in that database. Any tables that are in the model database
are put into any new database when it is created. I had some custom tables in the model database so I deleted the custom tables in the model database and deleted the failed user profile service application and its databases and then tried to recreate
the user profile service application again and it worked with no errors -
VAMT 3.1 - The specified database is not a valid VAMT database
Hi everyone,
We have a KMS server with VAMT 3.1 installed. I've successfuly created a VAMT database on a separate SQL Server and can connect to it. I've granted db_datareader and db_datawriter permission to AD security group for this database; however, no
one can connect to this database using VAMT - the message "The specified database is not a valid VAMT database" is shown. What is incorrect?Does it match this symptom and events?
http://support.microsoft.com/kb/2755159
Did you create the db manually or did you use VAMT to create the db?
Can you access the db successfully, from a remote computer, using SSMS, with one of the example domain accounts?
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
The specified screen does not exist in the DLIB file
Dear Experts,
I have copied the program of VA01 to Zprogram and created ztransaction when I execute ztransaction it will goto first screen, after I type input and click enter I will get below message
Screen zsapmv45a 4470 does not exist
when I check help (F1) it says as follows
Diagnosis
The specified screen does not exist in the DLIB file.
Procedure
Specify the programm and the screen number correctly.
If you want to generate a list of existing screens, select the program
and screen number on the Screen Painter selection screen. In the case of
the screen number, you can only enter a * in the first position.
can anyone tell me that how to maintian screen in DLIB file?
Thanks in Advance...
VenkateshDo you have such a screen number under the function group where you have copied the transaction VA01?
If not chek in standard func group for this screen and copy it. -
I have encountered the dreaded "The specified path does not contain a valid operating system or you do not have permission to access it. Specify a valid path" message that seems to be popular in many forums .... BUT, so far none of the "solutions"
have fixed the problem (of I don't understand the fix)
Configuration
SCCM 2012 SP1 5.0.7804.1000
WADK 8.100.26629.0 < Suggested Fix
Server 2008 R2
SCCM Administrator with UserID = SCCMAdmin
Steps / Fixes I have followed
I have configured a administrative share
\\caleb\sources$ to hold directories (such as Apps, Drivers, and OS) with the following NTFS Permissions
EVERYONE has Read and Execute, List folder, Read permissions<o:p></o:p>
SYSTEM has Full Control
<Suggested Fix
SCCMManagers (our group that has all SCCMManagers) has Full Control<o:p></o:p>
SCCMAdmin (the SCCM Admin account that we are using to import image) has Full Control<o:p></o:p>
Local Administrators (the local machine administrator) has Full Control
<Suggested Fix
<o:p></o:p>
Another Fix is to explicitly grant all permissions to the SCCM Administrator
<Suggested Fix
>Administrative Users ...
Properties of the SCCM Administrator (for us that is SCCMAdmin) has all the boxes checked<o:p></o:p>
Another suggestion I was able to glean was to Specify the Network Access Account
so I configured SCCMAdmin as the Network Access Account.
Another potential fix is that the image ISO file that has been downloaded is corrupt. So, I downloaded the Win 7 (and Win 8.1) ISO's from MSDN and did a Checksum check.
I then mounted the ISO (on 2008R2 I use VirtualClone Drive) and copied the contents of the image to
E:\Sources\OS\en_windows_7_professional_with_sp1_vl_build_x86_dvd_u_677896 for Windows 7 with SP1
To double check,
I computed the Hash on the Install.WIM located in the Sources directory and compared with
the computed Has Tag for the Install.WIM on the ISO Image ... and the Hash tag of the WIM's matched (extracted vs what is contained within the ISO)<o:p></o:p>
I tried to load the images into SCCM 2012 using the "Operating System Installers" option
UNC to installer
\\caleb\sources$\OS\en_windows_7_professional_with_sp1_vl_build_x86_dvd_u_677896
Then I receive the lovely message <o:p></o:p>
"The specified path does not contain a valid operating system or you do not have permission to access it. Specify a valid path"<o:p></o:p>
<o:p> </o:p>
From
C:\Program Files (x86)\Microsoft Configuration
Manager\AdminConsole\AdminUILog\SmsAdminUI.log<o:p></o:p>
<o:p> </o:p>
\r\nSystem.Management.ManagementException\r\nGeneric failure \r\n
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
errorCode)
at System.Management.ManagementObject.InvokeMethod(String
methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
at
Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String
methodClass, String methodName, Dictionary`2 methodParameters, Boolean
traceParameters)\r\nManagementException details:
instance of SMS_ExtendedStatus
Description = "Failed to get the image property from the source WIM
file due to error 80070002";
ErrorCode = 2147942402;
File ="e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\sspimagepackage.cpp";
Line = 586;
Operation = "ExecMethod";
ParameterInfo = "SMS_OperatingSystemInstallPackage";
ProviderName = "WinMgmt";
StatusCode = 2147749889;
\r\n<o:p></o:p>
What am I missing ???? I assume something simple but, darn I'm stumped!!!Hi,
Configuration Manager version
Windows AIK or Windows ADK Version
Windows PE versions for boot images customizable from the Configuration Manager console
Supported Windows PE versions for boot images not customizable from the Configuration Manager console
System Center 2012 Configuration Manager with no service pack
Windows AIK for Windows 7
Windows PE 3
None
System Center 2012 Configuration Manager with SP1
Windows ADK for Windows 8
Windows PE 4
None
System Center 2012 Configuration Manager with SP1 and cumulative update 2
Windows ADK for Windows 8
Windows PE 4
Windows PE 3.11
System Center 2012 Configuration Manager with SP1 and cumulative update 3
Windows ADK for Windows 8
Windows PE 4
Windows PE 3.11 and Windows PE 5
System Center 2012 R2 Configuration Manager
Windows ADK for Windows 8.1
Windows PE 5
Windows PE 3.11
Please try to install the Windows ADK for Windows 8.
http://www.microsoft.com/en-us/download/details.aspx?id=30652
For more information, please review the link below:
http://technet.microsoft.com/en-us/library/gg682187.aspx
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. -
The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:
"Extensions may not function properly because it does not meet the dependency condition."
OR
Extension Status is not consistent with extension set configuration."
The reason I opened the Extension Manager in the first place was to check to see if I had installed a third party extension. And I was presented with these warning symbols. I haven't added anything, I haven't done anything that would cause this.
Does anyone know how to fix this???
I am running OSX 10.9.5; Indesign CS6 version 8.0.2 And Adobe Extension Manager version 6.0.8.28.
Thanks in advance!
NinaMany InDesign pre-installed extensions (Those extensions you have immediately after InDesign installation) define dependency rules in their mxi files. Dependency means that one extension works well only if one or more other extensions are installed and enabled. If this condition is not met, the yellow triangle warning will be shown.
You can select an extension with warning, click "Advanced" tag page in the lower right panel. You will see "This extension has dependency on: <extension name> ...". Check whether every extensions listed here are available and enabled. If not, enable them. Repeat these steps for all the extensions which have warning. -
I'm trying to download the trial version of Adobe Illustrator. An error message says that the OS does not meet the minimum system requirements for the installer. 10.6.0 is the minimum required for installation. How do I get my mac to be a 10.6.0 ? Right now I have a 10.5.8 is there a way to upgrade or something?
Buy the Snow Leopard retail installer (http://store.apple.com/us/product/MC573Z/A?fnode=MTY1NDAzOA).
That will take you to 10.6.3.
If required you can then use the combo updater to get to the latest version, 10.6.8 (http://support.apple.com/kb/DL1399)
SL system reqmts; -
The Specified Directory Does not Exist
Hi expert
could you help me with my problem , this word " The Specified Directory Does Not Exist" its some stupid question , isn't it ?
this is my sitiuation :
1. BPC version is SAP BPC 5.0.512
2. we are using MS Excel 2003
our user do some modification from BPC WEB (the BPC open excel file with many macro and add-in etc ... ), then user save using Save Dynamic Template sub menu from eTools menu , and raise message "The Specified Directory Does not Exist < directory path>/eEXCEL. "
the questions Are .
1. Could anyone explain why BPC try to save in Client Local Direcory not is BPC Server
2. Could anyone help me how to resolve the problem ?
(i am appolagize with my bad english )
thanks.HI nvsleman ,
I had the same problem and I manually copied the eExcel folder (on my local harddrive) from a working application to the application in question.
Hope this helps
Sabine -
Please get the web site designers to fix this forum. There is no Z30 "place" and there is an error message that shows up every time.
The specified template does not exist or is emptyMake sure the SharePoint Server is joined to Active Directory. Also validate that the Web Application Application Pool account is running as a Domain User (rather than say Network Service).
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Best way to announce that the hardware does not meet the minimum requirements
Hi Everybody!!!
I'm in the process of tiding my App up, and I stumbled into a requirement that needs to be addressed. I'm not quite familiar with the latest trends, so I was wondering if anybody could recommend a way to inform the user if the hardware
to use does not meet the minumum requirements.
In a nutshell:
* I just created a game using Direct3D / DirectX 11,
* I'm using "DrawIndexedInstanced", which means that the videocard to use should meet at least DirectX v10 (my shaders are using model 9_3 but I tested it in a computer with DirectX9 model 3 (or so the nvidia brochure said), and the game pretty
much died in my arms).
* According to the App Certification Requirements: "if you choose a minimum feature level higher than 9_1, your app must detect at launch whether or not the current hardware meets the minimum requirements. If not, the app must display a message to
the customer detailing the Direct3D requirements."
* I know how to detect the Direct3D level supported by the current videocard. What I would like to know is how to tell the user that the videocard does not support the minimum requirements.
I don't have much knowledge about the current trends:
* I assume that displaying a message box may not be the best option, as that would mean I need to link the MFC layer to do so (the game is in Visual C++ and that's what I would do if it were one of my day-job projects). I'm quite sure that
is too much of a library just to show a message box... not to mention that most likelly the MFC is no longer supported in a Metro application...
* I was thinking about displaying a nice graphic warning about the issue, but if the D3DDevice1 is not what I expect then I don't think I can be sure that at least it can display the graphic with the information.
* I'm not quite sure if I should be linking to a .NET Library ("System.Windows.Forms" comes to mind), but then again maybe it's too much of a library for just a messagebox.
* Then again, displaying that message in a command prompt may not be the best idea either.
Any help is greatly appreciated!!!
Best Regards,
Tarh Ik
Tarh ikHi Chuck,
I tried your idea, but the game always crashed when calling the DrawIndexedInstanced() function in a computer that only supported DirectX Level 9.1 (plenty of those computers at my day-job, sometimes I swear this office could be
a museum). The crash started as a driver unload call, and after that everything goes down.
I also tried using the WARP mode, but the performance was horrible, and after a minute of playing I started to have temperature issues with the CPU (I did not see that one coming)
What I finished doing was to create two sets of shaders (pixel and vertex):
* If the feature reported by D3D11CreateDevice was 9_3 or above, I'd use my very own and happy shaders, compiled in 9_3 model. Beautiful performance with DrawIndexedInstanced().
* If on the other hand the feature reported by D3D11CreateDevice was either 9_2 or 9_1, I'd use a set of shaders compiled for level 9_1. That seemed to be enough to draw a couple of images on the screen and tell the user, using my own game elements,
that the computer did not match the hardware requirements.
It looks like this was a good approach. My game passed the certification test, and it is currently on the AppStore.
Best Regards,
Tarh Ik
PS: This posting has been posted "AS IS"
Tarh ik -
Azure Rest API PUT Block Blob Returns "The specified resource does not exist" CORS
I am trying to upload a file to Azure Blob storage. For some reason when I try to put a new block blob on in the storage it tells me the resource does not exist. I am sure it is something silly I am missing.
According to the documentation:
The Put Blob operation creates a new block blob or page blob, or updates the content of an existing block blob. Updating an existing block blob overwrites any existing metadata on the blob. Partial updates are not supported with Put Blob; the content of the
existing blob is overwritten with the content of the new blob. To perform a partial update of the content of a block blob, use the Put Block List (REST API) operation.
CORS is setup and that seems okay.
When I do a preflight and get this:
Request URL:https://<account>.blob.core.windows.net/test/image.png
Request Method:OPTIONS
Status Code:200 OK
Request Headers
OPTIONS /test/image.png HTTP/1.1
Host: <account>.blob.core.windows.net
Connection: keep-alive
Cache-Control: no-cache
Pragma: no-cache
Access-Control-Request-Method: PUT
Origin: http://www.<site>.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
Access-Control-Request-Headers: accept, content-type
Accept: */*
Referer: http://www.<site>.com/azure/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Response Headers
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Server: Blob Service Version 1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 0d372e95-1524-460a-ab9c-7973d42a7070
Access-Control-Allow-Origin: http://www.<site>.com
Access-Control-Allow-Methods: PUT
Access-Control-Allow-Headers: accept, content-type
Access-Control-Max-Age: 36000
Access-Control-Allow-Credentials: true
Date: Thu, 27 Feb 2014 22:43:52 GMT
But when I make the PUT request these are the results.
Request URL:https://<account>.blob.core.windows.net/test/image.png
Request Method:PUT
Status Code:404 The specified resource does not exist.
Request Headers
PUT /test/image.png HTTP/1.1
Host: <account>.blob.core.windows.net
Connection: keep-alive
Content-Length: 22787
Cache-Control: no-cache
Pragma: no-cache
x-ms-blob-content-dis; filename = "image.png"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
Content-Type: image/png
x-ms-blob-type: BlockBlob
Accept: application/json, text/plain, */*
x-ms-version: 2013-08-15
Origin: http://www.<site>.com
x-ms-date: Thu, 27 Feb 2014 23:19:19 GMT
Referer: http://www.<site>.com/azure/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Response Headers
HTTP/1.1 404 The specified resource does not exist.
Content-Length: 223
Content-Type: application/xml
Server: Blob Service Version 1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: d5a60c8b-356a-44ff-93af-0ea720b5591f
x-ms-version: 2013-08-15
Access-Control-Expose-Headers: x-ms-request-id,Server
Access-Control-Allow-Origin: http://www.<site>.com
Access-Control-Allow-Credentials: true
Date: Thu, 27 Feb 2014 23:22:42 GMTYour request must be authenticated to be able to upload a blob. Please see our
Windows Azure Storage: Introducing CORS blog post for more information on using Shared Access Signatures with CORS. -
Hi,
We have a requirement to purge the Azure WADLogs table on a periodic basis. We are achieving this by using Entity group transactions to delete the
records older than 15 days. The logic is like this.
bool recordDoesNotExistExceptionOccured = false;
CloudTable wadLogsTable = tableClient.GetTableReference(WADLogsTableName);
partitionKey = "0" + DateTime.UtcNow.AddDays(noOfDays).Ticks;
TableQuery<WadLogsEntity> buildQuery = new TableQuery<WadLogsEntity>().Where(
TableQuery.GenerateFilterCondition("PartitionKey",
QueryComparisons.LessThanOrEqual, partitionKey));
while (!recordDoesNotExistExceptionOccured)
IEnumerable<WadLogsEntity> result = wadLogsTable.ExecuteQuery(buildQuery).Take(1000);
//// Batch entity delete.
if (result != null && result.Count() > 0)
Dictionary<string, TableBatchOperation> batches = new Dictionary<string, TableBatchOperation>();
foreach (var entity in result)
TableOperation tableOperation = TableOperation.Delete(entity);
if (!batches.ContainsKey(entity.PartitionKey))
batches.Add(entity.PartitionKey, new TableBatchOperation());
// A Batch Operation allows a maximum 100 entities in the batch which must share the same PartitionKey.
if (batches[entity.PartitionKey].Count < 100)
batches[entity.PartitionKey].Add(tableOperation);
// Execute batches.
foreach (var batch in batches.Values)
try
await wadLogsTable.ExecuteBatchAsync(batch);
catch (Exception exception)
// Log exception here.
// Set flag.
if (exception.Message.Contains(ResourceDoesNotExist))
recordDoesNotExistExceptionOccured = true;
break;
else
break;
My questions are:
Is this an efficient way to purge the WADLogs table? If not, what can make this better?
Is this the correct way to handle the "Specified resource does not exist exception"? If not, how can I make this better?
Would this logic fail in any particular case?
How would this approach change if this code is in a worker which has multiple instances deployed?
I have come up with this code by referencing the solution given
here by Keith Murray.Hi Nikhil,
Thanks for your posting!
I tested your and Keith's code on my side, every thing worked fine. And when result is null or "result.count()<0", the While() loop is break. I found you code had some logic to handle the error "ResourceDoesNotExist" .
It seems that the code worked fine. If you always occurred this error, I suggest you could debug your code and find which line of code throw the exception.
>> Is this an efficient way to purge the WADLogs table? If not, what can make this better?
Base on my experience, we could use code (like the above logic code) and using the third party tool to delete the entities manually. In my opinion, I think the code is every efficient, it could be auto-run and save our workload.
>>Is this the correct way to handle the "Specified resource does not exist exception"? If not, how can I make this better?
In you code, you used the "recordDoesNotExistExceptionOccured " as a flag to check whether the entity is null. It is a good choice. I had tried to deleted the log table entities, but I used the flag to check the result number.
For example, I planed the query result count is 100, if the number is lower than 100, I will set the flag as false, and break the while loop.
>>Would this logic fail in any particular case?
I think it shouldn't fail. But if the result is "0", your while loop will always run. It will never stop. I think you could add "recordDoesNotExistExceptionOccured
= true;" into your "else" block.
>>How would this approach change if this code is in a worker which has multiple instances deployed?
You don't change anything expect the "else" block. It would work fine on the worker role.
If any question about this issue, please let me know free.
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. -
10.5.7 This volume does not meet the requirements for this update.
First, 10.5.7 is not showing up in software update. I downloaded both the delta and combo 10.5.7 updates and they both give me "This volume does not meet the requirements for this update." I've done all the requisite stuff, permissions, volume check, reset PRAM, etc. I've downloaded the updates several times, and they worked on my 2008 iMac and 2007 Macbook Pro, so I know they work. I've searched and searched and can't find a resolution. It's as if there is some signature written to my boot volume that is preventing this update. Applecare was of no help either. Any ideas?
Hi! Im new to this forum and i really dont know if this is the right place for me to say this but i really need some help! I have a MAc OS x 10.5.7 and had bootcamp installed on it so i could run both windows and mac! Over the last few days ive recieved a trojan virus on my windows... so i deleted my partition on mac so i basically just had Mac... now i am trying to reinstall my partition but disk utility is saying that i have an invalid volume free block count as it should be 41189365 instead of 41182017....argh! ive read the help stuff on it and it suggests me removing everything off my mac... but will i need 2 still have the mac install disc 1 to hand? as i have currently misplaced this and im ripping my hair out! Ive never had problems with my Imac until now and im really worried! I could really do with the help! Thanks Sam
-
Does not meet the system requirement for installing BB App World
I bought a Curve 8520 in Singapore yesterday. When i tried to download App world into this phone, it says "my phone does not meet the system requirement for the software". does it refer to hardware specification or the BB O/s version on the phone. How can fix it because being able to use App world is one of the purposes that i buy a BB.
Also, How about MS Live Messenger , facebook ? Do I need to install them seperately through App World?
Please help!Hi there!
Please see these links for reference:
http://na.blackberry.com/eng/services/appworld/download.jsp#tab_tab_system_requirements
http://www.blackberry.com/app_includes/devicesoftware/appworld/appworld_availability_en.html
A key component in accessing AppWorld is your carrier -- if they are not delivering it, then you can't get it. If you don't have an adequate plan from them that incudes it, then you can't get it. Hence, if you meet the hardware requirements AND it is available in your country, then you need to contact your carrier to find out how you can get it via their network.
All that said, AppWorld is merely a storefront, vending apps developed by others...there are many other storefronts available that don't have the same restrictions.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code
Maybe you are looking for
-
How to use the buying group to get the report?
Dear all: I check the function of buying group in customer master data. system show The buying group is used for reporting purposes only. You can, for example, generate an account statement with line items for all members and for the buying group. b
-
Logic won't start up after updating to 7.2.3
Hi guys, Sorry to bug you again with problems but I am stuck. I just updated to 7.2.3 and now logic will not start up at all. All I get is the "The application quit unexpectedly... Would you like to: Reopen ... When I look at the crash logs in the co
-
I found only "Javadoc" and "Modelling and Implementation Guide". Both documents seems to be scarce to start development. Of course there are a lot of blogs and one example on java.net, but where is a documentation ???
-
Energy saver won't work in OSX 10.4.11
I have a Dual 2 Ghz PowerPC G5. Energy Saver crashes every time I try to access it in System Preferences even after reinstalling OSX.
-
Trying to Update - Get "Download Unavailable" Code 503
I'm trying to download the update Name: update_SCH-I535_LG1_to_LG7 and it will not update. I already downloaded this update through wifi, and when it was done downloading, nothing happened. Now when I go to the Software Update screen it says Download