Is the Flex server required?
Does anyone know if I have to do anything special on the
server to be able to use flex? Can I just upload to my webserver
without making any modifications?
No to run compiled Flex SWF's you do not need a "Flex"
server. The exception is if you are using some of the Flex Data
Services (FDS) features.
Flex compiled SWF's are Flash files that require Flash Player
9.
Similar Messages
-
try
MailMessage mail = new MailMessage();
SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
mail.From = new MailAddress("[email protected]");
mail.To.Add("[email protected]");
mail.Subject = "Test Mail..!!!!";
mail.Body = "mail with attachment";
System.Net.Mail.Attachment attachment;
attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
mail.Attachments.Add(attachment);
SmtpServer.Port = 587;
SmtpServer.UseDefaultCredentials = true;
SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
SmtpServer.EnableSsl = true;
SmtpServer.Send(mail);
Catch(Exception exception)
When i m run this part of code it throw an Ecxeption
Given Below is the Error..
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
Bikky Kumartry
MailMessage mail = new MailMessage();
SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
mail.From = new MailAddress("[email protected]");
mail.To.Add("[email protected]");
mail.Subject = "Test Mail..!!!!";
mail.Body = "mail with attachment";
System.Net.Mail.Attachment attachment;
attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
mail.Attachments.Add(attachment);
SmtpServer.Port = 587;
SmtpServer.UseDefaultCredentials = true; ///Set it to false, or remove this line
SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
SmtpServer.EnableSsl = true;
SmtpServer.Send(mail);
Catch(Exception exception)
Given Below is the Error.. The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
Solution:
The error might occur due to following cases.
case 1: when the password is wrong
case 2: when you try to login from some App
case 3: when you try to login from the domain other than your time zone/domain/computer (This
is the case in most of scenarios when sending mail from code)
There is a solution for each
solution for case 1: Enter the correct password.
Recomended: solution for case 2: go to
security settings at the following link https://www.google.com/settings/security/lesssecureapps and
enable less secure apps . So that you will be able to login from all apps.
solution 1 for case 3: (This might be helpful) you need to review the activity. but reviewing the activity will not be helpful due to latest security
standards the link will not be useful. So try the below case.
solution 2 for case 3: If you have hosted your code somewhere on production server and if you have access to the production server, than take remote
desktop connection to the production server and try to login once from the browser of the production server. This will add exception for login to google and you will be allowed to login from code.
But what if you don't have access to the production server. try
the solution 3
solution 3 for case 3: You have to enable
login from other timezone / ip for your google account.
to do this follow the link https://g.co/allowaccess and
allow access by clicking the continue button.
And that's it. Here you go. Now you will be able to login from any of the computer and by any means of app to your google account.
Regards,
Nabeel Arif -
The SMTP server requires a secure connection or the client was not authenticated. -.
Hello
I wrote this code. I searched but could not find a solution for my problem.
private void button_sendemail_Click(object sender, EventArgs e)
string temp = "mygmailpassword";
System.Security.SecureString password = new System.Security.SecureString();
temp.ToCharArray().ToList().ForEach(p => password.AppendChar(p));
string mailfrom = "…@gmail.com";
string mailto = "…@yahoo.com";
string subject = "Hello";
string body = "Hello, I'm just writing this to say Hi!";
using (MailMessage mail = new MailMessage())
mail.From = new MailAddress(mailfrom);
mail.To.Add(mailto);
mail.Subject = subject;
mail.Body = body;
mail.IsBodyHtml = true;
// Can set to false, if you are sending pure text.
using (SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587))
smtp.UseDefaultCredentials = false;
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.Credentials = new NetworkCredential(mailfrom, password);
smtp.EnableSsl = true;
smtp.Send(mail);Hi ARZARE,
After some research and i have tested your code, it works fine on my side. But i used Hotmail
using (SmtpClient smtp = new SmtpClient("smtp.live.com", 587))
Per my understanding, you're trying to send from an @gmail.com address and they will require authentication, but you don't have credentials specified. Try sending from @hotmail.com or change smtp.EnableSsl
= false to see what happens.
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Palm Pre - The mail server requires policies not supported
Downloaded the new update (1.0.3) for the Pre and still no closer to getting my email from my company. Worked fine on the Samsung Instinct, but no such luck here. Frustrated. Any ideas anyone?
Post relates to: Pre p100eww (Sprint)The "Policies" error usually relates to the PIN lock code requirement. That is supposed to be resolved "within 60 days" (minus one week). Please see the threads with PIN in the subject line for more information.
-
Clarification required regarding Flex Server
hi
I have been studying about the new flex 2 technology and have
downloaded the flex builder 2trail. I am able to build flex
application successfully and also have been able to deploy it on
Windows Office live . But i am very much confused about Flex Server
facility. First of all is Flex Server and Flex Data Services the
same. In the documentation provided in the Adobe website the Flex
server is said to be used to compile the mxml to appropriate swf,
but i have not downloaded any Flex server then how am i able to
compile the mxml to flash application.
Can some one plz give me a more clear idea about Flex Server
or give some useful link to read about it.Be happy to clear this up:
Flex 2 SDK (software development kit) is the Flex user
interface (we call it the 'framework') and the mxmlc and compc
compilers. This is free. It enables you to use HTTPService and
WebServices.
Flex Builder 2 is Eclipse (or a plug-in for Eclipse) and
includes the Flex 2 SDK. Which means it comes with the compilers.
Flex Server is part of Flex Data Services. Flex Server
includes Flex 2 SDK and allows you to deploy MXML and AS source
files to your web server so that when the main MXML file is
requested, it will be dynamically compiled into a SWF. We call this
the 'web tier' compiler.
Flex Data Services also includes Flex Data Management and
Messaging.
In addition to these there is also Flex Charting and the
ColdFusion 7.0.2 Flex Connectivity Kit.
HTH
--peter -
I am having difficulty correcting the Testing Server setup in Dreamweaver CS4.
The http error codes are 404 (open DW) and 12150 (failed test URL).
Please see my responses inline below:
Moore6931 wrote:
I thank you for your help but I don't understand.
1. At this time, I edit the web site locally. When the changes are completed, then I copy the files to the remote (Go Daddy) server, with FTP.
Perfect. In that case, I'm not even going to try to change you to use Dreamweaver's in-built FTP as that will probably confuse you at this stage. In this case, go to 'Remote Info' and make it 'None' - remove all credentials from there - we dont need it configured within Dreamweaver if we aren't using it.
2. Because my edits are local, testing of the files is local. In fact, I normally disable the network connection, when I don't need it open.
Go to 'Testing Server' and make it 'None' and remove all credentials - make it blank too. Since you're not using any 'dynamic' services, we don't need to configure one. Your previews can happen via your browser from your 'Local files'.
3. Go Daddy uses PHP on Linux servers for hosting.
Well, Go Daddy also gives you a variety of other options - but I'm assuming you've purchased a Linux hosting setup with PHP running on it. Let's not worry about PHP here because you're not using PHP to develop your website.
4. Since I'm not adept with computers, computer terminology and computer configurations, I try to leave settings at default.
The only thing you'll need to keep 'as is' is your 'Local Info'. Other than that, remove both 'Testing' and 'Remote' configurations. You should get going in no time.
5. I am unsure of the test server requirement. The descriptions of a "dynamic" page are not clear, to me. My web site uses,
a. html,
b. An XML data page for sorting my photographs,
c. Spry cascading tables,
d. Scrolling photo thumbnails,
e. Links to pdf files and
f. E-mail contact.
A regular HTML website is usually 'static' - as all the content you have within it is 'hard-coded' or 'hand-written' into it. A PHP/ ASP/ JSP/ CFM code is usually 'dynamic' - meaning only the master template is usually made with code. The actual content is fetched from a database or an external source. And to do this (to fetch data from a database), this type of code has to run on a server-environment. That is the only primary difference between 'static' and 'dynamic' webpages. Not getting into the details of it as I'm unsure if that's going to confuse you more!
If this is not clear, please see me web site.
http://envisioningmoore.com -
Hello all,
I have three questions about the Macromedia Flex Server for the Visual Composer.
1. Do I need the Macromedia Flex Server only for Design Time or also for the Run Time?
2. Do I need a licence or is everthing included in the SAP Analytics Package (NW04s) ?
3. The Flex Server is installed on the J2EE Engine of the WebAS?
Regards, IngoHello,
1. Both for design time and runtime , this is obvious as you get a flash screen when u run the VC ui compiled through flex compiler.
2. No Idea
3. No Idea.
Regards,
Ashutosh -
Server Requirement for Installing BPC
Dear all,
What are the minimum server requirements for installing BPC in RAM, Speed and hard disk size? Is there anything else that i should be aware of?
Thanks in advance for your help.
CheersHi,
If you are going to use Audit Collection Services (other methods to collect event logs can also refer to requirements below), here are some requirements:
A member of an Active Directory domain
A minimum of 1 gigabyte (GB) of RAM, with 2 GB recommended
At least a 1.8 gigahertz (GHz) processor, with a 2.8 GHz processor recommended
10 GB of hard disk space available, at a minimum, with 50 GB recommended
More information for you:
Collecting Security Events Using Audit Collection Services in Operations Manager
https://technet.microsoft.com/en-us/library/hh212908.aspx
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] -
The mail could not be sent to the recipients because of the mail server failure.
Hi,
I am configured Database Mail,But i am getting below error while i am sending Test mail.
Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 4 (2014-03-10T15:54:11). Exception Message: Cannot send mails to mail server. (The SMTP server requires a secure connection or the client was
not authenticated. The server response was: 5.7.1 Client was not authenticated).
Pls help me,
Thanks - SelvaKumarSubramaniam.Please MARK AS ANSWER, if my answer is useful to U.Hi Selvaons,
I would suggest you contact your mail administrator for assistance. Here are some good articles regarding how to configure database mail in SQL Server for your reference, please see:
http://blog.sqlauthority.com/2008/08/23/sql-server-2008-configure-database-mail-send-email-from-sql-database/
http://www.codeproject.com/Articles/29060/SQL-SERVER-Configure-Database-Mail-Send-Email
http://www.sqlservercentral.com/blogs/databaseexpertisecom/2010/05/12/database-mail-set-up-in-sql-server-2008/
Regards,
Elvis Long
TechNet Community Support -
Flex app can't connect to the internet / server when uploaded?
I made a simple app that submits a data via POST using the HTTPService. My problem is, when I Run the application from the Flash Builder IDE, and it opens in the browser as a local file, it interacts with my server (remote server) without any problem and does its job well. However, when I upload it to my website, it fails to interact. It displays on the status bar of Firefox that it's connecting to the server that requires interaction but after some time the status reverts to "Done" with my Flex app not showing any Alert boxes if it either succeeded or failed.
It's really making me frustrated not knowing what's wrong..
Also if it would be an added help, I decided to use the Flex 3.5 SDK to make it more compatible with commonly installed Flash Players on people's computers since the features that I used doesn't really need those of 4.0.Contact the app developer and ask... That's an XML error on the host.
-
I am trying to call sharepoint online from powershell. Below is the code. I get
Exception calling "ExecuteQuery" with "0" argument(s): "The remote server returned an error: (407) Proxy Authentication Required."
$loadInfo1 = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client")
$loadInfo2 = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime")
$webUrl = "ZZZZ"
$username = "XXX"
$password = "YYYY"
$ctx = New-Object Microsoft.SharePoint.Client.ClientContext($webUrl)
$ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $password)
$web = $ctx.Web
$lists = $web.Lists
$ctx.Load($lists)
$ctx.ExecuteQuery()
$lists| select -Property Title
Raj-ShptHi,
About how to access SharePoint online site using PowerShell, the blog below would be helpful:
http://social.technet.microsoft.com/wiki/contents/articles/29518.csom-sharepoint-powershell-reference-and-example-codes.aspx
Another two demos for your reference:
http://www.hartsteve.com/2013/06/sharepoint-online-powershell/
http://www.sharepointnutsandbolts.com/2013/12/Using-CSOM-in-PowerShell-scripts-with-Office365.html
Thanks
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
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."
-
Revision: 16929
Revision: 16929
Author: [email protected]
Date: 2010-07-15 07:38:44 -0700 (Thu, 15 Jul 2010)
Log Message:
Add a class that will register the required class aliases in the event the mxml compiler generation [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework.
Add a reference to this class in the RPCClasses file so it always gets loaded.
QE notes: Need a remoting and messaging regression test that doesn't use Flex UI.
Bugs: Watson bug 2638788
Modified Paths:
flex/sdk/trunk/frameworks/projects/rpc/src/RPCClasses.as
Added Paths:
flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/RpcClassAliasInitializer.asGreat exercise to document the problem like this. It got me thinking about how an app with modules would be different from an app that does not use modules. Solution: I moved the dummy reference of PersonPhotoView out to the main application file (as opposed to being inside the module) and it worked. I've probably been lucky not to have experienced this problem earlier, because for most other entities I have an instance attached to my model which is linked / compiled with the main application.
-
'Use minimum version required by the Flex SDK' setting question
Hi,
Can someone explain why after downloading the latest stable Hero SDK (build 19786), which only has fp10.2 support in the framwork/libs/player directory, would the 'Use minimum version required by the Flex SDK' build property still tell Flash Builder to build for fp10.1?
In my flex-config.xml file from this new SDK, I see the target-player attribute is set to 10.2. Is there a bug in burrito that would fail for that value to be used?No. That should work. Builder also reads the minimum value from flex-config.xml.
Just to check - you added this as a new SDK in Preferences -> Flash Builder -> Installed Flex SDKs and either made that the default SDK or changed the project to use the new SDK, right? -
A version attribute is required, but this version of the Weblogic Server
Hello,
I am seeing below error in my weblogic server logs couple of times in a day. I have gone through couple of blogs and seems this error is related to weblogic patch.
Could someone please help me understand what exactly this error represent to and what could be impact because of this. So far we dont see any issue in our development enviroment but want to fix this error.
we are using WLS 10.3.5
Error :-
<Feb 7, 2013 1:03:03 PM EST> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in
Oracle/Middleware/user_projects/domains/osb_domain/sbgen/_ALSB_1360084990664.ear/META-INF/application.xml. A version attribute is required, but this
version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE
version.>Yes. It is a bug!!!
Apply the patch for bug 11720907.
1. Download the patch
Sign in in My Oracle Support. Choose Patches & Updates
Type 11720907 in textfield 'Patche Name or Number'
This is the path:
Patch 11720907: SU Patch [2IE6]: <A VERSION ATTRIBUTE WAS NOT FOUND IN ELEMENT PERSISTENCE ..>
2. Appy the path using Smart Update
Maybe you are looking for
-
Hi Gurus, here i hav some complication for displaying data in output.In output I have to show characteristics(ysd-characteristics,,,, ysd is a customized tablehaving fields vbeln, matnr, posnr, characteristics......) of material with respect to sales
-
i/m receiving this message, but i do not understand what to do, or what means. Can anybody help me, please?
-
How to get ESB's runtime?
How to get exact ESB's runtime,when i replicate data in one table on one database to table on another database. thank you advance! lemon...
-
Map 0MATERIAL to ZMATERIAL in Update Rules
Hi all, I have two separate InfoCubes for two different Regions. And because the both regions have overlapping Materials, I am asked to create a ZMATERIAL for the new region (Different Source System).I cannot compound 0MATERIAL to Source System since
-
Transferring my data from an old user account to my new one. I tried exporting iCal as an archive, however when I try importing it in my new account, I get this error message. Is there any other way of moving my calendar data across?