microsoft.public.dotnet.framework.aspnet Archive - June 2004
Post a message to this list
Messages
Page: 1234567891011121314151617181920
2122232425262728293031323334353637383940
4142
DataGrid's HyperLinkColumn (4 replies)
microsoft.public.dotnet.framework.aspnet
Hello, folks, In the datagrid control, when an dataitem is not null, I want it to create an HyperLinkColumn, which will have a link to next step, when it is null, then I want it to create a regular BoundColumn, which will not have a link to the next step. Is there a way to do this? Thank for any hint.
Sometimes we get these errors on ASP.NET project. (4 replies)
microsoft.public.dotnet.framework.aspnet
We couldn't find why these errors happen.They doesn't appear everytime.And they appear different pages at different times.Is there somebody know why these happenes ? First user gets this error : Server : WEB System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. System.NullReferenceException: Object reference not set to an instance of an object. at Syste...
ListBox SelectedIndex is always -1 (4 replies)
microsoft.public.dotnet.framework.aspnet
Guys, PLS tell my why the ListBox SelectedIndex is always 1?, I am sure selection was made. Thanks HB
BUG? With A HTTPModule (12 replies, VIP)
microsoft.public.dotnet.framework.aspnet
I have come across a very strange bug while working with an HTTPModule. The bug appears to manifest itself when in the context BeginRequest making a call to context.Request.QueryString["SomeItem"] when no items are specified. Example code is try { if (context.Request.QueryString["AnyKey"]! null) { ... do some code with it; } } catch (Exception ex) { ... handle error here which never gets touched b...
authentication (3 replies)
microsoft.public.dotnet.framework.aspnet
Hi. How can I use authentication (forms) only for some pages on my web site. For example I do not want to users enter login/password for start page etc. Thanks.
update checkbox values (4 replies, VIP)
microsoft.public.dotnet.framework.aspnet
I have an update page with Checkbox's, how can I get the value of the checkbox and update the db table correctly? heres the snippet i'm trying to run and its not working strSQL "update table1 set " & if chActive.checked true then "active 'Yes' end if why will this not work?
Changing value of ASP .NET Cache from outside aspnet process (2 replies)
microsoft.public.dotnet.framework.aspnet
I'm wondering and doing some research on how I could change a value in ASP ..NET Cache outside aspnet worker process. Sounds problematic and I should other routes, but I'm curious as to how a process could talk to aspnet worker process. If you have any idea, please let me know. Thanks!
Readings style sheets. (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi all, I am trying to create a utility where users can view style class and its properties in some sort of tree control or something, are there any .net classes which can help me read a style sheet file and fill in some sort of structure ? any help or pointers would be appreciated .. Thanks ashish
Sending the user back a page (5 replies)
microsoft.public.dotnet.framework.aspnet
Hi, What would the easiest way be to send a user back a page when he clicks a asp.net image control (representing a button). Is it possible to fire an ASP.net event when this happens? Thanks Simon
Cannot create or open a c# asp project - http/1.1 500 Internal Server Error (3 replies)
microsoft.public.dotnet.framework.aspnet
Hello, Two days ago I tried to create my first asp project but when I tried to create a new asp project I got the following error message: 'The web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://localhost/WebApplication1'. 'HTTP/1.1 500 Internal Server Error'. I searched the net and I found something that I tried: to rein...
web config not working (5 replies)
microsoft.public.dotnet.framework.aspnet
I created a web app on my local machine and it works fine. I physically copy it to a virtual directory and get a Server Error in '/' Application. I try to change the web.config file to display the errors but it doesn't do anything. This is the first time we have used .net on a production server so a suspect it is a security issue or some kind of permissions issue. Regards, Chris.
Use DreamWeaver AND VS.NET? (6 replies)
microsoft.public.dotnet.framework.aspnet
Hi, I've been using Visual Studio.NET for a while to design WinForms and Console apps and love it. Recently I had to a WebForms app. Because I have no artistic skill whatsoever, I enlisted the help of one of our web designers. She's a DreamWeaver expert, but I insisted that she use Visual Studio because I was under the mistaken impression that DW doesn't support WebForms, Visual Source Safe, and t...
Reading Page Title? (9 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Does anyone know how to read the page title the executing page, using ASP.NET? I thought that this could be accessed using the Controls collection, but I can't seem to figure it out. Thanks! Chad
Web application defined? (5 replies)
microsoft.public.dotnet.framework.aspnet
Hi there, I have been learning c# for a while now, although mainly the language and I am little confused about the completed picture. I am creating a website, part of it is standard html files, some are aspx files without any code behind files but inline coding and others are proper aspx files with code behind. I am of course creating standard html files using dreamweaver as this is my preference....
how to redirect to loginpage after session timeout (2 replies)
microsoft.public.dotnet.framework.aspnet
Hello I am using Forms Authentication. but the page is not redirect to desired login page after session is expired. When I debug the application. Session end is called. In the Session End method I write code to redirect to the LoginPage as (response.redirect("Login.aspx") or server.transfer("Login.aspx")). But it is not redirecting. It runs the redirecting code but physically not redirect. What sh...
remote debugging with multiple developers (4 replies)
microsoft.public.dotnet.framework.aspnet
I've got a test webserver setup on our intranet on the same domain that I and other developers are on. We create and edit our web projects from that location. If one person is running their project in debug mode, then another one tries to run their project we get the following error: Error while trying to run project: Unable to start debugging on the web server. A debugger is already attached. Is ...
HELP! ASP.NET pages not displaying correctly (3 replies)
microsoft.public.dotnet.framework.aspnet
Hi, For the last couple of days I have been stumped as to why my computer decided to not allow me to either open or view asp.net pages. I have not added any programs or has any of my settings changed in the last few days. Here are the steps I have gone through to try and restore my asp.net. (For refrence purposes I am running a Win2k Pro box with IIS5) 1. Ran aspnet regiis u to unregister the curr...
Remove all session keys except one (5 replies)
microsoft.public.dotnet.framework.aspnet
Hi! I want to basicaööy run a Session.Abandon() on logout but keep one session. In order to do this I'm iterating through my session collection by runing the follwoing code: Dim iSessionCount As Integer Session.Count 1 For i As Integer 0 To iSessionCount If Session.Contents.Keys(i) "ReturnPath" Then Session.Remove(Session.Keys(i)) End If Next The statement works fine, but since I use the remove st...
Newbie Virtual Question (2 replies)
microsoft.public.dotnet.framework.aspnet
How do I tell IIS where to put the physical folder when it creates a virtual directory on behalf of VB.net standard (I am not using VS). Someone told me but I forgot to note it and can't find it on Google. Regards, Chris.
aspnet_wp.exe garbage collection threads utilization (2 replies)
microsoft.public.dotnet.framework.aspnet
On our production servers, we see the priority 10 threads use alot of CPU time about once every 1 to 3 minutes. We use Dispose on all of our library ServicedComponents. Can anyone explain the behavior we are seeing?
format phone number (5 replies, VIP)
microsoft.public.dotnet.framework.aspnet
I need to update a table with a phone number and have the phone number like (800)555 1212 how can I put ( ) around the area code in the update process?
Problems with image render timout when browsing on local machine. (3 replies)
microsoft.public.dotnet.framework.aspnet
I have an ASP.NET page that renders around 32 dynamic images using an HttpModule class. For some reason when I run the browser on the localhost, some of the images do not show up. I get the red X and then have to right click and select the Show Image option. This does not seem to happen when I browse from a remote client. I even tried installing onto another web server and still see the same probl...
Length of an if statement in dotnet (migrating from asp to asp.net) (6 replies)
microsoft.public.dotnet.framework.aspnet
I have a module that's processed as an include file in a tradtional asp application that I'm migrating to dotnet. In one of the modules, there's an if statement that's gotten appended to over the years it's been in production, that when it's been translated into dotnet, the if statement (if..... then) itself is several hundred characters long. The original statement was similar to: if session("rpt...
what questions to ask my isp ? (3 replies)
microsoft.public.dotnet.framework.aspnet
I am building an asp.net web site. It access an Microsoft SQL Server 2000 database. I need to upload it all, but want to know what questions I need to ask my isp who host my site to make sure it will all work ? Can anyone offer any advice. ? T.I.A Martin
deploy asp.net app (5 replies)
microsoft.public.dotnet.framework.aspnet
I need to deploy my asp.net app to my test server now after coding and testing locally. I used the .aspx pages with the code behind, no special modules or class. I noticed that there is a DLL in the Bin folder with the name of my web project. What files need to go to the server? Is is just the 1 dll in the bin folder with the .aspx pages or does the ..VB(code behind) files have to go as well?
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification