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 > february 2006 > threads for friday february 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

Required permissions cannot be acquired.
Posted by Andy Sutorius via DotNetMonster.com at 2/3/2006 8:35:16 PM
After installing Sharepoint Portal Services I am no longer able to see my website. When I try I get Required permissions cannot be acquired. I have tried to put the Trust key in the web.config but that made things worse as the SPS Website became the dominant website and reported an error trying t...more >>


Fired! - - Profile-
Posted by James Woody at 2/3/2006 6:56:22 PM
Our company uses the profile feature, then for some reason I screw around with the web.config file and delete one of the profile keys. I then re-add that profile key. Woudn't all that profile information get lost permanently? Then I may get fired. Correct? ...more >>

Yikes. A little help here.
Posted by James Woody at 2/3/2006 6:13:05 PM
I have listed the Orders on my page with a datalist. Now I need to append the OrderID onto the URL at this point http://www.microsoft.com/item.asp?orderID How do I get the OrderID out of the datalist. Should I use a datalist or a datagrid or a datarepeater or a datadeleter or a datatweete...more >>

Link button
Posted by JJ at 2/3/2006 5:32:56 PM
I have an app and on one page I have Link buttons that will fire up a word doc or at least thats my goal. When someone clicks on a link button I need to find a word doc on server where app resides. I was then thinking that I would some how point the link to that word doc and would open that word...more >>

references in a project
Posted by Pierre at 2/3/2006 5:13:16 PM
Hello, I have read somewhere that it is possible to add general reference to a project in VS. But I do not remember this article... I would like avoid adding on each page a "Imports myreference". How to do this ? Thanks. Pierre. ...more >>

Passing parameters on exeecution
Posted by De kessé at 2/3/2006 4:54:55 PM
I have an aspx file loaded in VS 2005. I need to pass the following parameter to my page... "Page=dummy.aspx" how can i do that from visual studio while i am not controling the URL? ...more >>

SQL syntax question
Posted by VB Programmer at 2/3/2006 4:39:15 PM
ASP.NET 2.0..... How do I get all users (in aspnet_Users) that are not in the "member" role (aspnet_Roles)? Thanks. ...more >>

FormView Edit Template Issue
Posted by P. Yanzick at 2/3/2006 4:37:54 PM
Hello, I am creating an edit template for a FormView control, changing one of the textboxes to a dropdown box. The dropdown will be populated from a simple table with the primary key, and a description (i.e. a colors table, so there is a colors ID and a color description). The data sour...more >>



asp:Wizard inside of a asp:FormView breacks two-way databinding (Round 4)
Posted by Douglas J. Badin at 2/3/2006 3:49:23 PM
Earlier this month, there was a posting about this without a definitive answer. If you place a Wizard inside a FormView's EditItemTemplate the bound fields contained within the View will display the data from the fields to which they are bound; yet they will return null values when the 'Upd...more >>

Dynamically load an ASP inside an ASPX file while loading
Posted by De kessé at 2/3/2006 3:35:56 PM
I have 2 ASPX files. One is the main, the other a smaller one which is the center part of the main ASP file. Now, how do I load the 2nd ASP into the first one? ...more >>

Using objectdatasource and automated updates: receiving wrong parameters.
Posted by craigkenisston NO[at]SPAM hotmail.com at 2/3/2006 3:35:48 PM
I have a grid attached to an objectdatasource from which just one field is editable. For the update method I have a method with two parameters, the key of the record and the column to be updated. However, what's happening is that I am receiving an empty key of the record in my update method. ...more >>

Application variables
Posted by Genaro Sanchez at 2/3/2006 3:10:15 PM
Hi group. I have 2 web applications. I start the first application with a default.aspx page. On a button click, it makes a reference to another application. I want to store 3 variables in the click event of the button and read this 3 variables in the Application_Start event on the second app...more >>

ASP.NET and VERY buggy VS.NET 2003
Posted by Elliot Rodriguez at 2/3/2006 3:09:12 PM
WinXP Pro Let me preface this by saying I have developed with the .NET IDE since its release, and I consider myself reasonably savvy with it. I have a medium sized form with about 120 controls - 60 labels and the rest are DropDownLists and TextBoxes. Almost every TextBox or DropDownList is...more >>

checkboxlist selected item
Posted by Alex D. at 2/3/2006 2:59:57 PM
does any body knows how to get the checkbox clicked in a checkboxlist using the SelectedIndexChanged event? The "EventArgs" dont help too much.. thanks, Alex. ...more >>

ContentType
Posted by Henrry Pires at 2/3/2006 2:47:56 PM
Hello to all. I'm trying to diplay word, exel and pdf documentes inside the ie window. To show a pdf file i know that i have to set the property ContentType = "application/pdf". But I was unable to find the value to display exel files. Does ny one know what correct value to show this kind of...more >>

