|
Hi all, I writing my first web service but I getting an error when I try to connect to the database.
System.Web.Services.Protocols.SoapException : Server was unable to process request. --> System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the login process. (provider:Shared Memory Provider, error: 0 - No process is on the other end of the pipe)
What does that mean?
He who laughs last is a bit on the slow side
|
|
|
|
|
how can i send and receive sms from my application.
Thks
Yesuprakash
|
|
|
|
|
you need to buy from any service provider. they will give you an API along with username and password. You just have to call the API by passing required arguments.
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
can i know some famous service providers
|
|
|
|
|
I used this service provider in my last project. If you want you can use this also.
Try some 5 free sms on this site
http://www.intellisms.co.uk/[^]
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
i need to know the functionality and coding for the process.
|
|
|
|
|
No, Its a dll, You can give reference to that dll, then call a particular method to send SMS. Its very simple to use.
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
for my company i need to send and receive sms to and from our clients.
how can i develop an application for that in asp.net.
|
|
|
|
|
Client has to buy that service from service provider. You can buy some 50 or 100 SMS for testing then you can force the client to buy to enable the service.
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
Hi,
i have a createUserwizard control in which i also collect some Personalisation information stored using Profile.
Profile.FirstName = Firstname.Text;
Profile.LastName = Lastname.Text;
Profile.Age = Age.Text;
Profile.Save();
then later in my profile page after user has been authenticated i am trying to show the profile properties
FN.Text = Profile.FirstName;
LN.Text = Profile.LastName;
ageIs.Text = Profile.Age;
Now the problem is the profile properties are being stored in database(which i can see in sqlserver2005)
but when i try to diplay profile properties in my Profile page data is not being retrieved from the database .
I can not understand why??
yojimbo
|
|
|
|
|
|
This is nice. Will you please tell me more usability of this control and how will you manage the channels.
|
|
|
|
|
Hi
I want to display webparts based on a users role (or login status). If I put a webpart inside a LoginView, I lose the titles. So...I want multiple webparts on a page, some displayed whether the user is not in (anonymous login view) , some for all logged in users (loggedInView) and some dependant on role (RoleViews). Should I place the webpart zone inside the login view, or the loginviews inside the webpartzone.
I can't find any links anywhere which shows webparts being used with login views.
Cheers
Malc
|
|
|
|
|
Has anyone ever deployed to a IIS Cluster? I have a cluster of two machines. I assume you deploy to each machine but I was wodering If I could deploy to the virtual IP.
|
|
|
|
|
How do you call a javascript function when a button is clicked? I know you can use the OnClick event, but that will fire up everytime the button is clicked. I need to call the function only when certain criteria are met.
For example
private void btnSave_Click(object sender, System.EventArgs e)
{
if (flag == true)
{
//Call Javascript function
}
}
Thanks.
|
|
|
|
|
You can't call a javascript function from the server, all you can do is rerender the page and insert script that calls it. Is flag calculated based on client side state ? If so, use a custom validator. If it isn't, then just insert client side variables that have these values, so you can validate them on the client, and still avoid a postback.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
You can call javascript by just printing the script on page
as below
private void btnSave_Click(object sender, System.EventArgs e)
{
if (flag == true)
{
<br />
reposne.write("javascript:alert('hi');")<br />
}
}
|
|
|
|
|
Hi all.
Is there any who know how I can disable Saturdays and Sunday in the ASP.NET Web Calendar control?
Cheers,
Marker
|
|
|
|
|
Here it is ..
In Calendar1_DayRender event just use the following code.
if(e.Day.IsWeekend)
e.Day.IsSelectable=false;
|
|
|
|
|
When designing classes is it a best practice to do exception handling within class or should it be taken care of at the UI level?
In other words if my class is in ClassLibrary project should I check and throw exceptions there like this:
public MyClass
{
public MyClass(){...}
GetSomeDataById(string id)
{
try
{
...
}
Catch
{ }
finallay
{
}
}
}
--------------------------------------------------------------
MyClass myClass = new MyClass("whatever");
string someData = myClass.GetSomeDataGyId("10");
if(String.IsNullOrEmply(someData)
{
}
or should I do something like this:
public MyClass
{
public MyClass(){...}
GetSomeDataById(string id)
{
....
}
}
-------------------------------------------------
try
{
MyClass myClass = new MyClass("whatever");
string someData = myClass.GetSomeDataGyId("10");
if(String.IsNullOrEmply(someData)
{
}
}
catch Exception(e)
{
}
|
|
|
|
|
If you are using the class from more than one location and the messages might be different for different locations then you should throw the exception from the class.
You should log the exact location of exception in log file so that you must know the origin of the exception.
I hope it will solve your problem.
Good luck.
|
|
|
|
|
I am looking for some good reference material, sample code for GridView/Sqldatasource with CODE BEHIND model. I need to do SELECT, INSERT,UPDATE and Delete operations on DataGridView.
I am comfortable with inline GrdidataView/SQLDatasource.
I would appreciate your help/inputs
Thanks
Amit
|
|
|
|
|
|
I recently upgrade to .Net 2005 and am utilizing the CrystalReportViewer control in my asp.net web application. I am able to run the report and display it, however the icons to print and export do not appear. They simply get the "red x" when it can't find the image? When I click on the export or print area, it does not work and returns "error on page".
Could anybody help me with this?
Thanks
|
|
|
|