Classcast exception while sending objects to the server
I'm getting classcast exception when i try to send objects from the java webstart application at the client side to a server. Its working fine if I do the same without using javaweb start. I'm using hessian client to send objects to the server.
I've a web app that gets outlook contacts from the client machine and send those to the server. I'm sending these contacts as custom objects(OutlookContact) to the server using hessian client. But these objects are being sent to the server as String objects but not as OutlookContact objects. I don't know whats happening. Can anyone please tell me is there any setting that I need to set in the jnlp file.
thanks,
Jayaram
I am also getting the same error. Please anybody can help
Similar Messages
-
Having been on Thunderbird for some years I have suddenly got the following message when trying to send mail.
An (SMTP) error occurred while sending mail. The server responded: Requested action aborted: This mail account has sent too many messages in a short amount of time. Please try later..
I have checked the SMTP server settings in tools, account settings and they are as they have always been. Is there something I have missed?Sending through web mail is totally irrelevant to using an SMTP server. The message even says it is from the server. Why do you think this is a Thunderbird problem.
The provider has put in place measures to keep people from spamming other email recipients using thier SMTP server. You have seen the result of those measures. -
I cannot send emails via FireFox, must go to native provider to send. Inconvenient!
It's possible that your provider has made a change.
I think STARTTLS usually is used with port 587, instead of the standard SSL port 465.
Could you look up your provider's current SMTP settings to see whether your "Outgoing Server" settings need to be updated? If it's difficult to translate between your provider's help page and Thunderbird's dialog controls, you could provide a link to your provider's help page. -
This error message remains 24h after it first appeared. Can't send emails as usual.
You should talk to your email provider.
-
Object can't be send over to the server.
Hi to everyone,
I'm doing a connection between client and server. The client will send image from the platform to the server. The server will then create an folder in the server-side to store the images.
Thank you for reading. Hope to hear from you soon. Anytime you need clarifation, you could ask. I'll be more willingly to feel you in in more details.
IMclient.java -- file
import java.awt.geom.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import java.net.*;
import java.io.*;
import javax.swing.*;
// ========================== START OF IMAGECLIENT ===========================
public class IMclient extends JFrame implements ActionListener,ChangeListener
private JMenuBar mainMenu;
private JMenuItem open, save, exit, scale;
private JMenu fileMenu, editMenu;
private JPanel mainPane, butPane;
private JFileChooser imagesFile;
private JButton butSend;
private JLabel imageLabel; //A display area for a short text string or an image, or both
JPanel imagePanel;
JLabel imgPanel = new JLabel();
BufferedImage buffImage=null;
BufferedImage bimage;
ImageStorage dImage=null;
// JSlider variable
final int MIN = 0;
final int MAX = 255;
final int INIT = MAX/2;
JSlider redSlider, greenSlider, blueSlider;
// BufferedImage bimage;
int r,g,b;
int w,h;
int pixels[];
Image img;
String fname= "babymin05.gif";
// Declare all the Input/Output object variables.
Socket toHost = null;
//PrintWriter out = null;
ObjectInputStream in = null;
ObjectOutputStream objectOut = null;
Container cpane;
// ================================ Constructor ===============================
public IMclient(String host, int port){
initGUI();
initSocket(host, port);
dImage = new ImageStorage(fname);
updateImage();
public void updateImage()
buffImage = dImage.getImage(); //return buffered image
// img = (Image)bimage; //cast buffered image as images
displayImage(buffImage); //display the images
//added from rgbslider
//JSlider RedSlider,BlueSlider,GreenSlider;
public void displayImage(BufferedImage buffImage)
//to create and display an image
//BufferedImage bimage = rgb.getColor();
ImageIcon icon = new ImageIcon(buffImage);
System.out.println(icon);
imgPanel.setIcon(icon);//to set image visible
imgPanel.repaint();
public void stateChanged(ChangeEvent e)
//return buffered image from ImageStorage class.
bimage = getColor();
// displayImage(bimage);
public BufferedImage getColor()
//to get the array of pixels of the buffered image
pixels = new int[dImage.getWidth()*dImage.getHeight()];
//return the pixels value of bufferedImage
pixels = dImage.getPixelsArray();
int [] rgb = new int[3];
int pix=0;
for (int i=0 ; i<pixels.length ; i++)
//to get the r,g,b value from the array
rgb = dImage.getRGB(pixels);
r = redSlider.getValue();
g = greenSlider.getValue();
b = blueSlider.getValue();
//to set the pixels to the final value
pixels = dImage.setRGB(r,g,b);
dImage.setPixels(pixels);
//to set the pixels array value and the RGB value
dImage.setImage(pixels);
bimage = dImage.getImage();
//to return the buffered image
return bimage;
public JPanel sliderGUI()
JPanel slidePanel = new JPanel();
slidePanel.setLayout(new GridLayout(3,2));
setSlider();
JLabel redLabel = new JLabel("Red");
JLabel blueLabel = new JLabel("Blue");
JLabel greenLabel = new JLabel("Green");
slidePanel.add(redLabel);
slidePanel.add(redSlider);
slidePanel.add(blueLabel);
slidePanel.add(blueSlider);
slidePanel.add(greenLabel);
slidePanel.add(greenSlider);
return slidePanel;
// setSlider() consists of the three silders (r,g and b).
private void setSlider(){
blueSlider = new JSlider(JSlider.HORIZONTAL, MIN, MAX, INIT);
blueSlider.setMajorTickSpacing(MAX);
blueSlider.setMinorTickSpacing(MIN);
blueSlider.setPaintLabels(true);
redSlider = new JSlider(JSlider.HORIZONTAL, MIN, MAX, INIT);
redSlider.setMajorTickSpacing(MAX);
redSlider.setMinorTickSpacing(MIN);
redSlider.setPaintLabels(true);
greenSlider = new JSlider(JSlider.HORIZONTAL, MIN, MAX, INIT);
greenSlider.setMajorTickSpacing(MAX);
greenSlider.setMinorTickSpacing(MIN);
greenSlider.setPaintLabels(true);
blueSlider.addChangeListener(this);
redSlider.addChangeListener(this);
greenSlider.addChangeListener(this);
public BufferedImage getBufferedImage()
return bimage;
// ================================ initGUI() =================================
public void initGUI()
cpane = getContentPane();
cpane.setBackground(Color.white);
cpane.setLayout(null);
//to set the close menu on the menubar
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
//Open the menu in order to img from any folder
imagesFile = new JFileChooser();
imagesFile.addActionListener(this);
//create an intermedia panel to hold panel and button
mainMenu = new JMenuBar();
setJMenuBar(mainMenu);
setContentPane(cpane);
fileMenu = new JMenu("File");
mainMenu.add(fileMenu);
editMenu = new JMenu("Features");
mainMenu.add(editMenu);
/* == JMenuItem(open, save, exit) to be added into the JMenu(fileMenu) == */
open = new JMenuItem("Open...");
save = new JMenuItem("Save...");
exit = new JMenuItem("Exit...");
scale = new JMenuItem("Scale");
fileMenu.add(open);
fileMenu.add(save);
fileMenu.add(exit);
editMenu.add(scale);
/* =================== End of adding JMenuItem() ======================== */
//add events to the JMenuItem(open, save, exit)
open.addActionListener(this);
save.addActionListener(this);
exit.addActionListener(this);
scale.addActionListener(this);
/* =============== Create a button =======================*/
butSend = new JButton("Send");
butSend.addActionListener(this);
JPanel butPane = new JPanel();
butPane.setLayout(new BorderLayout());
butPane.add(butSend);
/* =============== End Create button =======================*/
/* =============== Create a Image Panel =======================*/
imgPanel = new JLabel();
imagePanel= new JPanel(new BorderLayout());
//imgPanel.setBorder(BorderFactory.createRaisedBevelBorder());
imagePanel.setBorder(BorderFactory.createRaisedBevelBorder());
//imageLabel = new JLabel();
imagePanel.add(imgPanel);
/* =============== End of Image Panel =======================*/
// creates a new Panel
JPanel rgb=sliderGUI();
cpane.add(rgb);
cpane.add(imagePanel);
cpane.add(butPane);
Insets insets = cpane.getInsets();
imagePanel.setBounds(50 + insets.left, 20 + insets.top, 300, 236);
butPane.setBounds(400 + insets.left, 220 + insets.top, 90, 40);
rgb.setBounds(50 + insets.left, 300 + insets.top, 400, 250);
//to set the size of the frame
setSize(1024,768);
//to set the main pane visible to the user
setVisible(true);
// =========================== actionPerformed() ==============================
public void actionPerformed(ActionEvent e)
if(e.getSource()==(open))
imagesFile.showOpenDialog(this); //to have the OPEN dialog box
if(e.getSource() == imagesFile)
//to get the file from the exact folder that the user clicks on
fname = imagesFile.getSelectedFile().getAbsolutePath();
updateImage();
if(e.getSource() == (exit))
System.exit(0); //exit the program
if(e.getSource() == butSend)
sendImage(img);
/* ========================== initSocket ================================
* Set up the socket connection to the server.
* 1: connect to the server at <host>, <port>.
* 2: getOutputStream() will return an output stream for our socket (ie
the stream is FROM the client TO the server. Since we want to send
Image objects to the server, we need to create a stream which can
send object, ie. an ObjectInputStream.
3: getInputStream will return an input stream for our socket (ie. stream
is FROM the server TO the client. We use this to create a stream that
can transmit formatted characters.
protected void initSocket(String host, int port)
try{
toHost = new Socket(host, port); //1
//always do OUT then do IN
objectOut = new ObjectOutputStream(toHost.getOutputStream()); //2
in = new ObjectInputStream(toHost.getInputStream()); //3
sendObject(bimage);//here got problem ba
Object input = null;
try{
while((input = in.readObject()) != null) //test whether object is null
Image img = (Image)input;
sendImage(img);
}catch (Exception e){}
toHost.close();
catch (UnknownHostException e)
System.err.println("Unknown host in initSocket()");
catch (IOException e)
System.err.println("IO error in initSocket()");
/* =========================== sendObject() ==============================
* objectOut is the ObjectOutputStream. To send an object across the stream,
* use the writeObject() method of ObjectOutputStream. The flush() method
* ensures that data is sent.
protected void sendObject(Object obj)
try{
objectOut.writeObject(obj);
objectOut.flush();
}catch(IOException e){
System.out.println("Sending failed");
System.exit(1);
/* =========================== sendImage() ==============================
* sendImage() creates the requested Image Object, then calls sendObject() to
* send the image's width, height, and raw data to the server. The server uses
* these to reconstruct the image, we could use the ImageIO class to read the
* image file.
* The getImage() method return immediately, even if the image data has been
* fully loaded. Once the data is locked, the width and height, values using the
* getWIdth() and getHeight() methods.
protected void sendImage(Image img)
int w,h;
//get the image from the imagePanel and return the buffered image
img = dImage.getImage();
while ((w = img.getWidth(null)) == -1){}
//System.out.println("Width of image: "+ w);
while ((h = img.getHeight(null)) == -1){}
int[] buffer = new int[w * h];
/* The PixelGrabber class implements an ImageConsumer which can be
* attached to an Image or ImageProducer object to retrieve a subset
* of the pixels in that image.
PixelGrabber px = new PixelGrabber (img,0,0,w,h,buffer,0,w);
try{
px.grabPixels();
}catch (InterruptedException ie){
System.err.println("Pixels grab failed");
sendObject(new Integer(w));
sendObject(new Integer(h));
sendObject(buffer); //buffer contains all the bytes for the image
public static void main(String [] args)
if(args.length != 2)
System.err.println("Requirement Paramenters: <host>,<port number>");
System.exit(0);
String host = args[0];
int port = Integer.parseInt(args[1]);
IMclient is = new IMclient(host,port);
IMserver.java-- file
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import javax.swing.*;
import java.net.*;
import java.io.*;
import java.util.*;
public class IMserver
Image images;
public IMserver()
try
start();
}catch (IOException ioe){
System.err.println("Start Failed:"+ioe);
private void start() throws IOException
ServerSocket ss = new ServerSocket(22222);
while(true)
new ImageServerConnection(ss.accept(), images).start();
public static void main(String[] args)
IMserver im = new IMserver();
class ImageServerConnection extends Thread
//Declare the Input/Output object variable
Socket clientSocket = null;
ObjectOutputStream objectOut = null;
ObjectInputStream inObject = null;
Image img;
/* ====================== ImageServerConnection ================================
*ImageSeverConnection is a subclass of Thread. ImageServerConnection handles a
* connection with a client. It has methods for initialzing a connection and for
* receieving objects to clients.
public ImageServerConnection(Socket client, Image img)
clientSocket = client;
this.img = img;
/* ========================= run() ===========================
* run() is overrriden from Thread. In this case, we call the
* newSocket method to initialize the socket and perform initial
* tasks.
public void run()
try{
newSocket();
}catch(IOException ioe){
System.err.println("Socket failed: " + ioe);
/* ========================= newSocket() ===========================
* This is where we do all the client connection work
private void newSocket() throws IOException
inObject = new ObjectInputStream(clientSocket.getInputStream());
//objectOut = new ObjectOutputStream(clientSocket.getOutputStream());
getImage();
clientSocket.close();
/* =============================== getImage() =================================
* getImage() assumes that a connection already exists to the server.
* First, getImage transmits the image we want to get.
* Then, we wait to read the 3 objects sent by the server's ObjectOutputStream:
-- an Integer object, representing the width of the image
-- an Imteger object, representing the height of the image
-- an Image object
* The first two are Integer objects, NOT primitive int types. This
* is because the ObjectOutputStream can only transmit objects, not primitive
* types (to transmit primitive types, use a DataOutputStream).
* 1: Read the three objects sent by the server. Note each object must be cast to
its appropriate type, since readObject() returns an Object. To get the value
of an Integer object, we use its intValue() method, which returns the primitve
int value of the Integer.
* 2: The buffer object is an array of integers, which represents the image
data. In other words, buffer is an array of integers in memory which is
the source of the raw image data. Java has a special MemoryImageSource
class which is used to construct Images from raw data in memory. So, in
step 3, we create a MemoryImageSource object using the width, height, and
buffer objects.
* 3: We want to create an Image object using the MemoryImageSource object we
created in step 3. To do this, we use the createImage() method of the
Component class. Since this client class extends Frame, and Frame is a
subclass of Component, we can call createImage() directly.
* 4: Once the Image is created, it will be passed into the folder for storage
private void getImage()
Component c=null;
try{
objectOut.writeObject(img);
objectOut.flush();
int w = ((Integer)inObject.readObject()).intValue();
int h = ((Integer)inObject.readObject()).intValue();//1
int [] buffer = (int[])inObject.readObject(); //2
Image img = c.createImage(new MemoryImageSource(w, h, buffer, 0, w)); //3
//create an new folder to store those sent images
File f = new File ("C:\\Sweet_Memory");
//you can also check whether such folder exists or not.
if (!f.exists ()){
f.mkdir ();
//how to store image into the file????
}catch(Exception e){
System.out.println("Server-side: "+ img);
System.err.println("Receiving failed: "+ e);
}The codes below have error message showing "IO error in initSocket() " which is in the initSocket method and "Sending failed" which is in sendObject method. HOwever i can't figure out why this error message is shown. Can anyone kindly help me out? Did i declare the wrong thing?
Please clarify with me if i'm not clear, thank a lot. Any help will be appreaciated.
IMclient.java
public class IMclient extends JFrame implements ActionListener,ChangeListener
// Declare all the Input/Output object variables.
Socket toHost = null;
ObjectInputStream in = null;
ObjectOutputStream objectOut = null;
public void actionPerformed(ActionEvent e)
if(e.getSource() == butSend)
sendImage(img);
protected void initSocket(String host, int port)
try{
toHost = new Socket(host, port); //1
//always do OUT then do IN
objectOut = new ObjectOutputStream(toHost.getOutputStream()); //2
in = new ObjectInputStream(toHost.getInputStream()); //3
sendObject(bimage);
Object input = null;
try{
while((input = in.readObject()) != null) //test whether object is null
Image img = (Image)input;
sendImage(img);
}catch (Exception e){}
toHost.close();
catch (UnknownHostException e)
System.err.println("Unknown host in initSocket()");
catch (IOException e)
System.err.println("IO error in initSocket()");
protected void sendObject(Object obj)
try{
objectOut.writeObject(obj);
objectOut.flush();
}catch(IOException e){
System.out.println("Sending failed");
System.exit(1);
protected void sendImage(Image img)
int w,h;
//get the image from the imagePanel and return the buffered image
img = dImage.getImage();
while ((w = img.getWidth(null)) == -1){}
while ((h = img.getHeight(null)) == -1){}
int[] buffer = new int[w * h];
PixelGrabber px = new PixelGrabber (img,0,0,w,h,buffer,0,w);
try{
px.grabPixels();
}catch (InterruptedException ie){
System.err.println("Pixels grab failed");
sendObject(new Integer(w));
sendObject(new Integer(h));
sendObject(buffer); //buffer contains all the bytes for the image
public static void main(String [] args)
if(args.length != 2)
System.err.println("Requirement Paramenters: <host>,<port number>");
System.exit(0);
String host = args[0];
int port = Integer.parseInt(args[1]);
IMclient is = new IMclient(host,port);
IMserver.java
public class IMserver
Image images;
public IMserver()
try
start();
}catch (IOException ioe){
System.err.println("Start Failed:"+ioe);
private void start() throws IOException
ServerSocket ss = new ServerSocket(22222);
while(true)
new ImageServerConnection(ss.accept(), images).start();
public static void main(String[] args)
IMserver im = new IMserver();
class ImageServerConnection extends Thread
//Declare the Input/Output object variable
Socket clientSocket = null;
ObjectOutputStream objectOut = null;
ObjectInputStream inObject = null;
Image img;
public ImageServerConnection(Socket client, Image img)
clientSocket = client;
this.img = img;
public void run()
try{
newSocket();
}catch(IOException ioe){
System.err.println("Socket failed: " + ioe);
private void newSocket() throws IOException
inObject = new ObjectInputStream(clientSocket.getInputStream());
getImage();
clientSocket.close();
private void getImage()
Component c=null;
try{
objectOut.writeObject(img);
objectOut.flush();
int w = ((Integer)inObject.readObject()).intValue();
int h = ((Integer)inObject.readObject()).intValue();//1
int [] buffer = (int[])inObject.readObject(); //2
Image img = c.createImage(new MemoryImageSource(w, h, buffer, 0, w)); //3
}catch(Exception e){
System.err.println("Receiving failed: "+ e);
} -
I am trying to send a message with an attachment, I get this message: An error occurred while sending mail. The mail server responded: 5.3.4 Requested action not taken; To send your message, please sign into your account online first and solve a puzzle. (Sorry for the inconvenience--these puzzles help us stop spammers.). Please check the message and try again.
== TodayMe too (with Thunderbird). EXCEPT it reads
Requested action not taken; This account is currently blocked from sending messages. If you don't think you've violated the Windows Live Terms of Use, please contact customer support...
Occasionally the mail "sends", but it is unpredictable. Tech Support at Qwest (for q.com under Windows Live) does not find a problem at their end.
More suspiciously, the same account accessed from my Mac does not seem to exhibit this problem. Have reloaded T'bird. Recurred again. -
I have been using Thunderbird for a couple of years. On Friday 10 Apr my home email account stopped sending either new messages or replying to incoming emails. In addition I have Thunderbird get my work email and I can send and receive email just fine. I can also send email from my android phone and via the web.
The message that has started coming up is the following:
An error occurred while sending mail. The mail server responded: 5.7.1 [P4] Message blocked due to spam content in the message.. Please check the message and try again.
I have tried reinstalling Thunderbird but nothing changed, I tried changing the port from 25 to 587 to 465 but nothing changed. I do not understand what is going on as on Wednesday Apr 8 everything was working just fine.I have just tried ringing RCN and they tell me that because I am not using an RCN email as such they can not help but he suggested that it was a filter in Thunderbird but I have not set any filters and can not see if there are any or how to change them. The only way sending my website url right now is to make it not look like a url. Where do I need to look to solve this as I first wrote last week everything was fine.
-
Hi everyone,
I just installed SP09 and i was testing the solution. And I found a problem with the approvals tasks.
I configured a simple ROLE approval task for validate add event. And when the runtime executes the task, the dispatcher log shows a error:
ERROR: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'
And the notifications configured on approval task does not start either.
The approval goes to the ToDO tab of the approver, but when approved, also the ROLE stays in "Pending" State.
I downgraded the Runtime components to SP08 to test, and the approvals tasks works correctly.
Has anyone passed trough this situation in SP09?
I think there is an issue with the runtime components delivered with this initial package of SP09.
Suggestions?Hi Kelvin,2016081
The issue is caused by a program error in the Dispatcher component. A fix will be provided in Identity Management SP9 Patch 2 for the Runtime component. I expect the patch will be delivered within a week or two.
For more info about the issue and the patch please refer to SAPNote 2016081.
@Michael Penn - I might be able to assist if you provide the ticket number
Cheers,
Kristiyan
IdM Development -
i can't send an e-mail from thunderbird, it was working well though , suddenly it says the following message:An error occurred while sending mail. The mail server responded An error occurred while sending mail. The mail server responded: (Alis-MacBook-Air.local) [46.138.187.135]:51054 is currently not permitted
OR
i have changed the port from 587 to 465 but still cannot send e-mail, it keep sending and sending for 5 minutes and respond is time out?Can you post your Troubleshooting Information?
Help (Alt-H) - Troubleshooting Information -
When I send message the reply is "Access Denied" and a bunch of gobbly-gook ending with please re-check message. What would I check for? The G-G is of absolutely no value to the human species.
An error occurred while sending mail. The mail server responded: Access denied...3c61d9886161c1c1b119b169f84d0c00bd1d41014c8da58d391805d17cbcdccd89e9557dcc85058535d178217d0831cc6d65.... Please check the message and try again.
So what now. Mozilla must be the offspring of Microsoft in that help NEVER HELPS, EVER.Hello,
Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
Note: ''This will temporarily log you out of all sites you're logged in to.''
To clear cache and cookies do the following:
#Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
#Under "Time range to clear", select "Everything".
#Now, click the arrow next to Details to toggle the Details list active.
#From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
#Now click the ''Clear now'' button.
Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
'''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
''(If you're using an added theme, switch to the Default theme.)''
If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
If Firefox is not running, you can start Firefox in Safe Mode as follows:
* On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
''Once you get the pop-up, just select "'Start in Safe Mode"''
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
When you figure out what's causing your issues, please let us know. It might help others with the same problem.
Thank you. -
When I send mail, I keep getting this message.
An error occurred while sending mail. The mail server responded: "JunkMail rejected - 71-12-190-31.dhcp.leds.al.charter.com ([127.0.0.1])
[71.12.190.31]:52956 is in an RBL, see
http://www.spamhaus.org/query/bl?ip=71.12.190.31". Please check the message recipient [email protected] and try again.
How do I get rid of this problem?
WNSHi there,
If you have a closer look at message you are receiving it already states the problem. The domain 71-12-190-31.dhcp.leds.al.charter.com is blacklisted by spamhaus.org (is in an RBL).
Your TB is (my guess) setup to send the message directly to the recipient.
As a rule of thumb the majority of mail sent from a dynamic dns address (the kind of address you are getting from your ISP) is blacklisted as a precaution against spam abuse due to virus/trojan infected PC's.
Nothing you can change there. Stop sending the message directly and use your ISP's account instead.
/Frans -
My previous request had an incorrect email. This error began yesterday and I can't reply or send new emails from my PC, but email is working on my iphone.
I have been doing that. Here is the complete message I get. It was cut off in my initial question. "An error occurred while sending mail. The mail server responded: Authentication is required before sending [R0107005]. Please verify that your email address is correct in your Mail preferences and try again."
-
Suddenly I am not able to send any email from my account, from pc or phone.
It gives error message "An error occurred while sending mail. The mail server responded: Relaying not allowed. Please check the message recipient --------and try again."
I have checked account setting and is correct. please helpThis message, which comes from the server, usually means that you are using an smtp server provided for use with one particular account to send messages "from" other accounts. The fact that it also happens with your phone does indicate that it is external to Thunderbird.
How many different email accounts do you have? How many different providers are involved? -
An error occurred while sending mail. The mail server responded: Administrative prohibition. Please check the message and try again.
Somtimes it says it spam also......The error message is being generated by your email provider's server. Best to ask them what they do not like about your messages and how to solve the problem.
-
SharePoint 2013 code for the SharePoint Config database stored procedure dbo.proc_getObject has been changed from SharePoint 2010 with the difference of select with nolock.
I am seeing numerous Error 7886, Severity-20 errors nightly:
"A read operation on a large object failed while sending data to the client. A common cause for this is if the application is running in READ UNCOMMITTED isolation level. This connection will be terminated."
Here I have commented out "with (nolock)" to 'fix' the error and to align the store proc with SharePoint 2010 code :
ALTER PROCEDURE [dbo].[proc_getObject]
@Id uniqueidentifier,
@RequestGuid uniqueidentifier = NULL OUTPUT
AS
SET NOCOUNT ON
SELECT
Id,
ParentId,
ClassId,
Name,
Status,
Version,
Properties
FROM
Objects --with (nolock)
WHERE
Id = @Id
RETURN 0
How is this stored procedure called and for what use?
Why did Microsoft make this change to SharePoint 2013 - some performance gain through dirty reads at the cost of stability? Or what could be a reason for this to happen that can be fixed?GetObject retrieves any farm object that is selected (by ID). Changing this is obviously not supported, and NoLock was used to (help) prevent locks when performing a select query.
I've never seen this issue, and would guess it is unique to your environment given this is such a core piece of the SharePoint infrastructure.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
Maybe you are looking for
-
I am finally sucessfully using Apple Configurator. Our teachers would like to have iMovie on the iPads In order to use Apple Configurator I need to have redemption codes. I am at a loss as to how to get these codes. Any suggestions.
-
Re: 970 Gaming is quite hot
Go to intel graphics control panel, select power, select max performance for the plugged in and on battery. Also disable power saving and automatic display brightness.
-
Can I use log4j with a java stored procedure
I have code that resides on the middle tier and on the database. Our company is using log4j for debugging purposes. In order to get my code to work on the database, I have had to remove all the log4j stuff. Has anyone tried to get code that has log4j
-
Pci 6601 for decoding renishaw and new encoder
i have a pci 6601 and scb 68 that was recommend for decoding a renishaw encoder. it works great for determing the position of the renishaw. the renishaw encoder type is rgh24x30a00a http://www.renishaw.com/en/rgh24-linear-encoder-system--6444 i would
-
Safari 5 closes on start Windows 7 64 Bit
hi! since yesterday afternoon i have a massive problem with safari 5 on windows 7 64 bit. when i start safari i see it for about 200 ms and then it closes. i´ve also reinstalled it several times but nothing works. i´ve installed safari 4 now again an