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 > october 2004 > threads for wednesday october 6

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

Urgent: Connecting to active directory using cached credentials
Posted by Chris L at 10/6/2004 11:28:48 PM
Hello, I'm hoping to find out if it is possible to connect within an ASP.NET application to Active Directory with the credentials of the person who accessed the ASP.NET application via IIS, using windows integrated authentication. I've tried using ADO, ADSI, and Directory Services, ...more >>


VS.Net - Debug and Release Builds
Posted by Simon Harris at 10/6/2004 10:31:30 PM
Hi All, I've been told that VS.Net has two build options - debug and release. Can anyone tell me how to uses these? Utp now, I've just build using the build button. Thanks, Simon. ...more >>

Application Variable
Posted by Lord2702 at 10/6/2004 9:55:05 PM
I have 20 - 25 users using my web application, and I store their UserID, along with their SessionID in Aplications Variable. Now, My question is, suppose if my users increase to 100, 1000, or even 10,000 then still this system will work w/o having any memory problem ? Ofcourse when user has Log ...more >>

Trapping the 404 (resource not found) error
Posted by Craig Wilson at 10/6/2004 8:44:13 PM
Using the ASP Dot Net IDE, where can I trap error 404 - resource not found? tia, cw ...more >>

SQL Server Insert Problem
Posted by NathanV at 10/6/2004 8:15:05 PM
I have created a class and stored procedure to insert records into a table. The insert works but only the first character of the "Title" and "Body" fields are added. I have traced up to the point of executing the sproc and the string values are intact up to this point. Below is my code for ...more >>

asp.net page reloading
Posted by pTsy at 10/6/2004 8:03:44 PM
How to enforce ASP.NET page reloading in other words initiate Page_Load call in C#. Thanks ...more >>

