Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net > january 2004 > threads for monday january 5

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

Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
Posted by Ibrahim Mohamed El-Ganady at 1/5/2004 11:03:40 PM
Mr : I have proplem with Visual stdio 2003 and Windows2003 Enterprise Server , when I developed web application using ASP.Net (VB) that establish connection to SQL Server database the following error appeared. Server Error in '/WebApplication1' Application. Login failed for us...more >>


Advanced Select Query [Re-explained]
Posted by kuya789 NO[at]SPAM yahoo.com at 1/5/2004 10:33:56 PM
Sorry for the re-post, my original post wasn't very clear. this is very important. I need a query that can return wildcard matches if there's no exact match. I'm using IIS 5 with ASP.NET and MS Access. Bascially what I'm trying to do is to partially match a field. It's like when you type a mis-s...more >>

Regular Expression for UK phone numbers, postcode etc..
Posted by Andrew Banks at 1/5/2004 10:23:33 PM
In VS.NET, C#, I can validate agaist US Phone number, Zip, French phone number etc in the IDE... but nothing for the UK. Is there an online reference or add in for VS.NET that includes validation for UK based data - e.g. post codes, phone numbers... ...more >>

Inserting dates into SQL Server DB
Posted by Andrew Banks at 1/5/2004 10:09:43 PM
I'm running the following code in a C#.NET page and it doesn't enter the values into the DB. I'm certain the problem is to do with the txtBirth field. It allows users to enter a DOB as dd/mm/yyyy and I think it's the slashes(/) that are causing the problem. If I don't enter a DOB in this field t...more >>

need a script for counting !!!
Posted by Eitan at 1/5/2004 10:07:50 PM
Hello, How can I make a counter, and save it to a file, by some aspx code. Need sample code, please. Thanks :) ...more >>

Funky error Situation
Posted by Diogenes Dilone at 1/5/2004 10:00:52 PM
Folks Our company has been having a lil problem. We have written a web application using .net. One problem we've been having is that we need to log on as a admin before regular users logon each morning. If we do not they get an error saying that "Acess is denied: 'ASPnetMenu' " Does anyone hav...more >>

Adventures in Whidbey land...
Posted by Doug Holland at 1/5/2004 8:59:25 PM
Hi There I just installed the PDC build of Whidbey onto Windows XP using the 'Web Developer' profile when I installed and was a little surprised to see that it is only ASP.NET projects that I have available and now wishing I'd chosen 'C# Developer' which probably displays all project ty...more >>

security!!!
Posted by Amir at 1/5/2004 7:40:43 PM
Hi every one i had a question i am developing a asp.net application where in this application people who sign in could have different roles for example some one could be an admin others superviser ...and so on what i have done i have created a xml file called roles.xml where i specify ever...more >>



clear the listBox
Posted by simon at 1/5/2004 7:36:29 PM
I have asp:listBox and I tried: lstAdvPos.ClearSelection() lstAdvPos.DataSource = Nothing lstAdvPos.DataBind() lstAdvPos.Dispose() Nothing helps, listBox is still full. How can I clear it, delete all items from it? Thank you, Simon ...more >>

general db class, how to implement?
Posted by Kristoffer at 1/5/2004 7:05:40 PM
Hi! I have a general db class (a normal class, that contains the functions and subs to enable me to connect to my database) ok... but, HOW?? Do, I make use of this class in my asp.net application... I need to contact it from my codebehind page... but, I contact my codebehind page with the sr...more >>

Where is the server
Posted by James McGivney at 1/5/2004 6:57:49 PM
I have spent a lot of time developing a very simple web appliaction in VS.net The application uses two datagrads to display tables from my SQL database. The grids allow sorting and editing. I want to place the application on my Web Host's computer so that it can be accesses through the ...more >>

threads or asynchronous programming inside asp.net
Posted by Anders Both at 1/5/2004 6:55:55 PM
Does someone know´s about using threads and/or asynchronous programming inside asp.net (inside the asp.net process). I am here not speaking about the thing that the IIS makes new threads for each request, but about starting a thread inside the asp.net process. I am making big use of this thing i...more >>

