DBComms exception message, what is it?
Hi all,
I've seen an SQLException raised with a message of
DBComms::transmit exception:java.net.SocketException: Connection reset by peer: socket write error
My best guess is that this means there was a problem communicating with the database and the connection was broken (reset by peer). I'd like to find out more though, and I can't find anything on what DBComms means...
Any ideas?
Thanks in advance,
Toby
I have the same problem, use completes version of JRun, SQL Server 7/2000 and driver JDBC is of jnetdirect (jsqlconnect).
Exception example:
com.jnetdirect.jsql.x: DBComms.transmit exception:[java.net.SocketException: Connection reset by peer: socket write error] context:[(5) [Thread[jrpp-4,5,jrpp], IO:f39bc, Dbc:2794]]]
at com.jnetdirect.jsql.x.a(Unknown Source)
at com.jnetdirect.jsql.h.a(Unknown Source)
at com.jnetdirect.jsql.ay.a(Unknown Source)
at com.jnetdirect.jsql.ah.new(Unknown Source)
at com.jnetdirect.jsql.ah.for(Unknown Source)
at com.jnetdirect.jsql.m.execute(Unknown Source)
at com.jnetdirect.jsql.ah.long(Unknown Source)
at com.jnetdirect.jsql.ah.executeQuery(Unknown Source)
at com.xxx.db.util.SQLTool.getResultSet(SQLTool.java:69)
at com.xxx.security.data.DataUser.get(DataUser.java:360)
at com.xxx.security.SecurityFacade.getUser(SecurityFacade.java:381)
at jrun__validateUser2ejsp11._jspService(jrun__validateUser2ejsp11.java:87)
at jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43)
at jrun.jsp.JSPServlet.service(JSPServlet.java:119)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)thank's ! ;-)
Similar Messages
-
Hi All,
In MD04 output for a material, i see an exception message 26 & in the MRP element column i see Projct. I would like to know what is this exception message & what might be the reason i am seeing it? For this material i see a order reservation done in 29.3.2006 & a purchase reqn on the same date with exception message 07. But the p-req was not converted to PO. But i see the exception message dated 26.7.2007. Hope my question is clear, await inputs
VivekHi,
Exception Message 26 -
> Excess in individual segment
In the individual segment ( Make to order Planning , individual planning ,direct production , direct proucrement ) the total of the stock and receipts is greater than the reqmts.
Reason : the sales order qty has been reduced.
The exception message is set by the system as follows.
If stock alone is greater than the reqmts in the individual segment the exception message is displayed in the stock line.
If receipts are scheduled the exception message is displayed for the receipts that lie in the future.Here an exception message is given to all receipts whose quantities exceed the reqmts qty.
on the details screen the system also displays the reqd qty not needed to cover the reqmt qty.
Regards,
nandha -
What table are Exception Messages in MRP stored?
The requirement is to develop an error report from an MRP run to capture the exception messages along with the selection groups.
Ex:Selection Gr 2; Exception Message 15: Reschedules In.
I am unable to track where exactly the exception messages are stored after an MRP run. Any suggestions as to how to go about this requirement.
Thank You.You can basically get a list of all tables MD06 (colelctive MRP list) uses to fetch data. GO to tran se30. Under Measurement restrictions click new and in Duration/Type tab select none. Go back to se30 main screen enter tran MD06 and execute. It will take you to MD06, run it with any material and go back to se30 screen. At the botton select evaluate and on the evaluation screen select "Data base hit list" or F6. That will give a list of all tables accessed by MD06. SO basically you will know all the tables that were filled during last MRP run.
Atul -
Purchase order exception message
Does anyone know what table the exception messages generated via MD04 /MD06 are stored.
Thank youThank you , very helpful , would you happen to know which tables i would need to link this back to a purchase order or sales order.
Thank you -
"Invalid Block Type" exception message
I got "Invalid Block Type" exception message in my program. I'm not sure what this is. Could somebody please advice?
Thanks
GZIPInputStream gzip_in_stream = null;
BufferedOutputStream destination_out_stream = new BufferedOutputStream(
new FileOutputStream(weatherFile), BUF_SIZE);
byte[] input_buffer = new byte[BUF_SIZE];
int byteLength = 0;
while ( (byteLength = gzip_in_stream.read(input_buffer, 0, BUF_SIZE)) > 0 )
destination_out_stream.write(input_buffer, 0, byteLength);
destination_out_stream.flush(); // Ensure all the data is written to the output.
destination_out_stream.close();
gzip_in_stream.close();ZipException, and it only says "Signals that a Zip exception of some sort has occurred."
I forgot to include this.
InputStream tempStream = ftpClient.retrieveFileStream(zippedFile);
gzip_in_stream = new GZIPInputStream(
new BufferedInputStream(tempStream)); -
Please help!!To whom it may concernDear Madam/Sir who works for Skype & Microsoft Dear all who can really help, Do you have an option for block all incoming message and request EXCEPTED messages from my contacts? or Do you have any solution to solve my problem from begin to now in present time? Even though, I set the Privacy settings: - Allow calls from... "people in my Contact list only"- Automatically received video and share screens with "people in my Contact list only"- Allow IMs from "people in my Contact list only" I still received unknow users sent me messages in every day, contact requests etc. And they're all clearly spammings and identity thefts. I only wanna contact with my family and my freinds here with Skype via my Windows device and my mobile phone (w/Android OS). And this is the only way to contact with them, because they could use Skype only in overseas. BUT I don't need new friend from other unknow Skype member. I keep blocked all unknow spammers in every day. However in this morning, I feel so scared with Skype on my mobile, I looked at my mobile Skype, I saw it automatically showed me the list of all blocked members. BUT they were all unblocked (contact unblocked) by my mobile (Android version) Skype itself automatically, and listed them one by one on the screen, and about 30 seconds later, they all were disappeared suddenly. I don't know what do to now, is it indicating my account was hacked?And how could I found out all those members again and block them again and delete all of them for ever? I appreciate if you would improve the privacy protection. Thank you very very very much.
Hrm... that may be true and this may be a function of the phone email client that Apple just doesn't do.
No, I can easily MANUALLY delete the messages. I would prefer if I didn't have to do it twice, tho. Once on the mail server and once on the phone.
What I think the phone needs to do is, when it checks the POP, anything NOT there should be removed locally. I think you are correct on POP; the phone will poll the mx (mail exchanger) and the mx will pass off the messages to the phone. The phone then keeps ALL of that unitl you manually delete it.
If, say, I remove a message from the mx, I would like the phone, when next polls, to see that that particular message isn't on the server anymore and remove it locally.
Perhaps it's just me but if I delete the message on the mx itself, via my ISP's webmail interface, I really don't want to have to remove it again from my phone.
thxs!
cheers
rOot -
Error getting application exception message from client EJB 3
Hi, somebody nkow what is the error?
I have this simple session bean deploy in a jboss 4.0.5 GA application server
My interface:
package server.ejb.usuarios;
import javax.ejb.Remote;
@Remote
public interface Prueba {
public void getError() throws Exception;
}My Session bean implementation:
package server.ejb.usuarios;
import javax.ejb.Stateless;
import server.ejb.usuarios.Prueba;
public @Stateless class PruebaBean implements Prueba {
public void getError() throws Exception {
throw new Exception("Mensaje de error");
}Simple, i can deploy this bean on my application server, now i have this client code:
package clientold;
import java.util.Properties;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import server.ejb.usuarios.Prueba;
public class MainPruebaError {
* @param args
public static void main(String[] args) {
Context ctx;
try {
ctx = getInitialContext();
Prueba pruebaSession = (Prueba) ctx.lookup("PruebaBean/remote");
pruebaSession.getError();
} catch (NamingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch(Exception e){
System.out.println("Get error from server: " + e.getMessage());
e.printStackTrace();
private static Context getInitialContext() throws NamingException {
Properties prop = new Properties();
prop.setProperty("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");
prop.setProperty("java.naming.provider.url", "127.0.0.1:1099");
prop.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
return (new InitialContext(prop));
}and my client catch the exception but i can�t get the correct exception message. I need pass custom message from my server to my clients and wrap it in a exception, but when i run this example got the next output:
Get error from server: [Ljava.lang.StackTraceElement;
java.lang.ClassNotFoundException: [Ljava.lang.StackTraceElement;
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:50)
at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:139)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1624)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
at org.jboss.remoting.Client.invoke(Client.java:525)
at org.jboss.remoting.Client.invoke(Client.java:488)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
at $Proxy0.getError(Unknown Source)
at clientold.MainPruebaError.main(MainPruebaError.java:21)What is the problem??, i must see on the output
Get error from server: Mensaje de errorbut i have :
Get error from server: [Ljava.lang.StackTraceElement;why???, is only a simple application exception and don,t work, somebody can help me??
i have tried to use an interceptor class for get the exceptions and work, but without interceptor, dont work
thanksI can resolve this problem change the JDK version used to develop my clint application and to run the jboss application server.
Current, in JBoss 4.0.5, the JDK requirement is JDK 5, and i was using JDK 6. -
Cannot edit wiki pages-- Exception message: Invalid field name
We have migrated from one Sharepoint 2010 environment to another Sharepoint 2010 environment and only wanted to preserve a few sites, mostly Enterprise Wiki Sites.
We have imported 5 total Enterprise Wiki Sites, all of which point to particular Term Sets in Managed Metadata.
2 wikis are pointed to term set A, 2 wikis are pointed to term set B and one wiki is pointed to term set C.
One of the wikis pointed to term set A is working, and one is not
The malfunctioning wiki has the following symptom:
Whenever you try to edit a page (new or existing) and save your changes, regardless of whether it is tagged, you cannot save your changes. When you try, you get the error below.
Error
Failed to get value of the "Wiki Categories" column from the "Managed Metadata" field type control. See details in log. Exception message: Invalid field name. {f863c21f-5fdb-4a91-bb0c-5ae889190dd8}
https://sharepoint.domain.com/wiki/adminwiki /wiki/adminwiki/Pages.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 4188c150-de8f-4940-9dbd-54939f117bfe
Date and Time: 3/12/2012 4:26:09 PM
Go back to site
To me, it looks like there is an invalid URL, since it gives the URL path, and then there is a space, and then it also has a relative URL to /wiki/adminwiki/pages ...is this normal?
Any ideas on how to fix this is great. I don't think it has anything to do with the Managed Metadata service or the Term Store since the other wiki site (pointing to the same exact Term Set) is working normally with no problems.To solve the problem make sure that the template you are using for the current page (with errors) has the same content type as the page. In example of the Enterprise Wiki page, I forgot to set the content type to an Enterprise Wiki page on a custom page
template I just added to the Master pages.
So what I had to do is:
go to properties of the page with errors described above and set it to be
Enterprise Wiki page
go to master pages and set the custom template to be of the same type, Enterprise Wiki page
That solved the problem -
Why am i not able to see the exception message?
i wrote an 'instead of insert' trigger on a view.
and there are some exception situations in which the insertion should be stopped. my trigger works correctly. i mean it implements its purpose. however, the message i am taking after the trigger execution is not satisfying. ( i am using iSQL*Plus as the editor.)
here is my trigger: (after trigger there is some extra explanation below.)
CREATE OR REPLACE TRIGGER DemandOfCourses_T1_II
INSTEAD OF INSERT ON DemandOfCourses
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
DECLARE
cpc NUMBER;
currentNum NUMBER;
stud1 NUMBER;
stud2 NUMBER;
prec NUMBER;
exc1 EXCEPTION;
exc2 EXCEPTION;
BEGIN
SELECT capacity
INTO cpc
FROM LimitedCourse
WHERE course = :NEW.course;
IF cpc IS NULL THEN
cpc := 1000;
END IF;
SELECT COUNT(course)
INTO currentNum
FROM Registered
WHERE course = :NEW.course;
SELECT COUNT(student)
INTO stud1
FROM Registered
WHERE student = :NEW.student
AND course = :NEW.course;
SELECT COUNT(student)
INTO stud2
FROM WaitingFor
WHERE student = :NEW.student
AND course = :NEW.course;
SELECT COUNT(hp.preCourse)
INTO prec
FROM HasPrereq hp
WHERE hp.course = :NEW.course
AND hp.preCourse NOT IN (SELECT course FROM CourseResult WHERE student = :NEW.student);
IF (prec = 0) THEN
IF (stud1 = 0) AND (stud2 = 0) THEN
IF (currentNum = cpc) THEN
INSERT INTO WaitingFor
VALUES (:NEW.student, :NEW.course, SYSDATE);
ELSE
INSERT INTO Registered
VALUES (:NEW.student, :NEW.course);
END IF;
ELSE
RAISE exc1;
END IF;
ELSE
RAISE exc2;
END IF;
EXCEPTION
WHEN exc1 THEN
RAISE_APPLICATION_ERROR (-20002, 'Already registered for this course.');
WHEN exc2 THEN
RAISE_APPLICATION_ERROR (-20003, 'First the prerequesite course(s) must be taken.');
WHEN NO_DATA_FOUND THEN
NULL;
END;
for eample, if i want to insert the row below:
INSERT INTO DemandOfCourses VALUES (100005, 'BAK127', 'REGISTERED');
-- 100005 : STUDENT ID
-- BAK127 : COURSE CODE
-- REGISTERED : SITUATION
when i run this insert comment, i receive this result:
1 row created.
Actually, it should not insert anything. and it is not inserting anything. i mean, it is working correctly. however, i want it to write my exception message: "-20003, 'First the prerequesite course(s) must be taken.'"
why cannot i see my expected exception message?
all the data and structure is certainly true. if you have a question about them, i can answer.
by the way, i will catch this exception from my java code. what should i do in this situation?
any help will be appreciated.
regardsHi,
i don't understand your logic.
See, I added output to trace the counters value :
SQL> drop table courses cascade constraints;
Table dropped.
SQL> CREATE TABLE Courses (
2 code VARCHAR2(15),
3 name VARCHAR2(40) NOT NULL,
4 credit NUMBER(2) CHECK (credit BETWEEN 1 AND 20),
5 PRIMARY KEY (code)
6 );
Table created.
SQL>
SQL> drop table LimitedCourse;
Table dropped.
SQL> CREATE TABLE LimitedCourse (
2 course VARCHAR2(15),
3 capacity NUMBER(3) NOT NULL,
4 PRIMARY KEY (course),
5 FOREIGN KEY (course) REFERENCES Courses(code)
6 );
Table created.
SQL>
SQL> drop table Registered;
Table dropped.
SQL> CREATE TABLE Registered (
2 student NUMBER(6),
3 course VARCHAR2(15),
4 PRIMARY KEY (student, course),
5 --FOREIGN KEY (student) REFERENCES Students(studentID),
6 FOREIGN KEY (course) REFERENCES Courses(code)
7 );
Table created.
SQL>
SQL> drop table WaitingFor;
Table dropped.
SQL> CREATE TABLE WaitingFor (
2 student NUMBER(6),
3 course VARCHAR2(15),
4 regisDate TIMESTAMP NOT NULL,
5 PRIMARY KEY (student, course),
6 --FOREIGN KEY (student) REFERENCES Students(studentID),
7 FOREIGN KEY (course) REFERENCES Courses(code)
8 );
Table created.
SQL>
SQL> drop table HasPrereq ;
Table dropped.
SQL> CREATE TABLE HasPrereq (
2 course VARCHAR2(15),
3 preCourse VARCHAR2(15),
4 PRIMARY KEY (course, preCourse),
5 FOREIGN KEY (course) REFERENCES Courses(code),
6 FOREIGN KEY (preCourse) REFERENCES Courses(code)
7 );
Table created.
SQL>
SQL>
SQL> drop table CourseResult;
Table dropped.
SQL> CREATE TABLE CourseResult (
2 student NUMBER(6),
3 course VARCHAR2(15));
Table created.
SQL>
SQL> CREATE OR REPLACE VIEW DemandOfCourses (student, course, situation) AS
2 (SELECT student, course, 'REGISTERED' FROM Registered)
3 UNION
4 (SELECT student, course, 'WAITING' FROM WaitingFor);
View created.
SQL>
SQL> INSERT INTO Courses VALUES ('EDA242', 'MATHEMATICS 1', 5);
1 row created.
SQL>
SQL> INSERT INTO LimitedCourse VALUES ('EDA242', 15);
1 row created.
SQL>
SQL>
SQL> CREATE OR REPLACE TRIGGER DemandOfCourses_T1_II
2 INSTEAD OF INSERT ON DemandOfCourses
3 REFERENCING NEW AS NEW OLD AS OLD
4 FOR EACH ROW
5 DECLARE
6 cpc NUMBER;
7 currentNum NUMBER;
8 stud1 NUMBER;
9 stud2 NUMBER;
10 prec NUMBER;
11 exc1 EXCEPTION;
12 exc2 EXCEPTION;
13
14 BEGIN
15
16 SELECT capacity
17 INTO cpc
18 FROM LimitedCourse
19 WHERE course = :NEW.course;
20 dbms_output.put_line('cpc '||cpc);
21
22 IF cpc IS NULL THEN
23 cpc := 1000;
24 END IF;
25
26
27 SELECT COUNT(*)
28 INTO currentNum
29 FROM Registered
30 WHERE course = :NEW.course;
31 dbms_output.put_line('currentNum '||currentNum);
32
33 SELECT COUNT(*)
34 INTO stud1
35 FROM Registered
36 WHERE student = :NEW.student
37 AND course = :NEW.course;
38 dbms_output.put_line('stud1 '||stud1);
39
40 SELECT COUNT(*)
41 INTO stud2
42 FROM WaitingFor
43 WHERE student = :NEW.student
44 AND course = :NEW.course;
45 dbms_output.put_line('stud2 '||stud2);
46
47
48 SELECT COUNT(*)
49 INTO prec
50 FROM HasPrereq hp
51 WHERE hp.course = :NEW.course
52 AND hp.preCourse NOT IN (SELECT course FROM CourseResult WHERE student = :NEW.student);
53 dbms_output.put_line('prec '||prec);
54
55
56 IF (prec = 0) THEN
57 IF (stud1 = 0) AND (stud2 = 0) THEN
58 IF (currentNum = cpc) THEN
59 dbms_output.put_line('IF_1');
60 INSERT INTO WaitingFor
61 VALUES (:NEW.student, :NEW.course, SYSTIMESTAMP);
62 ELSE
63 dbms_output.put_line('ELSE_1');
64 INSERT INTO Registered
65 VALUES (:NEW.student, :NEW.course);
66 END IF;
67 ELSE
68 dbms_output.put_line('ELSE_2');
69 RAISE exc1;
70 END IF;
71 ELSE
72 dbms_output.put_line('ELSE_3');
73 RAISE exc2;
74 END IF;
75
76 EXCEPTION
77 WHEN exc1 THEN RAISE_APPLICATION_ERROR (-20002, 'Already registered for this course.');
78 WHEN exc2 THEN RAISE_APPLICATION_ERROR (-20003, 'First the prerequesite course(s) must be taken
79 WHEN NO_DATA_FOUND THEN dbms_output.put_line('NO_DATA_FOUND');
80 END;
81 /
Trigger created.
SQL>
SQL> INSERT INTO DemandOfCourses VALUES (100005, 'EDA242', 'REGISTERED');
cpc 15
currentNum 0 --here all count are 0, also you insert...
stud1 0
stud2 0
prec 0
ELSE_1
1 row created.
SQL> INSERT INTO DemandOfCourses VALUES (100005, 'EDA242', 'REGISTERED');
INSERT INTO DemandOfCourses VALUES (100005, 'EDA242', 'REGISTERED')
ERROR at line 1:
ORA-20002: Already registered for this course. --For the second time, you have your excetion...
ORA-06512: at "SCOTT.DEMANDOFCOURSES_T1_II", line 73
ORA-04088: error during execution of trigger 'SCOTT.DEMANDOFCOURSES_T1_II'
SQL> Nicolas. -
MS SQL server is going down frequently(10 days of gap) with exception message: "A severe error occurred
on the current command. The results, if any, should be discarded". We are facing this issue for past two month.But funny thing is server will be up automatically with out any service restart manually. Also if we try to restart the SQL
server service manually then SQL server will be in a dead lock situation and it will not come up even if we wait for long time. Then we should do a windows server machine restart to
make the SQL sever up. As a suggestion from Microsoft to fix this kind of similar issue,
we have installed service pack 3 for SQL Server. But even after we are facing same issue.
Server Details:
Server OS: Windows Server 2008 R2
Two type of database servers are installed on server:
1. MS SQL Server 2008 R2
2. My SQL
Also Reporting server is configured for the purpose of generating SSRS report from a dot net website.
NOTE:Immediately after the data retrieval/save, we are closing the connection explicitly by the
application.
we have checked the windows event log and below are the details:
Log Name: Application
Source: ASP.NET 4.0.30319.0
Application information:
Application domain: /LM/W3SVC/5/ROOT-1-130718142067856406
Trust level: Full
Application Virtual Path: /
Application Path: E:\WebSpaceFolder\ACSQuiK\Production\
Machine name: DBSERVER
Process information:
Process ID: 148
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: SqlException
Exception message: A severe error occurred on the current command. The results, if any, should be discarded.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
Log Name: Application
Source: Report Server Windows Service (MSSQLSERVER)
Description:
Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Report Server Windows Service (MSSQLSERVER)" />
<EventID Qualifiers="0">107</EventID>
Could anybody can suggest any kind of fix for this issue? Thanks in advance.Hi YesYemPee,
I have tried but still not clear about your issue, I would like you provide more details information about your issue based on below points to better analysis about the issue:
What action did you do and caused the error "A severe error occurred on the current command. The results, if any, should be discarded", did you run report on the web application or something else then the error happen?
If you rendering the report and got the error, please try to provide us more error information in the log files which path like:
C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
If it is not the case in step1, Please try to provide SQL Server Error log(SQL Server Logs) and more details information.
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
I have logic pro, soundtrack pro will not open i get an error message what do i do? i cant find the receipts ive checked my library am i looking in the wrong place?
I get the same kind of thing..
I'm on osx 10.7.2 and once I click the soundtrack pro icon I get an error message. I had problems with logic pro & my digi002r soundcard midi drivers but now is fixed (using a midi adapter).
here is the code:
Process: Soundtrack Pro [1705]
Path: /Applications/Soundtrack Pro.app/Contents/MacOS/Soundtrack Pro
Identifier: com.apple.soundtrackpro
Version: 3.0.1 (960)
Build Info: SoundtrackProProject-9600000~277
Code Type: X86 (Native)
Parent Process: launchd [140]
Date/Time: 2011-10-18 13:12:05.201 +0200
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9
Interval Since Last Report: 195725 sec
Crashes Since Last Report: 3
Per-App Crashes Since Last Report: 2
Anonymous UUID: 23728D81-590B-4C3A-8C67-1709945CD132
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: /Library/Application Support/ProApps/*/ProFX.framework/Versions/A/ProFX
Referenced from: /Applications/Soundtrack Pro.app/Contents/MacOS/Soundtrack Pro
Reason: image not found
Binary Images:
0x1000 - 0x7f7ff8 com.apple.soundtrackpro (3.0.1 - 960) <77CF322B-8BBE-AAEA-173F-75A237035319> /Applications/Soundtrack Pro.app/Contents/MacOS/Soundtrack Pro
0x947000 - 0x94bfe6 +STPInterleave (??? - ???) <E87D1F34-6D97-63DB-454C-CF3D1B03F8E5> /Applications/Soundtrack Pro.app/Contents/Frameworks/STPInterleave.framework/Versions/A/STPInterleave
0x952000 - 0x98ffff com.apple.vmutils (4.2.1 - 107) <43B3BFA5-8362-3EBD-B44B-32DCE9885082> /System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils
0x9a9000 - 0x9f5ffb com.apple.audio.midi.CoreMIDI (1.8 - 42) <CBD34EBC-0FFD-34B4-B55A-BE1F61EF4BD8> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
0xa18000 - 0xc3eff7 com.apple.prokit (7.1.1 - 1511) <498819A4-1BDD-3671-8796-E11865BCFBCE> /System/Library/PrivateFrameworks/ProKit.framework/Versions/A/ProKit
0xd49000 - 0xd49fff com.apple.iokit.dvcomponentglue (2.0.7 - 2.0.7) <1CFA5944-AB33-3A41-B4D2-4A624A514C0D> /System/Library/Frameworks/DVComponentGlue.framework/Versions/A/DVComponentGlue
0xd4d000 - 0xd54fff com.apple.AEProfiling (1.2 - 22) <43A46C32-8E13-82DD-8AF1-2A40690BF810> /Applications/Soundtrack Pro.app/Contents/Frameworks/AEProfiling.framework/Versions/A/AEProfiling
0xd5e000 - 0xd6dfff com.apple.AERegistration (1.2 - 77) <5D18C47F-6F9E-0C4C-8875-24A14A97186D> /Applications/Soundtrack Pro.app/Contents/Frameworks/AERegistration.framework/Versions/A/AERegistration
0xd81000 - 0xd83fff com.apple.ExceptionHandling (1.5 - 10) <6CA9446C-7EF9-35EE-BDF2-AA8D51E93E9E> /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHand ling
0xd89000 - 0xe49fff com.apple.omf_framework (1.1.0 - 1.0) <ED5F21BC-18CD-D7F7-3D2E-F7F856BC0D40> /Applications/Soundtrack Pro.app/Contents/Frameworks/OMF.framework/Versions/A/OMF
0x11000000 - 0x1102afeb com.apple.proapps.ControlSurfaceSupport (2.0 - 68) <BD914236-49D8-9C9A-E8D6-CBC1738850B3> /Applications/Soundtrack Pro.app/Contents/Frameworks/ControlSurfaceSupport.framework/Versions/A/ControlS urfaceSupport
0x8fe88000 - 0x8feba9c7 dyld (195.5 - ???) <134323A7-49DC-3A9D-ACFD-32FAD0FD6BA2> /usr/lib/dyld
0x90840000 - 0x90992fff com.apple.audio.toolbox.AudioToolbox (1.7.1 - 1.7.1) <7646E131-08EE-3D72-ADA2-4A61C562B36E> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x90993000 - 0x90993ff2 com.apple.CoreServices (53 - 53) <7CB7AA95-D5A7-366A-BB8A-035AA9E582F8> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x91e60000 - 0x92036fe3 com.apple.CoreFoundation (6.7.1 - 635.15) <AC9F6462-6315-3D89-8075-D048DB4DBF7E> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x924a8000 - 0x92509ffb com.apple.audio.CoreAudio (4.0.1 - 4.0.1) <089D78E0-46A6-38DB-9545-7F35CC815939> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x93281000 - 0x9328ffff com.apple.opengl (1.7.5 - 1.7.5) <81166D23-DE8E-3938-AAD3-29B1FA5E446E> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x93331000 - 0x93331fff com.apple.vecLib (3.7 - vecLib 3.7) <8CCF99BF-A4B7-3C01-9219-B83D2AE5F82A> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x93332000 - 0x93493ffb com.apple.QuartzCore (1.7 - 270.0) <0916DA83-6400-3FEA-BC53-5F4BA4D126EC> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94326000 - 0x9436dfff com.apple.SystemConfiguration (1.11.1 - 1.11) <CA6CE2B6-DC18-31FF-9668-70BB2FD8D7BB> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x94420000 - 0x946a5fe3 com.apple.QuickTime (7.7.1 - 2306) <F8C64DC4-3FE4-3A06-B10B-59E7F3BA6FDD> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x97dd0000 - 0x98082ff7 com.apple.security (7.0 - 55010) <BE0350C5-5221-3BFF-B674-646AB1BA0F2E> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x99d12000 - 0x99d76fff com.apple.framework.IOKit (2.0 - ???) <D14460ED-2B6C-375D-B3A4-B8C82E922666> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x9adc8000 - 0x9adc8fff com.apple.audio.units.AudioUnit (1.7.1 - 1.7.1) <2E71E880-25D1-3210-8D26-21EC47ED810C> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x9aef1000 - 0x9aef1fff com.apple.Carbon (153 - 153) <6FF98F0F-2CDE-3888-A304-4ED447D24CE3> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x9b2ec000 - 0x9b2ecfff com.apple.Cocoa (6.6 - ???) <650273EF-1ABC-334E-B745-B75AF028F9F4> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
Model: iMac12,1, BootROM IM121.0047.B0A, 4 processors, Intel Core i5, 2.5 GHz, 4 GB, SMC 1.71f21
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3231554538424655302D444A2D4620
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3231554538424655302D444A2D4620
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.58.4-P2P
Bluetooth: Version 4.0.1f4, 2 service, 18 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: WDC WD5000AAKS-402AA0, 500,11 GB
Serial ATA Device: HL-DT-STDVDRW GA32N
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 3
USB Device: USB to Serial-ATA bridge, 0x04fc (SUNPLUS TECHNOLOGY CO., LTD.), 0x0c25, 0xfa120000 / 6
USB Device: iLok, 0x088e, 0x5036, 0xfa130000 / 5
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 7
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: UM-2G, 0x0582 (Roland Corporation), 0x0106, 0xfd140000 / 5
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 3
FireWire Device: Digi 002Rack, Digidesign, 400mbit_speed
thanks everyone
e -
MRP Type V1 - Does it create Exception Message for "Reschedule-in"?
Hello Experts,
We are using MRP Type V1 (Which has the Manual Re-Order Planning + External Requirements). However we are facing and issue with the Rescheduling part. Scenario is as following:
Material ROP is - 5000
Open Pur Ord is - 5000 (due in 01 June'09) based on the Std Lead time of the Material
Stok on hand is - 0
At this point a Sales Order is entered for 1000 pcs
After MRP Run, we expect an Exception Message for the Purchase Order to have "Reschedule-in". But, instead, system creates a PReq for 1000 pcs and the required date is NOT the Sales Order required Date but based on the Std Lead Time of the Material.
I have set the Material Lead time - 60 Days
I have set the Reschedule horizon - 0 Days ( I even tried with different Days but NO use)
However, when I change the MRP Type to PD, system generates a "Reschedule-in" Exception Message for the Purchase Order.
How can I get the "Reschedule-in" Exception Message for the Purchase Order with the MRP Type V1?
Thanks for your help in Advance!Anil,
Reorder point/External MRP performs net requirements calculation (within replenishment lead time). If the existing firmed supply elements minus the existing requirements bring the projected stock below ROP, it will propose an order that will bring the projected stock back to reorder point. The proposal will generally come at replenishment lead time.
In the normal business cycle, your sales order would confirm to lead time, and you now have a confirmed sales requirement at lead time, plus a new purchase req to bring the stock back to the reorder point. The scenario you have described is working exactly as it is designed. Consumption based MRP will not normally try to reschedule supply elements to match requirements inside of lead time.
Rescheduling horizon generally is counted from the end of lead time. It won't help you here.
I guess if you insist on having a reschedule message, you could change your lead time to 0 days. Not a wise move in my opinion. You then have locked yourself in your choices of types of Sales order availability checks into one that ignores lead time. You also have to find a way to let your buyers/planners know what the 'real' lead time is when they place their orders on the vendors.
I don't know why you are using a consumption-based planning type (reorder point). It sounds like your business requirements are that you actually need to be using a demand-type planning method (eg, your supply elements are driven by your demand, not by a reorder point/desired stock level). If PD works the way you want, why aren't you using it?
Regards,
DB49 -
Dear Friends
For one Raw material there is two reservations are there. For these two reservations ( qty each: 1) 3 purchase orders availble.One purchase order have exceptin message 10, second have 15, third have 20 ( means cancel the process).
This material is very costly item. For this raw material the dependent requirement is Finished prouduct which have planning strategy 20. Now my client is asking the details of exception message 20 purchase order ? why system cancelled purchase order ( this purchase order has alreaHi,
Can you elaborate on the exception message 20 in MD04, as I also see this in my list for my PO.
What are the factors that can cause this message ?
This is how my MD04 looks like. Appreciate your help. thanks.
Date MRP Element Exc M. RedQty. AvailQty. Sloc
04.12.2008 Stock 0.00 0.00
21.03.2008 OrdRes 000030082146 1.00- 1.00- 3001
24.12.2008 PchOrd 4510668989/00010 20 1.00 0.00 3001
05.02.2009 PlOrd. 0000671875/SDeb 21.03.2008 30 1.00 1.00
Edited by: Mary Ann Knaik on Dec 4, 2008 11:57 AM -
Exception message not thrown back to the page
Hello All,
I have a servlet that listens for some data. Everything works perfectly if the data is intact. I do a whole bunch of processing on the data and verify its integrity etc...
HOwever if something is wrong, my app throws an exception and I could see from the system outs that the exception message I want to send back to the browser is being printed. But the browser does not completly load the page. In internet explorer, the page status still reads "opening page ........ "
If I see the trace it is past the out.print) line where the error message has already been printed out.
Is this a browser issue? Any suggestions are welcomed.
Thanks,
Praveen.The response of the servlet should go back to the mainframe system from which I receive the data. But for testing purposes I am sending the data through a url's get parameter. So I really do not want to make a error page.
What is bothering me though is that the response gets printed in the command window and still not shown in the page giving you the impression that the request was never fully completed.
Any ideas ?
Thanks,
Praveen. -
How to show exception messages in Terminal
Hi all,
I use clang-3.1 in C++11 mode, with -stdlib=libc++, without any IDE, just on the command line.
My problem is: my c++ code is expected to throw exceptions (I'm testing it), but the Terminal does not print out the exception messages. Instead of my nice exception messages (which I see with clang-3.1 on linux), I have things like: "terminate called throwing an exceptionAbort trap:"
How should I act on the environment of the code to display those exception messages? I don't want to change the code.
Many thanks,
Best regards,
RomainYou are posting in a user forum. Probably the vast majority of the people here don't have the foggiest idea what you are talking about. Post in the Developer forum.
Maybe you are looking for
-
Do payment types really work?
I have three payment options on the checkout: 1/ Cheque 2/ EFT 3/ Paypal. Paypal works fine, cheque and eft payments record the orders as paid. Why is this - they are offline payments made by the customer at some point in the future. I have tried us
-
CQ56-148CA RECOVERY KEEPS FAILING FROM DISKS
Hi everyone I resently had the hard drive in my laptopdie, so i had one lying around that I used. The orignal I believe was 320gb while this one is 230, so when I try the factory restore option I get a message saying that the hard drive is too smal
-
Portal Server on SUN Application Server 8.1 cluster
Hi, I hope can you help me.. I have a cluster of two instances of application server 8.1.: instance 1 and instance 2. Instance 1 is available on machine 1, instance 2 is available on machine 2. I have installed PS7 on machine 1 and machine 2 using Co
-
AS i said, i used my student email to make a dreamspark account, downloaded my copy of windows 8.1 for free, put it onto a bootable flash drive, and loaded it onto my newly built pc. Everything was ok for a couple of hours but now i have the activate
-
Convert multiple string columns to single datetime format
I have 2 string columns Response1 Response2 20090706 1010 I want to combine these into one date time format column with the result: 2009-07-06 10:10:00.000 How do I achieve this? .samuel