| Put value from DataList on user control to parent page? |
|
 |
Index ‹ Web Programming ‹ ASP.Net
|
- Previous
- 1
- 2
- 3
- IIS >> IIS, CGI, PythonI want to run a python script as CGI. I set everything up correctly
(well, almost!) but my Python script wants to execute a Perforce (p4,
source control) command. I get this error:
Traceback (most recent call last):
File "C:\Inetpub\cgi-bin\p4rss.py", line 30, in ?
stream = os.popen(p4changes)
WindowsError: [Errno 5] Access is denied:
'C:\\WINDOWS\\system32\\cmd.exe /c p4 -G changes -l -m 10 //...'
What this says to me is that I don?t have permission from a cgi script
to shell out to cmd.exe, since that?s probably dangerous.
Do you know of a way that I can enable this? I have SP2 installed, so I
suspect this might be a result of the increased security.
Am I close?
--
Nick Codignotto - nick2@rprimordia.com (remove first letter of domain
name please)
- 4
- ASP.Net >> Question about whidbeyI've tried a little bit with whodbey ASP.NET. If this is the wrong group
to ask, then point me to the correkt one.
In whidbey there are control for handling login. I've read about the
MembershipProvider and MembershipUser classes. And there is an article
how to implement an own ODBCMembershipProvider. So I thought based on
this article to make my own XMLMembershipProvider.
The MemebershipProvider has the ability to allow the user password
retrieval. Therefor a password question and a password answer can be
used. But creating a new MembershipUser, I can only store the password
question. Where do I have to store the password answer? And I can't find
any method which checks the given answer against the saved one.
How have I to implement password retrieval with whidbey?
--
Sleepless in Berlin
Wernfried
- 5
- IIS >> Custom Error IIS V6.0Apologies i'm new to IIS stuff.
I've been asked to take a website off-line temporarily which throws
back a "HTTP 400 - Bad Request
Internet Explorer" error message when someone tries to browse to it.
However the clients want a more aesthetically pleasing error message.
Our marketing guys have designed a simple html page and i've amended
the Cutom Error tab on the website in IIS to point to the new html
file. I've re-started IIS but the new custom error does not display
and all we get is the standard IIS 400 bad request.
The site is published through MS ISA 2004 web publishing rule.
Should there be anything else i need to do withing IIS? Could ISA be
caching a copy somewhere and if so how do i refresh?
Regards
Nik
- 6
- 7
- ASP.Net >> Getting a full dataset from Oracle through vb.net / ADO.net?I have similar code (a procedure and function) working perfectly with
a sql server data source. I'm trying to do the same things with
Oracle, but have run into the problems.
I'm not sure if producing a cursor is my only and best option.
PROCEDURE sp_Get_Order_History(v_ani IN number,
output_cursor out PK_CURSORES.generic_cursor) AS
BEGIN
open output_cursor for
select o.account_number, p.phone, o.amount, o.name, o.init_date
from orders o
join users_phones p on p.account_number = o.account_number
where p.phone = v_ani
order by Init_date desc;
end sp_Get_Order_History;
in vb.net:
Function GetOrderHistory(ByVal Phone As String) As DataSet
If p_cnn.State = ConnectionState.Closed Then
p_cnn.Open()
End If
Dim cmd As New OracleCommand
With cmd
.CommandType = CommandType.StoredProcedure
.CommandText = "PK_RETAILER.sp_Get_Order_History"
.CommandTimeout = 0
.Connection = p_cnn
.Parameters.Add(New OracleParameter("v_ani",
OracleType.VarChar)).Value = Phone
.Parameters.Add(New OracleParameter("output_cursor",
OracleType.Cursor)).Direction = ParameterDirection.Output
End With
Dim adpt As New
OracleDataAdapter(cmd.Parameters("output_cursor").Value)
Dim ds As New DataSet
adpt.Fill(ds, "orders")
Return ds
cmd.Dispose()
p_cnn.Close()
End Function
In my markup:
<asp:ObjectDataSource ID="DSOrders" runat="server"
SelectMethod="GetOrderHistory"
TypeName="xxx.xxxx">
<SelectParameters>
<asp:ControlParameter
ControlID="CustomerPhoneTextBox" PropertyName="Text" Name="Phone"
Type="String" DefaultValue=""/>
</SelectParameters>
</asp:ObjectDataSource>
I get this error:
The SelectCommand property has not been initialized before calling
'Fill'.
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.
Exception Details: System.InvalidOperationException: The SelectCommand
property has not been initialized before calling 'Fill'.
Source Error:
Line 61: Dim adpt As New
OracleDataAdapter(cmd.Parameters("output_cursor").Value)
Line 62: Dim ds As New DataSet
Line 63: adpt.Fill(ds, "orders")
Line 64: Return ds
Line 65:
In sql server I have procedure that produces a Dataset,not a cursor.
I'm likely needing to loop through the cursor right?
Thanks for any help or information.
- 8
- ASP.Net >> Available SAP SD functional consultant with usContact : Sudin
Direct : 402 218 2179
Email : sudin@kraftware.com
Hi,
We have the following SAP SD and SAP CRM consultant available.
Consultant Name: K P
Summary:
=B7Certified SAP CRM consultant.
=B7Trainings attended: SAP SD (sales and distribution), SAP CRM, SAP BW
and ABAP/4.
=B7About 5 years and 7 months of total experience.
=B7About 4 Years and 2 months of experience in SAP Implementation and
Application support.
=B7Worked on end-to-end implementation, integrations development, and
application support.
=B7Design and customization of the SD module and its functionality.
=B7Design and customization of the SAP CRM and its functionality.
=B7Experience in customizing SAP R/3 sales, delivery and billing
processes.
=B7Experience in customizing IC Winclient and Marketing functionalities.
Please feel free to contact us for additional information.
Thanks & Regards,
Sudin
Kraftware Inc,
Direct- 402 218 2179
Email - sudin@kraftware.com
- 9
- Frontpage Client >> Frontpage install problemWhen I try to install frontpage 2003 I get it installing right up til it goes
looking for cab files to cache to local installation setup. It then gives me
a error unable to locate PR308246.cab but when I go looking at the CD its
right there and I can click on it and open the cab and see there files are
there-I know if the CD or cab was corrupt, I shouldn't be able to view the
files but I can. So can anyone tell me what is going on with the CD or cab or
the installation that I dont know? If anyone here has a solution they found
or know please tell me as I can install most of the other CD but frontpage is
giving me issues.
- 10
- ASP.Net >> Frameset and QueryString problemI'm having a problem passing QueryString values to other web pages from a
frame set. Here's the details of the problem:
1. I have three web forms: WorkObject.ASPX, WorkObject_Header.ASPX and
WorkObject_Body.ASPX.
2. The WorkObject.ASPX web form has a FrameSet tag referencing the other
two web forms.
3. The WorkObject.ASPX receives a query string value, i.e,
WorkObject.ASPX?ID=123
I need to pass the value of the query string (123) from WorkObject.ASPX to
the other two web forms (WorkObject_Header and WorkObject_Body) referenced in
the FrameSet tag.
How can I do this? Any feedback is apreciated. Thanks.
- 11
- 12
- ASP.Net >> weird....different size between uploading and downloading???Hi,
I've written code web-based uploading and downloading.
Here is some code for it.
For saving file into MS-SQL database,
SaveFileIntoDB(HttpPostedFile file) {
int fileLength = file.ContentLength;
byte[] fileContent = new byte[fileLength];
int lastPos = file.FileName.LastIndexOf('\\');
fileName = file.FileName.Substring(++lastPos);
file.InputStream.Read(fileContent,0,fileLength);
String fileContentType = file.ContentType;
// Save fileLength,fileName and fileContent into MS-SQL database
// data type of fileLength(column name : filelength) is int
// data type of fileName(column name : filename) is varchar(100)
// data type of fileContent(column name : filecontent) is image.
// data type of fileContent type(column name : contenttype) is
varchar(100)
DB.Save(......);
}
For downloading the file from the DB.
Download() {
// Fetch the file info into db variable from the DB.
int filesize = Convert.ToInt32(db["filesize"].ToString());
byte[] fcontent = db["filecontent"] as byte[];
ms = new MemoryStream();
ms.Position = 0;
ms.Write(fcontent,0,fcontent.Length);
Response.AppendHeader("Content-Disposition",
"filename=" + db["filename"].ToString());
Response.ContentType = db["contenttype"].ToString();
Response.OutputStream.Write(ms.GetBuffer(),0,Convert.ToInt32(ms.Length));
}
For saving the file info to the sql db, it worked as I expected. Also, when
I tried to download the file that I saved into the db, it worked, HOWEVER,
when I checked the filesize, it was DIFFERENT. Do you have any idea why?
For example,
Suppose that I uploaded "A.exe" file into the sql db.
The file size of A. exe was 5113 Bytes.
If I downloaded the A.exe, and then when I checked the file size,
it was 5,896 Bytes.
I think that it should be same size since it was same file.
Always whenever I download the file that I've uploaded, the file size is
slighlty bigger than uploaded file. I really couldn't find any reason....
After downloading, the file seems like working well, but I guess it must be
something wrong since it was different file size.
If you could give any ideas about this issue, I really appreciate it.
Thanks.
- 13
- Frontpage Client >> Stylizing HyperlinksI don't want some of my hyperlinks to be underlined. In HTML when I wanted
to do this I typed in a:{text-decoration:none}, but this isn't a readable
code in FrontPage. Is there a way in Frontpage to have some of my hyperlinks
not be underlined. I just want them to have a rollover function and that is
how people will know they are hyperlinks.
Also, some of the hyperlinks are rollover, but from what I understand if you
are going to make your hyperlinks rollover they all have to do that, as it is
in page properties. Is there anyway to individulaize the style of your
hyperlinks (i.e. changing the color and underline function)
Thanks
--
Katie Madsen
- 14
- ASP.Net >> Forms Authentication Redirect URLI want to be able to programmatically log a user in as a guest and redirect
them to a different page.
Is there any way to do a RedirectFromLoginPage() and explicity specify the
page to which the user will be redirected after the login?
-- p
- 15
- Frontpage Client >> Upload ComponetWhen you use the upload componet in Frontpage, it only allows you to upload
small files up to 1MB in size to the web server. I noticed if you add a
"Manage Users" in FrontPage Server Extensions 2002 as having "Author" rights,
then you are able to upload large files. This is a security risk, because
they can use Frontpage to access the files on the web server. Is their a way
I can remove the "Author" rights and still allow large uploads?
Thanks for your help
Dave
|
| Author |
Message |
Cousinzeke

