|
|
Close your tags properly.As i look your code,you have not closed textbox ,label,template and gridview tags
himanshu
|
|
|
|
|
plzzzzzzzzzzz read carefully mr. Himanshu..............each and every tag is closed..........plz open ur eyes
|
|
|
|
|
ankurdsharma wrote: plzzzzzzzzzzz read carefully mr. Himanshu..............each and every tag is closed..........plz open ur eyes
Also,My eyes are wide open and u need to open your mind little bit.
if you want to use template field in gridview do something like
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
<Columns>
<asp:TemplateField HeaderText="Test1">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Test2"></asp:TemplateField>
</Columns>
</asp:GridView>
himanshu
|
|
|
|
|
ankurdsharma wrote: plzzzzzzzzzzz read carefully mr. Himanshu..............each and every tag is closed
Thats a pretty dumb thing to say, considering if you read your original post carefully you cn clearly see that a bunch of asp: tags are missing their closing tag.
|
|
|
|
|
look mr j4amie..............there may be some problem...........code didnt copied in Project Code properly.....and thats not my fault...okkk......thats why u were not able to see
|
|
|
|
|
And the moron of the day goes to the guy who can't work out what a 'server tag is not well formed' error means, and who goes on to abuse people who try to give him free help. Congratulations. I suggest a career change.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Thanks Christian......bt i didnt abused anyone..........i was telling wht happend to me becoz of some website error................and one more thing.....dont find out the result by only one thread..........this kind of error can happen to u also
|
|
|
|
|
ankurdsharma wrote: <asp:templatefield>
<asp:label id="lblName" runat="server">
<%#Eval("CategoryName")%>
<asp:textbox id="txtName" runat="server">
Man where have you closed the label and template tag.
moreover,your gridview template is completely wrong.
himanshu
|
|
|
|
|
that i did man..................may be when i copied it..............its not showing......its something related to EVAL code line.........do u have any idea......eval should be in single quotes or double quotes
|
|
|
|
|
The Label,text box are not properly closed
First you should post your complete code, don't tell "its not showing...".
The Eval Code is like the below one
<asp:Label ID="lblCategoryName" runat="server"
Text='<%# Eval("CategoryName") %>' />
|
|
|
|
|
no, your code is not ended properly in so many tags....
|
|
|
|
|
hiii
i m using asp.net 2.0 using c#
i have made a application which have a form after filling that form it will send mail automatic.it was working till morning, but now it will send error
The remote certificate is invalid according to the validation procedure.
code is:
SmtpClient client = new SmtpClient();
client.DeliveryMethod = SmtpDeliveryMethod.Network;
client.EnableSsl = true;
client.Host = "smtp.gmail.com";
client.Port = 587;
System.Net.NetworkCredential credentials = new System.Net.NetworkCredential("rma.maksat@gmail.com", "******");
client.UseDefaultCredentials = false;
client.Credentials = credentials;
MailMessage msg = new MailMessage();
msg.From = new MailAddress("rma.maksat@gmail.com");
msg.To.Add(new MailAddress("prateekfgiet@gmail.com"));
msg.To.Add(new MailAddress("prateek_fgiet@yahoo.com"));
msg.To.Add(new MailAddress("prateekfgiet@live.in"));
//msg.To.Add(new MailAddress("TextBox10.Text"));
msg.Subject = "New RMA No:'" + Label3.Text + "'";
msg.IsBodyHtml = true;
msg.Body = "<html><body><b>RMA No is:</b>'" + Label3.Text + "',<br /><p><b>Srno is:</b>'" + TextBox1.Text + "',<br /><b>Product Name:</b>'" + TextBox3.Text + "',<br /><b>Problem Description:</b>'" + TextBox5.Text + "'</p>,<p><b>Company Name:</b>'" + TextBox6.Text + "',<br /><b>Contact Number:</b>'" + TextBox8.Text + "',<br /><b>Entry By:</b>'" + TextBox4.Text + "',<br /></p> </body></html>";
client.Send(msg);
please help me
thanks in advance
|
|
|
|
|
check this
http://www.codeproject.com/KB/IP/Sending_Emails_From_GMAIL.aspx
|
|
|
|
|
you posted your question again. Please post some more detailed error with Stack trace. Repeating the same question wont help.
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
Hi to all,
I am getting this error. I googled a lot but of no use. Even I made the changes to "IWAM_machine name" and made it to unlimited space. But still not working.
Could anyone please help me out on this. I am unable to understand wether it is mistake in the coding part on my end. Because on the localhost the application is working fine.
This is the error:
<br />
Server Error in '/VICTORIAIN' Application.<br />
There is not enough space on the disk.<br />
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.<br />
<br />
Exception Details: System.IO.IOException: There is not enough space on the disk.<br />
<br />
<br />
Source Error:<br />
<br />
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.<br />
<br />
Stack Trace:<br />
<br />
[IOException: There is not enough space on the disk.<br />
]<br />
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2056933<br />
System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count) +2783525<br />
System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count) +2746129<br />
System.Web.HttpRawUploadedContent.WriteBytes(Int32 offset, Int32 length, Stream stream) +115<br />
System.Web.HttpInputStream.WriteTo(Stream s) +33<br />
System.Web.HttpPostedFile.SaveAs(String filename) +102<br />
System.Web.UI.WebControls.FileUpload.SaveAs(String filename) +22<br />
AddCourse.BtnAddCourse_Click(Object sender, EventArgs e) +388<br />
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105<br />
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107<br />
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7<br />
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11<br />
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33<br />
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746<br />
<br />
<br />
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 <br />
cheers,
sneha
|
|
|
|
|
Two quick questions:
1) What is the available free space and used space in the system volume and volume where .NET Framework files (typically Temporary ASP.NET files) are stored?
2) What is the size of the file you are trying to save and what is the available free space in the volume that you are trying to save the file to?
A review of these points should get you closer to the solving of the puzzle.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Vasudevan Deepak Kumar wrote: 1) What is the available free space and used space in the system volume and volume where .NET Framework files (typically Temporary ASP.NET files) are stored?
Ans:I got this error while uploading a PDF file. We got 1GB space from hosting. Total used space is 10MB.
Vasudevan Deepak Kumar wrote: 2) What is the size of the file you are trying to save and what is the available free space in the volume that you are trying to save the file to?
Ans: 45 KB
cheers,
sneha
|
|
|
|
|
sneha Choudhary wrote: We got 1GB space from hosting.
I accept. That is the credit of your hosting account. But you should need to check whether the actual server space. Your hosting support should help you on that.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
You mean to say the total space, which the hosting have.Then Its around 500 to 600 GB.
cheers,
sneha
|
|
|
|
|
And one more thing to tell you is that although I am getting the error, but when I checked the folder on FTP in which I was trying to save the pdf, the file was there but of zero bytes.
cheers,
sneha
|
|
|
|
|
Does your site have the sufficient rights to write in server? I mean, if you are upload files to a folder, does the user have the proper permission for it? Please check it.
|
|
|
|
|
guys,
i've created a page which has a login.aspx. in my localhost
i can add login.aspx in IIS->WebSite Properties->Document tab.
and will result to http://localhost/MyWebSite then show the page login.aspx, which is perfect.
The problem is i upload it to my web hosting server. I can't find the
document tab in control panel of my web hosting server. Does anyone know how to add or how to configure default page in web host server?
Sorry for my english.
Thanks.
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
|
thanks for quick response.
I used iSLE web hosting service, yeah thats good idea, i try to contact their server support team.
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|