i want to convert the any video file into .flv format.. it is worked local server perfectly.. but it is not worked in web server... security exception will be displayed.. i used ffmpeg.exe tool only... pls help me
Process ffmpeg; // creating process
video = Page.MapPath("movie.wmv");
mpg = Page.MapPath("") + "\\video.flv"; // thumb name with path !
ffmpeg = new Process();
ffmpeg.StartInfo.Arguments = "-i " + video + " -f flv -vcodec flv -qscale 10 -s 480x360 -ar 44100 -acodec libmp3lame " + mpg; // arguments !
ffmpeg.StartInfo.FileName = Page.MapPath("ffmpeg.exe");
i receive this error what is this error tell me pls
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
I guess the exception already told you what the problem is
"The application attempted to perform an operation not allowed by the security policy"
It seems you are using shared hosting and such hosting force some policies to insure the safety of their servers
So contact them and ask them how far can they go with you in the policies thing, or u might need to have your own dedicated server.
I have a problem with a marquee on my master page.Whenever a postback occured(without navigating to another page) on the master page the marquee disappear.Otherwise it works fine.Do any one know what could cause this problem and how to solve it?.
In the master page inside a DIV.
The marquee contains a PlaceHolder which I add to it literals in code-behind of the master page.
I observed now that the literal control(which contains the data) are added if not is post back.I will try to remove if(!IsPostBack) and then tell you about the result.
Hi , i have two table in sql . I have to insert data from Ist table to IInd table . in Ist table there is only two field( id , serial) ,
In IInd table also three field(id , serail1 , serial2)
now i want to insert data from Ist table to IInd table , but in IInd table data has to b entered in particular manner .
Ist table id serial
(1, 001) (2, 002)(3, 003)(4, 004)(5, 005)(6, 006)(7, 007)
(8, 008)(9, 009)(10, 0010)(11, 0011)(12, 0012)(13, 0013)(14, 0014)(15, 0015)(16, 0016)(17, 0017)(18, 0018)(19, 0019)(20, 0020)
this data enterd in IInd table with this manner
ihis loop worked like that (1>1>2>2>2>3>4>5)
If you just specify how the data should be combined into the second table, it's easy enough to insert it. Example:
insert into SecondTable (serial1, serial2)
select f1.serial, f2.serial
from FirstTable f1
inner join FirstTable f2 on f2.something = f1.something
where f1.something = something and f2.something = something
However, it's not really clear how you mean that the data should be combined into what you show.
Despite everything, the person most likely to be fooling you next is yourself.
I have a excel files in store data. some cells are fill up and some cells are blank. when excel to import grid view and save data base. that time if cell is blank then store the in database but i want to store null value.
how can i add new row to the gridview without reload the old already created rows,because i have a gridview with 2 templete column one of them are dropdownlist ,when i create new row with the same critera the dropdown list in the first row reload from start and dont have the last selected value
so how can i create new row and the first row keep(stored) the value in it
how can i do that ?
thanks for advice
Where we can use HTML controls?please give me some example.I think in order form that a customer want to see a preview of her order.is it correct?
There are no more differece between htmlControl and WebControl.The main defference is that webControls have default runat="server" while htmlControls do not have.
so that htmlControls are not accessible in code behind page but if you set runat="server" property of that control then it work like as webcontrol but with its own property values
you use input text and you set runat="server" to it then you can access the value of this control in code behind side by using "Value" property ot "Text" like as textbox
please don't forget to vote on the post that helped you.
I have an Authentication part in my website (which is written in .net) in my local system every thing is ok but when I move it to our server, when some one authenticates every thing goes well as he is authenticated and no error is thrown but he is not authenticated and he redirects to login page as he is anonymous! I though may it is because of the server time setting so the cookie is expired but it was not! at last after too much trying I decided to check it on another server and this time it worked correctly!! so I think there is some settings in IIS which cause this problem but as I have searched by now I found nothing! every help or suggestion would be very helpfull,
thanks in advanced.
Last Visit: 31-Dec-99 18:00 Last Update: 3-Oct-23 10:21