| ASP.NET 2.0 Website Administration Tool |
|
 |
Index ‹ Web Programming ‹ ASP.Net
|
- Previous
- 1
- ASP.Net >> Asymmetric EncryptionHello everybody..
I hav some confusion regarding asymmetric encryption.As asymmetric
encryption it there is one private key and one public key.So any data
is encrypted using private key and the same is decrypted at client side
using public key and vice-versa..Now i hav confusion like i.e.
* Are both the keys available to both sender and receiver.?
* When data is encrypted using public key ,Is the same data decrypted
using private key( at client side).?
* How the keys are send to the client/receiver of message..I mean are
they assigned to browsers or they are validated or send depending on
login id/password of a user.?
*If possible kindly explain (in-short) the whole process of assymetric
encryption.!!!plz
Thanks & Regards
Priyabrata
- 2
- ASP.Net >> Adding Validation via OnItemDataBound event (ASP.NET 2.0)OK, I am running into some issues that I cant figure out a work-around.
I am not going to post code cause I figured out WHY my issue is
happening:
-I have a datagrid, and a button that fires a click event.
-The Datagrids onitemdatabound event dynamically creates validation
controls per values from other columns in the datagrid, one of those
controls is a textbox and it is the ControlToValidate of the validation
control.
ie - Basically, think of a shopping cart with a quantity textbox and
another NOT visible column for inventory. During onitemdatabound I
check the inventory (tempInventory = e.Item.Cells(1).Text) and create
the necessary validation for Qty.
Everything works great with client side validation, the problem starts
when I attempt to process validation server side.
When my button with the click event is fired, Page.IsValid is always
true. BUT, when I move the validation control creation to the
OnItemCreated event, it all works fine.
My problem is that the validation relies on data, which OnItemDataBound
has not fired yet for that item.
Any ideas? In theory, I am thinking of creating the validation fully at
itemCreated, then disable and change validator properties at the
itemdatabound event if applicable???? I don't know if that will even
work.
- 3
- 4
- ASP.Net >> Best Way to Replace string characterI have the following letters;
string letters = "a;b;c....to z";
the I need to replace the incoming string which containing letters above
with integer 1 i did following
for(int u=0;u<letters.Split(';').Length;u++) {
FilesName = FilesName.Trim().Replace(letters.Split(';')[u], "1");
}
is there better way to do that
- 5
- ASP.Net >> IIS x NetscapeDear friends,
How do I do to test my pages in Netspace 7.1 with IIS 5?
When I open any website, is requested an user and password. I put my Windows
XP user and password but return HTTP error 403...
How do I do to configure IIS for open web site in Netscape without
authentication?
Thank you and I'm sorry by my poor english.
RAMON ROCHA
from Brazil
- 6
- 7
- 8
- IIS >> WIN XP PRO HOSTING MULTI WEBSITES IIS 5.1I want to host 2 websites on my win xp pro box using default IIS 5.1. I am dumbfounded at how IIS knows which root directory to use when it receives a request for webpages. I only have one root directory avail on win xp pro. Knowledge database talks about utilizing multi headers, but I dont understand how its suppose to work with one IP and one port. Any help would be great. What about creating virtual directory, would that help
Cheers
Ian
- 9
- 10
- 11
- ASP.Net >> Table or DatagridHello,
Im new in asp.net especially in web base application.
I want to ask about datagrid. I had shown my table on
datagrid, and what I want to ask is how to set the column
height fixed? Because when I have a long word it
automatically set new line instead of hide it. I want it
to be hide like this 928192... with 3 dot at the end of
the word if it is to long.
Is it possible to do it?
Thanks alll
- 12
- 13
- Frontpage Client >> video streamingI am using windows media encoder to stream live video.
How can I add this live stream on my web page, in a player?
The stream is http://tvministry.woomc.org:1123
How would I script this in frontpage so that viewers can access the live
stream in an embedded player on my site?
- 14
- Frontpage Programming >> Playing two pieces of video in sequenceHow can I program a link to call up two separate pieces of video, one after
another?
I tried the .M3U playlist thing, but had a problem when the first video
would play fine, but the second would only play audio. I tried updating
everything I could find to update, but still couldn't make this work.
Any suggestions would be appreciated.
ed
- 15
- Frontpage Client >> Publishing ProcedureHello.
You create a new site using FrontPage. You publish it to a server with
FrontPage extensions already installed. No problem!
Now you Frontpage website is 350-400 htm pages! You publish and FrontPage
takes forever to compare the local and remote webs in order to start
publishing!
Is that the only thing to do when publishing lareg websites through
FrontPage? ie, wait until the comparison process ends for FP to start
publishing the modified or new htm documents and pictures (if any)?
Please advise.
|
| Author |
Message |
dbroome

