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 > september 2006 > threads for wednesday september 20

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

Should JIT be invoked by NETWORK SERVICE account?
Posted by Neo The One at 9/20/2006 11:46:02 PM
This is about ASP.NET 1.0, but it may still applies to 1.1 and 2.0. We have a very large web application, some part of the code calls EXE files to do jobs. It all worked fine on Windows 2000 Server until we migrated the app to a completely new Windows Server 2003. In a long running Termini...more >>


How do I maximize IE when web project starts F5
Posted by IGM at 9/20/2006 8:57:28 PM
Hi how do I maximize IE when I start web project from Visual Studio? ...more >>

asp.net 2.0 and process.start
Posted by Pierre at 9/20/2006 8:33:41 PM
Can someone set me straight on things to look out for in regards to being able to launch an external application from within an asp.net 2.0 web application please? I am using impersonation in web.config running under a specific account but I think this is irrelevant in that a process will la...more >>

Cache Object
Posted by Samuel Shulman at 9/20/2006 8:01:18 PM
I wonder if storing data in the Cache object will be visible to all Session or only to the one where it was assigned? Thanks, Samuel ...more >>

Dynamic Articles from a Database
Posted by Tor Inge Rislaa at 9/20/2006 6:19:22 PM
Dynamic Articles from a Database Hi, I have a website containing one webform (default.aspx) and a database containing one table (articles) the table contains only 4 field's id, tittles, articletext, date. By simply dragging the table to my page I have a grid view of the data. I would ho...more >>

Personalization: How do I load another user's personalization settings instead of the current user?
Posted by Electrified Research at 9/20/2006 6:10:53 PM
So I've been playing with WebParts. Very cool stuff. The personalization scope has "Shared" and "User". "Shared" allows for an admin to customize a page and how other users see that page. "User" allows for that user to customize a page how they specifically want. What I want to do is a fus...more >>

CSS & pane trouble
Posted by Jeff at 9/20/2006 6:05:28 PM
Hey! ASP.NET 2.0 I have a webpage which is based on a nested master page. The problem is that I've applied a theme to the webpage but the CSS settings isn't applied to the panes.... As you will see in the link, a label market "rightpane" is placed to the left. It should have been on the ...more >>

Editing in GridViews (formatting!)
Posted by AmitKu at 9/20/2006 5:00:24 PM
I've got the Gridview going at full speed, and I've enabled editing, but when I click on the "edit" button, this ugly editing UI comes up. Well it's not ugly, but it's not great either. How do I change the font/font size of the text thats being edited? Thanks in advance, Amit ...more >>



Datagrid bound with Datatable with HyperLinkColumn - Duplicate columns
Posted by arun.hallan NO[at]SPAM gmail.com at 9/20/2006 4:58:14 PM
Hi, I have a DataTable with say three items, an structureid, a name and description. Then i have a datagrid with one hyperlink which uses the id. The code in the page is: <asp:HyperLinkColumn Target="_blank" DataNavigateUrlField="StructureId" DataNavigateUrlFormatString="product.aspx?i...more >>

