CDR error: CAR is not available
Hello engineers!
I have a problem with a CAR tool, my CUCM gives me the next error:
I have an
APPLIANCE UCS 220M3
CUCM: BUSINESS EDITION 6000
Thank you very much for your help!
Hello,
You can have following purchasing organisation plant specific purchasing organisation.
Under plant specific purchasing organisation you have make following customization in IMG
Assign purchasing organisation to company code
Assign just one plant just one plant of compnay code to this purchasing organisation.
For cross plant purchasing organisation i.e purchasing organisation responsible for procuring material for several plants of a compnay code, then you must assign aal the plants to that purchasing organisation. In this case assignmen t to compnay code is not manadatory.
For Cross compnay code purchasing organisation i.e. single purchasing organisation procures for several pnats belonging to different compnay codes, then in that case you must not assign purchasing organisation to any of the cmpany codes. While creatring purchasr documents you get a pop up from SAP asking for compnay code entry.
Note : Assignmen to company code is only manadatory for plant specific purchasing organisation beloning to same code code..
Br,
Tushar
Similar Messages
-
Mail Error: ORA-29278: SMTP transient error: 421 Service not available
I write process to send mail, it is running ok, but I have error ORA-29278: SMTP transient error: 421 Service not available.
SMTP Host Address : localhost
SMTP Host Port : 25
When I connect to database as SYS and run : exec apex_mail.push_queue result is :
Pushing email: 1225814842675154
Pushed email: 1225814842675154
PL/SQL procedure successfully completed.
Please explain me what is happened!Hi;
What is DB version?
Please see:
From Master Note For PL/SQL UTL_SMTP and UTL_MAIL Packages [ID 1137673.1] check Note 604763.1 "ORA-29278: SMTP transient error: 421 Service not available" When Using UTL_SMTP to Send Email.
Regard
Helios -
ORA-29278: SMTP transient error: 421 Service not available
Hi all,
I'm using Oracle 10g working on Windows XP Home.
I'm trying to send a basic mail from my stored procedure.
When I tried to run the code, I get ORA-29278: SMTP transient error: 421 Service not available.
Below is the code I'm trying.
CREATE OR REPLACE PROCEDURE SEND_MAIL (
msg_to varchar2,
msg_subject varchar2,
msg_text varchar2 )
IS
c utl_smtp.connection;
rc integer;
msg_from varchar2(50) := 'Oracle9.2';
mailhost VARCHAR2(30) := '127.0.0.1'; -- local database host
BEGIN
c := utl_smtp.open_connection(mailhost, 25); -- SMTP on port 25
dbms_output.put_line('ok');
utl_smtp.helo(c, mailhost);
utl_smtp.mail(c, msg_from);
utl_smtp.rcpt(c, msg_to);
utl_smtp.data(c,'From: Oracle Database' || utl_tcp.crlf ||
'To: ' || msg_to || utl_tcp.crlf ||
'Subject: ' || msg_subject ||
utl_tcp.crlf || msg_text);
utl_smtp.quit(c);
EXCEPTION
WHEN UTL_SMTP.INVALID_OPERATION THEN
dbms_output.put_line(' Invalid Operation in Mail attempt using UTL_SMTP.');
WHEN UTL_SMTP.TRANSIENT_ERROR THEN
dbms_output.put_line(' Temporary e-mail issue - try again');
dbms_output.put_line (sqlerrm);
WHEN UTL_SMTP.PERMANENT_ERROR THEN
dbms_output.put_line(' Permanent Error Encountered.');
END;
Below are the possibilites I tried..
I tried to ping localhost.. This is the output I get
C:\Documents and Settings\Me>ping localhost
Pinging polasa [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
In one of the thread, a user suggested to do the following
Go to Control Panel->Add or Remove Programs->Click on
Add/Remove Wndows Components
Check IIS check box.
Select Internet Information Service (IIS) option and click on Details button
Check whether SMTP Service is checked or not.
If not selected then select SMTP check box.
This process should be done on server.
It will help out from ORA-29278: SMTP transient error: 421 Service not available
problem.
There is no IIS in my Windows Components..
Any suggestions? Thanks in advanceIt sounds like you don't have an SMTP server running on your local machine.
Even if you install IIS (or some other SMTP server), that is probably not enough to send email outside of your machine because your machine is unlikely to be trusted by the downstream mail servers. If you are running this in a company, you'll need to talk to your company's mail admin to determine where the corporate SMTP server is running. If you running this at home, you'll need to find out from your ISP what SMTP servers are available to you.
Justin -
Report error service is not available
Hello,
I find the following error on several locations in my SIPstack logs on my Edge Server:
ms-diagnostics: 2019;reason="Report error service is not available";source="standard.kressmark.com"
What service is this referring to?
How can we troubleshoot this error message further?
Any additional information about this topic would be appreciated!
/mk
The full INFO message:
L_INFO(TF_PROTOCOL) [0]0A40.1148::03/10/2014-17:14:03.968.000000ad (SIPStack,SIPAdminLog::TraceProtocolRecord:SIPAdminLog.cpp(125))$$begin_record
Trace-Correlation-Id: 2161867164
Instance-Id: 000000F0
Direction: incoming;source="internal edge";destination="external edge"
Peer: standard.kressmark.com:5061
Message-Type: response
Start-Line: SIP/2.0 503 Service unavailable
From: "Mattias Kressmark"<sip:[email protected]>;tag=45e334cc8d;epid=8ff7cc2b20
To: <sip:[email protected]>;tag=FD66AF22DAE1582D6D94354611261F35
CSeq: 1 SERVICE
Call-ID: 9316261cef2141d3815a94c386e180d6
Via: SIP/2.0/TLS 17.21.122.15:49348;branch=z9hG4bKB54C0D77.B76658C4DF13234B;branched=FALSE;ms-received-port=49348;ms-received-cid=4600
Via: SIP/2.0/TLS 192.168.1.10:51983;received=81.217.34.250;ms-received-port=51983;ms-received-cid=100
ms-diagnostics: 2019;reason="Report error service is not available";source="standard.kressmark.com"
Server: RTC/4.0
Content-Length: 0
Message-Body: –
$$end_recordHi,
Did you deploy Monitoring server in your Lync server environment?
Please update to the latest version for Lync server 2010 and then test the issue again.
http://technet.microsoft.com/en-us/lync/dn146015
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Business Rule error: Accounts are not available in the rule table
Hi everybody,
I have a problem running the Business Rule for the profit/loss copy to the equity account.
The Business Rule I set reads from all P&L accounts, P&L specific flow, acual category, all datasources and then it writes everything keeping the source settings apart from the account destination (the equity profit/loss account) and the flow destination (I write in two different flows, so the rule is made up of two equal lines differing only in the flow destination). "PROFIT" is the ID I chose.
Then I created the related script logic (ID=CALCACCOUNT):
*RUN_PROGRAM CALC_ACCOUNT
CATEGORY_M = %CATEGORY_M_SET%
CURRENCYLABEL = %CURRENCYLABEL_SET%
TID_RA = %TIME_SET%
CALC=PROFIT
*ENDRUN_PROGRAM
Finally, the prompt ( process chain: CPMB/RUNCALCACCOUNT):
PROMPT(SELECTINPUT,,,,"CATEGORY_M,CURRENCYLABEL,TIME")
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SUSER,%USER%)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SAPP,%APP%)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SELECTION,%SELECTION%)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,LOGICFILENAME,CALCACCOUNT.LGF)
But anytime I run the package it fails giving me the message error: "Accounts are not available in the rule table".
I tried every possible change but nothing; if someone could help me somehow I'd be really grateful!!
Thanks
FilippoHi James,
Thanks for your quick response. There is no currency dimension in the application... I've tested with the correct businessrule as CALC value, but this didn't do the trick.
Any other suggestions?
Regards,
Vincent -
Java.lang.InternalError: internal error: SHA-1 not available
Hi All,
When starting my j2ee & portal I get the following error:
java.lang.InternalError: internal error: SHA-1 not available
Does anybody have an idea about this error?
Thanks
StevenHi All,
When starting my j2ee & portal I get the following error:
java.lang.InternalError: internal error: SHA-1 not available
Does anybody have an idea about this error?
Thanks
Steven -
CIMC on C210 server throws Error 2001: Service not available message
I am trying to configure vmware on a brand new C210 server for the first time and the directions say to access the CIMC and load the vmware media. Sounds easy enough except every time I go to the CIMC webpage I recieve an " error 2001: Service not available" message on every page I go to and none of the server info fields are populated. If I try to make any changes and save my settings the same message pops up and no changes are saved. Almost like the CIMC doesn't recognize the server or hardware. I ran the host update utility just now and upgraded the firmware for everything to the latest version but still no progress. Anyone have this happen or know how I can fix this?
Thanks in advance!
JessI got it working on one of the servers, and havent tried the same solutions on any other server.
What i did was manually adding an IP adress to the management IP, then save the config before rebooting. After rebooting i put it back to get IP from DHCP, and saved the config. After a secound reboot i was able to use the mangement interface without the 2001 error.
I'm not sure if it will work on the rest of the servers, but it's worth a try
Regards
Alex -
I am not able to found Bluetooth in my Macbook Pro. Found error is Bluetooth not available. Please inform me.
Welcome to the Apple Support Communities
Somehow, OS X doesn't detect Bluetooth in your computer. First, reset the PRAM and the SMC, and see if you can use Bluetooth then.
If not, hold Command and R keys while your computer is starting to start in OS X Recovery, and reinstall OS X. If, after reinstalling OS X, you can't use Bluetooth, there's a hardware issue with your Mac, so take your Mac to an Apple Store or reseller -
I rented Hotel Transylvania from iTunes two days ago to watch tonight on Apple TV. I get an error message about not available in U.S. and it won't play. What gives?
you may have inadvertantly purchased it from a non us itunes store section of itunes. go to expresslane.apple.com to get a refund and if you want to rent it again, on your computer itunes screen, scroll all the way to the bottom, and make sure the country indicator at the bottom right has the usa flag
-
3G. I keep getting an error message "Network not available".
3G. I keep getting an error message "Network not available". This is after turning data roaming ON, and even after turning phone off then back on, and having a 3G signal. Help!
I did ask my carrier - twice. I also went into the Apple Store (45 miiles away), who checked it and assured me no hardware issues.
I went back to the phone carrier - for the 3rd time. The assistant rolled her eyes and said this happens all the time. She changed the cellular data network settings on my phone from ideate to mobile. Problem solved!
Carrier has also now offered a refund for the time without coverage - but I had to ask about that, and resist their attempts to change me to a more expensive contract.
Hope this helps anyone else. Thanks razmmee209 -
Database Error: RSR0009: Resource not available for pool. Wait-time expired
i am occassionally receiving the following error during database connections in my servlet:
Database Error: RSR0009: Resource not available for pool [webAdvisorTestPool]. Wait-time expired
i understand that this is a result of a connection leak from improper closure of my Connection object, but i thought that i was properly closing my connection.
i can get the error if i do the following steps:
1) access my login page and enter login credentials.
2) submit the login which then hits the Authentication servlet.
3) Authentication servlet authenticates and takes me to home page.
4) hit the back button to get back to the login page.
5) repeat this process until i hit the Max Pool Size (from web server).
6) then i get the error message
here are some details:
i have an Authentication servlet; here is the pertinent code from that servlet:
try { // retrieve the user and add the User object to the session DAO dao = new DAO(); Person authenticUser = dao.getPerson(userID, password); session.setAttribute("validUser", authenticUser); redirectPage = mapping.findForward("success"); }
i also have a DAO object that handles all of my DB transactions (and you can see from my code above that the Authentication servlet is using that object); here is the pertinant code from that servlet:
public DAO() { datasource = "java:comp/env/jdbc/webAdvisorTest"; } public Person getPerson(String userID, String password) throws ObjectNotFoundException { // JDBC variables DataSource ds = null; Connection conn = null; PreparedStatement stmt = null; ResultSet results = null; // User variables Person validUser = null; try { // Retrieve the DataSource from JNDI InitialContext ctx = new InitialContext(); // if this statement fails, NamingException is thrown ds = (DataSource)ctx.lookup(datasource); // get DB connection and perform SQL operations conn = ds.getConnection(); // User variables String validUserID = null; String validFName = null; String validLName = null; String validEmail = null; // get DB connection and perform SQL operations conn = ds.getConnection(); stmt = conn.prepareStatement(PERSON_QUERY); stmt.setString(1, userID); stmt.setString(2, password); results = stmt.executeQuery(); // iterate through the results if (results.next()) { validUserID = results.getString("id"); validFName = results.getString("first_name"); validLName = results.getString("last_name"); validUser = new Person(validUserID, validFName, validLName); } } // handle SQL errors catch(SQLException e) { e.printStackTrace(System.err); throw new RuntimeException("Database Error: " + e.getMessage()); } // handle JNDI errors catch(NamingException e) { throw new RuntimeException("JNDI Error: " + e.getMessage()); } // clean up resources finally { doClosure(results, stmt, conn); } // if the user was not found, throw ObjectNotFoundException if(validUser == null) { throw new ObjectNotFoundException(); } return validUser; } protected void doClosure(ResultSet results, PreparedStatement stmt, Connection conn) { if (results != null) { try { results.close(); } catch (SQLException e) { e.printStackTrace(System.err); } } if (stmt != null) { try { stmt.close(); } catch (SQLException e) { e.printStackTrace(System.err); } } if (conn != null) { try { System.out.println("R18Resources.conn before close: " + conn); conn.close(); System.out.println("R18Resources.conn after close: " + conn); System.out.println("R18Resources.conn is closed? " + conn.isClosed()); } catch (SQLException e) { System.out.println("R18Resource conn close error: " + e.getMessage()); } } }
as you can see, i've added some print statements in my connection closure block. based on my output log, each connection is being properly closed and i am not encountering any errors during that closing block.
any ideas???
Message was edited by:
millerandPlease try the following code in your doClosure method. Replace your code with the following code.
public void doClosure(ResultSet pResultSet, Statement pStmt, Connection pConn) throws Exception {
try {
if (pResultSet != null) {
pResultSet.close();
pResultSet = null;
} catch (SQLException se) {
logger.error( se );
} finally {
try {
if (pStmt != null) {
pStmt.close();
pStmt = null;
} catch (SQLException se) {
logger.error(se);
} finally {
try {
if (pConn != null) {
pConn.close();
pConn = null;
} catch (SQLException se) {
logger.error(se);
And let me know if you still face this issue. What is the application server you are using? -
How can I solve ORA-29278: SMTP transient error: 421 Service not available
Hi
I have two different Solaris Server (Server1 & server2).
In both the server SMTP server is configured.
In these two solaris server (Server1 & server2) we have installed Oracle 9i
I am using client machine to execute the following procedure.
When I connect to server1 (using SQL plus) and execute the following procedure, it works fine, and able to send emails properly.
But when I connect to server2 (using SQL plus) and execute the following procedure, I get the follwoing error.
Could you please help me to resolve this?
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
SQL> set define off
SQL> set serveroutput on size 1000000
SQL> BEGIN
2 mail_files( 'localhost',
3 'Frm',
4 '[email protected]',
5 'From production',
6 'Test message from production',
7 9999999999,
8 NULL,
9 NULL,
10 NULL,
11 0 );
12 END;
13 /
BEGIN
ERROR at line 1:
ORA-29278: SMTP transient error: 421 Service not available
ORA-06512: at "SYS.UTL_SMTP", line 17
ORA-06512: at "SYS.UTL_SMTP", line 96
ORA-06512: at "SYS.UTL_SMTP", line 327
ORA-06512: at "PROD_L.MAIL_FILES", line 238
ORA-29278: SMTP transient error: 421 Service not available
ORA-06512: at line 2
SQL>Hi
I have two different Solaris Server (Server1 & server2).
In both the server SMTP server is configured.
In these two solaris server (Server1 & server2) we have installed Oracle 9i
I am using client machine to execute the following procedure.
When I connect to server1 (using SQL plus) and execute the following procedure, it works fine, and able to send emails properly.
But when I connect to server2 (using SQL plus) and execute the following procedure, I get the follwoing error.
Could you please help me to resolve this?
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
SQL> set define off
SQL> set serveroutput on size 1000000
SQL> BEGIN
2 mail_files( 'localhost',
3 'Frm',
4 '[email protected]',
5 'From production',
6 'Test message from production',
7 9999999999,
8 NULL,
9 NULL,
10 NULL,
11 0 );
12 END;
13 /
BEGIN
ERROR at line 1:
ORA-29278: SMTP transient error: 421 Service not available
ORA-06512: at "SYS.UTL_SMTP", line 17
ORA-06512: at "SYS.UTL_SMTP", line 96
ORA-06512: at "SYS.UTL_SMTP", line 327
ORA-06512: at "PROD_L.MAIL_FILES", line 238
ORA-29278: SMTP transient error: 421 Service not available
ORA-06512: at line 2
SQL> -
UTL_SMTP fails: SMTP transient error: 421 Service not available
Hi!
I´m trying to set up database to be able to send emails by UTL_SMTP package.
I´m working whit Oracle 9.0.2.0.7 on Windows 2003 Server EE SP1
For this, I have searched a script of the many on the network. One like this:
CREATE OR REPLACE PROCEDURE CASIUS.SEND_MAIL(SENDER IN VARCHAR2, RECIPIENT IN VARCHAR2, SUBJECT IN VARCHAR2, MESSAGE IN VARCHAR2) IS
MAILHOST CONSTANT VARCHAR2(3000) := 'server.exchange.test.com';
MESG VARCHAR2(30000);
MAIL_CONN UTL_SMTP.CONNECTION;
BEGIN
UTL_SMTP.QUIT(MAIL_CONN);
MAIL_CONN := UTL_SMTP.OPEN_CONNECTION(MAILHOST, 25);
UTL_SMTP.EHLO(MAIL_CONN, MAILHOST);
UTL_SMTP.COMMAND( MAIL_CONN, 'AUTH', 'LOGIN ');
UTL_SMTP.COMMAND( MAIL_CONN, UTL_RAW.CAST_TO_VARCHAR2( UTL_ENCODE.BASE64_ENCODE( UTL_RAW.CAST_TO_RAW( '[email protected]' ))));
UTL_SMTP.COMMAND( MAIL_CONN, UTL_RAW.CAST_TO_VARCHAR2( UTL_ENCODE.BASE64_ENCODE( UTL_RAW.CAST_TO_RAW( 'testpassw'))));
MESG := 'Date: ' ||
TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || CHR(13) || CHR(10) ||
'From: <'|| SENDER ||'>' || CHR(13) || CHR(10) ||
'Subject: '|| SUBJECT || CHR(13) || CHR(10)||
'To: <'||RECIPIENT || '>' || CHR(13) || CHR(10) || MESSAGE;
UTL_SMTP.EHLO(MAIL_CONN, MAILHOST);
UTL_SMTP.MAIL(MAIL_CONN, SENDER);
UTL_SMTP.RCPT(MAIL_CONN, RECIPIENT);
UTL_SMTP.DATA(MAIL_CONN,MESG);
UTL_SMTP.QUIT(MAIL_CONN);
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20004,SQLERRM);
END SEND_MAIL;
I've reviewed the script many times and I find no error. But when I call it I always have this error:
ORA-20004: ORA-29278: SMTP transient error: 421 Service not available
I have done many tests. Although the most meaningful test that I have done may be the send of a message via telnet from the same server using the same parameters. It has worked!. This is the log:
220 server.exchange.test.com ESMTP Service ready
AUTH LOGIN
334 VXNad23hsdj2bWU6
bm90aWZpY2FjaW9uZMSA12smVsQHNvcG9ydGUtc21zLmVz
334 UGFzer24cmQ6
TDRdE3p6NA==
235 LOGIN authentication successful
MAIL FROM:<[email protected]>
250 MAIL FROM:<[email protected]> OK
RCPT TO: <[email protected]>
250 RCPT TO:<[email protected]> OK
DATA
354 Start mail input; end with <CRLF>.<CRLF>
From:Yomismo
TO:Mimismo
Subject: Test Send Emails
This is a send test
250 <522DCAD000D5FF89> Mail accepted
QUIT
221 server.exchange.test.com QUIT
Connection to host lost.
This test email was received for me, so I think is evidenced that the problem is in ULT_SMTP package.
And more specifically, I suspect that the exception raises on one of these lines:
UTL_SMTP.QUIT(MAIL_CONN);
MAIL_CONN := UTL_SMTP.OPEN_CONNECTION(MAILHOST, 25);
But I don´t understand why, All the sites I have viewed uses package of similar way...
Can someone throw me some light on this issue?
Regardsmaybe you find something in https://community.oracle.com/message/3560073. And I would recommend to think about upgrading to a current Oracle version, since 9.2 has been desupported around 2007.
-
ORA-29278: SMTP transient error:421 Service not available on oracle 10g
HIi,
I am trying to send e-mails by using PL/Sql procedure . I am using UTL_MAIL/UTL_SMTP on oracle 10g R1 database.
There is no problem in creating procedure,but when i am doing execution i am getting the mention error.
I am trying to send mail with attachment as excel file.
ORA-20001: The following error has occured: ORA-29278: SMTP transient error:
421 Service not available
ORA-06512: at "SCOTT.MAIL_ATT_RAW", line 64
ORA-06512: at line 1
-----my procedure code------
CREATE OR REPLACE PROCEDURE mail_att_raw(filename varchar2) AS
fil BFILE;
file_len PLS_INTEGER;
MAX_LINE_WIDTH PLS_INTEGER := 54;
buf RAW(2100);
amt BINARY_INTEGER := 2000;
pos PLS_INTEGER := 1; /* pointer for each piece */
filepos PLS_INTEGER := 1; /* pointer for the file */
filenm VARCHAR2(50) := filename; /* binary file attachment */
data RAW(2100);
chunks PLS_INTEGER;
len PLS_INTEGER;
modulo PLS_INTEGER;
pieces PLS_INTEGER;
err_num NUMBER;
err_msg VARCHAR2(100);
resultraw RAW(32000);
BEGIN
/* Assign the file a handle */
fil := BFILENAME('BFILE_DIR', filenm);
/* Get the length of the file in bytes */
file_len := dbms_lob.getlength(fil);
/* Get the remainer when we divide by amt */
modulo := mod(file_len, amt);
/* How many pieces? */
pieces := trunc(file_len / amt);if (modulo <> 0) then
pieces := pieces + 1;end if;/* Open the file */
dbms_lob.fileopen(fil, dbms_lob.file_readonly);/* Read the first amt into the buffer */
dbms_lob.read(fil, amt, filepos, buf);/* For each piece of the file . . . */
FOR i IN 1..pieces LOOP/* Position file pointer for next read */
filepos := i * amt + 1;/* Calculate remaining file length */
file_len := file_len - amt;/* Stick the buffer contents into data */
data := utl_raw.concat(data, buf);/* Calculate the number of chunks in this piece */
chunks := trunc(utl_raw.length(data) / MAX_LINE_WIDTH);/* Don't want too many chunks */
IF (i <> pieces) THEN
chunks := chunks - 1;
END IF;/* For each chunk in this piece . . . */
FOR j IN 0..chunks LOOP/* Position ourselves in this piece */
pos := j * MAX_LINE_WIDTH + 1;/* Is this the last chunk in this piece? */
IF (j <> chunks) THEN len := MAX_LINE_WIDTH;
ELSE
len := utl_raw.length(data) - pos + 1;
IF (len > MAX_LINE_width) THEN
len := MAX_LINE_WIDTH;
END IF;
END IF;/* If we got something, let's write it */
IF (len > 0 ) THEN
resultraw := resultraw || utl_raw.substr(data, pos, len);
END IF;
END LOOP;/* Point at the rest of the data buffer */
IF (pos + len <= utl_raw.length(data)) THEN
data := utl_raw.substr(data, pos + len);
ELSE
data := NULL;
END IF;/* We're running out of file, only get the rest of it */
if (file_len < amt and file_len > 0) then
amt := file_len;
end if;/* Read the next amount into the buffer */dbms_lob.read(fil, amt, filepos, buf);
END LOOP;/* Don't forget to close the file */
dbms_lob.fileclose(fil);
SYS.UTL_MAIL.SEND_ATTACH_RAW(sender => '[email protected]', recipients => '[email protected]',subject => 'Testmail', message => 'Hallo', attachment => resultraw, att_filename => filename);
EXCEPTION
WHEN OTHERS THEN--dbms_output.put_line('Fehler');
raise_application_error(-20001,'The following error has occured: ' || sqlerrm);
END;
Please suggest me what settings i need to change. This same procedure is running on another maching,but not on my machine.
If somebody is having any other simple procedure ,please help me.
My SMTP port -25
Thanks in advance.Hi Justin,
Please get the answers of your queries
The error you're getting is coming from the SMTP server you are trying to connect to.
- What SMTP server is your database configured to use?
Reply - I am using IIS(5.0)
- What SMTP server is the database where this code is working configured to use?
Reply - Same IIS. Database is installed locally on my machine only. I am trying to send mail locally to me only,Not to the outside person.
- Has the SMTP server been configured to allow connections from both machines?
Reply - Yes
One more query, do we really require to set the SMTP_OUT_SERVER parameter for SCOPE=BOTH
ALTER SYSTEM SET smtp_out_server = '172.16.1.10' SCOPE=BOTH
I am not able to set like this for BOTH,only for SPFILE i can set ?.
My SMTP Server IP=172.16.1.10
PORT- 25
Thanks
Manoj -
Windows 7 error: Location is not available or Item not found
I'm using windows 7 ultimate. I have a directory on a 1TB external usb drive called "1976 T.N.T". I am neither able to access this directory nor am I able to delete it. When I double click to access it windows says -
Message Title: "Location is not available"
Message Text: J:\Music\Library\Rock-Metal\ACDC\1976 T.N.T refers to a location that is unavailable. It could be on a hard drive on this computer.or on a network. Check to make sure that the disk is properly inserted, or that you are connected to the Internet
or your network and then try again. If it still cannot be located the information might have been moved to a different location.
When I try to delete it windows says -
Message Title: Item Not Found
Message Text: Could not find this item.
This item is no longer located in J:\Music\Library\Rock-Metal\ACDC. Verify the item's location and try again.
I have tried the following -
1. Deleting file using command prompt but that doesn't work
2. Check disk with both options "File system errors" and "Bad sector recovery" selected - it does not report any errors and the problem persists
3. Rebooting the computer
4. Disconnecting the drive and connecting it to my xp pro laptop (messages on xp are slightly different but to the same effect)
Any suggestions short of formatting the drive will be appreciated.The cause of this is as follows:
The directories in question were created or last modified by a process other than Windows Explorer. This process created a directory name with a space at the end. When you created a duplicate directory, the exact directory name you created was therefore
not exactly the same; it had no space on the end. That is why both directories with the apparent same name could coexist.
Note: if you attempt to create a directory from within Windows Explorer with a space on the end, the process explorer.exe is designed to prevent this from happening. That's why it's never usually an issue.
To reproduce this problem, you could do the following:
1) Create C:\foo
2) Create C:\bar
3) Use Robocopy to create the erroneous directory using the following command:
robocopy "C:\foo" C:\bar" /E
Notice that I missed the first double-quote on the target location. Robocopy should have responded with an error, but due to the way it interpreted my input, it didn't.
Now you will see a directory called C:\foo\bar
Except this directory is actually: "bar " - the word "bar" with a space on the end.
Now try deleting C:\foo altogether. It won't because there is a directory underneath it that has an invalid name.
Now try entering C:\foo, and creating a second directory called "bar". This will work, and there will appear to be two directories named "bar".
But this time you can go up a level and delete "C:\foo".
Put it down to a bug in Windows, a bug in Robocopy, whatever you like! That's the reason though...
Maybe you are looking for
-
Right my laptop isn't working. I formatted my hard drive and went to re-install WinXP. The problem being that at 56% installation,the battery on my laptop cut out. Now I can't even get the files installed by XP off my hard drive.They only show up on
-
Runtime error when loading crystal report
Hi All, I am new to crystal report with java. However i have developed report with java on eclips 3.4.2 and its loading successfully. Then i create a jar file and run it. then it will give error massage as shown below. "Exception in thread "Command"
-
Any help ??
-
My YouTube was deleted, how do I get it back?
My YouTube was somehow deleted by my grandson and I cannot seem to find it. How do I get it back, or do I need to reinstall. How do I do that?
-
How can I edit part of a clip in iMovie.