all groups > asp.net > july 2007 > threads for monday july 2
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Query on User Authentication aganist ADS
Posted by apondu at 7/2/2007 11:49:31 PM
Hi
I have a query, i have put the code here.
I am using VS 2005, C#.Net.
This is working fine when i am install the Win OS 2003 with ADS, but
after few days it starts entering the exception and gives the message
"
Logon Failure : unknown user name or bad password"
I am a bit confu... more >>
Strange exception.
Posted by Matt at 7/2/2007 11:30:01 PM
I am using the PetShop example's ExecuteReader function:
public static SqlDataReader ExecuteReader(string connectionString,
CommandType cmdType, string cmdText, params SqlParameter[] commandParameters)
{....}
However, I alwasy get the following exception:
Outter exception:
... more >>
Handover Process Problem
Posted by jack at 7/2/2007 11:12:24 PM
Hi all,
Im an asp.net developer.I have resigned and have started an hand over
process to one of the person in the office the hand over is of the web
application which is a maintainance project. I am giving handover to
the same person with whom i have taken hand over from. since she was
on le... more >>
add web reference - access denied
Posted by Steve Richter at 7/2/2007 10:29:27 PM
from a desktop app, I want to add a web reference to the HelloWorld
web service I just created on my local system. problem is, when I
click add web reference and navigate to my web service:
c:\src#\WebSite3\WebService.asmx
I get errors listed in the right side panel: "there was an error
do... more >>
Are there any page size limitations?
Posted by GroupReader at 7/2/2007 9:47:32 PM
This might be best in an AJAX or JavaScript forum, but you guys seem
to know everything!
Background:
I'm working in ASP.Net, with UpdatePanel and Infragistics tab
controls. The entire tabcontrol is inside of an updatePanel. The tab
control contains javascript. In order to get my javascript... more >>
SortCommand in datagrid, dataview....
Posted by 276q NO[at]SPAM cox.net at 7/2/2007 7:01:07 PM
Trying to use the sortcommand in my datagrid, the subroutine
"Sort_Grid" error message is prompting: Name 'objDataView' is not
declared.
'''''''''
Sub bindSwGrid()
Dim strSQL As String = "SELECT * FROM cards"
Dim objConnection As New SQLConnection(strConnection)
... more >>
ASP.Net not showing Correct System Short Date format ?
Posted by Luqman at 7/2/2007 6:46:33 PM
I have deployed my ASP.Net Application on Windows Server 2000, Service Pack
4, when I run my Application and shows today's date with
system.date.today.ToShortDateString, it shows in the format m/d/yyyy while
in my Regional Settings, I have defined the format as dd/MM/yyyy.
If I run the same Ap... more >>
How can Administrator change the Password of existing User, without knowing his Old Password in Administer Security Tool ?
Posted by Luqman at 7/2/2007 6:31:59 PM
How can Administrator change the Password of existing User, without knowing
his Old Password in Administer Security Tool ?
One user has forgot his password, and Administer wants to refresh it.
Best Regards,
Luqman
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
MetaResourceKey in Skin files
Posted by KaOne at 7/2/2007 6:14:33 PM
Hi all,
I'm trying to use the resourkey meta tag (used for localize properties)
inside a Skin file. But it seems not work.
This is the source of the CategoryDropDownList.skin file:
<asp:DropDownList runat="server"
SkinID="CategoryDropDownList"
meta:reso... more >>
DetailsView Question
Posted by VB Programmer at 7/2/2007 6:13:39 PM
Easy question for you...
I have a GridView which displays client names (clients associated with a
certain "UserId" label.)
I have a DetailView control which I want to use to INSERT data into the
GridView. How do I make it so that the "UserId" field is automatically
filled in with whatev... more >>
How to display Administer Website at Runtime through Application ?
Posted by Luqman at 7/2/2007 6:03:43 PM
I want to display Administer WebSite (Security Tool provided by Microsoft in
Visual Studion 2005) at runtime, using my Application, without Visual Studio
2005, how can I ?
Best Regards,
Luqman
... more >>
Aspnet Worker Thread Memory Usage
Posted by jld at 7/2/2007 6:00:33 PM
Hi,
I developed an asp.net based eCommerce Website for a client and it is
hosted at discount asp.
The site is quite interactive, queries a database a lot and uses
ajax.asp.net to spice up interactivity.
The service suffers from a lot of restarts since discountasp enforces
a 100mb per worke... more >>
I hate IIS - "Server Application Unavailable" error message
Posted by Kevin Liebowicz at 7/2/2007 5:56:00 PM
Yes, I wasted the past two days trying to fix this.
Yes, this is on a Win2003 Server.
Yes, this machine is a domain controller.
Yes, I seen the dozens of KB articles like this one:
http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;Q315158
But the problem is that 99% of these are for... more >>
VS error - SQL Server not allow remote connections
Posted by VB Programmer at 7/2/2007 4:39:13 PM
I have an ASP.NET 2.0 site i'm creating in VS.NET. I left it a few days
ago, after I had implemented membership, worked on some db tables, etc...
Today I go to open the Data Connection to the SQL Express db thru the VS
interface and I get this error:
An error has occurred while establishi... more >>
Webservices Eventing
Posted by Chris at 7/2/2007 4:18:00 PM
Hi, we have data points coming in quickly a few times a second and need to
push it out to many clients (Flex, if its important...) who subscribe to
receive the data without polling for each point. I believe this is called
Webservices Eventing... Can somebody point me to an example of this sor... more >>
Best way to set theme programmatically
Posted by Juan Romero at 7/2/2007 3:44:54 PM
Hi guys,
I would like to setup a page's theme programmatically based on the user
role. I would consider this to be a tipical scenario, yet I can't seem to be
able to do this from my master page, because of the page life cycle.
What would be the best way to implement this? Currently I have ... more >>
Getting URL Parameters
Posted by Chip Pearson at 7/2/2007 3:24:20 PM
I'm using ASP.NET 2.0 to create my web site, and I am brand new to ASP.NET,
so this is probably an easy question. In my web site (developed in VS2005) I
use the MasterPage/ContentPage model, and in one of my content pages (not in
the Master page), I want to allow it to accept a parameter from ... more >>
Error message
Posted by bbawa1 NO[at]SPAM yahoo.com at 7/2/2007 2:57:57 PM
m getting this error when I run my asp application. I couldn't figure
out where is the problem.
Failed to enable constraints. One or more rows contain values
violating non-null, unique, or foreign-key constraints
this.Adapter.SelectCommand = this.CommandCollection[0];
Line 763: ... more >>
Validating for Empty Listbox
Posted by Dave at 7/2/2007 2:35:28 PM
I recently found out that the RequiredFieldValidator works differently
for a ListBox than I needed; it checks to see if a row is selected,
rather than checking to see if the listbox is empty. I tried using a
CustomValidator but it does not seem to be firing (I have e.false in
the validation fun... more >>
Enforcing UI Standards
Posted by gover at 7/2/2007 2:22:01 PM
Hello,
We are working on a .net 2.0 web app using master pages and themse. We
want to ensure that all webcontrols use the proper Skin from our them, and
that visual elements are not overridden at the page level.
I don't want to force developers to use a specific skinid, just enforce ... more >>
Membership and Role Provider Question
Posted by Erich Peterson at 7/2/2007 2:09:27 PM
Hi. I'm wondering if there is a way to switch the Membership and Role
provider during runtime (or at least the connectionStringName attribute), so
that my site can switch between using the development and production server's
DB depending on where the site is current running.
Thanks
... more >>
How do i use a static class' property at design time
Posted by TS at 7/2/2007 1:25:00 PM
i want to store my regular expressions in a static class with public
constants. I want to be able to pass a regular expression's id in a property
of a custom textbox so that in aspx page i could just set the expressionId
property and be done with it. i am trying to write as little code in code
b... more >>
How to find a file on client?
Posted by Polaris at 7/2/2007 12:32:55 PM
Hi Experts:
Is there an ASP.NET API to find a file on CLIENT machine? I'm using asp.net
2.0.
Thanks in Advance!
Polaris
... more >>
The simple stuff
Posted by Rowan at 7/2/2007 12:25:58 PM
Hi there,
I am planning/building an n-Tier system with 2 presentation layers
(web, windows) which will share the BLL and DAL. This is my first
experience with .Net. As a VB6er I had to work hard to gain an object
oriented perspective. I am sure that will get stronger as I
progress. I've s... more >>
question on best way to get a control's property from custom control
Posted by TS at 7/2/2007 12:24:07 PM
I have a custom textbox that i need to access a label's text property. the
label and textbox are 2 separate controls that will be on my page. Inside my
custom control i want to have access to this label's text. I was thinking of
having a property on my textbox that was something like LabelControl... more >>
DetailsView won't enter Edit mode?
Posted by Dave at 7/2/2007 11:56:06 AM
When I click the "Edit" hyperlink, my DetailsView doesn't enter Edit mode.
It will if I set the DefaultMode="Edit". Any thoughts? Thanks.
<asp:DetailsView ID="DetailsView1" DataKeyNames="TopicId" runat="server"
Height="50px" Width="547px" AutoGenerateEditButton=true
OnModeChanging="Detai... more >>
Using an "All" Checkbox to gray out CheckBoxList
Posted by Chris Lincoln at 7/2/2007 11:55:14 AM
Hello-
I am working with a CheckBoxList that has various ListItems, one of
which is an "All" option. When "All" is clicked, I would like the
other items to be checked and grayed out.
I'm having toruble achieving this. Any help would be greatly
appreciated!!
... more >>
Debug causes double postback
Posted by Mike Logan at 7/2/2007 11:16:02 AM
My environment. .Net 2.0 VS2k5 SP1, IE6 (6.0.2900.2180)
I have a web content page. The page will post back twice if I am running in
debug mode. However if I run through the breakpoints fast enough the page
will not post back twice.
I have disabled Google Popup blocker, windows firewall,... more >>
displaying images randomly
Posted by Blasting Cap at 7/2/2007 11:13:40 AM
On a web page (the default page of my app), I want to grab some shots
off another of our websites (pictures of products that are already
thumbnailed) for display on my page.
I've found some examples of where they are doing it with a file share,
but not via a URL.
There are about 50-75 im... more >>
Tree view and content place holder
Posted by Mel at 7/2/2007 11:07:31 AM
How do I put my tree view control inside a content place holder? I
drag it there but it doesn't seem to appear in the correct spot.
P.S - I have a master page with a content section representing the
"body" of the page.
Mel
(Asp.net 2.0, Visual Basic, WinXP Pro SP2)
... more >>
DAL should use web.config connectionstring?
Posted by Eigh at 7/2/2007 9:48:02 AM
I have a 3 tiered archetecture:
Presentation Layer running ASP.NET through VB.NET with a web.config & 2
connection strings defined in the web.config
Business Logic layer which is nothing more than a set of wrappers for the DAL.
Data Access Layer, which is a set of data tables and data ada... more >>
nested loops
Posted by pigsy101 at 7/2/2007 9:13:55 AM
HI all.
First time here so thanks in advance.
I have a .asp page which is displaying the software we have and which
computers this software is installed on.
The code below works fine but i want to put a nested loop in so it
only displays one instance of the software and then lists all the... more >>
Querry String On Postback
Posted by Dave T at 7/2/2007 9:12:00 AM
I want to add an element to the query string so that I can find it after post
back. Does any one know where I might find out how to do this?... more >>
DropDownList in Gridview Edit Mode
Posted by Angel666 at 7/2/2007 8:19:07 AM
I have a grid view that when in edit mode I have created one column to
be a drop down of color text. I want to change the background color on
the dropdown list once it is loaded from the edit command. The list
data is a color chooser and we want to highlight each items background
in its color du... more >>
ASPX page fails to serve up using
Posted by Sherman KB at 7/2/2007 7:34:05 AM
I have an application developed using IIS 5, and the 2.14 version of the .net
framework and SQL 2005. When deployed to two different servers, the pages all
display properly when using the address
http://localhost/mywebapp/default.aspx. If I replace localhost with a DNS
name, the pages will n... more >>
AllowPageToBeOpenedBySpecifiedPage
Posted by gh at 7/2/2007 6:42:28 AM
I have an HTML page that is being opened by a button on an ASPX page.
In the head of the html page I would like to place some js to see if the
aspx page(url) is the one that called it, if so open it, if not do not
allow the html page to be displayed. Does anyone know the js for this?
TIA... more >>
override default disabled font color
Posted by louise raisbeck at 7/2/2007 6:26:07 AM
HI there. I use IE7. We have a user with bad eyesight. he cannot read the
font when IE makes an input disabled (the light grey color font). I am able
to change the background to a different color to white to try and increase a
contrast, but he still cant read it. Does anyone know a workaround ... more >>
Sample app for managing xml?
Posted by cowznofsky at 7/2/2007 5:25:28 AM
My assignment to create a web app that will be used to maintain some
xml (which will be then be persisted as an xml column in a table).
So I'm wondering if there are any sample apps around that do this.
The data would have required 5-7 tables if we had decided to keep it
relational.
I notic... more >>
About use Container.DataItem() in ItemTemplate
Posted by alberthung01 NO[at]SPAM gmail.com at 7/2/2007 3:18:54 AM
Hi all,
I try to use Container.DataItem() in my DataGrid's ItemTemplate.
Somewhere it works fine.
eg.<input type=checkbox id='cb_select_<%# Container.DataItem("TAG_ID")
%>' value='<%# Container.DataItem("TAG_NAME") %>'>
but somewhere the server returns the expression was wrong.
<asp:ImageBut... more >>
Help! How to create aspx file dynamically
Posted by flip2flik NO[at]SPAM hotmail.com at 7/2/2007 12:23:37 AM
Hi. I am using visual web developer express edition and I am using
vb.net as the programming language.
I want to create a new aspx file on a button click. I will have a
template that the new aspx file should follow. I need to pass the
values entered on the current page to the new aspx file cre... more >>
Setting Target directory for Web application Deployment
Posted by Poggs at 7/2/2007 12:00:00 AM
I am creating a Web Setup Project and wanted to use the Program Files folder
for the target location of the Application files. How do I do that in Visual
Studio 2005 Setup project.
... more >>
|