less code????????????? are you out of your mind?
Posted by Ashe Sjedic at 2/3/2006 2:32:17 PM
In asp , you make a query string with one line. Now you have to click click click, add parameters edit templates dig thru the documentation type bunches and f*&^(cking bunches of code to just come up with item.asp?orderID=xxxx what the F$$cking FD*ck is this F&&ck sh(*********t? ...more >>

How to do server-side processing and then display pop-up with pop-up blocker enabled
Posted by domtam NO[at]SPAM hotmail.com at 2/3/2006 2:19:53 PM
Hi all, Here is what I want: when a user clicks a <asp:button>, its event handler will do some server-side processing and then pop up a windows of another page. As far as I know, if no pop-up blocker is disabled, the button event handler can be something like the following to pop-up a windo...more >>

Changing Repeater ItemTemplate details based on data from dataset
Posted by Mike at 2/3/2006 2:05:24 PM
Hello all, Is there a way to change the ItemTemplate based on the data that is being shown? For instance, I have a dataset, contains two fields (NAME, STATE). I want to show all the records from the dataset using a standard item template, but when STATE="TX", I want that row to show up in ...more >>

Using Business Component
Posted by booner at 2/3/2006 1:27:26 PM
I have a business component I've built in its .vb file. Compiled the .vb file and copied the outputted dll to the bin directory of my virtual directory. Now in my aspx page when I attempt to utilize the business component, I get this: Compiler Error Message: BC30002: Type 'MyClass' is not d...more >>

row data clickable
Posted by Ashe Sjedic at 2/3/2006 1:15:13 PM
Hi, i'm stuck at the point where you click on the row (or button on the row, or better yet just a link on the row) and have it do something. Something like msgbox("you clicked on this") Am I supposed to use a datarepeater, a datadeleter, a gridrepeater a viewgiredeleterRepeater or w...more >>

How can i run a batch file asp.net
Posted by emman_54 NO[at]SPAM hotmail.com at 2/3/2006 1:06:18 PM
Hi every one, I am trying to run a batch file using my asp.net application. I am using the Process class to run the batch file. When I run my web application, In the task manager, i could see cmd.exe with ASPNET as a user. But nothing happens. It can't execute the batch file. This is t...more >>

Namespace conflicts with page class - name resolution difference in compiler
Posted by Shadow Lynx at 2/3/2006 12:28:58 PM
If this is not the most appropriate group for this question, please let me know. I noticed an odd priority difference in resolving names in VS 2005 (VWD Express) vs. the .NET 2.0 compiler (the one accessed from within VS). Let me give an example to clarify things. In a test solution, I cr...more >>

application and web app technologies
Posted by cartercc NO[at]SPAM gmail.com at 2/3/2006 12:24:46 PM
January, 2006. I do not intend to start any kind of flame war, but only to seek advice about different technologies concerning which I am mostly ignorant. I am the database manager for a unit of a major state university. A part of my job includes building database access and web enabled app...more >>

Does viewstate works correctly on VS 2005 web server?
Posted by GS at 2/3/2006 12:21:06 PM
Hello, I'm receiving The state information is invalid for this page and might = be corrupted error message when running code below. This happens on = second post back. Why is it happening? My webpage contains 2 dropdowns controls and I save information entered = by user in ViewState variab...more >>

Same event handler for multiple link buttons
Posted by akki at 2/3/2006 12:10:22 PM
I create link buttons dynamically in the code and give them IDs through which I can distinguish them.I want to know how to create a single event handler for all the link buttons that I create The event handler should also be able to identify which link button was clicked....(I am using VB as the...more >>

Cast incorrect
Posted by tshad at 2/3/2006 12:07:47 PM
I have a field that I read from my database that is a bit field field into a textbox. The Trace on the variable (MyInfoCreated) shows it as "False" - as you can see from the error. I tried it with: if not MyinfoCreated then as well as what is shown here if (MyInfoCreate...more >>

radioList
Posted by CsharpGuy at 2/3/2006 11:42:48 AM
I have a radioList on my web form that has to be checked based on a data item from my database, how can I check one of the radio buttons in the list? example: my data is returned 1, 2, 3 and in my list I need to one of them checked based on the number returned? how can i do that in .net? ...more >>

Sample asp.net applications in C#
Posted by BlueSky at 2/3/2006 11:15:46 AM
Can any one refer me to some good online sample applications in Asp.NET written in C#? I am looking for some huge apps that have lots of features that I can learn from. ...more >>

Best way to embed html file in ASP.NET 2.0?
Posted by forumnewbie2006 NO[at]SPAM yahoo.com at 2/3/2006 11:05:46 AM
Hello, How would you recommend embedding an html file in an ASP.NET 2.0 page? Essentially, I'm looking for the simplest & most light weight way to embed the content of an html file (from the file system) inside an ASP.NET 2.0 page. I cannot simply cut & paste the content of the html file...more >>

Delete a control from a User control?
Posted by MattB at 2/3/2006 11:03:38 AM
I have a user control that gets dynamically added to a page. It has a couple of validators that I programmatically set properties for. All of this works, but my problem is: When not in use, I make validators Visible property = False But the validators still take up space on the page, shifting ...more >>

CSS not working! Please help.
Posted by Richard at 2/3/2006 10:46:12 AM
I've been having alot of problems with asp.net 2.0's style sheet. When I apply a style sheet to a webform in the head tag (<link href="Site5.css" rel ="stylesheet" type ="text/css" runat="server" />), the webform does reflect the styles in design mode, but not when I run the project. Sometimes...more >>

Page_Load is not executed in codebehind
Posted by ericw3 NO[at]SPAM gmail.com at 2/3/2006 10:41:35 AM
I am testing the code snippets of John Peterson ( http://www.asp101.com/articles/john/codebehindnovs/default.asp ). I have WebForm2.vb as follows: Public Class WebForm2 Inherits System.Web.UI.Page Protected WithEvents Button1 As System.Web.UI.WebControls.Button Protected WithEv...more >>

Try Catch statements
Posted by Dusty Hackney at 2/3/2006 10:31:48 AM
Hello, I use Try Catch statements a lot in my applications so that the app automatically e-mails me with any errors that the users are encountering. I was just wondering if there are any performance issues with using Try Catch statements a lot in an app? Thanks, Dusty Hackney ...more >>

New Microsoft IE Add-On - Developer Toolbar
Posted by Kevin Spencer at 2/3/2006 9:23:27 AM
For those of you who are concerned about the HTML output in your ASP.Net pages, the following link is to a new tool that you can add on to IE. It is much like the FireFox Web Developer Extension, and adds a number of tools to your toolbar that help you to diagnose HTML and CSS issues: http:...more >>

how do I make a Web service proxy understand an HTTP refresh page?
Posted by achoo at 2/3/2006 9:11:50 AM
Is it possible to extend a Web service proxy so that it understands an HTTP refresh page? Explanation: * The Web service proxy was autogenerated by Visual Studio .NET 2003 from the Web service's WSDL. It inherits from System.Web.Services.Protocols.SoapHttpClientProtocol. * The...more >>

Exporting Excel Data To SQL 2000 through asp.net
Posted by amitshinde02 NO[at]SPAM gmail.com at 2/3/2006 9:05:00 AM
Hi Experts, I have been struggling on this problem since last one month. I have a huge Excel sheet (Not well formatted) with around 10000 records or more. with around 60 fields. I want to transfer those rows in sql server as it is. The table in SQL has got diffrenter field names than this ...more >>

ASP.NET 2.0 and VS 2003
Posted by cnickl at 2/3/2006 8:41:16 AM
Hi, I have a general ASP.NET question. As far as I understand, if I install the Framework 2.0 I also get ASP.NET 2.0. However I don’t want to spent the money to buy VS 2005 right now. Can I write ASP.NET 2.0 Websites in VS 2003? ...more >>

Why it is always: this.IsPostBack = false?
Posted by Andrew at 2/3/2006 7:35:05 AM
Hello, friends, Help please, this has driven me nuts: I am developing the default.aspx page. In this page, we allow a user to type user name/password, and then click on Submit button to login. <form name="form1" onsubmit="return isValidInput()" action="default.aspx" method="post"> .......more >>

retain application variables on application restart
Posted by ChainsawDude at 2/3/2006 6:49:57 AM
I can keep the session variables across application restarts by storing the session state in StateServer (rather than inprocess). However, the application variables are still lost! Please would someone say if they know how to keep application variables intact when the process restarts?...more >>

How can I temporarily diable localization...
Posted by jojobar at 2/3/2006 6:45:05 AM
Hello, I am trying to localize an existing application (asp.net 2.0). using implicit as well as explicit localization. Asp.net 2.0 uses App_LocalResources folder for implicit localization. When this happens the tag values for Text, ToolTip etc. are not used from the aspx file but read f...more >>

Compiling Web Sites in VS 2005
Posted by tdavisjr at 2/3/2006 6:24:37 AM
I don't know if anyone noticed yet; but compiling websites in VS 2005 is a DOG!! It literally takes me like 1-2 mins to build a website or even start it with debugging. Is anyone else having this issue and is there any way around it. ...more >>

Parsing a label collection problem
Posted by Pumkin at 2/3/2006 5:12:30 AM
Hey guys, It appears to be a very simple problem, but I just cannot realize why it is happening. I have a HTMLTable in which I put 10 labels. Now, I'm trying to parse the collection and to put text on labels. Here is my code : Dim ctrlLbl As Control For Each ctrlLbl In M...more >>

Cannot create ASP.Net project in Visual Studio .Net 2003
Posted by JonSteng at 2/3/2006 5:09:28 AM
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free) I installed FrontPage server extensions to IIS on my computer while following instructions ...more >>

Security exception while opening an OleDBConnection
Posted by CyberLotus at 2/3/2006 4:30:40 AM
Hi, I've created a web application and through this I want to import Excel data to database. Following is the code that I've written, ******************************************************************* string fileLocation = txtboxFileName.Text.ToString(); string sheetName = "Import"; str...more >>

Pulling Files From a Web Site based on the URL path.
Posted by washoetech NO[at]SPAM newsgroups.nospam at 2/3/2006 4:19:43 AM
Hello, I have a client that is feeding PDF files to me. They do not want me to link to their files since that can put a strain on their bandwidth. What they asked I do is download the file and store it on my server. My question is, how do I download a file based on a url at runtime? I...more >>

directory.creatediretcory - urgent
Posted by anand at 2/3/2006 3:48:03 AM
When create a new directory on a remote machine it works when impersonate="true" credential is given . Is there any other method that a proper access can be given to create a directory . iT would be helpful if i get the steps to do it . expecting the reply soon...more >>

Assembly version redirection in web.onfig
Posted by Jose Antonio at 2/3/2006 3:42:07 AM
Hi, We have developed an ASP.NET 1.1 application which references strong named assemblies. The assemblies reside in the "bin" folder of the app, not the GAC. We want a way in which whenever we change the version of a strong named assembly, the ASP.NET won´t have to be recompiled. In order...more >>

CSS and datagrid?
Posted by CharlesA at 2/3/2006 3:35:49 AM
Hi folks, I'm using VS 2003 with Framework 1.1 I'm writing an intranet application that makes use of Datagrids I will be creating the columns declaratively (and not using autogenerate) I wish to tie various CSS styles with various columns particularly for the purposes of width/height/paddi...more >>

DataGrid not responding to Update/Cancel event
Posted by andrew.roberts NO[at]SPAM poundland.co.uk at 2/3/2006 2:40:28 AM
This is my second post now on this subject has I seem to be getting no where and the problem is really starting to bug me now. I can get a datagrid into an editable state but then neither the Update or Cancel events seem to be firing and I am at a lost to explan why. My code is below, if any one...more >>

Cast from string "" to type 'Date' is not valid
Posted by zafzal NO[at]SPAM gmail.com at 2/3/2006 1:39:50 AM
Hello all, I have a textbox in my asp.net (vb.net) aplicattion, I need to assign it's value to a Variable of type DATE, but it's not a required field, so sometimes I want to send a blank field. I declared a variable as a date datatype and when it=B4s going to receive the content ...more >>

ASP project development
Posted by barry at 2/3/2006 1:13:51 AM
Hi Which IDE is used to develop project using .ASP and global.asa files, Visual Studio 2003 allows creating of C# projects which use .apsx , c# files, i have not been able to see any option to add or create .asp files to .aspx / c# projects in VS 2003. TIA Barry ...more >>

Crystal Report cannot logon sql server!!??
Posted by abc at 2/3/2006 12:47:20 AM
Our web project is used VS2003 and Crystal Reports for Visual Studio.NET. There have reports that directly call to sql server's stored procedure. I also call SetDatabaseLogon method to change user id and password. But I found the crystal reports use ASPNET account to logon SQL Server, not my e...more >>

How to keep session variable on combo box for "Country"
Posted by Mark B at 2/3/2006 12:00:00 AM
I have a aspx form with a combobox drop-down to select 1 country from over 120 countries. On the next web page after that, I also have the same combobox so that the user can make a final confirmation of the data entered and also add some other info. I carry through Session("Country") from t...more >>

Number of Users/Sessions on the web site.
Posted by GregO at 2/3/2006 12:00:00 AM
Hi, I would like to find out how many sessions are currently active for my web site. I can't add any counters to the session start event , is there a way to access the ASP.NET engine and find this information out? Or is there other ways? Kind regards Greg ...more >>

How to develop a blog or personalized site with ASP.NET 2.0
Posted by RedHair at 2/3/2006 12:00:00 AM
I plan to use ASP.NET to develop a blog or replicator site, I want to use http://www.domainname.com/user1/ http://www.domainname.com/user2/ ....... to represent each user's personal blog. Here the user1, user2 .... mean (1) Virtual directory of IIS (2) Physical folder in file system (3) Fake ...more >>

Best Practices for Web App Development ?
Posted by Kevin Frey at 2/3/2006 12:00:00 AM
I've been spending considerable time thinking about the various implications that come into play when building a production-quality web application and this has prompted me to ask whether there are any best practices guidelines on achieving this. Particular questions I have are: 1. Session ...more >>


DevelopmentNow Blog