Postback error after using HttpModule
Posted by nail at 10/6/2004 7:10:51 PM
Folks, I develop a HttpModule and it works correct, but one problem is occurs. After I register the httpmodule in the web.config, my pages (not testing http://localhost/site but http://my_machine_name/site) show problems when refresh the page. I guess some kind of javascript problems with the...more >>

Error using WS-Security
Posted by Ashish at 10/6/2004 7:04:58 PM
Hi Guys I am getting the following error while implementing authentication = using WS-security. "Microsoft.Web.Services2.Security.SecurityFault: The security token = could not be authenticated or authorized ---> System.Exception: WSE565: = The password provided the SecurityTokenManager doe...more >>



ASP.NET Performance on Win2k3
Posted by Michael S. Collier at 10/6/2004 6:46:14 PM
I'm trying to find an article showing the performance difference between an ASP.NET application running on Windows 2000 vs. Windows 2003 (IIS 6). I found it in the past, but I'm not having much luck now. I know that ASP.NET apps are supposed to run faster on Windows 2003, but I would like a ...more >>

Emailing form
Posted by John at 10/6/2004 6:41:21 PM
Hi I have a webform full of textboxes and a submit button. How can I send information in the text boxes as email when user presses submit? Thanks Regards ...more >>

Targeting a frame on page load
Posted by Frances Valdes at 10/6/2004 6:26:47 PM
I have been struggling with this and would be really grateful if anyone could help. I have a page with 2 frames. I would like to use the page load event on the left hand page to use a variable to change the page in the right frame. On the left page it would look something like: Private Su...more >>

Response.Redirect question
Posted by ASP Yaboh at 10/6/2004 6:09:09 PM
Does Response.Redirect() make a roundtrip to the client to complete the redirect? Is there a method which keeps the redirection server-side (e.g. in JPS .Forward() moves the action to a new JSP/servlet without a roundtrip to the client)? Thank you...more >>

Saving a bitmap in session state
Posted by Jeronimo Bertran at 10/6/2004 6:06:20 PM
Hi, If I save a bitmap using the session sate: Bitmap bitmap.... Session["MyImage"] = bitmap; How can I use it in an image tag <img src =....? Thanks, Jeronimo...more >>

Calling DDE within a web page
Posted by Daniel Malcolm at 10/6/2004 5:22:15 PM
Hi We are looking into triggering an instance of a screenphone application to dial a given number via a link or button on an intranet web page. The application has a DDE interface that can be used to communicate with it. Any pointers to the best way of doing this (via ActiveX)? Thanks in ...more >>

How to select all text in textbox when it gets focus?
Posted by guy at 10/6/2004 5:17:45 PM
Is it possible to select all text in a asp text box when it gets focus? How?...more >>

Getting HTTP_REFERER value
Posted by John at 10/6/2004 5:15:50 PM
Hi I am trying to save the value of HTTP_REFERER so I can use it later on in the webform as below; Public Return_Address as string Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Return_Address = Request.ServerVariables("HTTP_REFER...more >>

Taking off the Address Bar and..
Posted by Ken at 10/6/2004 5:13:03 PM
hi I'Dont know to much about JavaScript, anyway I'm using JavaScript (NewWin = open('" + UML + "','null')) to open a new windows , and it works fine, but now, I dont want to show in the new window neither Address Bar nor Standard Buttons Bar. I think there is a parameter to do it, also IÂ...more >>

Parameter problem adding
Posted by tshad at 10/6/2004 5:09:00 PM
I have changed my code from a straight string for my Sql to Parameters and can't seem to get it to work. I have the following excerpts from my code: *************************************************************** Dim objConn as New SqlConnection (ConnectionString) Dim CommandText as Str...more >>

How do I open a folder in an asp.net environment using vb.net?
Posted by Aaron at 10/6/2004 4:59:30 PM
My application will only be used on windows based machines. I need to open a folder using UNC naming. i.e. \\server\share\folder I do not need to do anything programatically with the folder like count the files, or determine permissions, I just need explorer to launch the specified path. ...more >>

access to the path denied
Posted by Brian Bischof at 10/6/2004 4:44:56 PM
I'm using GoToMyPC to transfer files between the development computer and the web server. After transferring pages to the web server I get the error "Access to the path <> denied". Then I go into Windows Explorer, right click, select Security and fix it. So far so good. BUT now when I transfer f...more >>

Aspnet slow down
Posted by Franck_c at 10/6/2004 4:09:37 PM
hello I'm experiencing a long delay response with my aspnet application. Usually the response time is 100ms. But if there no request During 5 min the next request take above 4000 ms (4 seconds). The following requests take 100 ms untill there is another 5 fimutes slepp time. It's like the ...more >>

DataGrid Position
Posted by Dave at 10/6/2004 4:01:24 PM
Hello. How can I change DataGrid position at runtime (For example I want to move little down DataGrid control on the page)? Thank You. ...more >>

Using Web Service to listen on certain TCP port?
Posted by Jonah Olsson at 10/6/2004 3:52:43 PM
Hi guys, I need to listen for incoming requests from a Java web service application (or actually JAXB) on a certain port on the server. The .NET application receiving the request is running on the same server. The Java application is used to communicate with another server outside the fi...more >>

Quickstart tutorials
Posted by George at 10/6/2004 2:53:09 PM
Hello all, I have followed microsofts instructions to get the SDK quickstart tutorials to work, but with no luck. One idea I had is beacuse it has installed it in the same virtual server as MS sharepoint services. Would keep the the tutorials from working properly? Thank in advance. ...more >>

WebMatrix changes the code
Posted by nicholas at 10/6/2004 2:21:26 PM
I use WebMatrix to modifie my asp.NET pages. Now, I noticed that WebMatrix changes the code without saying anything. example: <IMAGE ... is replaced with <img... (this is a specific tag for a specific component) I there a way to unable WebMatrix to change my code ?? btw. is there a WebM...more >>

Problem with postback after Response.Write
Posted by Russ at 10/6/2004 2:18:28 PM
My web app writes some binary data to a file at the client site via Response.Write and Response.BinaryWrite. This action is accomplished in response to a button click, with C# code behind as follows: private void SubmitButton_Click (object sender, System.EventArgs e) { // Set up the respon...more >>

Server Control
Posted by Eric at 10/6/2004 2:15:41 PM
Hi, I have a strange behaviour with my Server Control. An easy one: public class SystemInfo : System.Web.UI.WebControls.WebControl { //protected override void Render(HtmlTextWriter output) { output.Write(""); ...} } No more than that. The strange thing is, when I use this one ...more >>

Include files
Posted by Manny Chohan at 10/6/2004 2:13:01 PM
Hi guys, I have a asp page and is there any way i can just code with C# to include this asp page as content just like <% include filename %> Manny...more >>

Best Way to do this
Posted by tjgraham4 NO[at]SPAM hotmail.com at 10/6/2004 2:06:17 PM
I am trying to figure out how to code for this scenario: WebFedExZones WebFedExZoneID int FedExZone int can have nulls which indicates we cannot ship there ZipCodeStart varchar(3) ZipCodeEnd Varchar(3) WebFedExRates WebFedExRateID int Weight int Fed...more >>

<asp:Panels, borders and HTML tables
Posted by Mark Rae at 10/6/2004 2:04:05 PM
Hi, Is there any way to put a border round several rows in a standard HTML table by surrounding them with an asp:Panel (or a client-side <div>)? When I try, the border doesn't appear, though it does appear if I surround the entire table with an asp:Panel. E.g. this doesn't show the panel...more >>

IE bug using SmartNavigation?
Posted by Steve Peterson at 10/6/2004 1:55:05 PM
Hi I have a rather lengthy webform I'm working on in which I need the user to be able to scroll to the same place between postbacks. I tried turning on SmartNavigation and it seemed to work fine - the page was was scrolled to the same place between postbacks. However, iexplorer.exe will t...more >>

Is it possible to not render a end tag of a .NET server control ?
Posted by Eric at 10/6/2004 1:53:07 PM
My problem, I have a custom server control who inherits of a Textbox. What I can make for dont render the "SelfClosingChars" ("/") ? Ex: <INPUT .... > Thanks ! Eric...more >>

split querystring
Posted by Mike at 10/6/2004 1:29:12 PM
I'm passing a querystring to another page and the string has True and a number associated with the true. the string looks like this: true|false|false|1|2|3| (true & false is the value of the checkbox) how can i split this string up and only show True and the number associated with it? ...more >>

ActiveX component for picture resizing
Posted by Czort at 10/6/2004 1:10:22 PM
I'm looking for a good ActiveX component for picture resizing (gif, jpg, png) from asp script. It should be able to load an image from stream (f.e. from recordset, binary data source etc.). For free or cheap - for commercial project. -- Thanks Czort ...more >>

How to preserve the value of a variable on the same aspx page?
Posted by hb at 10/6/2004 1:07:12 PM
Hi, I need to declare a variable who's value can be preserve through the same ASP.Net page. I tried the following code, only the static variable s2 keeps its value=22 after lnk1_Click followed by lnk2_Click(). The others return to their original values initiated during their declaration. Bu...more >>

I don't obtain to use Server.Mappath...
Posted by Dexter at 10/6/2004 12:56:46 PM
Hello all, I have a class that do the recording of a xml file in my HD, but only function when i write the absolute path, if i use the Server.Mappath the file don't record. Somebody know to make anything about this? Thanks Dexter ...more >>

Image Render Page performing other tasks??
Posted by Jeronimo Bertran at 10/6/2004 12:37:58 PM
I have an aspx page that shows a complex image with several objects that are sensitive to mouseover events. The information about the objects in the image is obtained from a database and complex calculations are performed for each object to determine the position within the image. To rend...more >>

OWC license
Posted by Grey at 10/6/2004 12:25:54 PM
I have to develop asp.net application with Office Web Componenet. I will use Office XP Web component. is the license valid if the clients are using office xp and office 2003? Million thanks ...more >>

program surveillance
Posted by Anto at 10/6/2004 12:07:43 PM
Hello, I'm italian programmer I would have to realize a video program surveillance for cellular and I do not know just from where to begin. Someone has a po' of experience in merit? Practically through the cellular one I would want to be connected to of the television cameras situated in...more >>

@ Register User Control Tag Problem
Posted by ATJaguarX at 10/6/2004 11:38:19 AM
I have an asp.net web application that I'm having problems with. Everytime I view certain pages in design mode, Sourcesafe asks me to check out the page because of requested changes. When I go to view the page in design mode, .Net is switching the user control registration tag with the page la...more >>

Server.Execute against same page hangs ASP.NET
Posted by Chuck Haeberle at 10/6/2004 11:35:02 AM
We have a page which sends a copy of itself via email to customers. To enable this, the page calls Server.Execute on itself into a text stream and strips its own output down to HTML presentable to the customer. In our Test environment (but not our DEV or Local envs) we are experience an AS...more >>

pop up
Posted by Manny Chohan at 10/6/2004 11:33:02 AM
hi i am currently programming in C#. i have drop down list with few values. I need to programm it to open a pop up window with respective links. What code do i need to put in the codebehind file to do so. Thanks. Manny...more >>

Launch MS Access Project from web page
Posted by erica74 NO[at]SPAM gmail.com at 10/6/2004 11:26:07 AM
Hi all. I'm trying to launch a .adp file from my web page. The application is residing on the intranet, and the .adp file would be located on a shared drive that everyone would have rights to. Right now when the user clicks the link, a download box opens that prompts them to save or open the ...more >>

Error 'BusinessLayer' does not contain a definition for 'MySoapHeader'
Posted by Justin Dutoit at 10/6/2004 11:24:46 AM
Hey. I have the error CS0117 'BusinessLayer' does not contain a definition for 'MySoapHeader'. Below is a link to the asmx source, and the code which calls the web service. MS seems to do the same thing at http://www.dotnetjunkies.com/QuickStart/aspplus/default.aspx?url=/quickstart /aspplus/doc/...more >>

impersonation fails on production machine
Posted by Seth Darr at 10/6/2004 11:03:54 AM
OK I am at my wits end and I hope that someone can help me. I've got an ASP.NET web app that generates dynamic excel spreadsheets via COM. It does this work in a seperate subdirectory called "reports" and uses impersonation of the ReportWriter account in its own Web.config file in that direc...more >>

Help with this
Posted by Chris at 10/6/2004 10:43:04 AM
Hi, I am able to upload a test site to my hosting party, however, when I click on the button I get the foll error: Server Error in '/' Application -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on ...more >>

Can I get some help here! Posted 10/4/04 - no reply there
Posted by DavidS at 10/6/2004 10:41:05 AM
1st post 10/4/2004. Any advice is appreciated. Attempt to open Excel file using ASP.NET. Sample snipet of source code is as follows: Dim _RptDocument As Object, _RptFormat As Object Dim _RptFile As String = "C\Downloads\<any file name>.xls" _RptFormat = New Excel.Application() _RptD...more >>

Access Denied
Posted by Deepankar Raizada at 10/6/2004 10:27:03 AM
Hi In one of our ASP.NET Application web form we are using the Microsoft.Office.Interop.Word COM DLL. We need to read some word documents and create rtf files and merge them together into one doc file. On click of a button the the word application com dll is getting activated, but weh...more >>

migration from access
Posted by Rodolfo Fontes at 10/6/2004 9:48:26 AM
Hi group, I have a database on access, with forms, reports, queries, macros, modules, and i wanna know if it's possible to migrate it to asp.net. Does anyone ever tried? Is there any migration tool? Any article to read? Thanks, Rodolfo Fontes ...more >>

FileLoad Exception
Posted by dinoo at 10/6/2004 9:45:03 AM
I am running into an issue while loading an assembly. I have created an exe which was referenced with version 1.5.2.3 This assembly was into GAC. I installed the application on other machine where i don't have it in the GAC. Hence I kept the dll in bin directory of the application. It worke...more >>

Warning: Page Expired
Posted by dave at 10/6/2004 9:32:48 AM
How do you get around the problem of "Warning: Page Expired" when clicking the back button a browser. I have several cases where i have a listing page that then goes to a detail page in the same frame. 99.99% of the time the users will want to go back to the listing page, but the above pr...more >>

CurrencyManager
Posted by Student at 10/6/2004 9:27:05 AM
Hi, Does anyone know if there is an equivelant to the currencyManager in ASP.NET like there is in VB.NET? Or How do I page through a dataset and display the data in text boxes. I can do this in VB.NET (using the CurrencyManager) very easily but need to do this on the web. Many thanks...more >>

ASP.NET and managed C++: Access violation when AppDomain is unloaded.
Posted by F. Prefect at 10/6/2004 9:00:04 AM
Hello, (sorry for reposting this.) We are having the following scenario: A ASP.NET Application (C#) is using a managed C++ assembly, which is a thin wrapper around an old C++ lib. (We are using .NET framework 1.1) In the managed C++ assembly there are some managed (gc) and some unma...more >>

Passing Variables
Posted by JJ at 10/6/2004 8:33:09 AM
Hi, What's the preferred way to pass variables around to different pages now? Or if my reading servers me right they are retained in memory for the life of the app, correct? How do I access these variables if in a different page than the one variable was created in? Thanks, JJ ...more >>

Help me with a ASP.NET Class
Posted by tjgraham4 NO[at]SPAM hotmail.com at 10/6/2004 8:15:49 AM
I dont know the syntax for creating a class that pulls column information from at least two tables. How do I do this in ASP.NET/VB.NET & SQL 2000? Thanks TG...more >>

Page Nav
Posted by JJ at 10/6/2004 8:05:08 AM
Hi, What do you guys use for page navigation? Button, Hyperlink, linkbutton? What's the most popular method? In a button click command do you use request.redirect in order to switch to another page or something different? Thanks, JJ...more >>

Insert date 1900-01-01
Posted by Arek at 10/6/2004 8:02:41 AM
Hey, I am inserting values in the table: Dim sqlcomm1 As SqlCommand = New SqlCommand("INSERT INTO tblTasks (idTask, outdate) VALUES ('" & IDTask.text & "','" & txtOutdate.Text & "')", conn) sqlcomm1.ExecuteNonQuery() Query is working fine if there is value in the txtOutDate, but if user l...more >>

How to Stream audio????
Posted by Raed Sawalha at 10/6/2004 8:02:06 AM
Hello, I'm building a website that will sell recordings of local small bands. I would like to a have a pop up that will play songs of my db and display the song info. Can anybody point me to the rigth direction? Thanks ...more >>

IListSource does not contain any data sources.
Posted by matt.torline NO[at]SPAM bissell.com at 10/6/2004 7:09:55 AM
I am trying to bind a datagrid to a dataset that is returned via a function. Public Function RetrieveList(ByRef r_DataSet As DataSet) that sets the dataset that is passed by reference. When I try to bind the datagrid to the dataset I get the following error "IListSource does not contain any dat...more >>

Can export more than on table in a dataset to Excel
Posted by ad at 10/6/2004 7:09:03 AM
I used the code below to export a table in a dataset to Excel. It can export only on table at a time. Can export more than on table in a dataset to Excel public static void Convert(System.Data.DataSet ds, int TableIndex, System.Web.HttpResponse response) { if (TableIndex > ds.Tab...more >>

OnTextChanged and DataGridItems
Posted by Neil at 10/6/2004 6:57:01 AM
Hi, I currently have a datagrid with template columns containing textboxes etc. The textboxes are in the item template so the whole grid is editable by default, I then have a general update button to update the whole grid. I'm using the example under http://msdn.microsoft.com/library/defa...more >>

How to create a DLL
Posted by tjgraham4 NO[at]SPAM hotmail.com at 10/6/2004 6:55:02 AM
I need to set up a dll or class to do the following function from a SQL 2000 Database. I need to call column information from two or three tables given the weight of an item in one column, and the shipping zone (which is determined by the customers zip code. Can anyone help me out with this i...more >>

I need ideas about handling bookmarks (favorites) in web app
Posted by Charles at 10/6/2004 6:45:02 AM
I need some ideas about how I can handle people that bookmark a page in my forms authentication web site. The main page of this web site has four frames, a header, footer, left side (used for a menu), and a body (used for information). When someone logs into the site and goes to one of the...more >>

How do you capture User control events in the parent page
Posted by jw56578 NO[at]SPAM gmail.com at 10/6/2004 6:43:59 AM
Hi, How would the following be accomplished. I have a parent aspx page, that dynamically loads 3 user controls (through LoadControl) depending on a certain criteria. I want the click of a button on one user control to make another user control invisible. How can the parent aspx page capture th...more >>

stuck on this one
Posted by Mike at 10/6/2004 6:13:04 AM
I'm trying to find a label and the value within a datalist, i've done this in the passed in the datalist_itemdatbound routine and worked likes a charm. Now I"m trying to do the samething in a seperate routine and I can't find the value. in the routine i'm getting the value of the checkbox, ch...more >>

FTP client in ASP .NET
Posted by Rahul_Borade at 10/6/2004 5:51:03 AM
Hi All, I am making FTP client in ASP .NET. Can anybody advice me on this, like in which namespace I'll get the FTP classes. Has anybody written any code for uploading or downloading file from FTP server. I will really be greatful if anybody can advice me on this. Thanks in advan...more >>

Best way to send binary
Posted by gordingin NO[at]SPAM consiliumsoft.com at 10/6/2004 4:23:21 AM
We are building a Linux product who's binary (executable) needs to have the ability to be updated. The embedded system will be behind a firewall. I was thinking this could be done over XML and base64 encode the binary. Would this work? Can I .NET web service do this and talk to Linux? Thanks ...more >>

Checking Whether a Browser Accepts Cookies
Posted by rsindall NO[at]SPAM zethics.com at 10/6/2004 4:02:48 AM
Hi I have some code for checking for cookies, that sets a cookie on page1 and checks for it on page2. and its based on the code by MS: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchaspnetcookies101.asp under section: 'Checking Whether a Browser Acc...more >>

XML config files for Class library
Posted by No One at 10/6/2004 3:42:33 AM
I have a web project that uses a C# class library for some of the backend functionality. So of these provider classes have XML configuration files. I have a reference from the web project to the class library, but the configuration are not copied into the web application space for running. Is...more >>

Problem with ActiveDocument when using Word in ASP.Net
Posted by Killian at 10/6/2004 2:13:01 AM
All, I'm using a word application in ASP.net (server side) to open an existing document, do a mail merge on it and then serve the created document to the client. The problem I am having is when I open the word document using the Word.Application and I then try to access the ActiveDocume...more >>

Temporary Files
Posted by richard.warner NO[at]SPAM zurich.com at 10/6/2004 1:26:16 AM
Hi, On some of my servers, I've got a lot of files in the following directory: c:\documents and settings\<username>\local settings\temp (where username is the name of the domain user we use to run .net on the server). The files are taking up an increasing amount of space and I would re...more >>

Single Login Page
Posted by Bruno Piovan at 10/6/2004 1:24:50 AM
Hi, I have 2 web apps running on the same server, one app is nested the other app. I want to have a single login page for both apps, how can I do that??? thanks Bruno ...more >>


DevelopmentNow Blog