|
Hi All,
I want to install windows service on server.
Is there any tool use for running and installing the service?
On the local machine It works Successfully Now I want to install on the server.
Thanks
Sjs4u
|
|
|
|
|
sjs4u wrote: On the local machine It works Successfully Now I want to install on the server.
How did you install it local system ? you have to do the same thing also in server.
sjs4u wrote: Is there any tool use for running and installing the service?
Go to Visual Studio Command Prompt > Run command : installutil <your servicename.exe=""></your>
BTW : It's not a ASP.NET Question.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
I have a standard datagrid populated from an access database. When i click on edit the datagrid rows are exposed as text boxes and expand across the whole page, is there any easy way to stop this from happening or to limit the size of each tect box while updating
|
|
|
|
|
Use ControlStyle-Width for edit mode width of the boundfield
Use ItemStyle-Width for display mode width of the boundfield
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Hi,
We are using localization in asp.net with resource files.
We have a default.resx resource file for a default.aspx page and a default.aspx.hi-in.resx to support hindi.
The problem is that when we type in hindi in the resource file we see junk characters.
So do we have to install any language pack to the .net solutions in order to support hindi language or fonts.
And also how to load data dynamically to drop down list using resource files for multi-lingual site.
thanks,
sabiha.
|
|
|
|
|
Dear Friends,
I have a web application running from 10 different places. Application Server is their local server. But Database server is same for all. There is only one login ID created for all users to access pages (Form Based Authentication).
Will be any Problem in Sessions ?
Because on my system I logged with that user name. I have used Login View to show login status. I have written logged in Template and Anonymous user Template. When I login it is showing correcty with my name. After some time it is displaying as Guest (login). But I have not logged out. I dont know why it showing so....
Please help me out....
Nayak
|
|
|
|
|
It's more likely that your session has simply died.
Far as I'm concerned, the default timeout for sessions is 10 minutes (or is it 20? I'm not sure).
So even though you have not logged out manually, I am sure you have some facilities in place to do that for you, if the login session is dead.
Now ask yourself how long you had been logged in without performing any postbacks on the page to keep the session alive and see if it exceeded 10 minutes.
... and don't say your query is urgent. It might be to you, but it's totally irrelevant to others.
var question = (_2b || !(_2b));
|
|
|
|
|
Hi,
You are right. But in Web.Config file I have mentioned this line.
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="UseCookies" timeout="1400" />
Still what could be the problem ?
Ramesh Sambari
|
|
|
|
|
It might be because someone else might be logging out , and hence the session object is disposed ..
So you are showed as guest then . .
|
|
|
|
|
Hi,
I have checked this Site on my System. I am the only person logged in. No other user logged in. Even I mentioned the session time to 1400. Still how it is expiring ?
Ramesh Sambari
|
|
|
|
|
You need to check every events in which you are trying to kill the session..
You might be unknowingly calling such events..
Time out is not the problem...
|
|
|
|
|
Hi,
Ya..In Application_Exit event I wrote Session.Abondon() method. After you told, I have removed that. And no more session abondons. But still same problem.
Please help me out...
Ramesh Sambari
|
|
|
|
|
|
Seriously, you post is nothing but a spam for me. Please read forum guideline, and know how to ask good question.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
hi,
first of all let me know what is ur question .
cheers
venu gopal reddy.......
|
|
|
|
|
Was there a purpose in posting this crap?
|
|
|
|
|
The funny thing is, you keep asking idiotic questions, but you never answer anyone who replies. Please stop it, and go away. If you're not trolling, then you're so stupid that I don't know how you manage to use a keyboard.
Or, you could try to buy some books, do some research, learn how to use google, ask intelligent questions and respond when people try to help you.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
I want to create glossary in my application,in that from A-Z,am generating link buttons dynamically,on particular alphabet click,i have to list down statring with that letter.
How to rise that event..
Any alternative way to create glossary,user may add new glossary items too..
Asp.net ,C#
Thanks in advance
|
|
|
|
|
sudheera p wrote: I want to create glossary in my application,in that from A-Z,am generating link buttons dynamically
When you are creating those control?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
You can create one event of linklabelclickevent() and assign it to every linkbutton you are creating at the time of declaration..
Its something like this;
linkbutton lnk1 = new linkbutton();
lnk1.Click += new EventHandler("your old click event");
this will call the same event when any of the button is clicked.
You might be wondering that whats the meaning to do such a thing. Hw would you identify which key is pressed..
For that you need to check the sender object passed in the event.
This sender object contains the information of the object which fired this event.
Then you need to get the char with the help of this object..
It is somewhat like this.
string val = ((LinkButton)sender).Text;
I might be somewhat wrong in syntx but its something like this. .
|
|
|
|
|
The below code is i tryed for ajax auto complete on my site..
plz say if their is any bugs...
default2.aspx
]]>
<title>
function IAmSelected(source, eventArgs) {
alert(" Key : " + eventArgs.get_text() + " Value : " + eventArgs.get_value());
}
<asp:scriptmanager id="ScriptManager1" runat="server" xmlns:asp="#unknown">
<asp:servicereference path="~/WebService.asmx">
<asp:textbox id="TextBox1" runat="server" xmlns:asp="#unknown">
<ajaxtoolkit:autocompleteextender id="AutoCompleteExtender1" runat="server" önclientitemselected="IAmSelected" xmlns:ajaxtoolkit="#unknown">
BehaviorID="AutoCompleteEx" TargetControlID="TextBox1" ServicePath="WebService.asmx" MinimumPrefixLength="3" EnableCaching="true" ServiceMethod="GetCompletionList">
autocomplete.cs
using System;
using System.Collections.Generic;
using System.Web.Services;
using System.Data;
using System.Data.SqlClient;
using System.Web.Script.Services;
///
/// Summary description for WebService
///
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
// [System.Web.Script.Services.ScriptService]
public class WebService : System.Web.Services.WebService
{
public WebService () {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[WebMethod]
public string[] GetCompletionList(string prefixText)
{
{
string sql = "select Aname From Pincode Where Aname like @prefixText";
SqlDataAdapter da = new SqlDataAdapter(sql, "Server=sql346.mysite4now.com;uid=aitts_85478;password=aitts;database=aitts_85478");
da.SelectCommand.Parameters.Add("@prefixText", SqlDbType.VarChar, 50).Value = prefixText + "%";
DataTable dt = new DataTable();
da.Fill(dt);
// List items = new List();
string[] items = new string[dt.Rows.Count];
int i = 0;
foreach (DataRow dr in dt.Rows)
{
items.SetValue(dr["Aname"].ToString(), i);
//items.Add(dr["Location_Name"].ToString());
i++;
}
// return items.ToArray();
return items;
}
}
}
webservice.asmx
]]>
its not working for me....
|
|
|
|
|
Hello,
i have created one user control in windows. i have just place one control on form.
Namespace devhood
Public Class myControl
End Class
End Namespace
and now i want to use it in web page.
so in that i am writing code give below but it does not display control on page.
<object id="Dicom" height="300" width="400">
classid="http:WindowsControlLibrary1.dll#WindowsControlLibrary1.myControl"
name="WinWebBarGraph1" VIEWASTEXT>
<param name="Backcolor" value="lightblue" />
can anyone help?
Thanks
modified on Saturday, March 21, 2009 1:45 AM
|
|
|
|
|
Hi,
I am new to PHP,I am using mysql database.I want to display fields in html textboxes by retrieving data from mysql database.
Thanks in advance.
|
|
|
|
|
Hi php person
First off there is a php forum and this is an ASP.net forum.
Second you need to connect to the database and then retrieve the information using stored procs and then use php to display the info. More info can be found on various websites with examples!
Regards
|
|
|
|
|
sudheera p wrote: I am new to PHP
This is ASP.NET Forum. It may help you if you post it in web development forum.
cheers,
Abhijit
CodeProject MVP
|
|
|
|