C# - Executing Program On Server-side?

Jul 14, 2010

I have an executable file that works fine by hand locally. It converts a file to another new file by some parameters. I'm using ASP.Net and that executable installed win2003 server sp2. I can use it from local but, I can't execute the program from a web browser using system.diagnosting.process. When I use that, I can see the process in task manager with user name "NETWORK SERVICE", and it won't dissappear without ending process by hand and won't work. I tried impersonation, try as a web service, edited local policies, apply all privilages, etc...

View 1 Replies


Similar Messages:

How To Access Server Side Code From Client Program

Aug 7, 2010

How can I access server side functions from the HTML code? See the following code:

<a id="Taggloud" runat="server" class="lblTagCloud" onClick="TagOnCloud_Click">click</a>

Here I'm calling the tagonCloud_click function that's defined in server side(code behind). How can i call that function?

View 3 Replies

FadeIn / FadeOut Div Tag After Executing Some Server Side Code?

Jul 23, 2010

Here is my code

<div id="AuthenticateUser" runat="server" style="display:block" >
//login control
<asp:button id="ValidateUser" ... />
</div>
<div id="ForceToChangePassword" runat="server" style="display:none" >
//reset password control
</div>

On click of "ValidateUser" button, I do check whether user is valid or not. Based on some condition I do need hide "AuthenticateUser" div tag and show "ForceToChangePassword" div tag. I really like the jQuery fadeIn/fadeOut effect. I can easily do that on client side. But how can I give that effect after executing server side code?

I tried to call javascript method from code behind that method has a fadeIn/fadeOut logic but it seems like that javaScript method is never been called.

View 4 Replies

HTML Directive Symbols <%# Or <%= Etc For Executing Code On The Server Side?

Feb 8, 2011

Was trying to reference this the other day, and I've heard them called several things.They are intrinsically hard to google for. Does this syntax have a proper name?

View 6 Replies

Web Forms :: RadioButtons Executing Server-side Code On Every Postback?

Jun 1, 2010

I have a user control with a dozen radion buttons in it.Every pair of radio buttons execute a Sub on server side.All of the radio buttons have the autopostback set to true.There is a public Sub of the usercontrol that gets called only once by the page and loads the data setting the radio buttons to checked or not checked.The problem is, that once a radio button is set, it will execute it's server side code on every postback even if the postback is caused by another control on the usercontrol or even another control on the page. So if all the radiobutton pairs are set and a postback is caused, there will be six server side Sub executing! Casting the sender in each of those Subs gives back the radiobutton that is checked at that point, so it's if on every postback the event is fired for each checked radiobutton.

View 2 Replies

Web Forms :: Server Side Event Of UserControl Not Executing While Rendering In Page?

Aug 30, 2010

Server side event of UserControl not executing while rendering in Page

View 3 Replies

Web Forms :: Can Execute Server Side Button Event After Executing Javascript Code

Mar 10, 2010

I have buttion on web page and client side java script ConfirmResetPassword() for confirmation message which return true or false

[Code]....
if (confirm("Are you sure you want to reset password of this user?")) {
return true;
}
return false;
}
}with Telerik AjaxSetting[Code]....
<input type="button" name="ctl00$ContentPlaceHolder1$btnResetPassword" value="Reset Password" onclick="javascript:return ConfirmResetPassword();__doPostBack('ctl00$ContentPlaceHolder1$btnResetPassword','')" id="ctl00_ContentPlaceHolder1_btnResetPassword"
/> ?

View 5 Replies

SQL Server :: Error While Executing A Dynamic Insert Sql Storedprocedure In Sql Server 2005?

Jan 4, 2011

assist me rectifying the error in following sql stored procedure?

Sql Query:- [Code]....

I have created the above Stored Procedure for inserting datas into any table but while I execute the above proceedure its throwing some error.

View 4 Replies

Server Side - Themes Won't Work When Using Server Side Tags

Apr 8, 2010

The code for the asp.net page is:

