|
|
Just enable NT authentication for the application in IIS
|
|
|
|
|
I'm having some issues with the ASP.Net development Server:
VS tells me that it could not launch it because the port I specified is in use (I've set it to use a static port number). However, if I use netstat it doesn't show that any program is using the port. I do run nod32 AV but I don't think this is an issue as I can start the webdev server without a problem from the command line specifying the port that is apparently "in use" and can then browse to the address in IE.
UPDATE:
It was NOD32. What a PITA! Very weird considering I could start the webdev server from the command line and browse the site from IE without issues and that this issue happened today after running NOD32 for months! It must have been an update on their side that broke things
modified on Wednesday, January 28, 2009 8:34 AM
|
|
|
|
|
Hi There,
I have a class library where if I make any syntax error purposely and when I build the project it shows me message as Build Succeeded.Because of this I am not able to identify errors in my project.If antbody knows please help.
Thanks,
|
|
|
|
|
there must be exception in your dll if you do syntax mistake then compiler wont allow you to build it...
so only in case of exceptions it give message built succeded...
umerumerumer
|
|
|
|
|
Hi
I am trying to invite my remote webservices using Javascript from sharepoint with the follwoing code: but everytime I get Access is denied error.
httpReq.open('post',url, true);
httpreq.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
httpreq.setRequestHeader("SOAPAction","http://schemas.microsoft.com/sharepoint/dsp/queryRequest");
postparams = "method=GetStructureWithPublications&structureId="+StructureId+"&language="+Language;
httpreq.onreadystatechange = function()
{
var done = 4, ok = 200;
if (request.readyState == done && request.status == ok)
{
if (request.responseText)
{
vtaTree.GetDataCallBack(request.responseText);
}
else
{
vtaTree.GetDataCallBack(request.responseXML);
}
}
};
httpreq.setRequestHeader("Content-Length",postparams.length);
httpreq.send(postparams);
Any one please help me.
|
|
|
|
|
Hi
The following code send an email using Net.Mail.MailMessage.
The code run fine with no exceptions but the email not recive in the destination address.
The application run on IIS v 5, os: xp.
email send by virtual SMTP server
All the emails that i tried to send can be found on C:\Inetpub\mailroot\Queue.
here is the code :
public class Email
{
private string _To;
private string _Subject;
private MailMessage email;
public Email(string To, string Subject)
{
_To = To;
_Subject = Subject;
}
private void SendHtml(string msg)
{
email = new MailMessage("tomer_t@TOMER-7VGO1O5DD", _To);
email.IsBodyHtml = true;
email.Body = msg;
email.Subject = _Subject;
SmtpClient smtp = new SmtpClient("TOMER-7VGO1O5DD");
smtp.Send(email);
}
public void Contact_Us(string FirstName, string LastName, string Phone, string Bagrut, string Path)
{
StreamReader SR = File.OpenText(Path + "\\Templets\\Contact.htm");// new StreamReader(Path + "\\Templets\\Contact.htm");
string msg = SR.ReadToEnd();
SR.Close();
SendHtml(msg);
}
}
Please advice.
|
|
|
|
|
tomertro wrote: All the emails that i tried to send can be found on C:\Inetpub\mailroot\Queue.
Your SMTP server is not started. Start it and the mails will go.
|
|
|
|
|
Hi.
I have been given a legacy dot net 1.1 system to maintain. It uses bounds controls and templates. I am not allowed to scrap the techniques used.
I have to introduce another column after "Question [Yes]" which has an image and a text field with a click event. But it is only enabled (displayed), if the data value of "DataItem.YesQuestionID" = 0.
Anyone know how to do this please?
Many thanks.
-----------------------------------------------------------------------------------
<pre>
<TR>
<TD colSpan="2"><asp:datagrid id="grdQuestionnaire" runat="server" CssClass="labeltext" Width="100%" Font-Size="X-Small"
AutoGenerateColumns="False">
<Columns>
<asp:TemplateColumn HeaderText="Question">
<ItemTemplate>
<asp:Label id="lblQuestion" runat="server" ToolTip='<%# DataBinder.Eval(Container, "DataItem.QuestionText") %>'>
<%# DataBinder.Eval(Container, "DataItem.QuestionID") %>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Question [Yes]">
<ItemTemplate>
<asp:Label id="lblYesQuestion" runat="server" ToolTip='<%# DataBinder.Eval(Container, "DataItem.YesQuestionText") %>'>
<%# DataBinder.Eval(Container, "DataItem.YesQuestionID") %>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Question [No]">
<ItemTemplate>
<asp:Label id="lblNoQuestion" runat="server" ToolTip='<%# DataBinder.Eval(Container, "DataItem.NoQuestionText") %>'>
<%# DataBinder.Eval(Container, "DataItem.NoQuestionID") %>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid></TD>
</TR>
</pre>
-----------------------------------------------------------------------------------
<pre>
Private Sub LoadQuestionnaireDetails()
Dim QuestionnaireDS As Questionnaire = New Questionnaire
QuestionnaireDS = data.GetQuestionnaireDetails(cboQuestionnaire.SelectedValue)
grdQuestionnaire.DataSource = QuestionnaireDS
grdQuestionnaire.DataBind()
End Sub
</pre>
|
|
|
|
|
Which bit in particular are you having a problem with?
|
|
|
|
|
I need to be able to display new column, (with an image and some text), depending on the value of an existing column in the dataset. I get the feeling that I will have to trawl through the grid collection and test the necessary column value for each record. Am I on the right track?
|
|
|
|
|
Yes. You can check each row individually in the OnItemDataBound event and set the image visibility accordingly.
|
|
|
|
|
|
Hi all,
In my application i am using a Login Control and already there are some menus on it.But when i enter user name and password and press Enter key it doesn't go on to the login button.
Can any one tell how to do it??
Thanks in advance....
|
|
|
|
|
you will have to learn configuration tool of visual studio in order to use login control..... which create automatically some tables and in your given database...for login and other related purpose...
umerumerumer
|
|
|
|
|
Is this really related to creating tables using configuration tools??
|
|
|
|
|
dear not only related to creating tables many more things...
that tool facilitate you to manage user roles,management of webparts,smtp settings... and many more things without writing a single line of code.
choice is yours...
if you want to do login verification only then create your own table of login instead of using login control...
umerumerumer
|
|
|
|
|
I've got a gridview showing products with they're prices. I'd like a checkbox next to each item, so that a user could select multiple products and then display in the footer the sum of the prices selected.
I'm normally a winforms developer, so the client-side vs server-side thing is still new to me. But I'm guessing this needs to be done with client javascript to prevent a postback. And I don't want make any changes to the database side).
I really have no idea where to start, can someone please just point in right direction to do this with javascript?
Oh and I'm still on .Net 2.0
|
|
|
|
|
You are right. This has to be done using JS. Here[^] is an article. When each checkbox is checked, you need to get the price and sum it.
|
|
|
|
|
mark.d.inman wrote: I'd like a checkbox next to each item, so that a user could select multiple products and then display in the footer the sum of the prices selected.
Look, you can start by attaching a check changed handler. Have a look at this [^]example.
mark.d.inman wrote: I really have no idea where to start, can someone please just point in right direction to do this with javascript?
Next, step would be sum up the price in a client variable when ever a item is checked and subtract it whenevr it is unchecked.
Now, show this value in footre/(or wherever)
mark.d.inman wrote: Oh and I'm still on .Net 2.0
That does not matter.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hello Friend
I am installing DotNetNuke on my system. but it give Error>> How i resolved this error Please Hlep ME.
ERROR:-Installing Database - Version 5.0.0...FAILURE 400 - The stored procedure 'test.UpdateDatabaseVersionAndName' doesn't exist.
Thanks
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
This is ASP.NET forum. You have to try DotnetNuke customer support of their support forums.
|
|
|
|
|
But It Related to ASP.net
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Piyush Vardhan Singh wrote: But It Related to ASP.net
ERROR:-Installing Database - Version 5.0.0...FAILURE 400 - The stored procedure 'test.UpdateDatabaseVersionAndName' doesn't exist. . How that is related to ASP.NET ?
|
|
|
|
|
It raise through the dotnetnuke asp.net application.This way it related to ASP.net
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|