|
Posted: Thu Mar 30 11:18:37 CST 2006 |
Top |
ASP.Net >> ASP.NET 2.0 Website Administration Tool
Hi
Can ASP.NET 2.0 Website Administration Tool be packaged with an application
so clients can manage their own users? If not is an alternative available?
Thanks
Regards
Web Programming49
|
| |
|
| |
 |
Juan

|
Posted: Thu Mar 30 11:18:37 CST 2006 |
Top |
ASP.Net >> ASP.NET 2.0 Website Administration Tool
All the code is there for you to adapt and use at your convenience.
drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"John" <EMail@HideDomain.com> wrote in message news:EMail@HideDomain.com...
> Hi
>
> Can ASP.NET 2.0 Website Administration Tool be packaged with an application so clients can manage
> their own users? If not is an alternative available?
>
> Thanks
>
> Regards
>
|
| |
|
| |
 |
Dabbler

|
Posted: Sun Jun 18 13:42:01 CDT 2006 |
Top |
ASP.Net >> ASP.NET 2.0 Website Administration Tool
Can I just push the asp.netwebadminfiles folder to my hosting server's
application root folder and use the ..\security\secuirty.aspx page as is?
"Juan T. Llibre" wrote:
> All the code is there for you to adapt and use at your convenience.
>
> drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles
>
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en español : http://asp.net.do/foros/
> ===================================
> "John" <EMail@HideDomain.com> wrote in message news:EMail@HideDomain.com...
> > Hi
> >
> > Can ASP.NET 2.0 Website Administration Tool be packaged with an application so clients can manage
> > their own users? If not is an alternative available?
> >
> > Thanks
> >
> > Regards
> >
>
>
>
|
| |
|
| |
 |
Erik

|
Posted: Sun Jun 18 20:33:08 CDT 2006 |
Top |
ASP.Net >> ASP.NET 2.0 Website Administration Tool
On Sun, 18 Jun 2006 11:42:01 -0700, Dabbler wrote:
> Can I just push the asp.netwebadminfiles folder to my hosting server's
> application root folder and use the ..\security\secuirty.aspx page as is?
Probably not. There seems to be a number of problems getting this to work
remotely.
You might, however, be interested in this:
http://weblogs.asp.net/scottgu/archive/2006/01/09/434925.aspx
|
| |
|
| |
 |
Dabbler