|
Posted: Thu Oct 30 16:01:19 CST 2003 |
Top |
ASP.Net >> Put value from DataList on user control to parent page?
I have a user control (menu) with a data list:
<asp:DataList id="MyList" runat="server">
<ItemTemplate>
<asp:hyperlink
cssclass="MenuUnselected"
id="myLink1"
Text='<%# Container.DataItem("Subject") %>'
NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
Container.DataItem("SubjectID") & "&selection=" & Container.ItemIndex
%>'
runat="server" />
</ItemTemplate>
<SelectedItemTemplate>
<asp:hyperlink
cssclass="MenuSelected"
id="myLink2"
Text='<%# Container.DataItem("Subject") %>'
NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
Container.DataItem("SubjectID") & "&selection=" & Container.ItemIndex
%>'
runat="server" />
</SelectedItemTemplate>
</asp:DataList>
I want to take the value of the Text attribute (the data item:
"Subject") from the selected item and put it in a label on the parent
page. I have spent a day and a half trying this, so I decided to ask
if anyone out there can help me. Thanks!
Web Programming107
|
| |
|
| |
 |
John

|
Posted: Thu Oct 30 16:01:19 CST 2003 |
Top |
ASP.Net >> Put value from DataList on user control to parent page?
"Mary Kerrigan" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> I have a user control (menu) with a data list:
>
> <asp:DataList id="MyList" runat="server">
> <ItemTemplate>
> <asp:hyperlink
> cssclass="MenuUnselected"
> id="myLink1"
> Text='<%# Container.DataItem("Subject") %>'
> NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
> Container.DataItem("SubjectID") & "&selection=" & Container.ItemIndex
> %>'
> runat="server" />
> </ItemTemplate>
> <SelectedItemTemplate>
> <asp:hyperlink
> cssclass="MenuSelected"
> id="myLink2"
> Text='<%# Container.DataItem("Subject") %>'
> NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
> Container.DataItem("SubjectID") & "&selection=" & Container.ItemIndex
> %>'
> runat="server" />
> </SelectedItemTemplate>
> </asp:DataList>
>
> I want to take the value of the Text attribute (the data item:
> "Subject") from the selected item and put it in a label on the parent
> page. I have spent a day and a half trying this, so I decided to ask
> if anyone out there can help me. Thanks!
With ASP.NET, it's best to think a bit object-oriented.
So, why should your user control know anything about the page it happens to
be loaded into? In particular, why should it know that there's a label on
that page? Answer: it shouldn't.
On the other hand, the user control does know about the Text attribute of
the selected item. You could define a public property in the user control
which would expose that Text attribute so that any containing page (or other
control) can see the value of the Text attribute.
If the surrounding page needs to know when the selected index has changed
(so that it knows to fetch the Text property) then you can define a public
event in your user control and raise it when the user control receives the
SelectedIndexChanged event.
--
John
|
| |
|
| |
 |
mkerrigan

|
Posted: Thu Oct 30 19:57:19 CST 2003 |
Top |
ASP.Net >> Put value from DataList on user control to parent page?
OK - I know how to assign a value to the public property, but what I
can't figure out is the syntax to retrieve the Text attribute's value
for the selected item. ???
"John Saunders" <john.saunders at surfcontrol.com> wrote in message news:<OfK$EMail@HideDomain.com>...
> "Mary Kerrigan" <EMail@HideDomain.com> wrote in message
> news:EMail@HideDomain.com...
> > I have a user control (menu) with a data list:
> >
> > <asp:DataList id="MyList" runat="server">
> > <ItemTemplate>
> > <asp:hyperlink
> > cssclass="MenuUnselected"
> > id="myLink1"
> > Text='<%# Container.DataItem("Subject") %>'
> > NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
> > Container.DataItem("SubjectID") & "&selection=" & Container.ItemIndex
> > %>'
> > runat="server" />
> > </ItemTemplate>
> > <SelectedItemTemplate>
> > <asp:hyperlink
> > cssclass="MenuSelected"
> > id="myLink2"
> > Text='<%# Container.DataItem("Subject") %>'
> > NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
> > Container.DataItem("SubjectID") & "&selection=" & Container.ItemIndex
> > %>'
> > runat="server" />
> > </SelectedItemTemplate>
> > </asp:DataList>
> >
> > I want to take the value of the Text attribute (the data item:
> > "Subject") from the selected item and put it in a label on the parent
> > page. I have spent a day and a half trying this, so I decided to ask
> > if anyone out there can help me. Thanks!
>
> With ASP.NET, it's best to think a bit object-oriented.
>
> So, why should your user control know anything about the page it happens to
> be loaded into? In particular, why should it know that there's a label on
> that page? Answer: it shouldn't.
>
> On the other hand, the user control does know about the Text attribute of
> the selected item. You could define a public property in the user control
> which would expose that Text attribute so that any containing page (or other
> control) can see the value of the Text attribute.
>
> If the surrounding page needs to know when the selected index has changed
> (so that it knows to fetch the Text property) then you can define a public
> event in your user control and raise it when the user control receives the
> SelectedIndexChanged event.
|
| |
|
| |
 |
