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 > december 2003 > threads for wednesday december 3

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

How to break line in Label control
Posted by Jacek Stepniewski at 12/3/2003 11:52:01 PM
Hi, I would like to use <BR> in label control to break the line, but the control converts "<" and ">" to entity. How can i break the line?? Jack ...more >>


How to communicate with Java programs on database server?
Posted by Tracey at 12/3/2003 11:43:53 PM
I have a problem on communication between ASP.NET and Java code. Any advice will be greatly appreciated! Our core processing code and database and database server reside in a remote machine whose platform is Linux. The core processing code is written with Java. Now I'm trying to implem...more >>

Whidbey
Posted by Michael Carr at 12/3/2003 9:26:10 PM
I heard somewhere that Whidbey and ASP.NET 2.0 was going to simplify the order of events during page/control rendering. Has Microsoft released any information about how they will be doing that? Thanks, Michael Carr ...more >>

Forms Authentication Cookies Never Expire
Posted by joey.powell NO[at]SPAM goldcoinc.com at 12/3/2003 8:27:47 PM
This message was originally posted to the aspnet.security newsgroup, but no one there has ever heard of this before. That is why I am posting this message here, so that more people will see it... On my asp.net application, suddenly the forms authentication cookies for clients have quit expirin...more >>

IIS issue with asp .net 1.1
Posted by mark at 12/3/2003 7:48:08 PM
I am having an issue with trying to get IIS to run asp .net 1.1 for .net. I need to figure this out, otherwise I can't work with the book. The exact error message is "Visual Studio .Net has detect that the specific web server is not running asp .net 1.1. You will be unable to run asp.net web...more >>

SmtpMail.Send Error
Posted by Chris Lane at 12/3/2003 7:32:25 PM
I am getting the following error when trying to send the mail object: COMException (0x80040213): The transport failed to connect to the server. ] [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeType.InvokeDispMethod(String name, B...more >>

Changing the Icon of a Window
Posted by Ford Prefect alias Armin at 12/3/2003 6:48:50 PM
How can I change the Icon of a Web Window ? ...more >>

Trouble with OleDb data extract
Posted by bdhanson NO[at]SPAM mcdermott.com at 12/3/2003 6:39:29 PM
Hi, I have an unusual problem that just showed its ugly head at a pretty bad time. I have an asp.net (VB) app that takes data from an Excel sheet and puts it into SQL Server. I get the data out of Excel using OleDB, and suddenly, some of the data was not being extracted from Excel. I use...more >>



learning asp.net - proper method of development and then deploy
Posted by TM at 12/3/2003 5:59:31 PM
I am trying to learn ASP.net as part of my learning of .net in general, and was wondering how applications are developed and then deployed most of the time ? Do people do development on a development server, then deploy to the live server, or do most people develop on their pc locally and then...more >>

Create help files/Online help in .NET
Posted by PK at 12/3/2003 5:11:07 PM
Hello, I would like to know how we can create help files or online help for any application in .NET. Also could someone tell me briefly whats exactly Microsoft Help v.1.3 or v.2.0? Thanks in advance. PK...more >>

calling popup window from page_load
Posted by Shawn at 12/3/2003 5:04:38 PM
How do I call a popup window from the Page_Load event in a web form? TIA, Shawn ...more >>

Compilation Problems
Posted by JM at 12/3/2003 4:54:36 PM
I connect to a remote server to manage 2 ASP.NET sites. Lately when I compile either project the dll on the server does not get replaced. The weird thing is that one project is in VS.NET 2002 and the other in VS.NET 2003. It hardly seems possible that both applications are corrupted. ...more >>

Editable Dropdown List
Posted by Kenneth Keeley at 12/3/2003 4:53:31 PM
Hi, Is there a way to create a editable drop down list. This would be some sort of text box with a drop down list attached. My idea is to have a text box that has a dropdown list that has some default values in it and if the value the user wants is not in there then they can type the one they ...more >>

HTTP 404 Error for ASP.NET pages
Posted by Matthew Louden at 12/3/2003 4:48:48 PM
The web server is running Windows Server 2003 Standard Edition, and it returns HTTP 404 error when running ASP.NET pages, but ASP pages are working fine. I also installed Visual Studio .NET, and the framework version should be 1.1. I am sure ASP.NET is enable in the machine by checking the fol...more >>

Using Shared Functions
Posted by Ford Prefect alias Armin at 12/3/2003 4:34:42 PM
Hello I use SHARED Sub's and Functions to access Data from all running Sessions. I use the KeyWord Shared in the Functions of the Class. This is working fine.. an I can share Data between all Sessions. Are there any known Problems with this in Web ? Is this the right way ? Will it ma...more >>

cookies wont create
Posted by Aah at 12/3/2003 4:27:31 PM
here is my code which is use to create a cookie for some reason when I use the domain property I am not able to see the cookie in my cookies folder. But when I comment out my domain property, I can see my cookie in my cookies folder. How can I use the domain property to create a cookie???? D...more >>

SourceSafe....
Posted by Paul M at 12/3/2003 4:16:21 PM
Hi folks, We've been using VSS with both VB and Access for ages, with no problems. I've been lead to believe that the integration between VS.NET (I'm writing ASP and VB.NET mainly) and VSS is slow and problematic. I find it hard to believe, as VSS is about as basic a source control system ...more >>

debugging
Posted by wh at 12/3/2003 3:47:45 PM
Can somebody confirm that you have to be in the Administrators group to be able to debug an ASP.NET application? Wayne. ...more >>

Arrrgggg!!!! https!!!!
Posted by Gordon at 12/3/2003 3:41:45 PM
How do i move from http to https without loosing the session? I've just spent ages moving to a cookieless site where the sessionid is in the url but this doesn't work either. ...more >>

Is server.transfer the same as response.redirect?-eom
Posted by yma at 12/3/2003 2:39:58 PM

Console.Write
Posted by Jim Heavey at 12/3/2003 2:32:36 PM
Realizing that I can use Debug.write to write a message to the "output" window, the Console.Write is accepted when keyed in, but where does the output go?...more >>

Paragraph Name
Posted by Jim Heavey at 12/3/2003 2:30:31 PM
Hello, I was wondering if there is some way I can obtain the name of the subroutine that a line of code is executing in via the code. Sy for example you wanted to write a message like the following: Trace.Write("ProcessStart", "Starting in Subroutine 'MySubroutine'" Is there a way for me ...more >>

Reflection in ASP.net
Posted by Satheesh at 12/3/2003 2:26:47 PM
Hi All, I am trying to upload a dll to my web site and then use reflection to call one of the methods from it. It gives a error like failed to register Assembly. any idea why it is. same code works fine with console applicaion. thanks Satheesh. ...more >>

ASP.NET Permissions (I think)
Posted by Pete at 12/3/2003 2:01:09 PM
Tearing my hair out with this one.... I've got a tiny ASP.NET site which works fine on my development machine. I put the application onto a Test machine, and I get: Cannot execute a program. The command being executed was "c:\winnt\microsoft.net\framework\v1.0.3705\csc.exe" /noconfig ...more >>

Using Process class to run client executable?
Posted by Kathy Burke at 12/3/2003 2:01:07 PM
Hi, I'm trying to open an executable file from intranet asp.net page in ..Net 1.1. The following code fires but hangs after processing for about 45 seconds (no error message, just hangs). Dim p As System.Diagnostics.Process = New Process() p.StartInfo.RedirectStandardOutput = False p.StartInf...more >>

Error While Trying to Run ASP.Net Project
Posted by Vinod at 12/3/2003 1:56:08 PM
Hi Team, I am getting an Error Msg while trying to Execute my ASP.Net Application Error is, "Error while trying to run project : Unable to start debugging on the web server. The server does not spport debugging of ASP.Net or ATL Server application. Run setup to install the Visual Studio ...more >>

ASP.NET, threading and singleton
Posted by Francois Malgreve at 12/3/2003 1:55:24 PM
Hi, I am implemeting a singleton object in my ASP.NET application. Therefore I need to know if ASP.NET is multithreaded or not. All i know is that there is one worker process running ASP.NET application (aspnet_wp). That process being called by IIS. Nevertheless I do not know much more than...more >>

Can't make two request at once, one blocks all.....
Posted by Ford Prefect alias Armin at 12/3/2003 1:54:38 PM
Hello I have a Problem of understanding how IIS/ASPX Works..... Why can't to request run at the "same" time ?? I have a Simple ASPX Web Application. It has two Button. Button 1 startst a do loop for 15 Seconds Button 2 simply says Hello (writing hello in a Label) I start Brows...more >>

Forms Authentication
Posted by dotnet_Beginner at 12/3/2003 1:17:36 PM
I have forms authentication set up on my ASP.NET web application. When the user's session times out, it redirects to login page on the first key stroke from the client. But I want it to happen automatically, I mean the the page should be automatically redirected to login page once the sess...more >>

"Shared" members as globals?
Posted by Ross at 12/3/2003 1:12:30 PM
MyWebProject.MyWebForm1.someset.somedata is a datatable within a dataset. Displays quite nicely, too. Now I want to use the same data in MyWebProject.MyWebForm2. Being a old, er, experienced Java programmer, I thought I could write this as a member of MyWebForm1: Public Shared Function ...more >>

Connecting VS.NET to existing ASP.NET web
Posted by Mike at 12/3/2003 1:01:26 PM
Hi all, Very Basic Question here. I can create new ASP.NET sites using VS.NET 2003 on my server, but for some reason I can't figure out how to connect to an existing web, when there isn't already a solution or project file. In the old Visual Studio 6, you could create a new solution, connect ...more >>

Using panel control in Web forms
Posted by kellydotnetnewbie at 12/3/2003 12:47:50 PM
Does anyone know why, when adding a panel to a web form, the text boxes, labels, buttons, etc. are hidden behind the panel, but drop-down lists are not? Every time I make my panel visible (pnlError.visible = true), I have to make the drop-down lists invisible (lstProgram.visible = false)....more >>

Page Closure
Posted by JezB at 12/3/2003 12:40:05 PM
1) How can I force page closure from server side c# code ? (eg. on my own Close button event). 2) I want to do some session variable cleanup when the user is finished with my page. Where is the best place to do this, considering that generically a user may a) Navigate away from the page, b) Cl...more >>

Tips and Tricks: Page Templates
Posted by Cowboy (Gregory A. Beamer) at 12/3/2003 12:29:24 PM
Here is a little trick that might help some developers. As you may, or may not, be aware, ASP.NET 2.0 (Whidbey) gives the abilities to add a master page. This is great news for developers. But, what if you have an application where you have a skin (the common portion of the page) created and n...more >>

Request Timeout
Posted by Chris Li at 12/3/2003 12:11:02 PM
I have asp.net application that provides reports to the customers. When the database is busy the report will take longer than normal. Sometimes, the users have a request time out error. This request time out error is different from ado.net command time out error. I have already set the command t...more >>

Tool Tip Class
Posted by priyasree NO[at]SPAM hotmail.com at 12/3/2003 11:38:04 AM
Can we use the Tool Tip class in ASP.NET. We have a requirement to display Mouse Hover help for some of the links and controls on the web pages. What are our options? How can we do this. Thanks Priya...more >>

3rd Party Web Reporting
Posted by trobran NO[at]SPAM hotmail.com at 12/3/2003 11:37:58 AM
Would anyone have a good recommendation for a Web Reporting component that could be used within a shared environment and can create PDF's? Thanks....more >>

cell double click
Posted by simon at 12/3/2003 11:37:08 AM
which data control allows me to use a cell doubleClick event? I have time cells (something like Outlook calendar) and when user double click on one cell I would like to redirect to other window where he could insert events for that time. Then he go back to that page and see event in that cell....more >>

EOF .NET equivalent?
Posted by D. Shane Fowlkes at 12/3/2003 11:29:54 AM
When using classic ASP, I would use something like what's below to show HTML if the recordset was empty. <% If RS.EOF And RS.BOF Then %> <p>There are no records to display.</p> <% End If %> Now...as I'm learning ASP.NET, I'll use something like what's below to loop thru a recordset....more >>

IsNull Test ???
Posted by EDOnLine at 12/3/2003 11:27:05 AM
New asp.net/webform user question...... I am trying to use the Custom Validator control to check to see if either of two fields on my form have been filled in. At this point all I am interested in is if the user has entered a value into EITHER input box (not left blank). Below is my control ...more >>

how to debug javascript in vb.net
Posted by yma at 12/3/2003 11:26:56 AM
Hi, I have an asp.net app that I uses javascript in the html file. Can you show me how to debug javascript in vb.net. I use vb.net in vs.net. Here is a sample html file. If I cannot use vb.net to debug it, please let me know, too. <HTML><head> <script type="text/javascript"> functio...more >>

how do I get the value of httpruntime.maxRequestLength through code?
Posted by Peter Row at 12/3/2003 11:24:54 AM
Hi, To allow users to upload files larger than 4MB in size I added: <httpRuntime maxRequestLength="102400" executionTimeout="600" /> ...to my web.config file. Fair enough this works fine. However how do I check the maxRequestLength value through code? Let me set a bit of background. I d...more >>

Help?? The page cannot be refreshed without resending ...
Posted by Bill Cohagan at 12/3/2003 11:16:57 AM
I'm constructing an ASP app with a frameset on the home html page. From frame A I need to referesh the page in frame B when a button click occurs on a button in Frame A (server side event handler). To accomplish this I've included some client side script in the page being built in frame A such...more >>

howto make app1 sessions not expire while app2 is being use...
Posted by Antonio Lopez Arredondo at 12/3/2003 10:58:33 AM
hi all !!! THE SCENARIO: Single box running many ASP.NET applications. A single "first level" app works like a "application portal"; it is a high level app that simply does authentication and permissions stuff and redirects users to the other applications. The "seco...more >>

Client validation not working with XML data islands in tables
Posted by Dnna at 12/3/2003 10:49:05 AM
I have a table which is bound to an Internet Explorer XML data island. I'm using ASP.NET's client-side validators for an input field in the table. The problem is that if the input fields are in a table that is bound to the island (such that the rows are dynamically generated by IE fro...more >>

permissions when authoring in VS
Posted by wh at 12/3/2003 10:34:11 AM
Help! I need to know what permissions (NTFS?) I need to set when authoring a web application in VS.NET. I've previously been logging in as Administrator but since tightening up security on my home pc, I'd like to use another (non-admin) user account. One of the problems is when I I login as...more >>

Best Method to return data from a DAL
Posted by C Downey at 12/3/2003 10:30:05 AM
I am creating a data access layer and I'm interested in the best method of returning data to my business tier. My database is SQL Server 2000, and I use stored proc's. Is it better for me to use a dataReader to get the data from the SQL server, then load it into an arrayList and return the arr...more >>

"Access to the path "...PortalCfg.xml" is denied
Posted by Winterminute at 12/3/2003 10:06:33 AM
If I try to make any changes to the ASP.NET Portal Starter kit it fails with an access denied error. This was working when I left last week and is failing today. I don't remember changing anything, but I guess something had to be changed. I have checked NTFS permissions and the ASPNET accoun...more >>

deploy msi without web.config or with more IIS settings?
Posted by evolve at 12/3/2003 9:52:13 AM
I'd like to deploy my website as an msi (which I do currently using the 'deployment project') but without the web.config file (I want the admin to put their own one in later) or with more control over the settings as the deployment project only gives you a very small subset of settings availa...more >>

Someone please save me from myself!!! ASP.Net templates??
Posted by Rob Meade at 12/3/2003 9:47:18 AM
Hi all, Ok - this is a last ditched attempt to try and work out why what I want to do is sooo complicated, and which is the best approach to do what I want... The aim... I want to create a standard template that myself and fellow developers here will use for our applications, previously w...more >>

enumerate Users in Activedirectory group
Posted by shiv at 12/3/2003 9:33:08 AM
Hi all, I am able to read groups in the domain but not able to read the members within each group. can somebody help? here goes the code DirectoryEntry m_obDirEntry=new DirectoryEntry ("LDAP://mydomain"); SearchResultCollection results; DirectorySearcher srch = new DirectorySearcher (...more >>

Drawing
Posted by Terry Holland at 12/3/2003 9:20:59 AM
We have an application that is written in VB that allows to users to design some basic structures by allowing them to select items in in a Picture box and them modify the properties of the item that they have selected. The items that they select are generally lines of varying length & thickness...more >>

Checkbox.CheckedChanged has a mind of its own
Posted by Greg Hurlman at 12/3/2003 9:17:12 AM
I've got a very simple ASCX page, where once someone finishes a section and clicks the "Next >" button, the section they just finished is disabled, and the next section appears below it, and so on. One of the controls is a checkbox, which, when clicked, displays a hidden panel containing control...more >>

Control of the Page Cache
Posted by Jeremy at 12/3/2003 9:09:26 AM
I'm trying to prevent a page update (postback) being cached in the browser, so if a user hits a link on page A and enters my webform page B, hits a few buttons (each of which results in a postback), and then hits Back, he is taken back to page A. Can this be done ? ...more >>

Client-side Word Automation from asp.net
Posted by Yuri Vanzine at 12/3/2003 9:05:03 AM
In asp we can run VBSCRIPT client-side which allows for 'easy' :?) ms office COM object instantiation. How do I access a Word object in ASP.NET on the client side? I would like to do spell checking from a web-based wysiwyg editor and I am limited to using ms word from the client, server-s...more >>

Creating an ASP.Net Web App to Win2003
Posted by Eric Ritzie at 12/3/2003 8:57:19 AM
I'm having an issue creating a ASP.Net Web App to my Windows 2003 Server. When ever I try to creat the project I get an error message telling me that Visual Studio could not find ASP.Net 1.1 running on my server. I checked the Web Services and ASP.Net 1.1 is installed and set to "Allow". A...more >>

Webform controls events
Posted by Spop at 12/3/2003 8:51:06 AM
Hi! I have a webform with a label control on it, and I would like to place some piece of code in the 'onmouseover' event of the control, but I can't find it on the list of the control events. Is this normal? Is there a way to declare it mannually? By the way, I'm using VB.NET. Thanks, Sérgio...more >>

Principal/Identity questions
Posted by Craig Buchanan at 12/3/2003 8:41:17 AM
I've integrated role-based, forms authentication in my ASP.net application. I have a few remaining issues that I hope to resolve. Here are some of my questions: 1). I would like to access the Identity properties from within a web custom control. It appears that the HTTPcontext is not avai...more >>

server needs to know when user closes browser window
Posted by feng at 12/3/2003 8:20:45 AM
Hi, When user closes a browser window by clicking on the "X" button, I want the server to be noticed (either through postback or calling other ASP pages, etc.) and perform some task accordingly. Please note that I can't use session end event, since the session is still alive now and the...more >>

Connecting to SQL Server DB
Posted by John Spiegel at 12/3/2003 8:17:07 AM
Hi all, I'm missing something, probably stupid, on connecting to a SQL Server database from an aspx file. I haven't really done much w/ SQL Server and suspect that it's a problem on that side. I've installed the SQL Server developer edition locally and do have a pubs database. The connec...more >>

accessing files on intranet
Posted by Miro at 12/3/2003 8:13:00 AM
Hi! How can I access files on intranet. I have mapped a serverfolder to the drive letter G and try to access a file from ASP.NET, but File.Exists("G:\filename.ext") returns false. The same code in Windows Forms returns true, so I guess it has something to do with the permissions. I set ...more >>

Postback Problem
Posted by Amy Snyder at 12/3/2003 8:10:56 AM
I have a webform that has a listbox and two textboxes. The style property of the text boxes are: style="DISPLAY: none" Based on the selection made in the listbox, one or both textboxes are displayed using javascript. The problem comes when I submit the form. I want the text boxes to stay ...more >>

save page scroll
Posted by eNathan at 12/3/2003 8:04:08 AM
My page is out 1.5 screens long. I want to use server side controls to enable/disable radio buttons depending on if checkboxes are checked. If the user was at the bottom of the page, how can i set focus there after a postback? ...more >>

Has Anyone
Posted by Bill at 12/3/2003 7:47:50 AM
Has anyone used ASP.NET to access Exchange 2000 to populate dropdownboxes from a public folder contact? I am not sure if this is possible, but I am needing a web application to hit my exchange 2000 public folder where I have contacts stored and pull information from certain fields that the co...more >>

VS.Net And FrontPage
Posted by Jim Heavey at 12/3/2003 7:10:37 AM
I have a friend that does all of their web page development in FrontPage and she has asked me to create some asp.net pages for here with some db functionality. I know nothing of Frontpage ans she knows little about ASP.Net. My question is that if she designs the "appearance" of the web pag...more >>

Error-- Specified cast is not valid
Posted by Justin at 12/3/2003 7:07:24 AM
Greetings all, I'm receiving this error when I attempt to pull data, in the form of an ArrayList out of a Session. ArrayList al = new ArrayList(); al = (ArrayList)Session["myArrayList"]; // error here How can this cast be invalid, when the session data IS an ArrayList?? What's go...more >>

Javascript in webuser control
Posted by New User at 12/3/2003 5:39:46 AM
I have following structure for my project myproj Controls/control1 morepages/special.aspx specialpages/webpage1.aspx scripts/filename.js default.aspx I have a control1 which has a public property name ScriptFilePath for bring in external javascript file. E.g it ...more >>

Newbie problem -- VB.NET and IIS
Posted by Stuff at 12/3/2003 5:20:01 AM
Hi, I have been doing ASP for awhile now, and am just starting to use Visual Studio/VB .NET.with a local IIS 5.1 server. (Using XP-PRO with all the latest updates, and Framework 1.1 {although, I just noticed, Framework (original) is still listed as being on the shard drive)) I can get a si...more >>

newbie-asp.net
Posted by reiks at 12/3/2003 3:14:43 AM
when were .net and asp.net introduced.? i heard terms like 'beta version if .net','version 1.0' etc.. How many versions of these products were released? what is the latest version? is ado.net a part of .net ot .net framework? ...more >>

How? Open image, add text, then "stream" into <img src="...">?
Posted by Michael Stock at 12/3/2003 2:38:25 AM
Hi all, hopefully someone can tell me how to do this for a web server in C#: We have images in a folder you can't access over the net. So everytime we need to display an image from this folder, we need to us the following syntax: <img src="viewImage.aspx?imageID=/secretImages/image.jpg...more >>

RegularExpressionValidator
Posted by Ken Grimmett at 12/3/2003 1:21:02 AM
I have added a REV to an input type of file. I want to make sure that the only file type that is allowed is a .gif, .jpg, or .jpeg. I develop my site on my laptop which is running Win XP Pro and my site is hosted on a Win 2000 Advanced server. Here is my problem. When I test it on my local ho...more >>


DevelopmentNow Blog