|
Hi Team,
I have a functional requirement in C#.net to develope a plug-ins and implement in outlook.
Could any body help me out from this scenario from high level or code level context.
Thanks in Advance.
Regards
Tarun Singh
Sr. Software Engineer.
mailto:tksingh@zenta.com
|
|
|
|
|
codeproject_Tarun wrote: I have a functional requirement in C#.net to develope a plug-ins and implement in outlook.
This[^] was not too difficult.
|
|
|
|
|
could you provide the way of technical approach toward achieve this.
Regards
Tarun Singh
Sr. Software Engineer.
mailto:tksingh@zenta.com
|
|
|
|
|
codeproject_Tarun wrote: could you provide the way of technical approach toward achieve this.
Well I gave you a link to a number of examples showing what you asked for, so I don't know what more you expect.
|
|
|
|
|
Hi.
I have 2 applications:
One is simple windows application and the other is web service.
They are both on the same machine, windows server 2003 - SP2.
exactly the same code in both:
X509Certificate Cert = X509Certificate.CreateFromCertFile("...some path\\export.cer");
HttpWebRequest Request = (HttpWebRequest)WebRequest.Create("https://...some URL...");
Request.ClientCertificates.Add(Cert);
Request.UserAgent = "Client Cert Sample";
Request.ProtocolVersion = HttpVersion.Version11;
Request.KeepAlive = true;
Request.Method = WebRequestMethods.Http.Post;
..
byte[] postBytes = Encoding.ASCII.GetBytes(strRequest);
System.IO.Stream requestStream = Request.GetRequestStream();
requestStream.Write(postBytes, 0, postBytes.Length);
requestStream.Close();
..
HttpWebResponse Response = (HttpWebResponse)Request.GetResponse();
In the windows application (running under logged in user) - I get response and all OK
In the web service (running under NETWORK SERVICE) - I get errors:
{"The underlying connection was closed: An unexpected error occurred on a send."}
{"Authentication failed because the remote party has closed the transport stream."}
Checking with the other side (who gets my requests) it seems like when I'm sending from the windows application they get the request with the certificate and in the case of web service they get the request without the certificate.
In the machine that sends the both requests, in the certificate store, the certificates are stored in: "Certificates (Local Computer) --> Personal --> Certificates".
Any ideas why is one sending the certificate and the other doesn't?
|
|
|
|
|
It depends on what account your web service is configured to run. Since you have stored your certificates in the personal store (which I believe is unique for each account), the account under which your web service runs does not find the certificate or does not have the appropriate access permissions to read it.
|
|
|
|
|
from emptbl: only name is vimla and his mobile number
|
|
|
|
|
What does this mean ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
SELECT name, mobile FROM emptbl WHERE (name = 'Vimla')
|
|
|
|
|
How on earth did you manage to interpret that?
|
|
|
|
|
it happens
|
|
|
|
|
|
On one machine [A] in local network there is SQL server 2005 express installed.
The connection string is:
"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\dbs\database.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
I need to connect to that db from another machine [B] on the local network.
I changed . to SQL server machine IP. But got Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' error
I also tried to add
User Id=myUserName;Password=myPassword but have the same error with user name and password of the user on machine [A]
How to provide access from machine [B] to the SQL server on machine [A]
I'm coding C# service application, not ASP.NET site
Чесноков
|
|
|
|
|
Message Closed
modified 23-Nov-14 7:19am.
|
|
|
|
|
Thank you for the link, I knew it and used that samples but without success.
Have you tried that connection between servers yourself?
Чесноков
|
|
|
|
|
Try This:
"Data Source=.\SQLEXPRESS;AttachDbFilename=\\[A]IP\[C]SharingLabel\dbs\database.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
EX:
"Data Source=.\SQLEXPRESS;AttachDbFilename=\\192.168.0.1\sanforjackass(C)\dbs\database.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
|
|
|
|
|
That is a nice trick to try, but it should work with user\pass items in any case
Чесноков
|
|
|
|
|
In order to use the Username and Password options in the connection string, you have to remove the "Integrated Security" option.
|
|
|
|
|
Dear Friends,
I have installed my application with .NET 2003 and crystal report 10 but still I am not able to display the out put on crystal report. When I debug it gives no error when it tries to create object of crystal report
rptAssetCondition rpt=new rptAssetCondition
Windows gives me error message IIS worker process stopped working.
I am really very upset with Windows 2008 server even I have installed everything as my development environment still I am not able to trace the error .
Your quick help will be highly appreciated.
Thansk and best regards
Murtuza Patel
|
|
|
|
|
did you check whether the IIS working process has previledge on that folder which loads the Report.
Also check whether Crystal Report component is loaded correctly. .NET 2003 is very old now(at least for 2008 Server). I never tried to work with .NET 2003 in Windows Server 2008, but I think this would be a problem of website configuration.
|
|
|
|
|
Crystal 10 is not compatible with IIS 7. I found it the hard way though. If your application cannot be upgraded to use Crystal Reports for VS2005 or VS2008, then you'll have to do a lot of wokaround. Let me know if you need more information on how to get around this.
|
|
|
|
|
hi dudes,
i developed a windows application,i put a rectangle picture as a background pic for my form,in that pic out side the rectangle is collored by red.in my form i set that color as tranparency color,so it would show only that rectangle or any other shape as a form,it works well in my own computer,but whenever i try to use it in another computer which also .net framework is installed there,that color does not hide and the transparency does not work,it shows both the rectangle and the backgroung color,what should i do?
i'm using C# in visual studio.that application is written in .net framework 2.0, thank u all for ur help.
|
|
|
|
|
Hi
I need to use the FFMPEG dll in my C# project. I didn't find any source code for FFMPEG in C#.net. I found some code in C++ with .c and .h extention file. But I want a ffmpeg source code which is developped in Visual Studio. either in Using Visual C++ language or any other language. But I want the source code which is compatable with visual studio then I can Integrate the source code with my C#.net, that i could make the ffmpeg dll and able to use it in my C#.NET PROJECT.
How can i get this. please help me by givving some suggestions.
Balaji.V
|
|
|
|
|
Message Closed
modified 23-Nov-14 7:19am.
|
|
|
|
|
Hi stancrm
Thank you very much for your reply, I got download the sharpFFMPEG and i add that project to myC#project, I am able to generate the sharpFFMPEG dlls. Now My requirement is I need to convert one video to another video format.
eg: video1.wmv to video1.flv
video2.mp4 to video2.flv
So, I will give input of one video format to SharpFFMPEG and i need to get the output of another video format. How can write code to get this by using sharpFFMPEG dll.
Is sharp FFMPEG have any methods , which converts a video to another video format.
Please help me. Thanks in advance.
Balaji.V
|
|
|
|