Repeater Control: How to repeat in rows of x?
Posted by SamIAm at 1/5/2004 5:53:35 PM
Hi I need a repeater control (not datalist) to display a table containing 3 columns of data per row. i.e. <table> <tr> <td>Item 1</td> <td>Item 2</td> <td>Item 3</td> </tr> <tr> <td>Item 4</td> <td>Item 5</td> <td>Item 6</td...more >>

Datagrid Question1
Posted by momo at 1/5/2004 5:52:40 PM
Hello all, I need help with this. I have a datagrid (dg1) with checkboxes and I want when some rows are selected to populate another datagrid (dg2) with the selected rows from (dg1). Thanks Momo ...more >>

Can not highlight text in a textbox on a ASP.net Page
Posted by Robert M at 1/5/2004 4:55:33 PM
Hello everybody, I am having a problem that I did not have before.. I can not highlight a text in a Textbox on a ASP.NEt form .. Can anybody help.. Thank you ...more >>

Passing values from client 2 server
Posted by Yama at 1/5/2004 4:37:15 PM
Hi, Simple question: Is there a way to a value from client-side to server-side upon a click? function _getReport(ReportName) { alert(ReportName); } <asp:datalist id="dlReports" runat="server"> <itemtemplate> <img height="7" src="../ReportsImages/navlink.gif" wid...more >>

Help with this
Posted by momo at 1/5/2004 4:04:44 PM
Hello all, I need help with this. I have a datagrid (dg1) with checkboxes and I want when some rows are selected to populate another datagrid (dg2) with the selected rows from (dg1). Thanks Momo ...more >>

Printing one item of a DataList?
Posted by Allen Davis at 1/5/2004 3:39:30 PM
I have some hierarchical data bound to a series of nested DataLists and DataGrids for which I'd like to be able to provide the end-user some targeted printing capabilities. By that I mean being able to send just one parent dataitem and all its children to the printer. Does anyone have any good s...more >>

window.open("WebForm1.aspx") problem
Posted by mg at 1/5/2004 3:22:11 PM
window.open("xxxx.aspx",'') opens xxxx.asp on top But, window.open("xxxx.aspx? param1='abc'&param2='xyz'",'','toolbar=no') opens xxxx.aspx behind How can I open xxxx.aspx on top when I include parameters?...more >>

memory management problem during debugging
Posted by Welman Jordan at 1/5/2004 3:17:28 PM
When I debug an asp.net application, which would consume a considerable amount of memory, the application throws "unhandled exception" and delivers a 500 error page to the browser. I find that the memory allocated by that application is unable to reclaim. For example, I create a DataSet objec...more >>

UTF-8 & ISO-8859-1
Posted by Navanith at 1/5/2004 2:54:03 PM
Hi, If we set requestEncoding and responseEncoding to iso- 8859-1, extended characters passed via query string can be retrieved properly using Request.QueryString method. If we set requestEncoding and responseEncoding to utf-8, extended characters are missing Can anybody tell me why? ...more >>

Access main page properties
Posted by SOS at 1/5/2004 2:51:03 PM
Hi guys, i have a page and a user control wich placed on this page in my project. i need to access some properties of this page from this user control, how can i do that ? Thanx ...more >>

Validators at cross purposes?
Posted by Ken McAndrew at 1/5/2004 2:48:41 PM
I'm working on a timesheet project that involves creating textboxes and validators dynamically, and setting them in a placeholder to build a table. The Regular Expression validator works fine, ensuring there are either 1 or 2 numbers, and then optionally a period and 1 or 2 numbers. However, t...more >>

Advanced Select Query
Posted by kuya789 NO[at]SPAM yahoo.com at 1/5/2004 2:47:57 PM
I need a query that can return wildcard matches if there's no exact match. There's how the process works. 1. Input = "my email address is kfjsk@fsdf.com" 2. Look for exact match. 3. Look for wildcard match. 4. Found = "my * address *" 5. output = "my * address *" I hope this makes sense, ...more >>

Regex map?
Posted by George Ter-Saakov at 1/5/2004 2:42:21 PM
Hi. I need some info where to look for following data object (aka map). It acts as a map but accept a Regexp as a key. (support of * and ? will be sufficient). So if i try look for string it should return most suitable pair. Example: I loaded my map with following keys "test", "test\*", ...more >>