<div class="facebox_content">
<% if (CurrentUser.Role == "Free")
{
%>
<table cellpadding="0" cellspacing="0" style="border-collapse:collapse;width:380px;">
<tr>
<td>

User Name :

</td>
<td>

Membership Cost :

</td>
</tr>
<tr>
<td style="width:190px;">
<asp:TextBox ID="txtUserName" Enabled="false" runat="server" Text="<%= CurrentUser.Name %>"/>
</td>
<td style="width:190px;">
<asp:TextBox ID="txtCost" Enabled="false" runat="server" Text="2000"/>
</td>.........

View 1 Replies

Launch Program On Server Through Web?

Feb 7, 2011

so I'm in a strange development situation and am a noob at the bits I'm tasked with - just to make life fun and interesting.

My fellow developer has written programs in VB.Net and placed them on the server. He wants a web front end that users can click a link and have that run the program on the server.

Sounds simple, but I've spent days searching the internet and found only two solutions one of which looks sketchy on security and the other is so complex I'm not sure how to make it fit my local variables.

I'm writing ASP.Net on an MVC Framework using C#.

So, in terms for the simple minded to understand, is there a way to do this? Are there links which I used the wrong keywords and completely missed?

View 2 Replies

VS 2010 - Web Server That Can Interact With TCP Program

Aug 25, 2011

So I'm completely new to web development, but I hope to reach a level of knowledge on how to build a Web Server that can interact with my TCP program, like a chatbox basically. How can I achieve this and where should I start learning?

View 3 Replies

Configuration :: Trying To Make A Program Work With Our IIS Server?

Feb 2, 2011

I have been trying to make a program work with our IIS server, but it's run into a tricky problem that's been driving me nuts. When I debug the program, everything works perfectly; users are able to log in and they see the appropriate content according to the user's role. When logging in from a remote location, however, the program seems to have trouble finding the users' roles. Users can log in, but they cannot see any role-specific information, so they are stuck on the login page forever.

I tried adding a line of code to find the roles of a particular user. In debug mode, it returned the roles correctly, but when accessed through the server, it returned an empty array that caused my site to crash.

View 1 Replies

SQL Server :: Backup And Restore Database While Using The Program

Aug 29, 2010

I am creating a vb 2010 application and I am using sql server express as my database. I need to create a backup and restore feature for the user so that the user can backup or restore the database while using the program. I have nop clue where to start.

View 1 Replies

SQL Server :: How To Develope A Desktop Program For A Customer

Jan 12, 2011

I have developed a desktop program for a customer.I have used SQL Server on my ofiice while i am developing.Now its time to install the program my customer's office,Which SQL edition i should use? (At least)Only usage for them about SQL is: Backup and storing datas.

View 4 Replies

Visual Studio :: 2010 - Finding Assemblies In Program Files Vs Program Files X86?

Jul 3, 2010

I have a VS2010 project that I want to move back and forth between an x86 and an x64 machine. On the x86 machine, several assemblies are located in Program Files, and the path of the assemblies are shown as c:Program Files...... When I move this project to the x64 machine, the same assemblies are located in C:Program Files (x86).... Is there a way that I can confugure VS2010 so I don't have to manually change the path when I move the project from one machine to another?

View 1 Replies

Web Forms :: How Do You Write To A Client-side Control (text Box) With Server-side Code

Jan 6, 2010

If I have a standard HTML textbox

[Code]....

but got a readonly error.

View 10 Replies

Access Server Side Variable On Client Side And Vice Versa And JavaScript?

Dec 9, 2010

I have a requirement of adding server side variables in client side and other way round. Because I need to set a value from client side using javascript and access the same in code behind page.

I have to use C#.Net and JavaScript.

View 2 Replies

Jquery - Options For Page With Matching Client-side And Server-side Markup?

Oct 17, 2010

Suppose I'm building a StackOverflow clone using webforms ASP.NET and jQuery. The Question page has a question, several answers, and comments under each. Requirements:Users can post new answers and comments, and edit existing ones, without postbacks. No UpdatePanels; the AJAX calls retrieve just the JSON they need, not HTML fragments. The page loads with all existing answers and comments in place (no javascript needs to run to read the page).

What I'm trying to figure out is how to do this without having to maintain two sets of markup (one that's bound on the client using some form of jQuery templating, and one that's bound on the server using traditional WebForms).

View 7 Replies

Ajax - Listbox Items Client Side Reordering Not Reflected In Server Side?

Jan 5, 2010

I reordered some items in a listbox using Javascript. When I read the items in a postback in the code behind (ASP.NET), the order is in the original order. How do I get the same order as shown in the screen after Javascript manipulation?

View 3 Replies

AJAX :: To Know Error Like Username Or Password Is Incorrect On Client Side Instead Server Side?

Oct 4, 2010

I m using site login Control in my login.ascx file and disaplaying login control in Div so if there is login link in page and i click on that then Login Div will popup which is site login.May i know how can handle error like username or password is incorrect on client side instead server side?

View 6 Replies

Print The Aspx Page Either Using Server Side Or Client Side Approach?

Feb 9, 2011

I have to implement the print functionality on aspx page like on click of print image icon user will be able to get the print out of aspx page .aspx page will contain the server controls like textboxes , Gridview etc which one approach will be the best server side or client side printing ?

View 4 Replies

Web Forms :: Setting Hidden Value Server Side And Accessing On Client Side?

Jul 19, 2010

I am trying to set a hidden type value to x on Server Side and then access it with Javascript. I have tried multiple ways to accomplish this.

At the basic level this is what I am trying to do.

Aspx page
<asp:HiddenField ID="HidRowNumber" runat="server" />
CS Page
In IsPostBack
HidRowNumber.Value = EFileRowNumber.Text;
Javscript
var status = document.getElementById("<%= HidRowNumber.ClientID %>").value;

When I am debugin it say it HidRowNumber's Value has changed to x but when I access the value with JS it always returns ''.

View 23 Replies

Web Forms :: How To Unescape( Escaped HTML) By Server Side Not By Client Side

Aug 7, 2010

i can use escape() and unescape() functions by Client side easily, but the problem when i have use escape() method for peice of HTML , then i dont know how to unescape this piece of HTMl By Server Side not By Client Side. how i can unescape (escapped HTML) by server side?

View 2 Replies

Web Forms :: Retrieve Value If Server Side Control Value Is Updated On Client Side

Oct 26, 2010

I have a hidden variable and its value is being updated using javascript(client side) which I make a call from server side code. After making the call I am not able to retrieve the updated value from Server side variable. I went through this forum [URL] but not able find a way how to implement functionality with IFRAME. I am trying to call the client side code and retrieve the updated value from server side in page_load event.

View 5 Replies

VS 2005 AJax Tab Container - Enable The Server Side Not Client Side

Feb 4, 2010

I have set the ajax tabs disable on form load. ON button click, I want to enable the tab server side,not client side.

protected void btnEnableCostPetroleumTab_Click(object sender, EventArgs e)
{
TabContainer2.Tabs[0].Enabled = true;
}

But its not enabling the tab?

View 12 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved