Error while trying to create a Solr collection (java.io.IOException: The device is not ready)
Hello, everyone.
I'm trying to create a .cfm document that will erase a specific Solr collection and then re-create it, index it, and optimize it.
The delete works flawlessly.
Unfortunately, creating it isn't working, at all. I get the following message:
Unable to create collection publicsearch - An error occurred while creating the collection: java.io.IOException: The device is not ready.
This is a Windows 7 server running Apache and CFServer 9.0.1 (the version before Verity was cut.) I'm not getting any more details than the one error message. Any idea of what could be causing this? I've Googled this and I'm seeing a lot of issues similar, but not quite what I have happening.
Thanks,
^_^
Nevermind.. no one bothered to inform the developer that the path to the collection AND the path to the directory that the collection is for are different on this other server.
Fixed.
Similar Messages
-
Error while trying to create tree using same EMP how to tutorial
Hi,
I get the following error while trying to create a sample tree similar to the one
posted in the how-tos web page.
The final query that creates the tree is also as follows
The Current Query shown in my apex window and the one on the howtos tutorial is as follows
select "EMPNO" id,
"MGR" pid,
"ENAME" name,
null link,
null a1,
null a2
from "RJOSEEMPCLUB"."EMP"
where DEPTNO = 1
The error is as follows
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
Debug:
1: begin
2: wwv_flow_wiz_confirm.create_tree (
3: p_flow_id => :FB_FLOW_ID,
4: p_region_template => replace(:F4000_P112_REGION_TEMPLATE,'%'||'null%',null),
5: p_start_option => :F4000_P112_START_OPTION,
6: p_owner => :F4000_P112_OWNER,
7: p_table_name => :F4000_P112_TABLE,
8: p_id => :F4000_P112_ID,
9: p_pid => :F4000_P112_PID,
10: p_name => :F4000_P112_NAME,
11: p_link_option => :F4000_P112_LINK_OPTION,
12: p_link_page_id => :F4000_P112_LINK_PAGE_ID,
13: p_link_item => :F4000_P112_LINK_ITEM,
14: p_where => :F4000_P112_WHERE,
15: p_order_by => :F4000_P112_ORDER_BY,
16: p_page_id => :F4000_P112_PAGE_ID,
17: p_page_name => :F4000_P112_PAGE_NAME,
18: p_tab_set => :F4000_P112_TAB_SET,
19: p_tab_text => :F4000_P112_TAB_TEXT,
20: p_region_name => :F4000_P112_REGION_NAME,
21: p_tree_name => :F4000_P112_TREE_NAME,
22: p_tree_type => :F4000_P112_TREE_TYPE,
23: p_max_levels => :F4000_P112_MAX_LEVELS);
24: end;Hi Kart,
If you have the sample EMP table, the DEPTNO values are 10, 20 or 30.
Did you specify a root value for the tree?
Regards
Andy -
Error while trying to create a new company
Hey All
I found an error while trying to create a new company.
the Error like - No matching Records Found - [ODBC -2028]
This can generate only database but not any tables in that database.
Please help me.
Thanking you
Hepil DoshiHello,
I would prefer local language instead of US english.....
My tips.
1. DID you tried to Not apply the UDO/UDF things?
2. Do not log in to the database, start from
3. Please post the error message itself....
4. If you are running on MS SQL 2005 server (not express) , You can start SQL profiler, and monitor the New Database creation.... you will see in profielr where is the error message and which tables / data is missing.
If i know well,
When you create a new company, the SBO-COMMON database is used to deploy the new database....
If you get stock, reinstall your sbo-common from the last applyied patch..... (Detach SBO-common, move the files another directory, and start upgarder.exe).
Regards,
J. -
Error when trying to create a site collection
Hi,
I receive the following error when trying to create a site collection in sharepoint 2013. Any ideas of what I can do to resolve?
Sorry, something went wrong
Failed to call GetTypes on assembly Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91. Method 'ParseLogFileEntry' in type 'Microsoft.AnalysisServices.SharePoint.Integration.ConnectionUsageDefinition'
from assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation. Method 'ParseLogFileEntry' in type 'Microsoft.AnalysisServices.SharePoint.Integration.RequestUsageDefinition'
from assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation. Method 'ParseLogFileEntry' in type 'Microsoft.AnalysisServices.SharePoint.Integration.LoadUsageDefinition'
from assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation. Method 'ParseLogFileEntry' in type 'Microsoft.AnalysisServices.SharePoint.Integration.UnloadUsageDefinition'
from assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation.
thanks,
SherazadHi ,
Based on the error message, please check whether you have installed the spPowerPivot.msi add-in on each of your SharePoint server, and ran the configuration wizard, make sure that the powerpivotwebapplicationsolution.wsp
is deployed correctly.
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Eric Tao
TechNet Community Support -
Getting error while trying to create the push certificate...
I am getting the following error while trying to create a push certificate for the mdm from the apple site.
Certificate Signature Verification failed because the signature is invalid.
I am mdm vendor as well as the customer. I did the following steps.
openssl x509 -inform der -in mdm_identity.cer -out mdm.pem
openssl x509 -inform der -in AppleWWDRCA.cer -out intermediate.pem
openssl x509 -inform der -in AppleIncRootCertificate.cer -out root.pem
openssl req -inform pem -outform der -in customer.csr -out customer.der
created the plist_encoded file using a java program which uses the "SHA1WthRSA"
When i tried to upload the plist_encoded file to the apple site (https://identity.apple.com/pushcert/), it creates a file with the following error
{"ErrorCode":-80018,"ErrorMessage":"Certificate Signature Verification failed","ErrorDescription":"Certificate Signature Verification failed because the <a href=\"http://www.apple.com/business/mdm\" target=\"_blank\">signature<\/a> is invalid."}
Any help would be greatly appreciated....Please see the solution in (The Descriptive Flexfield With Application Name Receivables (AR) and Name Party Site Information (HZ_PARTY_SITES) Is Not Frozen [ID 743262.1]).
Thanks,
Hussein -
What do I do now that Photoshop CC has encountered an error while trying to upgrade. Suggesting retry does nothing. The numbers (49) appear, but I don’t know what that signifies. Help?
It is recommended that I ask for help, which put me here. What I really need is some customer service — not a chat room!If Windows :
Quit Creative Cloud desktop application .
Launch Photoshop cc 2014 application from C: > Program Files > Adobe Photoshop CC 2014 .
Once launched , click on Help menu in Photoshop cc 2014 and select Updates option .
It should update.
If Mac:
Quit Creative Cloud desktop application .
Launch Photoshop cc 2014 application from Applications folder:
Once launched , click on Help menu in Photoshop cc 2014 and select Updates option .
Let me know if you face any error .
Error 49 occurs while updating the application , when Creative Cloud app does not have reference / Access to installed CC app, so that it can apply updates for the same .
You can try to update from CC app like Photoshop itself and check. -
"ERROR 21 the device is not ready" when use dism get-wiminfo
I want to retrieve information about the OS images that are contained in a wim file.
"dism /Get-WimInfo /WimFile:d:\sources\install.wim "was typed in the command line (system manager)
but error 21 happened "the device is not ready". Actually I know little about computer and don't know how to fix it.
the log file says as follows,
2015-04-20 13:12:36, Info DISM PID=5204 TID=7720 Scratch directory set to 'C:\Users\luckiing\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2015-04-20 13:12:36, Info DISM PID=5204 TID=7720 DismCore.dll version: 6.2.9200.16384 - CDISMManager::FinalConstruct
2015-04-20 13:12:36, Info DISM PID=5204 TID=7720 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM Manager: PID=5204 TID=7720 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM.EXE:
2015-04-20 13:12:36, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->
2015-04-20 13:12:36, Info DISM DISM.EXE:
2015-04-20 13:12:36, Info DISM DISM.EXE: Host machine information: OS Version=6.2.9200, Running architecture=amd64, Number of processors=8
2015-04-20 13:12:36, Info DISM DISM.EXE: Dism.exe version: 6.2.9200.16384
2015-04-20 13:12:36, Info DISM DISM.EXE: Executing command line: dism /Get-WimInfo /WimFile:d:\sources\install.wim
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Loading Provider from location C:\Windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Connecting to the provider located at C:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Loading Provider from location C:\Windows\System32\Dism\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Connecting to the provider located at C:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Loading Provider from location C:\Windows\System32\Dism\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Connecting to the provider located at C:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Loading Provider from location C:\Windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Connecting to the provider located at C:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-04-20 13:12:36, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2015-04-20 13:12:36, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2015-04-20 13:12:36, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2015-04-20 13:12:36, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2015-04-20 13:12:36, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2015-04-20 13:12:36, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2015-04-20 13:12:36, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2015-04-20 13:12:36, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2015-04-20 13:12:36, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2015-04-20 13:12:36, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Getting Provider WimManager - CDISMProviderStore::GetProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2015-04-20 13:12:36, Error DISM DISM WIM Provider: PID=5204 WIM open failed. - CWimImageInfoCollection::Initialize(hr:0x80070015)
2015-04-20 13:12:36, Error DISM DISM WIM Provider: PID=5204 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimimageinfocollection.cpp:76 - CWimImageInfoCollection::CreateWimImageInfoCollection(hr:0x80070015)
2015-04-20 13:12:36, Error DISM DISM WIM Provider: PID=5204 TID=7720 Failed to create the image info collection. - CWimManager::GetImageInfoCollection(hr:0x80070015)
2015-04-20 13:12:36, Error DISM DISM WIM Provider: PID=5204 TID=7720 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:3248 - CWimManager::InternalOpGetImages(hr:0x80070015)
2015-04-20 13:12:36, Error DISM DISM WIM Provider: PID=5204 TID=7720 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4043 - CWimManager::InternalCmdGetImages(hr:0x80070015)
2015-04-20 13:12:36, Error DISM DISM WIM Provider: PID=5204 TID=7720 Error executing command - CWimManager::InternalExecuteCmd(hr:0x80070015)
2015-04-20 13:12:36, Error DISM DISM WIM Provider: PID=5204 TID=7720 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1928 - CWimManager::ExecuteCmdLine(hr:0x80070015)
2015-04-20 13:12:36, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2015-04-20 13:12:36, Info DISM DISM.EXE:
2015-04-20 13:12:36, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->
2015-04-20 13:12:36, Info DISM DISM.EXE:
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
2015-04-20 13:12:36, Info DISM DISM Provider Store: PID=5204 TID=7720 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProviderHi,
According to the DISMI log, it seems like there is a problem with the WIM file. However, you can try to change a location for test to check its information.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
When trying to scan I keep receiving an error message. Operation could not be completed (error 0x00000015). The device is not ready.
What does this mean? I have been able to scan without problems in the pas, with Windows 7 Fax and Scan.
Printer : HP PhotoSmart 2710
Computer: HP Pavilion zd8000 (originally XP)Welcome to the Forum, losblanco,
I checked on this for you and I think your answer is here:
http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/operation-could-not-be-completed...
If you don't find the solution there,
or if you need help for any other reason,
please come back and we'll take another shot at it!
Good Luck!
I hope this helps.
Click The Kudos Star to say Thanks!
Set in Reply “Accept as Solution” if it’s fixed!
Kudos are Earned!
Kind Regards,
Dragon-Fur -
Error initializing server: IO Error: The device is not ready
Hi, I copied JDev 10.1.3 on my notebook and when I tried to start embedded OC4J I get the following message:
Error initializing server: IO Error: The device is not ready
What should I do? ThanksIf I read correctly, you just copy the existing jdev installation on your PC to your notebook. That sounds like a very dubious practice to me. As seen by you in this particular example, hard-coded non-relative paths, host information, environment settings and etc begin to creep into various configuration or preference files once a piece of software go alive.
Any problem to start a new installation to your notebook? -
MegaSky 580 - Presto! Error message "The device is not ready"
Error message "The device is not ready. Please check whether your device is connected correctly."
I can see the device in the drop down menu of the settings window, when I select It, I get again the same error message.
If I plug off the usb stick, presto! Do not see the device anymore
I did have this problem since the beginning, I did try a lot ,
I install also the updates for the “digital TV usb min receiver” and the updates for the presto software (from the presto and msi homepage).
But nothing was helping.
After a couple of weeks I needed to reinstall the laptop from scratch.
And the first thing that I did was trying the presto software again, and it was working everything fine.
After a couple of weeks I install some other stuff and all of the Microsoft patches,
And I did get the same problem back.
So it seems that something is disturbing the communication between the USB stick and the presto software, but what!
The usb stick is working finr, I did try it with a powercinema trial version, and it is working, but why the OEM software of the USB stick not working, I hate it!
It would also helpful, to get a kind of log functionalities, due to the fact,
that no logs are available! Maybe somebody knows kind of switch to increase the verbosity and get an error log?
I have seen the same problem in this and other forums, so I’m not the only one.
But no solution found, maybe someone has found it…..
System:
HP nc6120 laptop
XP SP2 all security patches installedilko_t
The Acer laptop, whic works with Mega Sky 580, is a celeron, can´t remember the exact spec., 1,5 Ghz, 1G DDR
Think my faulty computer is similar to the one (B) you described... is it a Dell thing?
Quote from: ilko_t on 20-June-06, 21:40:59
I am having the very same problem:
3 Systems:
A- Desktop MB-Abit AN7, AMD Athlon 3000+ - working fine with all software and drivers updates. All aviable XP updates applied. XP Pro SP2
B- Laptop Dell Dimension 6000, Intel Centrino, 1.6Ghz Mobile, 512MB DDR2- cannot get it working- tried all aviable updates, all XP updates applied, XP Home SP2, Intel Chipset drivers- newest, says every time "The device is not ready. Please check whether your device is connected correctly."
C- Desktop Intel P4 3.0Ghz, 512MB RAM, Intel chipset- was working first 2 or 3 reboots then the same problem "device not ready", all updates, all XP updates, all motherboard updates, XP Pro SP2
On systems B and C the tuner is recognised properly in Device Manager and correct drivers installed(the newest from MSI+software patch)
The only logical conclusion I can make at this point is that there is something to do with the chipset make, as it works just fine on AMD and on Intel it won't, using the same software+drivers.
Any other ideas? Or just dump the thing in the bin -
I have updated, restarted, etc. Sometimes when scanning I do not get this message, but more often I do.
When scanning I receive the following message:
Error message when scanning "Operation could not be completed (error 0x00000015). The device is not ready.
Please help!!Hello, nylamama:
Follow the steps in this document, and you should find the help you need to resolve the error.
Let me know if this helps, and thank you for contacting HP!
Cheers,
SN_63 (Saint Nana): I work on behalf of HP.
Click the thumbs up icon if you want to say "Thank you." To help others on the forum, select "Accepted Solution" on the post that solves your problem. -
I am trying to create a QR Code in cs6 but the option is not available under objects
I have cs6 - i should be able to create a qr code under objects but the option is not there...
See: [Ann] QR code for Indesign CS4 and up
http://forums.adobe.com/message/5442405#5442405 -
Error while trying to create new assignment with supervisor through API
Hi Experts,
I'am trying to create new assignment with supervisor for employee, but i'am facing this error:
=============================================================
ORA-20008: Error While Create new assignment..-20001
ORA-20001: The supervisor assignment that you have entered is invalid.
Please check that you have entered the supervisor,
that the supervisor assignment belongs to this supervisor and that the assignment is effective.
ORA-06512: at line 198
=============================================================
This is my script, (Oracle EBS 12.1.1)(DB 11):
DECLARE
v_user_id NUMBER;
v_res_id NUMBER;
v_res_appl_id NUMBER;
v_org_now_no_manager_warning BOOLEAN;
v_spp_delete_warning BOOLEAN;
v_other_manager_warning BOOLEAN;
v_tax_district_changed_warning BOOLEAN;
v_entries_changed_warning VARCHAR(4000);
v_person_id per_all_assignments_f.person_id %TYPE;
v_business_group_id hr_all_organization_units_tl.organization_id %TYPE;
v_people_group_id per_all_assignments_f.people_group_id %TYPE;
v_object_version_number per_all_assignments_f.object_version_number %TYPE;
v_special_ceiling_step_id per_all_assignments_f.special_ceiling_step_id %TYPE;
v_group_name pay_people_groups.group_name %TYPE;
v_ass_effective_start_date per_all_assignments_f.effective_start_date %TYPE;
v_effective_start_date per_all_assignments_f.effective_start_date %TYPE;
v_effective_end_date per_all_assignments_f.effective_end_date %TYPE;
v_assignment_id per_all_assignments_f.assignment_id %TYPE;
v_sup_assignment_id per_all_assignments_f.assignment_id %TYPE;
v_supervisor_assignment_id per_all_assignments_f.assignment_id %TYPE;
v_job_id per_jobs.job_id %TYPE;
v_grade_id per_grades.grade_id %TYPE;
v_location_id hr_locations_all.location_id %TYPE;
v_payroll_id pay_all_payrolls_f.payroll_id %TYPE;
v_pay_basis_id per_pay_bases.pay_basis_id %TYPE;
BEGIN
v_user_id := FND_GLOBAL.user_id ;
v_res_id := FND_GLOBAL.resp_id ;
v_res_appl_id:= FND_GLOBAL.resp_appl_id;
FND_GLOBAL.apps_initialize(v_user_id, v_res_id, v_res_appl_id);
BEGIN
SELECT organization_id
INTO v_business_group_id
FROM hr_all_organization_units_tl
WHERE name = 'Vision University'
AND language = 'US';
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20000,'Error While Retrieving (Business Group ID) Info...'||SQLCODE||' '||SQLERRM);
END;
FOR R IN (SELECT * FROM xx_assignment) LOOP
BEGIN
SELECT assignment_id , ass_f.object_version_number
INTO v_assignment_id , v_object_version_number
FROM per_all_assignments_f ass_f, per_all_people_f p_f
WHERE ass_f.person_id = p_f.person_id
AND ass_f.business_group_id = p_f.business_group_id
AND ass_f.business_group_id = v_business_group_id
AND p_f.employee_number = R.employee_number
AND TRUNC(p_f.effective_start_date)= TRUNC(ass_f.effective_start_date)
AND TRUNC(p_f.effective_end_date) = TRUNC(ass_f.effective_end_date);
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20001,'Error While Retrieving (Assignmet_ID) for employee..'||SQLCODE||' '||SQLERRM);
END;
BEGIN
SELECT job_id
INTO v_job_id
FROM per_jobs
WHERE trim(lower(name)) = trim(lower(r.employee_job))
AND business_group_id = v_business_group_id;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20002,'Error While Retrieving (Job_ID) Info...'||SQLCODE||' '||SQLERRM);
END;
BEGIN
SELECT grade_id
INTO v_grade_id
FROM per_grades
WHERE trim(lower(name)) = trim(lower(r.employee_grade))
AND business_group_id = v_business_group_id;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20003,'Error While Retrieving (Grade_ID) Info...'||SQLCODE||' '||SQLERRM);
END;
BEGIN
SELECT location_id
INTO v_location_id
FROM hr_locations_all
WHERE trim(lower(description))= trim(lower(r.employee_location))
AND business_group_id = v_business_group_id;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20004,'Error While Retrieving (Location_ID) Info...'||SQLCODE||' '||SQLERRM);
END;
BEGIN
SELECT payroll_id
INTO v_payroll_id
FROM pay_all_payrolls_f
WHERE trim(lower(payroll_name)) = trim(lower(r.payroll_name))
AND business_group_id = v_business_group_id;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20005,'Error While Retrieving (Payroll_ID) Info...'||SQLCODE||' '||SQLERRM);
END;
BEGIN
SELECT pay_basis_id
INTO v_pay_basis_id
FROM per_pay_bases
WHERE trim(lower(pay_basis)) = trim(lower(r.pay_basis))
AND business_group_id = v_business_group_id;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20006,'Error While Retrieving (Pay_Basis_ID) Info...'||SQLCODE||' '||SQLERRM);
END;
BEGIN
SELECT person_id
INTO v_person_id
FROM per_all_people_f
WHERE employee_number = r.supervisor_number
AND business_group_id= v_business_group_id;
SELECT assignment_id
INTO v_sup_assignment_id
FROM per_all_assignments_f
WHERE person_id = v_person_id
AND business_group_id = v_business_group_id;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20007,'Error While Retrieving (Assignmet_ID) for supervisor..'||SQLCODE||' '||SQLERRM);
end;
BEGIN
hr_assignment_api.update_emp_asg_criteria(p_effective_date => TRUNC(SYSDATE),
p_datetrack_update_mode => 'CORRECTION',
p_assignment_id => v_assignment_id,
p_validate => FALSE,
p_called_from_mass_update => NULL,
p_grade_id => v_grade_id,
p_position_id => NULL,
p_job_id => v_job_id,
p_payroll_id => null,--v_payroll_id,
p_location_id => v_location_id,
p_organization_id => v_business_group_id,
p_pay_basis_id => v_pay_basis_id,
p_segment1 => NULL,
p_segment2 => NULL,
p_segment3 => NULL,
p_segment4 => NULL,
p_segment5 => NULL,
p_segment6 => NULL,
p_segment7 => NULL,
p_segment8 => NULL,
p_segment9 => NULL,
p_segment10 => NULL,
p_segment11 => NULL,
p_segment12 => NULL,
p_segment13 => NULL,
p_segment14 => NULL,
p_segment15 => NULL,
p_segment16 => NULL,
p_segment17 => NULL,
p_segment18 => NULL,
p_segment19 => NULL,
p_segment20 => NULL,
p_segment21 => NULL,
p_segment22 => NULL,
p_segment23 => NULL,
p_segment24 => NULL,
p_segment25 => NULL,
p_segment26 => NULL,
p_segment27 => NULL,
p_segment28 => NULL,
p_segment29 => NULL,
p_segment30 => NULL,
p_employment_category => NULL,
p_concat_segments => NULL,
p_grade_ladder_pgm_id => NULL,
p_supervisor_assignment_id => v_sup_assignment_id,
p_people_group_id => v_people_group_id,
p_object_version_number => v_object_version_number,
p_special_ceiling_step_id => v_special_ceiling_step_id,
p_group_name => v_group_name,
p_effective_start_date => v_ass_effective_start_date,
p_effective_end_date => v_effective_end_date,
p_org_now_no_manager_warning => v_org_now_no_manager_warning ,
p_spp_delete_warning => v_spp_delete_warning,
p_entries_changed_warning => v_entries_changed_warning,
p_tax_district_changed_warning => v_tax_district_changed_warning,
p_other_manager_warning => v_other_manager_warning);
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20008,'Error While Create new assignment..'||SQLCODE||' '||SQLERRM);
END;
END LOOP;
COMMIT;
END;
Thank you & Best RegardsI think this is essentially saying that the Supervisor Assignment is wrong or no longer effective. Looking at your SQL to fetch the Supervisor Assignment there are a number of potential issues. This is what you've currently got:
SELECT person_id
INTO v_person_id
FROM per_all_people_f
WHERE employee_number = r.supervisor_number
AND business_group_id= v_business_group_id;
SELECT assignment_id
INTO v_sup_assignment_id
FROM per_all_assignments_f
WHERE person_id = v_person_id
AND business_group_id = v_business_group_id;
Potential Problems/Clarifications
1. What is r.supervisor_number, what does it contain and how is it derived? I can't see that anywhere else in the block...
2. Is there a chance that r.supervisor_number is referencing an employee who has left, ie, now an ex-employee?
3. The SELECT statement that fetches the assignment_id does not perform any date-effective restrictions, which means you might be lucky enough to fetch the person's current assignment. But you might also fetch an old or future-dated assignment.
4. The SELECT statement that fetches the assignment_id does not restrict the type of assignment, so if this manager has applied for a job (ie, they have an applicant assignment) or some other type of non-employee assignment you might be picking that up.
This would work better for you:
SELECT paaf.assignment_id
INTO v_sup_assignment_id
FROM per_all_people_f papf
,per_all_assignments_f paaf
WHERE papf.employee_number = r.supervisor_number
AND papf.business_group_id = v_business_group_id
AND nvl(papf.current_employee_flag, 'N') = 'Y'
AND trunc(sysdate) BETWEEN
papf.effective_start_date AND papf.effective_end_date
AND papf.person_id = paaf.person_id
AND paaf.assignment_type = 'E'
AND paaf.primary_flag = 'Y'
AND trunc(sysdate) BETWEEN
paaf.effective_start_date AND paaf.effective_end_date;
If it doesn't return a row it means that the supervisor (or whatever employee is returned by r.supervisor_number) is not active as at sysdate and cannot be used. Note that this SQL only applies for employees. If you can have Contingent Workers as supervisors in your implementation then this needs tweaking.
Does that help? -
Error while trying to create a outbound plug
Hi ,
I am getting an error message while trying to add an outbound plug to a component .any suggestionsHi Vaibhav,
The best thing to do is to create the desired outbound plug manually. We do it many times when this error comes, it will not take much time and easy to do, just replicate the exact steps for creating op which is already there in your system or component.
I strongly suggest you not to delete any existing enhancement. Please let me know if you want me to explain the process of creating op manually.
Regards
Bhushan -
I have a Laptop with Windows 7 64 Home premium, I have tried a few times to install Quicktime 7 on my laptop. But keeps stopping with an error saying "An error occured while attemping to create the directory: C:\windows\Installer\{F5266D28-E0B2-4130-BFC5-EE1-55AD514DC}
Windows is fully up todate, I have no virus or anything harmful on my computer. After clicking retry the error keeps popping up. I then click on cancel and delete the downloaded quicktime installer. I shut down my computer and try again. Same error with not luck. Any help?Just in case, let's check for disk/file damage.
The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
XP instructions in the following document: How to perform disk error checking in Windows XP
Vista instructions in the following document: Check your hard disk for errors
Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?
Maybe you are looking for
-
Conflict between 2 business services for the same SAP R/3 instance
Hi, We developed a packaged solution that connects to SAP R/3 with RFC Adaptor and idoc Adaptor. We deliver design and configuration packages defining the entire integration schema between an external system and SAP. The configuration defines a busin
-
Flex 4 states and using includein with actionscript
Hello, How do you handle states and the "includeIn" tag in ActionScript? For example: var vGroup:VGroup = new VGroup(); var initialState:State = new State(); initialState.name = "initialState"; initialState.overrides.push(new AddChild(this, vGroup));
-
Trouble making a seemless slideshow
so heres the deal. I need to make a slideshow with holders that call images from an external source. (this is so clients can update the slide show by replacing these images, and not tinkering with the flash file). I have about 6 holders set up in the
-
COPA document created from billing document, cost components are twice
Hi Experts, Ref Subject line : COPA document created from billing document, cost components are twice. I have checked the following : 1. Cost Estimate of a material 2. Production Confirmation of the Order When comparing both of the above, they are
-
no sound on adobe flash 11 plug in, video works but no sound