Request parameters
Posted by mg at 1/5/2004 1:58:21 PM
Is there a way to set key/value pairs in a Request object in one WebForm (other than by using the URL ... e.g. NOT WebForm2.aspx?param1="A"&param2="B") and retrieving the values in the destination WebForm (WebForm2.aspx) ...more >>

style sheet and images is specific to installation
Posted by Jon Paugh at 1/5/2004 1:57:44 PM
Hi, Our ASP.NET app has multiple installations. Each installation is for a different customer. Each customer has their own style sheet and images. Ideally a given installation would not have the style sheet and images for other installations on the production server (only required conte...more >>

Change an existing project url (and port)?
Posted by 620 at 1/5/2004 1:48:58 PM
Can I change an existing asp.net project that was initially created at "//localhost/etc" to point to "//[IP]:[Port]/etc" instead? I've recently been forced to change my local website from "all unassigned" on port 80 to [MachineIP] on [SomeOtherPort]. So the files haven't changed, the machine h...more >>

It takes around 30~60 seconds to load a aspx site for the first time. Why?
Posted by Shige at 1/5/2004 1:30:43 PM
I have a .Net website hosted on another IIS6.0. Whenever I tried to access my website after a long time, it will take forever to load, my browser will just show a blank white page and the progress bar is loading so slow. However after it is loaded, the subsequent pages is loaded up almost in...more >>

RichTextBox Installation?
Posted by Fred Nelson at 1/5/2004 1:22:44 PM
Hi: I'm devloping a VB.NET web app that needs a spell checking function. I have been trying to the the Rich Text Box product to work with my project with no success. I have installed the demo, added the references to my project, and I still get crashes every time I run it. The box it produc...more >>

Simple math overflow problem (and var declared as int64 in IDE shows as Int)
Posted by Simon Devlin at 1/5/2004 1:01:08 PM
Hi folks, I've been bashing my head against this all afternoon and am now totally baffled. Given this (a simple routine to turn a ip address string into an decimal) <snip> Dim Parts(3) as string ' --> each element is an integer in the range 0-255 Dim Big as int64 = 0 Big =16777216 *...more >>

Web Deployment Problem
Posted by John Miner at 1/5/2004 12:51:15 PM
When I set up a deployment project for a web application and execute the resulting .msi installer on the target web server, the installation wizard asks for a virtual directory target. I am attempting to host a production and a demo version of the same web application on the same server. Each ...more >>

PDF and asp.net
Posted by Vlad at 1/5/2004 12:22:26 PM
Hi all. I have an aspx page that loads pdf template from server, fills up all its fields from db and displays itself in IE (using acrobat plug-in). I use Adobe dlls to create pdf on the fly. Works fine. But now I'd like to submit this pdf back to the server as a whole file after user adds...more >>

Type Conversion
Posted by Alphonse Giambrone at 1/5/2004 12:10:47 PM
How can I convert a string to a different type based on another string or other variable? For instance, instead of Dim i as Integer i = ctype("1000", Integer) I would like to do Dim i as Integer i = ctype("1000","Integer") In other words the type conversion would be done program...more >>

Please Wait Screen
Posted by John Martin at 1/5/2004 11:51:24 AM
I have a web site that basically builds and displays reports. Some of the reports take a long time to build (up to 10 minutes). I'd like to display a "Please Wait" screen while the report is being built. Does anyone know how to do this? Thanks, John ...more >>

server control that will render <input type="hidden"`
Posted by neverstill at 1/5/2004 11:28:03 AM
hi- I need to have an asp:TextBox that will allow me to set the type attribute to hidden. I can't seem to find a way to do this. Basically, I have a Wizard application that will show/hide different panels for each step. I need to track what step I'm on, so I though I would just add a simple...more >>

Newbie Question on Textbox
Posted by Goran Topic at 1/5/2004 11:22:49 AM
Hi. I created a form with a Textbox and a Button, and I catch the OnClick on the Button. But my form is also submitted when I hit Enter on my Textbox; how do I catch that? Thanks... -- Goran Topic Centar za informatiku i racunarstvo Institut Rudjer Boskovic...more >>

Output literal to documents HEAD and BODY tags.
Posted by Big D at 1/5/2004 10:49:10 AM
Is there any way to, from the page class, send literal output to the <HEAD> of te page, or within the <BODY onload="('theFunctionIAddedToTheHead');"> ? I need to do this in a class that inherrits from PAGE, but is an abstract class for the pages of my site. I.E. System.Web.UI.Page -> myBaseP...more >>

newbie and the /bin dir
Posted by Bob H at 1/5/2004 10:45:31 AM
Hi, For a new ASP.Net application, I've read that it's dll's need to be stored in the /bin dir which is created under the wwwroot/ directory. I've also read that you can store dll's in a /bin dir under the application itself e.g. wwwroot/myapp/bin. I'm just trying to get to grips with the...more >>

User prompt handling
Posted by Thrud at 1/5/2004 10:38:57 AM
I have a button (runat=server) with some VB code attached to its on click event which does data updates. I now want to add a warning to the user prompting them whether they really want to perform the update. If they say Ok then the update proceeds, otherwise it is cancelled. How is the b...more >>

HttpContext.Current Property
Posted by Francois Malgreve at 1/5/2004 10:23:19 AM
hello guys, I have some helper class in my ASP.NET pplication who basically contains static methods. I used them as helper methods to do small jobs that I can use at many places in my code. As those classes methods are static, they are never associated with any instance, then not assoicated...more >>

Viewstate problem
Posted by Iain at 1/5/2004 9:26:28 AM
Hello We are having some problems with apparent corruption of the viewstate data for the home page on our website. The site itself consists of many user controls which are displayed / hidden as required on one page, Home.aspx. Any ideas or suggestions most welcome. The message we log repeatedly ...more >>

Page Directives
Posted by DotNetWorks at 1/5/2004 9:25:56 AM
Does anyone know of a way to insert a directeve from the code behind? Background: I an creating a custom web control that wraps the IE Web control tab strip. The tab strip will still use the IE web control tab items but the tab strip container will be custom. So I will need 2 dire...more >>

Response.Redirect opens blank page on new server
Posted by Paul Turley at 1/5/2004 9:00:03 AM
I have a working ASP.Net application that behaves oddly only on the new production server. The vast majority of code runs behind web user controls that sit on aspx pages. On my Login_Page.aspx page, user enters user name, password, etc into controls on the contained Login_Control.ascx and click...more >>

Receiving multipart posted data
Posted by Guy at 1/5/2004 8:48:02 AM
I have a small problem. A site (not mine) is posting my site multipart data (file). My site is ASP.NET, the other site isn't (in fact it's a VXML Server). I have no problem uploading files from my ASPX web page, but how does one save multipart data posted *to* a ASP.NET site from a non ASP....more >>

Web User Control
Posted by Angel at 1/5/2004 7:55:29 AM
When i try to run the web page that contains a custom web user control '.ascx.' file i get the following error: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.ascx' may be incorrect. What is wrong? Thanks...more >>

Part 2: How to Update a Web Service
Posted by John Spiegel at 1/5/2004 7:46:16 AM
Hi all, How does one update a web service? Should be insanely simple but when I copy an updated version (with new webmethods) to the server, the test page ("The following operations are supported...") still shows links to the old versions' methods. It's as though it cached a copy of the old ...more >>

Required Field Validators and Response.Redirect
Posted by Rob H at 1/5/2004 7:26:34 AM
Simple question, I have a webform that uses required field validators, I also have a button that links back to that forms homepage. If the user wants to stop what he/she is doing and clicks that link, the required field validators all work as intended, but does not allow the redirect. ...more >>

Application Center Test Details
Posted by Steve at 1/5/2004 7:20:37 AM
Can someone tell me where I can find more information on Application Center Test details such as the difference between number of request, unique request, number of connections etc. The documentation doesn't seem to have much to that. Thanks Eager Load Tester...more >>

ASP.NET pages not functional on IIS
Posted by pmelies at 1/5/2004 7:20:07 AM
One of our web servers is not handling requests for ASP.net pages. We get a "A dynamic link library (DLL) initialization routine failed." error message, though nothing is recorded in the event viewer. Classic asp pages are handled fine. I believe the error mentioned above stems from IIS...more >>

Multiple sessions and forms-based authentication
Posted by Rob at 1/5/2004 7:08:56 AM
I have an ASP.NET application that uses forms-based authentication. A user wishes to be able to run multiple sessions of this application simultaneously from the user's client machine. The web.config file is configured as such: <authentication mode="Forms"> <forms loginUrl="Login.asp...more >>

HOW TO pass variable values through URL???
Posted by Marco Antonio Montalvo Durán at 1/5/2004 7:03:25 AM
hi everybody well. I think the question is made, what I want to learn is how to do it, can someone show me an example of some code please... ...more >>

Repeater Control: How can I have access to specific items???
Posted by Marco Antonio Montalvo Durán at 1/5/2004 6:56:56 AM
hello everybody!!!, I made a list of links to different URL's using a Repeater. what I'm trying to do is to get the position in the repeater where clicked. Does somebody know how can I do it?? I'll really appreciate your help ...more >>

cycle through XML inserting into DB via SP's
Posted by mark at 1/5/2004 6:47:10 AM
Hi I have an XML file and i want to cycle through it and put the values of each attribute into various table, can anyone tell me how on earth i would do this please, i'm a newbie to please can you provide example code or links to tutorials thanks Mark...more >>

Multiple sessions and forms-based authentication
Posted by Rob at 1/5/2004 6:29:23 AM
I have an ASP.NET application that uses forms-based authentication. A user wishes to be able to run multiple sessions of this application simultaneously from the user's client machine. The web.config file is configured as such: <authentication mode="Forms"> <forms loginUrl="Login.asp...more >>

No Debugging of C# Server-Side Script, but Code-Behind Debugging Works
Posted by johannblake NO[at]SPAM yahoo.com at 1/5/2004 6:04:22 AM
My ASP.NET application is written using C# script as well as C# code-behind. After setting a breakpoint in the script and running the application, I click from one page to the next but when I get to the page where the breakpoint is, the code doesn't break in the IDE at the breakpoint. The b...more >>

Use Microsoft.ApplicationBlocks.Data in a C# object.
Posted by boot NO[at]SPAM keromail.com at 1/5/2004 5:38:49 AM
Greetings, Can someone please help me with the following? I am trying to compile a C# object which contains a reference to the Microsoft.ApplicationBlocks.Data library. I have compiled the csproj file into a dll and it has been copied to my applications' /bin folder, I then create a test.a...more >>

How to copy to a file direct to a flopy disk?
Posted by Rodrigo C Souza at 1/5/2004 5:24:04 AM
Hi all!! I want to save some files from the user's machine to a diskette. These files are XML files that were generated from a database. I don't need a dialog box asking where to save the files, just the process. Thanks in advance, Rodrigo C. Souza...more >>

many people logging in using same user name
Posted by Michelle Stone at 1/5/2004 4:55:57 AM
Hi everybody I am writing a simple asp.net application using form authentication. I store the list of all users and their passwords in an SQL Server database table. My client recently told me that he wants me to do something through which only one user can login using any given account...more >>

XML into Dataset
Posted by Mark at 1/5/2004 3:05:02 AM
I have an xml file and an xsd file. i want to put the xml file into a dataset and then put the dataset values into a SQL table But first of all i need to know how to put the data from the xml file into a dataset, I have a schema so i should use this really shouldn't I? I have had various ...more >>

HTMLInputfile problem with VS2003
Posted by John Mason at 1/5/2004 2:54:53 AM
I am using VS 2003 and the accept parameter neither comes up in intellisense nor restricts the file types. Is this a bug? This is how the form is defined - <form id="frmBreaks" method="post" runat="server" enctype="multipart/form-data"> This is how the control is defined - <INPUT id="i...more >>

pass data cross form
Posted by Hei at 1/5/2004 1:48:15 AM
hi, how to pass data cross form? my situation: webFormA for input data, after submit, show webFormB to display report use crystalreport. i just need pass record id for set crystalreportviewer.selectionformula from webFormA to B, that id is created in webFormA. thx. Hei ...more >>

Proper Location of Files
Posted by Bryan Masephol at 1/5/2004 12:23:29 AM
I'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...more >>


DevelopmentNow Blog