Enterprise Library exception: The configuration section securityCryptographyConfiguration is not defined in the current configuration for the AppDomai
Posted by Jess Chadwick at 9/20/2006 4:51:38 PM
I am attempting to use the Enterprise Library (Jan 2006) Cryptography block to encrypt a credit card number in my ASP.NET 2.0 Commerce Server application. Everything is configured correctly, as evidenced by the fact that it is running on a production box using the same web.config (but not t...more >>

Detecting script enabled
Posted by Barry at 9/20/2006 4:49:25 PM
Hi How do i detect if the browser has javascript enabled. Note: i am not refereing to Request.Browser.javascript Barry ...more >>

Is it possible to bind a datarow to the value of a DDL?
Posted by RSH at 9/20/2006 4:42:33 PM
Hi, i have a situation where I have an object (Company) that returns a dataset for the Employees Property which in turn I would like to bind to a DDL. My problem is that I want to be able to select the Employee from the DDL and return the detail information for the selected employee onSe...more >>

Can anyone explain me this 2 versions of the same page?
Posted by Bruno Alexandre at 9/20/2006 4:24:15 PM
Hi guys, I'm using the asp:menu component and everything worked great in my machine, but when I upload the files to our Hosting I got this: http://portal.filterqueen.dk/portal2.fq/test.aspx please see the in IE and Firefox... can anyone tell me why in FF I don't get the CSS to work? ...more >>

q; keep credit card data
Posted by JIM.H. at 9/20/2006 3:38:02 PM
Hello, If I need to keep credit card data in my database, is there any site that talks about the requirements need to be realized during SW development and the liabilities for overall system development. ...more >>

Control events - page life-cycle
Posted by Griff at 9/20/2006 3:29:23 PM
I want to build a set of compiled user controls to incorporate into a web site. The majority of user controls will be placed on specific web page and these controls would share a common interface. The interface would expect some sort of "end user identitifier" argument, perhaps a GUID. ...more >>

debugging help: How to access POST field values
Posted by sklett at 9/20/2006 2:48:24 PM
I'm not real experienced with asp.net so this may be obvious. I've got a situation where some of my client side javascript is causing my posted form's controls to lose their values. In other words, I have a server control TextBox, I enter some text, my client side scripts do some stuff and i...more >>

Optimising Database Calls
Posted by Martin Eyles at 9/20/2006 2:44:02 PM
I have an ASP page that makes a vml/svg graph out of data. In order to extract all the necessary data I have to perform 68 SQL queries, which is unfortunatley a bit slow at the moment. For each of the procedures I go through code of this form Dim conn As New SqlClient.SqlConnection("Data S...more >>

database for website...
Posted by RAB at 9/20/2006 1:50:19 PM
I am building an e-commerce website with Asp.net 1.1. I don't expect a high volume of sales at first (probably less than 10 sales per day). The daily page visits at first will be slow (probably less than 50). Hopefully, these numbers would increase yearly. Would Access database be sufficient f...more >>

FormsAuthentication ReturnUrl - need it to be Absolute
Posted by Noremac at 9/20/2006 1:44:01 PM
My google skills must be dwindling. I am trying to determine how in ASP.NET 2.0 I can get the ReturnUrl querystring variable in Forms Authentication to contain the absolute url. Just like others that have posed this question, we are an enterprise environment that has multiple websites acros...more >>

Master has a Master?
Posted by AmitKu at 9/20/2006 1:39:03 PM
My site has a header and footer that is common to all pages on the site. It makes sense that this should be stored within a master, and have everybody go off of this one. However, one part of my site (20 pages) has a nav bar, and I'd like to use a master to represent this. Instead of having ...more >>

Redirect non-existing sitemap.xml file to ASPX page
Posted by Greg Collins [Microsoft MVP] at 9/20/2006 1:27:07 PM
Okay, this is driving me nuts now. I spent all last night researching = newsgroup postings, web articles, etc. Running multiple sites off the same shared hosting service, I want to be = able to redirect a non-existing siteinfo.xml and sitemap.xml to = appropriate ASPX pages that will return va...more >>

User control with events
Posted by Toty Santana at 9/20/2006 1:16:02 PM
I need to make a new user control; it will contain a button and a drop down list. Can I make the button click event handling editable by the user, like he can specify the method that will handle this click event on the hosting page?...more >>

Problems when uploading ASPNETDB.MDF to production server
Posted by 3Dfelix at 9/20/2006 12:59:19 PM
Problems when uploading ASPNETDB.MDF to production server Hi all, I'm a little web with a login page and aspnetdb.mdf file as data = base for users. I've done it on local server, with VS2005 and = SQLExpress. On local it run OK. The problem araise when I upload the = precompiled site to a prod...more >>

Dynamic control creation in datagrid based on data in that column
Posted by mitramay NO[at]SPAM gmail.com at 9/20/2006 12:30:48 PM
I am creating a dynamic datagrid. The controls in some of the template columns will have to be generated based on the data contained in them (i.e. the data for that respective DataField column). For example, if I have a column called Available, the possible values for it are Yes or No. In case...more >>

ASP.NET rookie needs help finding postback data
Posted by jrett at 9/20/2006 11:57:01 AM
I'm new to ASP.NET and fairly inexperienced with web development in general, but I've been a professional software dev for over 10 years, C++, Unix and windows, C# the past 4 years. I've been working on a personal ASP.NET project, basically as a learning tool and I have a major issue which ...more >>

SessionState Mode=SQLServer and Session.Abandon
Posted by Ed at 9/20/2006 11:08:02 AM
I am trying out SessionState with Mode=SQLServer. I have my code run Session.Abandon, but the session entry in the table ASPStateTempSessions is still there? I was expecting that Session.Abandon would remove the Session from the table. Is their a different method I should use to remove th...more >>

Need To Output and Image From a URL
Posted by rh1200la NO[at]SPAM gmail.com at 9/20/2006 11:00:32 AM
Hey all. I need to output an image via an .aspx page and hope someone here can help. I would like to display an image like this: <img src="displayImage.aspx?categoryID=1"> The .aspx page will grab a random URL from the database based on the category id. I would like the script to load t...more >>

Session not working
Posted by Parrot at 9/20/2006 10:46:02 AM
For some reason my Session state stopped working in my webpages. I cannot pass a variable from one webpage to another using the Session. For example: Web page 1: Session["filepath"] = dbname; Response.Redirect("Webpage2"); Webpage 2: protected string filepath; private void Page_Lo...more >>

ASP.Net: execute function on every page loaded?
Posted by JackBlack at 9/20/2006 10:15:56 AM
Hi, all! Using ASP.Net (2.0 framework) with VB.Net code-behind... Is there any way to execute a particular piece of code on each and every page load in a website, without specifically putting that same code (or user control) on each and every page? Some languages have a config file (like ...more >>

When are the FormsAuthentication class' configuration settings read?
Posted by matt at 9/20/2006 9:32:36 AM
Hi, I'm writing a HttpModule which is going to require certain settings in the FormsAuthentication configuration (for example, I need to ensure enableCrossAppRedirects = true). Now my best effort so far has been to run through the configuration settings I require and raise exceptions if the...more >>

C# late binding on remote DCOM error: "Class not registered"
Posted by Paul W at 9/20/2006 9:26:02 AM
I attempted to find the solution and came close (http://blogs.msdn.com/robgruen/archive/2005/01/24/359660.aspx) but cannot go any further. I have an ASP.NET (2003/C#) app that calls a VB 6 DCOM on a remote server. Identity used on DCOM is the same identity as used for the IIS app. Line o...more >>

open excel file on page
Posted by NH at 9/20/2006 9:21:02 AM
Hi, I am sure this must be simple do (famous last words?!). I have an excel file in a folder on the website and I just want to have it open up immediately (in an iframe or something?) once the page has been opened. This is in .net 2.0 and the page I am opening is a content page being ca...more >>

Public Sub New() not inheriting?
Posted by Nemisis at 9/20/2006 8:52:22 AM
Hi everyone, Can someone tell me why, if i have a Base class (classA) that have a constructor of Public Sub New() End Sub And i have a class that inherits the functionality of this class (ClassB), why does ClassB not have the New constructor?? Do i have to explictly define this in e...more >>

FileNotFoundException
Posted by Luigi at 9/20/2006 8:01:54 AM
Hi all, I have a problem with my asp.net application. I can't read a file that is on another server (10.1.8.15), while my application in on 10.1.8.14. In that file I have a shared folder, within the file "txt". I've used the following code: bool present; FileInfo f1 = new FileInfo(@"\\10.1....more >>

Disable Button With Javascript
Posted by Joey at 9/20/2006 7:17:18 AM
Hello, In my C# asp.net 2.0 application, I have a webform with a button server control on it. The webform, like most others in the site, subscribes to a master page. I have determined that the button always renders with an id of "ct100_ContentPlaceHolder1_btnContinue" in both the IE and Firef...more >>

user control help
Posted by rodchar at 9/20/2006 6:17:02 AM
hey all, i have a user control that has some javascript defined in the HEAD section. well i'd like to drag my user control onto a page that is using a Master Page. so, now, where do i put that javascript code? thanks, rodchar...more >>

how'd they do that
Posted by rodchar at 9/20/2006 5:19:01 AM
hey all, you know when you log in to msdn and go to subscription downloads, the header of the page is fixed and the body of the page scrolls, is that done with frames? thanks, rodchar...more >>

DropDownList Session
Posted by jumblesale at 9/20/2006 5:11:32 AM
Hello, I have a dropDownList which I have added to a session and am retrieving to save on server hits. The problem is that when I pull the dropdownlist out of the session, it does so, but displays nothing on the screen. I am doing so like this: ddlExam = (DropDownList)Session["ddlExam"]; An...more >>

DAL or BOL? Can someone clarify?
Posted by Nemisis at 9/20/2006 2:01:57 AM
Hi all, I was wondering about where this code should go. Basically i have several tables in my database, when i add a row to a particular table, i will need to also add other entries in other tables. I would consider this to be code that should be in the BOL? Am i right in thinking that...more >>

Access denied to assembly
Posted by Jose-san at 9/20/2006 1:59:02 AM
Hi, I'm getting this error message when i try to run a asp.net application in my development workstation: "A first chance exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll Additional information: Access denied: 'myassembly'." The application has been working fo...more >>

textbox in repeater loses value between postback
Posted by Dot Net Work at 9/20/2006 1:13:26 AM
I have a user control that contains a textbox and a link button. This UC sits inside a repeater control. When I click any button, any edited textbox value does not get sent back to the server side code. (I am using asp.net 2.0 and the aspx page in question uses EnableEventValidation="false" ...more >>

Export Excel Question
Posted by Cloud at 9/20/2006 12:48:01 AM
Hi all, I have a parent page(parent.aspx) which will open different new windows depending on the user input. for example, the new windows are opened using the following code : window.open('child.aspx', document.userinput.value) In the child.aspx, the result is rendered as Excel, Word...more >>

Not debugging into asmx page
Posted by moondaddy at 9/20/2006 12:38:45 AM
I have just setup a new machine and installed VS2003 and 2005. I'm now wanting to debug a vb.net 1.1 project in VS2003. Its a windows app that uses web services and is calling a web service project which is part of the same solution on the same machine. all seems to be running fine and de...more >>

Lost sessions issue
Posted by AlonR at 9/20/2006 12:13:26 AM
Hi, We're experiencing random user sessions losses on our web applications, and are researching for any useful information which may shed light on this problem. Environment: In our company, we're developing a web product based on ASP.NET 2.0, in conjunction with Oracle database over ADO....more >>

Custom Authentication
Posted by Tarun Mistry at 9/20/2006 12:02:45 AM
Hi guys, im having a little problem getting my head around some concepts, any help would be appreciated. I have enabled forms authentication in my site using a Membership provider (SQL based). I followed the tutorial set out by the 4 guys From Rolla (http://aspnet.4guysfromrolla.com/article...more >>


DevelopmentNow Blog