mkerrigan

|
Posted: Fri Oct 31 12:25:22 CST 2003 |
Top |
ASP.Net >> Put value from DataList on user control to parent page?
Here's one thing I have tried which didn't work:
Private Sub MyList_SelectedIndexChanged(ByVal sender As Object, ByVal
e As System.EventArgs) Handles MyList.SelectedIndexChanged
Dim myListItem As DataListItem = CType(sender,
DataList).SelectedItem
Dim myHyperlink As HyperLink = myListItem.FindControl("Hyperlink2")
Dim myValue As String = myHyperlink.Text
lblTest.Text = myValue
End Sub
EMail@HideDomain.com (Mary Kerrigan) wrote in message news:<EMail@HideDomain.com>...
> OK - I know how to assign a value to the public property, but what I
> can't figure out is the syntax to retrieve the Text attribute's value
> for the selected item. ???
>
> "John Saunders" <john.saunders at surfcontrol.com> wrote in message news:<OfK$EMail@HideDomain.com>...
> > "Mary Kerrigan" <EMail@HideDomain.com> wrote in message
> > news:EMail@HideDomain.com...
> > > I have a user control (menu) with a data list:
> > >
> > > <asp:DataList id="MyList" runat="server">
> > > <ItemTemplate>
> > > <asp:hyperlink
> > > cssclass="MenuUnselected"
> > > id="myLink1"
> > > Text='<%# Container.DataItem("Subject") %>'
> > > NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
> > > Container.DataItem("SubjectID") & "&selection=" & Container.ItemIndex
> > > %>'
> > > runat="server" />
> > > </ItemTemplate>
> > > <SelectedItemTemplate>
> > > <asp:hyperlink
> > > cssclass="MenuSelected"
> > > id="myLink2"
> > > Text='<%# Container.DataItem("Subject") %>'
> > > NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
> > > Container.DataItem("SubjectID") & "&selection=" & Container.ItemIndex
> > > %>'
> > > runat="server" />
> > > </SelectedItemTemplate>
> > > </asp:DataList>
> > >
> > > I want to take the value of the Text attribute (the data item:
> > > "Subject") from the selected item and put it in a label on the parent
> > > page. I have spent a day and a half trying this, so I decided to ask
> > > if anyone out there can help me. Thanks!
> >
> > With ASP.NET, it's best to think a bit object-oriented.
> >
> > So, why should your user control know anything about the page it happens to
> > be loaded into? In particular, why should it know that there's a label on
> > that page? Answer: it shouldn't.
> >
> > On the other hand, the user control does know about the Text attribute of
> > the selected item. You could define a public property in the user control
> > which would expose that Text attribute so that any containing page (or other
> > control) can see the value of the Text attribute.
> >
> > If the surrounding page needs to know when the selected index has changed
> > (so that it knows to fetch the Text property) then you can define a public
> > event in your user control and raise it when the user control receives the
> > SelectedIndexChanged event.
|
| |
|
| |
 |
John

|
Posted: Fri Oct 31 13:01:51 CST 2003 |
Top |
ASP.Net >> Put value from DataList on user control to parent page?
"Didn't work" how?
--
John
"Mary Kerrigan" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> Here's one thing I have tried which didn't work:
>
> Private Sub MyList_SelectedIndexChanged(ByVal sender As Object, ByVal
> e As System.EventArgs) Handles MyList.SelectedIndexChanged
>
> Dim myListItem As DataListItem = CType(sender,
> DataList).SelectedItem
> Dim myHyperlink As HyperLink = myListItem.FindControl("Hyperlink2")
> Dim myValue As String = myHyperlink.Text
> lblTest.Text = myValue
>
> End Sub
>
>
>
>
> EMail@HideDomain.com (Mary Kerrigan) wrote in message
news:<EMail@HideDomain.com>...
> > OK - I know how to assign a value to the public property, but what I
> > can't figure out is the syntax to retrieve the Text attribute's value
> > for the selected item. ???
> >
> > "John Saunders" <john.saunders at surfcontrol.com> wrote in message
news:<OfK$EMail@HideDomain.com>...
> > > "Mary Kerrigan" <EMail@HideDomain.com> wrote in message
> > > news:EMail@HideDomain.com...
> > > > I have a user control (menu) with a data list:
> > > >
> > > > <asp:DataList id="MyList" runat="server">
> > > > <ItemTemplate>
> > > > <asp:hyperlink
> > > > cssclass="MenuUnselected"
> > > > id="myLink1"
> > > > Text='<%# Container.DataItem("Subject") %>'
> > > > NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
> > > > Container.DataItem("SubjectID") & "&selection=" &
Container.ItemIndex
> > > > %>'
> > > > runat="server" />
> > > > </ItemTemplate>
> > > > <SelectedItemTemplate>
> > > > <asp:hyperlink
> > > > cssclass="MenuSelected"
> > > > id="myLink2"
> > > > Text='<%# Container.DataItem("Subject") %>'
> > > > NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
> > > > Container.DataItem("SubjectID") & "&selection=" &
Container.ItemIndex
> > > > %>'
> > > > runat="server" />
> > > > </SelectedItemTemplate>
> > > > </asp:DataList>
> > > >
> > > > I want to take the value of the Text attribute (the data item:
> > > > "Subject") from the selected item and put it in a label on the
parent
> > > > page. I have spent a day and a half trying this, so I decided to
ask
> > > > if anyone out there can help me. Thanks!
> > >
> > > With ASP.NET, it's best to think a bit object-oriented.
> > >
> > > So, why should your user control know anything about the page it
happens to
> > > be loaded into? In particular, why should it know that there's a label
on
> > > that page? Answer: it shouldn't.
> > >
> > > On the other hand, the user control does know about the Text attribute
of
> > > the selected item. You could define a public property in the user
control
> > > which would expose that Text attribute so that any containing page (or
other
> > > control) can see the value of the Text attribute.
> > >
> > > If the surrounding page needs to know when the selected index has
changed
> > > (so that it knows to fetch the Text property) then you can define a
public
> > > event in your user control and raise it when the user control receives
the
> > > SelectedIndexChanged event.
|
| |
|
| |
 |
mkerrigan