|
Posted: Mon Jun 19 02:05:02 CDT 2006 |
Top |
ASP.Net >> ASP.NET 2.0 Website Administration Tool
Thanks Eric, that code was just what I was looking for. Now if I can only get
it to work on my hosted site (works locally but I get "That assembly does not
allow partially trusted callers" when trying to run Atlas (ajax) on the
hosted server).
"Erik Funkenbusch" wrote:
> On Sun, 18 Jun 2006 11:42:01 -0700, Dabbler wrote:
>
> > Can I just push the asp.netwebadminfiles folder to my hosting server's
> > application root folder and use the ..\security\secuirty.aspx page as is?
>
> Probably not. There seems to be a number of problems getting this to work
> remotely.
>
> You might, however, be interested in this:
>
> http://weblogs.asp.net/scottgu/archive/2006/01/09/434925.aspx
>
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ ASP.Net |
- Next
- 1
- ASP.Net >> "Thread was being aborted" exception on redirect - VERY weird!!Hello,
I have a page that is supposed to do some checking, and if OK, set a
session variable before redirecting to another page. The following code
is a simplified version, I have hard-coded the basket ID and removed a
load of extra checking...
public partial class GoToCheckout : Page {
public void Page_Load(Object o, EventArgs e) {
try {
Session["basketid"] = "178";
//x.Text = "redirecting to PreCheckout.aspx";
Response.Redirect("PreCheckout.aspx");
} catch (Exception ex) {
Response.Redirect("/?msg=" + ex.Message);
//x.Text = "exception - " + ex.Message;
}
}
}
When this page is called, it throws a "Thread was being aborted"
exception when it hits the line...
Response.Redirect("PreCheckout.aspx");
The catch block picks it up and redirects to the home page, putting the
exception message in the querystring. I did this because if I comment
out the redirect in the catch and instead use the (commented out) x.Text
bit (x is a literal, put on the otherwise empty .aspx file for
debugging), then the redirect works fine!!
If I comment out the redirect in the try block and uncomment the x.Text
line there, then the page displays the message "redirecting to
PreCheckout.aspx" exactly as expected.
So, it seems there's some weird problem with the redirect, but I can't
work it out. Nor can I work out why changing the behaviour of the code
in the catch block changes whether the exception is raised or not.
This code has been working fine for a few months now. I have recently
been changing pages to use master pages and themes, which is when I
noticed the problem. However, if I now change this page back to not use
a master or theme, the problem is still there. I am totally baffled, and
would appreciate any help you can offer. TIA
--
Alan Silver
(anything added below this line is nothing to do with me)
- 2
- ASP.Net >> remove user password that IE could cache : how ?Hello,
i have a Asp.net V2 login page with a password to enter.
In some case, a user could forget and tell IE to save its password :
How to prevent it ?
Is there a way to disable it ? to block it ?
Or could i create a button that save another text (replace) the cached
password ? the user will be prompted to click the button to remove its
cached password .... how to do it ?
Thanks a lot ...
- 3
- ASP/Active Server Pages >> ASP error in IE<%
Option Explicit
Dim RS, WRS, CRS, cst conntemp, sqltemp, SQL, CNT, MVCNT
cst = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & Server.MapPath("\db\xxx.mdb")
set conntemp = Server.CreateObject("ADODB.Connection")
conntemp.open cst '<== Line 6
When viewing this page in IE, if I refresh the page or click on a link to another page, I
get 2 dialog boxes, one after the other, when using IE. Doesn't happen in Firefox.
"A runtime error has occured.
Do you wish to debug?
Line 6
Object required"
Then the page reacts normally, it either refreshes, or goes to the linked page.
Thanks,
MikeR
- 4
- Frontpage Client >> targetting multiple frames with different contents?Is it possible to target multiple frames with different contents from one
source link.
I have two inline frames for different purpose, yet for a similar topic, how
do I target two inline frames to bring out to different contents when I
select an option from a menu?
I am using FrontPage 2003.
- 5
- Frontpage Programming >> frontpage email reply formI used the Frontpage 2003 templete for the email reply form. After I set the
properties and close the property box, I get an error message that "the
server is not configured to send emai"l. Before I published the site, I
enabled Frontpage extensions on the server.
I called the hosting company and they told me it will work with additional
programing to the form. I have no idea what additional programing needs to
be done.
Can anyone help me?
- 6
- ASP.Net >> How to reference method in usercontrolHi
I want to call a method called test() on my user control type MyControl (see below). The question is how to reference this? I tried :
(MyControl)(Panel1.FindControl("myusercontrol1")).test();
page:
<asp:panel id="Panel1" runat="server">
<TABLE id="Table1" runat ="server">
<TR>
<TD >
<uc1:myusercontrol id="myusercontrol1"runat="server"></uc1:myusercontrol>
</TD>
</TR>
</TABLE>
</asp:panel>
Thanks
Dik
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
- 7
- ASP.Net >> Website security without javascript or cookiesWhat are the pitfalls of passing a token in the url once a user is
logged on so I can remember who they are?
I can easily implement this by adding &token=abcdefghijklmnop123 to
each internal link on my web pages once the user is logged on.
I won't be passing the username or password in the url, just a token
that is created when a user logs on. When the server receives the token
it maps it back to the account id. This saves the user from logging on
all the time and also means I don't rely on javascript or cookies.
I can make the token time out after ten minutes of inactivity. I could
also encrypt the client ip address in the token for further security
and check it on the server. Is this wise? How dynamic can IP addresses
be? Can a surfer's ip address change without dialing off and back in to
the isp?
My "token in the url" proposal isn't used by Amazon and that makes me
think I'm missing some security issue. Amazonseem to use cookies for
all but the secure pages and then seem to use a token in the url over a
https link for the more secure pages, which scrambles the token.
Thanks for any insights
- 8
- ASP.Net >> redirecting a form's POST targetnot sure if that subject makes sense ;0)
I've been asked to do something I've never had to do; Create a form and
"hide" the url that it posts to. They don't want a user to be able to view
the source and see the REAL url that the form is posting to, they don't mind
if the user see "a" url, just not the actual one.
For example:
The site's URL is www.someForm.com and the form needs to post it's data to
www.someFormDatabase.com
I want to post the form to www.someForm.com then on the server side
"re-post" it to www.someFormDatabase.com
I hope you are following me, if so, does anyone have any idea how to do
this? I'm sure it's possible, I've just never needed to do it before. Any
suggestions or help very much appreciated.
Thanks for reading,
Steve
- 9
- ASP.Net >> DropDownList Selecting itemUsing Visual Studio.net 2003 to create an aspx web form I am having a
problem selecting an item from DropDownListBox with id= ListBoxStudies.
I can see the items from the bound database table but when I click on an item
the selected item stays at itemindex 0. What must I do to have the
itemindex change when I click on an item. What's missing from the following
code?
ListBoxStudies.DataSource = BICDataSet.Tables("protocols")
ListBoxStudies.DataTextField = "Study_name"
ListBoxStudies.DataValueField = "irb_number"
ListBoxStudies.DataBind()
I have tested this using a submit button and the _SelectedIndexchanged event
and I still always get selectedindex = 0.
Private Sub DropDownListStudies_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Dim study_name As String = Session("study_name")
study_name = ListboxStudies.SelectedItem.Text
End Sub
--
Derek V. Taylor
UCI Brain Imaging Center
- 10
- Frontpage Client >> Frontpage keeps running producing no error message when trying to open websiteHi,
I can open one website but not another. The other
website opens fine on another computer.
When I try to open the web on the computer that won't do
it frontpage just keeps running with a blank page and no
error message.
I've checked the hard drive, defragmented the disk, ran
detect and repair on frontpage and increased virtual
memory.
Hope someone out there has some ideas?
Thanks so much for reading.
Jerry
- 11
- ASP.Net >> Web Services securityHi
2000 Server IIS 5
I have a web service using anonymous access, however I need to be able to
output to a log file.
I've got a log.txt file in the same directory but I keep getting errors when
trying to write to the file, I've tried adjusting the permissions
accordingly but they don't seem to make any difference.
Any suggestions?
Thanks
Kev
- 12
- ASP.Net >> Why does web.config get updated?I have a solution with a web service as the starting project. The web
service references other projects in the solution, which in turn access
other assemblies (some of which are in the GAC). When I run, VS2005
stuffs a bunch of assemblies (that are 2 or 3 levels removed from the
web service) into into web.config into the
configuration/compilation/assemblies.
This is really annoying. How can I turn it off?
Thanks.
- 13
- ASP/Active Server Pages >> ASP Connection String for Privileged AccountI don't know if this is a unique problem, or I'm going about it the
wrong way. I currently connect to one of our SQL servers via a
priviliged account (by using RUNAS). Works with no problem. I now
need the ability to connect to the same SQL server using ASP. I have
the following connect string, but I'm not sure how to specify the
domain in the string, or is there some other way?
<%
Set demoConn = Server.CreateObject("ADODB.Connection")
demoPath="DRIVER={SQL Server};" & _
"SERVER=mysqlserver;UID=myusername;" & _
"PWD=mypassword#;DATABASE=qdb"
demoConn.open demoPath
%>
Thanks!
- 14
- ASP/Active Server Pages >> Please help with sessionsHi,
I am making an online quiz. I want to write the answers to
all the questions along with the user name to an output
file. Also, since there may be multiple users accessing
the quiz at the same time, I would like to use sessions.
Can someone tell me if all the answers have to be session
variables?
Thanks.
Ram
- 15
- ASP.Net >> Page output caching for database driven pages?What are best practices for page output caching on pages that are dynamically
generated from database tables.
Our site has left-hand navigation that is comprised of dynamically generated
menus of product categories. The categories are taken from several database
tables which rarely change.
This left-hand navigation is included on every single page in the site and
as such is wrapped up in a user-control. However, when I enabled caching on
the user-control, all DHTML and events cease to work properly.
Really confused!
Ben
However, when I tried applying
|
|
|