|
Theoratically it should work. Only thing it will respond to only calls comming from local host.
What is the error or situation you are facing when you try to do the same from cassini ?
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
I found the solution.
Asp.NET development server handles soapextensions just fine.
its just that the "test page" where you can try your webservice does not call the service using soap, its a normal http post.
and thus, the soap extensions does not get triggered..
calling the service from client code triggered the extension just fine
*ashamed*
|
|
|
|
|
Hi,
I need help for a stupid question..
I want to cicle this:
DropDownList s = new DropDownList();
And so i can't use the same name for more than one DDL..
I thought to use this:
Random i= new Random();
string s = i.ToString();
DropDownList s = new DropDownList();
but obviously it all ends in an error cause s was assigned before as string...
Suggestions??
|
|
|
|
|
What you ae thinking is to dinamically create s ?
That is a wrong way if you want to create dynamic dropdownlist.
It is not the s(That is just a pointer to the newly created object) but id that diffrentiates the dropdownlist in the runtime
so give them dinamic id's
Eg:
Random i= new Random();
DropDownList s = new DropDownList();
s.Id = i.ToString();
How about that.
Thanks
Laddie
Kindly rate if the answer was helpful
modified on Monday, March 31, 2008 6:09 AM
|
|
|
|
|
Yessss
Thanks, that's perfect!
|
|
|
|
|
I have a xml file in which there is tag of IMAGE_DATA that contain the image data in decimal formate. I am tring to read the IMAGE_DATA and write it in a new file to create an image. But when i write the data in .jpg file, it does not create am image.
please help me.
Regards,
Irfan Ali
Irfan Ali
|
|
|
|
|
Then either it's not an image in JPEG format, or you are doing something wrong when you create it.
What is your code for writing the file, and what is the first few bytes of the data?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Here is the code. Please take a look.
byte intnum;
string hexnum;
string s;
s = "0xFFD8FFE000104A46494600010101013101310000FFDB004300050304040403050"
FileStream fs = new FileStream(@"F:\\users\irfan.ali\\Practice\\HotelImage.jpg", FileMode.Create);
for (int i = 1; i <= s.Length; i++)
{
hexnum = s.Substring(i,2);
intnum = Convert.ToByte("&H" + hexnum);
fs.WriteByte(intnum);
}
Irfan Ali
|
|
|
|
|
No wonder that doesn't work...
You have to skip the first two characters, as that is the hexadecimal prefix. If it's not present, you should start from zero, not from one.
You are decoding two characters at a time, but you are only advancing the counter by one. That means that you first decode "FF", then "FD", then "D8", then "8F", and so on.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
hi every one
i want to create the shopping cart with xml can anyone have any idea about how to create it
|
|
|
|
|
a shopping cart with Xml? nothing else? Are you in marketing by any chance?
|
|
|
|
|
I am using SmtpMail for sending email. I gave my emailid as "to" and "from" address. Eventhough it is showing a success message, when I open my Inbox, it is not there. Why?
Thanks in advance.
|
|
|
|
|
did u check in SPAM Folder ?
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
Have you configures your SMTP correctly ?. If yes check your SMTP logs to see if the mail has been actually sent.
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
|
In your IIS. Go to SMTP > Right Click > [Tab] General > Check Enable logging is Enabled > Properties
In that one log file directory
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
|
You are trying to send the mail from ASP.NET itself right ?.Sorry i have no idea how to check the SMTP in Apache.
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Hello
Do you know any way to generate asp.net page on the fly? On the fly means when user goes to page like this www.test.com/Survey it will load data from database for Survey...
I've been using redirection on the 404 error in my webconfig and then I parse aspxerrorpath to see what user want to access. But this thing works on my IIS from VS and not on the webhosts I used (bizhost.com, quantasoft.eu)
Do you know any other way how to handle that? Ah and I dont want to use query string (www.test.com/generator.aspx?id=Survey)
Below is part of my web.config:
<code> <customerrors mode="On" defaultredirect="GenericErrorPage.htm">
<error statuscode="404" redirect="Survey.aspx" />
</customerrors></code>
<div class="ForumMod">modified on Monday, March 31, 2008 3:57 AM</div>
|
|
|
|
|
|
|
Hello!
With CR 2008 came a number of new exportformats, such as .txt. My problem is these new formats aren´t showing in the CrystalreportsViewer when one click "Export this report".
Does anyone else have this problem or know of a solution?
|
|
|
|
|
Hi all,
How to bind datatable to report viewer dynamically based on users search criteria using c#.......
Ash
|
|
|
|
|
ReportDocument1.Database.Tables[0].SetDataSource(YourDataTableHere);
CrystalReportViewer1.ReportSource = ReportDocument1;
modified on Monday, March 31, 2008 4:09 AM
|
|
|
|
|
Hello Friends...
In my application i have to generate reports using PUSH Model.I have used the following code in my app.
public void BindReport()
{
SqlConnection myConnection = new SqlConnection();
myConnection.ConnectionString = "server=.;database=Test;uid=sa;pwd=test; ";
SqlCommand MyCommand = new SqlCommand();
MyCommand.Connection = myConnection;
MyCommand.CommandText = "Select * from EmployeeMaster";
MyCommand.CommandType = CommandType.Text;
SqlDataAdapter MyDA = new SqlDataAdapter();
MyDA.SelectCommand = MyCommand;
DataSet2 myDS = new DataSet2();
//This is our DataSet created at Design Time
MyDA.Fill(myDS, "EmployeeMaster");
// CrystalReport1 oRpt = new CrystalReport1();
// This is the Crystal Report file created at Design Time
//oRpt.SetDataSource(myDS);
// Set the SetDataSource property of the Report to the Dataset
CrystalReportViewer1.ReportSource = oRpt;
// Set the Crystal Report Viewer's property to the oRpt Report object that we created
}
But the problem is that i am not able to access the report that i have created at the design time.
Thats the main problem that i am having plase help me out.......
Deepak Nigam
|
|
|
|