|
Posted: Sat Nov 01 14:25:00 CST 2003 |
Top |
ASP.Net >> Put value from DataList on user control to parent page?
Nothing happened - the label was blank instead of showing the value of
the Text attribute of Hyperlink2.
But now I think that's because this is in a user control. The
SelectedIndexChanged does not appear to fire at all. I think it's
because the user control does not postback???
It looks like I will have to go back to the database to get the value
I need when the page reloads... I didn't want to have to do this, you
would think I could get the value from the control, geez, it's right
there on the screen...
"John Saunders" <john.saunders at surfcontrol.com> wrote in message news:<O7#E0F#EMail@HideDomain.com>...
> "Didn't work" how?
>
> --
> John
>
> "Mary Kerrigan" <EMail@HideDomain.com> wrote in message
> news:EMail@HideDomain.com...
> > Here's one thing I have tried which didn't work:
> >
> > Private Sub MyList_SelectedIndexChanged(ByVal sender As Object, ByVal
> > e As System.EventArgs) Handles MyList.SelectedIndexChanged
> >
> > Dim myListItem As DataListItem = CType(sender,
> > DataList).SelectedItem
> > Dim myHyperlink As HyperLink = myListItem.FindControl("Hyperlink2")
> > Dim myValue As String = myHyperlink.Text
> > lblTest.Text = myValue
> >
> > End Sub
> >
> >
> >
> >
> > EMail@HideDomain.com (Mary Kerrigan) wrote in message
> news:<EMail@HideDomain.com>...
> > > OK - I know how to assign a value to the public property, but what I
> > > can't figure out is the syntax to retrieve the Text attribute's value
> > > for the selected item. ???
> > >
> > > "John Saunders" <john.saunders at surfcontrol.com> wrote in message
> news:<OfK$EMail@HideDomain.com>...
> > > > "Mary Kerrigan" <EMail@HideDomain.com> wrote in message
> > > > news:EMail@HideDomain.com...
> > > > > I have a user control (menu) with a data list:
> > > > >
> > > > > <asp:DataList id="MyList" runat="server">
> > > > > <ItemTemplate>
> > > > > <asp:hyperlink
> > > > > cssclass="MenuUnselected"
> > > > > id="myLink1"
> > > > > Text='<%# Container.DataItem("Subject") %>'
> > > > > NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
> > > > > Container.DataItem("SubjectID") & "&selection=" &
> Container.ItemIndex
> > > > > %>'
> > > > > runat="server" />
> > > > > </ItemTemplate>
> > > > > <SelectedItemTemplate>
> > > > > <asp:hyperlink
> > > > > cssclass="MenuSelected"
> > > > > id="myLink2"
> > > > > Text='<%# Container.DataItem("Subject") %>'
> > > > > NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
> > > > > Container.DataItem("SubjectID") & "&selection=" &
> Container.ItemIndex
> > > > > %>'
> > > > > runat="server" />
> > > > > </SelectedItemTemplate>
> > > > > </asp:DataList>
> > > > >
> > > > > I want to take the value of the Text attribute (the data item:
> > > > > "Subject") from the selected item and put it in a label on the
> parent
> > > > > page. I have spent a day and a half trying this, so I decided to
> ask
> > > > > if anyone out there can help me. Thanks!
> > > >
> > > > With ASP.NET, it's best to think a bit object-oriented.
> > > >
> > > > So, why should your user control know anything about the page it
> happens to
> > > > be loaded into? In particular, why should it know that there's a label
> on
> > > > that page? Answer: it shouldn't.
> > > >
> > > > On the other hand, the user control does know about the Text attribute
> of
> > > > the selected item. You could define a public property in the user
> control
> > > > which would expose that Text attribute so that any containing page (or
> other
> > > > control) can see the value of the Text attribute.
> > > >
> > > > If the surrounding page needs to know when the selected index has
> changed
> > > > (so that it knows to fetch the Text property) then you can define a
> public
> > > > event in your user control and raise it when the user control receives
> the
> > > > SelectedIndexChanged event.
|
| |
|
| |
 |
mkerrigan

|
Posted: Tue Nov 25 15:39:17 CST 2003 |
Top |
ASP.Net >> Put value from DataList on user control to parent page?
I have never found an answer to this problem... can anyone please help?
EMail@HideDomain.com (Mary Kerrigan) wrote in message news:<EMail@HideDomain.com>...
> Nothing happened - the label was blank instead of showing the value of
> the Text attribute of Hyperlink2.
>
> But now I think that's because this is in a user control. The
> SelectedIndexChanged does not appear to fire at all. I think it's
> because the user control does not postback???
>
> It looks like I will have to go back to the database to get the value
> I need when the page reloads... I didn't want to have to do this, you
> would think I could get the value from the control, geez, it's right
> there on the screen...
>
>
>
> "John Saunders" <john.saunders at surfcontrol.com> wrote in message news:<O7#E0F#EMail@HideDomain.com>...
> > "Didn't work" how?
> >
> > --
> > John
> >
> > "Mary Kerrigan" <EMail@HideDomain.com> wrote in message
> > news:EMail@HideDomain.com...
> > > Here's one thing I have tried which didn't work:
> > >
> > > Private Sub MyList_SelectedIndexChanged(ByVal sender As Object, ByVal
> > > e As System.EventArgs) Handles MyList.SelectedIndexChanged
> > >
> > > Dim myListItem As DataListItem = CType(sender,
> > > DataList).SelectedItem
> > > Dim myHyperlink As HyperLink = myListItem.FindControl("Hyperlink2")
> > > Dim myValue As String = myHyperlink.Text
> > > lblTest.Text = myValue
> > >
> > > End Sub
> > >
> > >
> > >
> > >
> > > EMail@HideDomain.com (Mary Kerrigan) wrote in message
> news:<EMail@HideDomain.com>...
> > > > OK - I know how to assign a value to the public property, but what I
> > > > can't figure out is the syntax to retrieve the Text attribute's value
> > > > for the selected item. ???
> > > >
> > > > "John Saunders" <john.saunders at surfcontrol.com> wrote in message
> news:<OfK$EMail@HideDomain.com>...
> > > > > "Mary Kerrigan" <EMail@HideDomain.com> wrote in message
> > > > > news:EMail@HideDomain.com...
> > > > > > I have a user control (menu) with a data list:
> > > > > >
> > > > > > <asp:DataList id="MyList" runat="server">
> > > > > > <ItemTemplate>
> > > > > > <asp:hyperlink
> > > > > > cssclass="MenuUnselected"
> > > > > > id="myLink1"
> > > > > > Text='<%# Container.DataItem("Subject") %>'
> > > > > > NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
> > > > > > Container.DataItem("SubjectID") & "&selection=" &
> Container.ItemIndex
> > > > > > %>'
> > > > > > runat="server" />
> > > > > > </ItemTemplate>
> > > > > > <SelectedItemTemplate>
> > > > > > <asp:hyperlink
> > > > > > cssclass="MenuSelected"
> > > > > > id="myLink2"
> > > > > > Text='<%# Container.DataItem("Subject") %>'
> > > > > > NavigateUrl='<%# "../productlist.aspx?SubjectID=" &
> > > > > > Container.DataItem("SubjectID") & "&selection=" &
> Container.ItemIndex
> > > > > > %>'
> > > > > > runat="server" />
> > > > > > </SelectedItemTemplate>
> > > > > > </asp:DataList>
> > > > > >
> > > > > > I want to take the value of the Text attribute (the data item:
> > > > > > "Subject") from the selected item and put it in a label on the
> parent
> > > > > > page. I have spent a day and a half trying this, so I decided to
> ask
> > > > > > if anyone out there can help me. Thanks!
> > > > >
> > > > > With ASP.NET, it's best to think a bit object-oriented.
> > > > >
> > > > > So, why should your user control know anything about the page it
> happens to
> > > > > be loaded into? In particular, why should it know that there's a label
> on
> > > > > that page? Answer: it shouldn't.
> > > > >
> > > > > On the other hand, the user control does know about the Text attribute
> of
> > > > > the selected item. You could define a public property in the user
> control
> > > > > which would expose that Text attribute so that any containing page (or
> other
> > > > > control) can see the value of the Text attribute.
> > > > >
> > > > > If the surrounding page needs to know when the selected index has
> changed
> > > > > (so that it knows to fetch the Text property) then you can define a
> public
> > > > > event in your user control and raise it when the user control receives
> the
> > > > > SelectedIndexChanged event.
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ ASP.Net |
- Next
- 1
- Frontpage Programming >> RE: Errors posting frontpage 2000 to serverHi,
I am attempting to post changes to my website. After
numerous calls to my web hosting provider, they have
suggested I contact you.
My product information:
Microsoft Frontpage 4.02.2717
Product ID: 50106-005-3090835-02570
Microsoft Frontpage 2000
I am currently running Windows XP Pro Version 5.1.2600
Service Pack 1 Build 2600.
Their server does support Frontpage extensions, and the
extensions are installed.
Following is the error I receive from Frontpage when I
attempt to post:
500 Internal Server Error
Internal Server Error The server encountered an internal
error or misconfiguration and was unable to complete your
request.
Please contact the server administrator,
webmaster@creativeinvitations.net and inform them of the
time the error occurred, and anything you might have done
that may have caused the error.
More information about this error may be available in the
server error log.
Additionally, a 404 Not Found error was encountered while
trying to use an ErrorDocument to handle the request.
Apache/1.3.31 Server at www.creativeinvitations.net Port
80
Can you please help me as I need to get this website
posted as soon as possible.
DeAnn Matza
970-389-7454
creativeinvitat@aol.com
- 2
- IIS >> ReferralsI have a website with some client banners, the problem is that they are not
gerring the referral information when someone clics on any of the banners,
they use different statistics services and none log those visits as referred
from my website.
I am just doing a response.redirect("http://www.clientswebsite.com")
I dont know if this is something that has to do with IIS...
TIA!
- 3
- ASP/Active Server Pages >> INSERT INTO problemThis is on my HTML page
<td align=center>
<textarea cols="85" rows="7" name="Problem"></textarea>
</td>
User enters information into this box.
If they use either a quote or double quote, but SQL statement bombs. Is
there a way quick way to fix this beforehand?
Conn.execute ("INSERT INTO PROBLEMS (Problem) VALUES ('" & Problem & "')")
Thanks in advance
- 4
- ASP.Net >> form closingHi,
Is there any event that I can override to capture when a .aspx form closes?
Regards
bbdobuddy
- 5
- 6
- ASP.Net >> Hiding the anchor tag in asp.net 1.1 based on condition - help meHi,
I have a link that is coming from the database.Now if the link is
empty i dont want to display in datalist .How can i do that?
<td><asp:DataList id="DataList1" Runat="server"
RepeatDirection="Horizontal" RepeatColumns="3" CellPadding="5"
CellSpacing="2" Width="100%" EnableViewState="False">
<itemtemplate>
<b>
<%# DataBinder.Eval(Container.DataItem, "FIRST_NAME") %>
<%# DataBinder.Eval(Container.DataItem, "MIDDLE_NAME") %>
<%# DataBinder.Eval(Container.DataItem, "LAST_NAME") %>
</b>
<br>
<%# DataBinder.Eval(Container.DataItem, "ADDRESS1") %>
<%# DataBinder.Eval(Container.DataItem, "ADDRESS2") %>
<br>
<%# DataBinder.Eval(Container.DataItem, "CITY") %>
<%# DataBinder.Eval(Container.DataItem, "STATE") %>
<%# DataBinder.Eval(Container.DataItem, "ZIP_CODE") %>
<br>
<%# DataBinder.Eval(Container.DataItem, "TELEPHONE") %>
<br>
<%# DataBinder.Eval(Container.DataItem, "EMAIL") %>
<br>
<a id="Resume" href="<%#
DataBinder.Eval(Container.DataItem, "BIO_RESUME") %>" name="Resume"
Target="_blank">click here for bio/resume</a></b>
</itemtemplate>
</asp:DataList></td>
Thanks,
Vishnu
- 7
- ASP.Net >> POST to page using asp.netJust a quick one - im trying to post values to a page using a method
below. im coding in asp.net vb. i was wondering how i also redirect to
the page as well as post the values at the same time. e.g. in html it
would be something like
<form action=https://www.text.cgi method=post>
<input type=visible name="val1" value="<%=val1%>">
<input type=visible name="val2" value="<%=val2%>">
<input type=submit value="Proceed to server" id="Submit1"
language="javascript" onclick="return Submit1_onclick()">
</form>
posting in asp.net - i think ?????? any help appreciated
Public Shared Function readHtmlPage(ByVal postData As String) As
String
Dim result As String = ""
Dim strPost As String = postData
Dim myWriter As StreamWriter
Dim objRequest As HttpWebRequest = WebRequest.Create("https://
www.test.cgi")
objRequest.Method = "POST"
objRequest.ContentLength = strPost.Length
objRequest.ContentType = "application/x-www-form-urlencoded"
Try
myWriter = New StreamWriter(objRequest.GetRequestStream())
myWriter.Write(strPost)
Catch e As Exception
Return e.Message
Finally
myWriter.Close()
End Try
Dim objResponse As HttpWebResponse = objRequest.GetResponse()
Dim sr As StreamReader
sr = New StreamReader(objResponse.GetResponseStream())
result = sr.ReadToEnd()
sr.Close()
Return result
End Function
- 8
- ASP.Net >> Website Service/License AuthorizationHi,
I'm currently designing a website that will provide different types of
services to customers. The Customers will have a choice of which
services they will want to purchase and then I will license them these
services for a specified amount of time. I will be doing this as a .Net
Web Application. I have read about the System.Security.Principal
namespace and how it can help you authenticate and authorize role based
security.
But in my use case I would need to delegate services to each individual
license holder not as a role. This is first time I have attempted to
design such a system. Are there any standard ways of doing this with
.Net?
So basically someone would purchase a license for a service. This
license will be recorded into the database and will expire on a certain
date. I was also hoping to have a 1 to many relationship of license to
services. So one person can purchase a license that grants him access
to many services. This would allow me to market and package my
services in a very flexible way.
I would also like to be able to have the flexibility to define groups
of people and allow the group to share a common license for my
services.
I would think this to be a very common requirement of a lot of softare
applications today. Where can I find information of best practices for
such a system?
- 9
- IIS >> can not download .exe filesHi folx
I have a link to a sample.exe file on my IIS6. when I click on it I get page
can not be displayed msg although the file is linked right and is in the
right place. if i convert the file to .zip it works fine..
Any ideas how i can fix this problem?
thanks
Chet
- 10
- ASP.Net >> Dynamic asp form via cs (c#) codeI am currently designing a ASP.NET form for contacts which displays a
picture depending on which contact is being viewed. This code works
perfectly thus far, but I want to add an if-case for when the picture
does not exist.
In english it would be something like this:
If file exists ("../picture_id.jpg")
Then display image source (<img src='pictures/picture_id.jpg'>
Else diplay nothing (<br><br>)
How do I verify that a file exists on the web server using c#?
Here is a "cleaned" snippet from my current .cs file:
>>>>>>>>>>>>>
protected Literal imageSRC;
protected override void MyPageLoad(object src, EventArgs e)
{
int picture_id = -1;
try
{
picture_id = Convert.ToInt32(Request["picture_id"]);
}
catch
{
picture_id = -1;
}
if (picture_id > 0)
// <summary> Add if image exists code here </summary>
{
imageSRC.Text = "<img src='contacts_pictures/" + picture_id +
"_Thumb.jpg'>";
}
}
>>>>>>>>>>>>>>
Thanks in advance,
David
- 11
- ASP.Net >> Proper Location of FilesI've been getting myself fimiliar with ASP.Net and C# and am trying to read
my database connection infomation from an xml preference file that is
located on the web server. I just built a simple web app and can execute
the test page I made with the hard coded db values and everything works
fine. When I swap in my code for reading from the xml preference file I get
an error saying the xml document that I'm reading with is null.
So I pulled out all the code to and made a test program to test my xml
reading code locally and it worked fine... so I'm thinking that its not
finding the xml file and then xml document is never built and is null.
So I thought I would write out a little test txt file from within my web
application to find out what directory the code was looking in for my xml
preference file.... but I am not able to find this file.
If I have my index.aspx file in the folder race...
/race/index.aspx
and I tell it to just
XmlTextReader reader = new XmlTextReader("DBConnection.xml");
and I have the file
/race/DBConnection.xml
in that location shouldn't it work?
Thanks for any input
Bryan
- 12
- IIS >> Inetinfo.exe and IISState LogsHello all,
I have been experiencing problems with an event log stating: The IIS Admin
Service service terminated unexpectedly. It
has done this 2 time(s). The following corrective action will be taken in 1
milliseconds: Run the configured recovery program. I have researched
through google and found many people having the same problem. I have
checked the isapi filters and the only one I have running for SSL purposes
are SSPIFILT set to high. I have asp/vbscript pages running.
I downloaded the IISState program and run the process and come up with the
following. Does anyone know how to look at this stuff and find out what is
wrong?
Thanks, Gale
Opened log file 'C:\iisstate\output\IISState-1904.log'
***********************
Starting new log output
IISState version 3.3.1
Mon Mar 01 11:52:58 2004
OS = Windows 2000
Executable: inetinfo.exe
PID = 1904
Note: Thread times are formatted as HH:MM:SS.ms
***********************
Thread ID: 0
System Thread ID: 8a4
Kernel Time: 0:0:0.0
User Time: 0:0:0.10
Thread Type: Other
# ChildEBP RetAddr
00 0006f89c 7c586235 ntdll!ZwReadFile+0xb
01 0006f910 77dd8752 KERNEL32!ReadFile+0x181
02 0006f93c 77dd7fdc ADVAPI32!ScGetPipeInput+0x28
03 0006f9b8 77dd7e0c ADVAPI32!ScDispatcherLoop+0x4a
04 0006fbf4 01002884 ADVAPI32!StartServiceCtrlDispatcherA+0x7d
05 0006fd30 01001e94 inetinfo!StartDispatchTable+0x2f1
06 0006ff70 01002fbf inetinfo!main+0x654
07 0006ffc0 7c5987e7 inetinfo!mainCRTStartup+0xff
08 0006fff0 00000000 KERNEL32!BaseProcessStart+0x3d
Thread ID: 1
System Thread ID: 6ac
Kernel Time: 0:0:0.90
User Time: 0:0:0.130
Thread Status: Thread is in a WAIT state.
Thread Type: Other
# ChildEBP RetAddr
00 0049fd1c 7c599e8e ntdll!NtWaitForSingleObject+0xb
01 0049fd44 7c57b3d5 KERNEL32!WaitForSingleObjectEx+0x71
02 0049fd54 6e6f1fe8 KERNEL32!WaitForSingleObject+0xf
03 0049fd70 01002440 iisadmin!ServiceEntry+0x156
04 0049ffa4 77dd8943 inetinfo!InetinfoStartService+0x2bd
05 0049ffb4 7c57b382 ADVAPI32!ScSvcctrlThreadW+0xe
06 0049ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 2
System Thread ID: 588
Kernel Time: 0:0:0.80
User Time: 0:0:0.90
Thread Status: Thread is in a WAIT state.
Thread Type: Other
# ChildEBP RetAddr
00 0059fe60 7c59a059 ntdll!NtWaitForMultipleObjects+0xb
01 0059feb0 77e1e9fb KERNEL32!WaitForMultipleObjectsEx+0xea
02 0059ff0c 77e1ea48 USER32!MsgWaitForMultipleObjectsEx+0x153
03 0059ff28 6e5abc1d USER32!MsgWaitForMultipleObjects+0x1d
04 0059ff80 780060ce IisRTL!SchedulerWorkerThread+0xa7
05 0059ffb4 7c57b382 MSVCRT!_beginthreadex+0xca
06 0059ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 3
System Thread ID: 730
Kernel Time: 0:0:0.130
User Time: 0:0:0.60
Thread Status: Thread is in a WAIT state.
Thread Type: Other
# ChildEBP RetAddr
00 00c8fc1c 7c59a059 ntdll!NtWaitForMultipleObjects+0xb
01 00c8fc6c 77e1e9fb KERNEL32!WaitForMultipleObjectsEx+0xea
02 00c8fcc8 77e1ea48 USER32!MsgWaitForMultipleObjectsEx+0x153
03 00c8fce4 769c4f9f USER32!MsgWaitForMultipleObjects+0x1d
04 00c8fd30 65f2d8b6 INFOCOMM!IIS_SERVICE::StartServiceOperation+0x209
05 00c8fd70 01002440 w3svc!ServiceEntry+0x1b5
06 00c8ffa4 77dd8943 inetinfo!InetinfoStartService+0x2bd
07 00c8ffb4 7c57b382 ADVAPI32!ScSvcctrlThreadW+0xe
08 00c8ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 4
System Thread ID: 93c
Kernel Time: 0:0:0.490
User Time: 0:0:0.470
Thread Type: HTTP Listener
# ChildEBP RetAddr
00 00ccff50 7c585323 ntdll!NtRemoveIoCompletion+0xb
01 00ccff7c 6d7088db KERNEL32!GetQueuedCompletionStatus+0x27
02 00ccffb4 7c57b382 ISATQ!AtqPoolThread+0x40
03 00ccffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 5
System Thread ID: 69c
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Type: Possible ASP page. Possible DCOM activity
Executing Page: ASP.dll symbols not found. Unable to locate ASP page.
Continuing with other analysis.
No remote call being made
# ChildEBP RetAddr
00 00f8feb8 7c585323 ntdll!NtRemoveIoCompletion+0xb
01 00f8fee4 77d809da KERNEL32!GetQueuedCompletionStatus+0x27
02 00f8ff20 77d50ede RPCRT4!COMMON_ProcessCalls+0x9e
03 00f8ff74 77d50d17 RPCRT4!LOADABLE_TRANSPORT::ProcessIOEvents+0x99
04 00f8ff78 77d39a00 RPCRT4!ProcessIOEventsWrapper+0x9
05 00f8ffa8 77d41c6c RPCRT4!BaseCachedThreadRoutine+0x4f
06 00f8ffb4 7c57b382 RPCRT4!ThreadStartRoutine+0x18
07 00f8ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 6
System Thread ID: 6b4
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Type: Possible ASP page. Possible DCOM activity
Executing Page: ASP.dll symbols not found. Unable to locate ASP page.
Continuing with other analysis.
No remote call being made
# ChildEBP RetAddr
00 00fcfe24 77d574d4 ntdll!NtReplyWaitReceivePortEx+0xb
01 00fcff74 77d56d9e RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0x74
02 00fcff78 77d39a00 RPCRT4!RecvLotsaCallsWrapper+0x9
03 00fcffa8 77d41c6c RPCRT4!BaseCachedThreadRoutine+0x4f
04 00fcffb4 7c57b382 RPCRT4!ThreadStartRoutine+0x18
05 00fcffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 7
System Thread ID: 6bc
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Status: Thread is in a WAIT state.
Thread Type: Other
# ChildEBP RetAddr
00 00d0fd20 7c59a059 ntdll!NtWaitForMultipleObjects+0xb
01 00d0fd70 7c599f6c KERNEL32!WaitForMultipleObjectsEx+0xea
02 00d0fd88 778322b2 KERNEL32!WaitForMultipleObjects+0x17
03 00d0ffb4 7c57b382 RTUTILS!TraceServerThread+0xde
04 00d0ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 8
System Thread ID: 750
Kernel Time: 0:0:0.50
User Time: 0:0:0.40
Thread Status: Thread is in a WAIT state.
Thread Type: Other
# ChildEBP RetAddr
00 0104fe74 7c59a059 ntdll!NtWaitForMultipleObjects+0xb
01 0104fec4 77e1e9fb KERNEL32!WaitForMultipleObjectsEx+0xea
02 0104ff20 77e1ea48 USER32!MsgWaitForMultipleObjectsEx+0x153
03 0104ff3c 65f38a88 USER32!MsgWaitForMultipleObjects+0x1d
04 0104ff80 7800c9eb w3svc!CMTACallbackThread::Thread+0x42
05 0104ffb4 7c57b382 MSVCRT!_beginthread+0xce
06 0104ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 9
System Thread ID: 920
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Status: Thread is in a WAIT state.
Thread Type: Other
# ChildEBP RetAddr
00 0108fea8 7c59a059 ntdll!NtWaitForMultipleObjects+0xb
01 0108fef8 77e1e9fb KERNEL32!WaitForMultipleObjectsEx+0xea
02 0108ff54 77e1ea48 USER32!MsgWaitForMultipleObjectsEx+0x153
03 0108ff70 65f2e673 USER32!MsgWaitForMultipleObjects+0x1d
04 0108ffb4 7c57b382 w3svc!OleHackThread+0x88
05 0108ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 10
System Thread ID: 828
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Status: Thread is in a WAIT state.
Thread Type: Other
# ChildEBP RetAddr
00 010cfce0 74fdbcd2 ntdll!NtWaitForSingleObject+0xb
01 010cfd1c 74fd7ee6 msafd!SockWaitForSingleObject+0x1a8
02 010cfe08 75031da9 msafd!WSPSelect+0x24e
03 010cfe6c 6e2b3b6e WS2_32!select+0xe7
04 010cffb4 7c57b382 inetsloc!SocketListenThread+0x51
05 010cffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 11
System Thread ID: 834
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Status: Thread is in a WAIT state.
Thread Type: HTTP Listener
# ChildEBP RetAddr
00 0110fdfc 74fdbcd2 ntdll!NtWaitForSingleObject+0xb
01 0110fe38 74fd7ee6 msafd!SockWaitForSingleObject+0x1a8
02 0110ff24 75031da9 msafd!WSPSelect+0x24e
03 0110ff88 6d7062b4 WS2_32!select+0xe7
04 0110ffb0 6d706605 ISATQ!ATQ_BMON_SET::BmonThreadFunc+0x22
05 0110ffb4 7c57b382 ISATQ!BmonThreadFunc+0x9
06 0110ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 12
System Thread ID: 760
Kernel Time: 0:0:0.620
User Time: 0:0:0.90
Thread Type: HTTP Listener
# ChildEBP RetAddr
00 0114ff50 7c585323 ntdll!NtRemoveIoCompletion+0xb
01 0114ff7c 6d7088db KERNEL32!GetQueuedCompletionStatus+0x27
02 0114ffb4 7c57b382 ISATQ!AtqPoolThread+0x40
03 0114ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 13
System Thread ID: 6a8
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Status: Thread is in a WAIT state.
Thread Type: Other
# ChildEBP RetAddr
00 0118ebe4 77f8c3a4 ntdll!NtWaitForMultipleObjects+0xb
01 0118ffb4 7c57b382 ntdll!RtlpWaitThread+0x1b7
02 0118ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 14
System Thread ID: 6f0
Kernel Time: 0:0:0.10
User Time: 0:0:0.0
Thread Status: Thread is in a WAIT state.
Thread Type: Other
# ChildEBP RetAddr
00 012cff1c 7c59a059 ntdll!NtWaitForMultipleObjects+0xb
01 012cff6c 7c599f6c KERNEL32!WaitForMultipleObjectsEx+0xea
02 012cff84 7c121fef KERNEL32!WaitForMultipleObjects+0x17
03 012cffb4 7c57b382 USERENV!NotificationThread+0x5f
04 012cffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 15
System Thread ID: 838
Kernel Time: 0:0:0.0
User Time: 0:0:0.70
Thread Type: Possible ASP page. Possible DCOM activity
Executing Page: ASP.dll symbols not found. Unable to locate ASP page.
Continuing with other analysis.
No remote call being made
# ChildEBP RetAddr
00 013bfe24 77d574d4 ntdll!NtReplyWaitReceivePortEx+0xb
01 013bff74 77d56d9e RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0x74
02 013bff78 77d39a00 RPCRT4!RecvLotsaCallsWrapper+0x9
03 013bffa8 77d41c6c RPCRT4!BaseCachedThreadRoutine+0x4f
04 013bffb4 7c57b382 RPCRT4!ThreadStartRoutine+0x18
05 013bffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 16
System Thread ID: 85c
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Type: HTTP Listener
# ChildEBP RetAddr
00 0140ff50 7c585323 ntdll!NtRemoveIoCompletion+0xb
01 0140ff7c 6d7088db KERNEL32!GetQueuedCompletionStatus+0x27
02 0140ffb4 7c57b382 ISATQ!AtqPoolThread+0x40
03 0140ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 17
System Thread ID: 1ac
Kernel Time: 0:0:0.40
User Time: 0:0:0.60
Thread Type: Possible ASP page. Possible DCOM activity
Executing Page: ASP.dll symbols not found. Unable to locate ASP page.
Continuing with other analysis.
No remote call being made
# ChildEBP RetAddr
00 0148fe24 77d574d4 ntdll!NtReplyWaitReceivePortEx+0xb
01 0148ff74 77d56d9e RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0x74
02 0148ff78 77d39a00 RPCRT4!RecvLotsaCallsWrapper+0x9
03 0148ffa8 77d41c6c RPCRT4!BaseCachedThreadRoutine+0x4f
04 0148ffb4 7c57b382 RPCRT4!ThreadStartRoutine+0x18
05 0148ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 18
System Thread ID: 84c
Kernel Time: 0:0:0.40
User Time: 0:0:0.70
Thread Type: Possible ASP page. Possible DCOM activity
Executing Page: ASP.dll symbols not found. Unable to locate ASP page.
Continuing with other analysis.
No remote call being made
# ChildEBP RetAddr
00 014cfe24 77d574d4 ntdll!NtReplyWaitReceivePortEx+0xb
01 014cff74 77d56d9e RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0x74
02 014cff78 77d39a00 RPCRT4!RecvLotsaCallsWrapper+0x9
03 014cffa8 77d41c6c RPCRT4!BaseCachedThreadRoutine+0x4f
04 014cffb4 7c57b382 RPCRT4!ThreadStartRoutine+0x18
05 014cffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 19
System Thread ID: 934
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Status: Thread is in a WAIT state.
Thread Type: Other
# ChildEBP RetAddr
00 0162ff1c 7c59a059 ntdll!NtWaitForMultipleObjects+0xb
01 0162ff6c 7c599f6c KERNEL32!WaitForMultipleObjectsEx+0xea
02 0162ff84 1f7d226c KERNEL32!WaitForMultipleObjects+0x17
03 0162ffb4 7c57b382 ODBC32!RegMonitorThread+0x2d
04 0162ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 20
System Thread ID: 6b0
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Status: Thread is in a WAIT state.
Thread Type: Idle ASP thread
# ChildEBP RetAddr
00 0166ff08 7c59a059 ntdll!NtWaitForMultipleObjects+0xb
01 0166ff58 7c599f6c KERNEL32!WaitForMultipleObjectsEx+0xea
02 0166ff70 787f37d4 KERNEL32!WaitForMultipleObjects+0x17
03 0166ffb4 7c57b382 COMSVCS!CEventDispatcher::PushEvents+0x44
04 0166ffc0 00000008 KERNEL32!BaseThreadStart+0x52
Thread ID: 21
System Thread ID: 77c
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Type: Possible ASP page. Possible DCOM activity
Executing Page: ASP.dll symbols not found. Unable to locate ASP page.
Continuing with other analysis.
Remote call is either to a MTA object or object not initialized. Also,
possible utility thread.
DCOM call being made to Process ID: 2120
Waiting on thread id: ffffffff
# ChildEBP RetAddr
00 016afb68 77d4ec77 ntdll!ZwRequestWaitReplyPort+0xb
01 016afb94 77d3a2c7 RPCRT4!LRPC_CCALL::SendReceive+0x11e
02 016afba0 77b23b2c RPCRT4!I_RpcSendReceive+0x2c
03 016afbc0 77b239f7 ole32!ThreadSendReceive+0xef
04 016afbd8 77b20aa5 ole32!CRpcChannelBuffer::SwitchAptAndDispatchCall+0x14a
05 016afc18 77b23870 ole32!CRpcChannelBuffer::SendReceive2+0x96
06 016afc28 77a6c767 ole32!CRpcChannelBuffer::SendReceive+0x11
07 016afc88 77ab6ac3 ole32!CAptRpcChnl::SendReceive+0xa9
08 016afce0 77d90328 ole32!CCtxComChnl::SendReceive+0x124
09 016afcfc 77d92b3f RPCRT4!NdrProxySendReceive+0x4c
0a 016aff44 77d95f85 RPCRT4!NdrClientCall2+0x4f5
0b 016aff60 77d77fcb RPCRT4!ObjectStublessClient+0x76
0c 016aff70 787f372e RPCRT4!ObjectStubless+0xf
0d 016affb4 7c57b382
COMSVCS!CEventDispatcher::GetEventServerInfoThread+0x10e
0e 016affec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 22
System Thread ID: 974
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Type: WebDav Worker Thread
# ChildEBP RetAddr
00 017eff30 7c585323 ntdll!NtRemoveIoCompletion+0xb
01 017eff5c 6b5e99c2 KERNEL32!GetQueuedCompletionStatus+0x27
02 017eff8c 6b5e997a httpext!CDavWorkerThread::GetWorkCompletion+0x23
03 017effb4 7c57b382 httpext!CDavWorkerThread::ThreadDispatcher+0x30
04 017effec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 23
System Thread ID: 8f0
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Type: WebDav Worker Thread
# ChildEBP RetAddr
00 0182ff30 7c585323 ntdll!NtRemoveIoCompletion+0xb
01 0182ff5c 6b5e99c2 KERNEL32!GetQueuedCompletionStatus+0x27
02 0182ff8c 6b5e997a httpext!CDavWorkerThread::GetWorkCompletion+0x23
03 0182ffb4 7c57b382 httpext!CDavWorkerThread::ThreadDispatcher+0x30
04 0182ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 24
System Thread ID: 4ac
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Type: WebDav Worker Thread
# ChildEBP RetAddr
00 0186ff30 7c585323 ntdll!NtRemoveIoCompletion+0xb
01 0186ff5c 6b5e99c2 KERNEL32!GetQueuedCompletionStatus+0x27
02 0186ff8c 6b5e997a httpext!CDavWorkerThread::GetWorkCompletion+0x23
03 0186ffb4 7c57b382 httpext!CDavWorkerThread::ThreadDispatcher+0x30
04 0186ffec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 25
System Thread ID: 104
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Type: WebDav Worker Thread
# ChildEBP RetAddr
00 018aff30 7c585323 ntdll!NtRemoveIoCompletion+0xb
01 018aff5c 6b5e99c2 KERNEL32!GetQueuedCompletionStatus+0x27
02 018aff8c 6b5e997a httpext!CDavWorkerThread::GetWorkCompletion+0x23
03 018affb4 7c57b382 httpext!CDavWorkerThread::ThreadDispatcher+0x30
04 018affec 00000000 KERNEL32!BaseThreadStart+0x52
Thread ID: 26
System Thread ID: 99c
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Type: WebDav Worker Thread
# ChildEBP RetAddr
00 018eff30 7c585323 ntdll!NtRemoveIoCompletion+0xb
01 018eff5c 6b5e99c2 KERNEL32!GetQueuedCompletionStatus+0x27
02 018eff8c 6b5e997a httpext!CDavWorkerThread::GetWorkCompletion+0x23
03 018effb4 7c57b382 httpext!CDavWorkerThread::ThreadDispatcher+0x30
04 018effec 00000000 KERNEL32!BaseThreadStart+0x52
Closing open log file C:\iisstate\output\IISState-1904.log
- 13
- ASP.Net >> Need a stress test toolI need to stress test an asp.net application but I don't have the Microsoft
Application Center Test tool.
Does anybody know of a good FREE tool that I can use to stress test my
application?
Thanks
- 14
- ASP/Active Server Pages >> Dynamic catalog with unlimited category levels?Hey,
I've done a number of product catalogs/galleries with one or two
category levels (Category > Subcategory). The straightforward way to do
this, of course, is to use database fields for Category and Subcategory
and query off of those fields.
I have a client now who is interested in what sounds to me to be an
unnecessarily complex catalog with an as of yet undefined number of
category levels at their disposal.
My initial response would be just to add more levels of subcategories to
the database, but I was wondering if anyone had come up with a system
allowing the dynamic addition of an unlimited number of subcategories to
a catalog, and would be willing to share your methods. Or, if I should
just stick to the obvious plan.
Thanks.
- 15
- ASP.Net >> Using MS Word on serverHi
We have a requirement for a browser based app which needs to be able to
create/print word files, mail merges e.t.c.
How should we approach this? I an assuming that running word on the server
is not a great idea because of threading issues.
Has anyone else done this kind of thing?
Is serializing access to the word component the only way?
Thanks
CMan
|
|
|