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 > november 2003 > threads for wednesday november 19

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

BTRIEVE Database
Posted by Ivana Andric at 11/19/2003 11:05:09 PM
Does anyone knows how can I connect to a Btrieve database from C#. Changing a database is NOT an option. Please help, it's urgent. Thanks a bunch in advance. ...more >>


Not able to derive from abstract class
Posted by Amil at 11/19/2003 9:28:52 PM
I'm creating a page template in asp.net. I have a abstract base class that derives from Page, call this class X; it has a single abstract method. When I create my web page, and have it derive from X, the IDE fails to load the aspx in the designer! A web search indicated that a work around w...more >>

Access Denied ... <add assembly="*">
Posted by Randy Paez at 11/19/2003 8:24:32 PM
I installed a control that i got rid of. Now when i try and run another project i get an Access is Denied {to that control}. It highlites <add assembly="*"> from the machine.config file. How can i get asp.net to not look for that control anymore? Please help! ...more >>

Store collection in Application Object
Posted by Geert M at 11/19/2003 8:18:32 PM
Is it possible to store collections of my custom defined object in an application state variable. How can this be done? ...more >>

Confused about Response.StatusCode
Posted by Shane at 11/19/2003 7:59:10 PM
I want the function in Code Snippet #1 below to return a string of "200" by making a web request for the vbprogram.aspx that contains the PageLoad function in Code Snippet #2 below. Instead, I am getting a StatusCode of "OK" instead of 200. What should I change here? Thanks in advance fo...more >>

DataGrid - almost have it
Posted by James McGivney at 11/19/2003 7:22:50 PM
In Microsoft Access I make a new Access Project called VipperSQL (Access 2000 file format). I construct a table called Ante with 13 columns. One column called ID is the primary key. Some columns have text data, others date data and others numeric data. I add 10 rows of sample data. In...more >>

saving web.config file
Posted by Blue Man at 11/19/2003 7:18:48 PM
Anybody has idea how to save value in web.config file during runtime? ConfigurationSettings.AppSettings.Add("test","test value"); won't work, it will cause and error : the file is read only during rumtime. ...more >>

Request object Encoding?
Posted by Fredrik Melin at 11/19/2003 7:11:36 PM
Hi, I am trying to retrieve data posted by a old ASP page into my ASPX application. But for some reason only ASCII 0-127 chars gets into the request (retreiving it with Request("NAME") ) How shall I do to get other chars (swedish, etc) Regards Fredrik ...more >>



customerror
Posted by Robert M at 11/19/2003 5:35:09 PM
Hello, I want to redirect to errorpage.aspx on a deplyed application and does not work... can anybody help.. thank u ...more >>

Required field validators
Posted by Eric Sabine at 11/19/2003 5:29:17 PM
Can I have RequiredFieldValidators only apply conditionally? For example, a page has 2 sections, top and bottom. I want the requireFieldValidators on the top to only be applicable when I click a button in that area. Likewise, I only want those on the bottom to test for data when the user click...more >>

Thumbnail Image Quality Issues
Posted by Chris D at 11/19/2003 5:07:42 PM
Hi, I have an application where a user uploads an image and I create two thumbnails. One a small image and the second is a larger image but still smaller then the original. I store these in SQL 2000 server. The quality of the small thumbnail is ok, but the quality of the larger image is ter...more >>

modification in redered text
Posted by Abhi at 11/19/2003 4:49:06 PM
is there anyway redered html can be checked? I mean let's say if my aspx redered <html> <head></head> <body> Hello </body> </html> is there anyway I can check the word Hello and change it to Hi ??? I am talking about checking the redered html out of asp.net ...more >>

Web Server is not running ASP.NET version 1.1?
Posted by Lionel at 11/19/2003 4:35:02 PM
I've recently installed VS.Net 2003 on a desktop running Windows XP. When I try to create a new ASP.Net Web Application I get an error message. 'Visual Studio.Net has detected that the specified Web Server is not running ASP.NET version 1.1. You will be unable to run ASP.Net Web Applications...more >>

Help with persisiting data - going out of my mind
Posted by Lloyd Sheen at 11/19/2003 4:25:37 PM
I have a problem with persisting the state of a control. It has several properties that can be determined but there is no event to indicate when the property changes. A postback occurs when one of a array of buttons is clicked. On the click new information will be displayed but I need to save ...more >>

ASPNET user missing from Windows 2003?
Posted by Harry Simpson at 11/19/2003 4:11:01 PM
Windows Server 2003 is supposed to include Framework 1.1 right. I don't have it here but have reports that the web is not running. The users say that the %COMPUTERNAME%\ASPNET user doesn't exist. Questions: 1. is this user replaced by the %COMPUTERNAME%\NETWORK SERVICE user in Windows 2003 ...more >>

Using Register dll in html pages
Posted by Chung at 11/19/2003 4:01:15 PM
Hi I have create a ActiveX control in c# and I have successfully using My_control.dll in a html page by using the following html code: <html> <head> <title>ActiveX Controls Example</title> </head> <body> <OBJECT id="Control1" classid="http:My_control.dll#We...more >>

subtracting two dates to get number of days between
Posted by Brian Henry at 11/19/2003 3:49:51 PM
How would i take two dates startdate and enddate and subtract startdate from enddate to figure the number of days between the two? thanks ...more >>

Expert question - Cancel Application_Start
Posted by AW at 11/19/2003 3:41:30 PM
Hi all, In my Application_Start, I'm initializing the application. ASP.Net calls my Application_Start on the first request, not on the following ones. However, if something goes wrong in my Application_Start I want to be able to tell ASP.Net that the application wasn't started correctly so t...more >>

caching in Application scope
Posted by JL at 11/19/2003 3:29:11 PM
I read here a lot of posts saying you shouln't cache un big object or lots of objects in Application. Why is that? ...more >>

StreamReader
Posted by john88m NO[at]SPAM hotmail.com at 11/19/2003 3:25:14 PM
I am receiving xml via tcp/ip and want to save it into a msmq queue. when I use the StreamReader.ReadLine() it only reads one line of the stream. but my xml could be more than 1 line. when I use StreamReader.ReadToEnd() it just listens to the port until the connection is closed and then it writ...more >>

what's mspx?
Posted by whidy at 11/19/2003 3:15:50 PM
a kind of file extention in microsoft web site's web page. ...more >>

cannot view xsd files (Server 2003 IIS) - xml files are fine
Posted by thansen NO[at]SPAM millenniumcare.com at 11/19/2003 3:00:24 PM
I copied an existing web site from a 2000 server to a 2003 server. Added the proper 'Application Extensions' I believe BUT I cannot browse xsd files in the xsd folder (or any other folder). If I try I get this error: HTTP Error 404 - File or directory not found. Internet Information Services (I...more >>

DropDownList databind
Posted by stefano mostarda at 11/19/2003 2:43:56 PM
Hi there, I have a problem. I have a table in a cached dataset. Depending on the page I need to get a specific set of rows from the table and bind them to a dropdownlist. To get the rows from the table I use the Select method, but, how can I bind the (DataRow[]) rows to the ddl? Have I...more >>

Writing Events using System.Diagnostics.EventLog...
Posted by David Conorozzo at 11/19/2003 2:42:11 PM
I am able to create new sources using CreateEventSource. I can call GetEventLogs, I can delete sources, I can see if sources exist BUT, as soon as I try a "WriteEntry", I get an exception: {System.InvalidOperationException} [System.InvalidOperationException]: {System.InvalidOperatio...more >>

Anyonmous access site under an NT account
Posted by Eric Sabine at 11/19/2003 1:23:38 PM
In my web site, I have some features that require NT permissions. For example, one action the user will take uses HTMLInputFile to save a file to another server, another action will do an Active Directory query (ADSI). Both of these will require the user to be seen as an NT account, so I create...more >>

Passing objects
Posted by Iyigun Cevik at 11/19/2003 12:44:36 PM
I'm passing my form to another page by using Server.Transfer method. I wrote readonly properties for each textbox in the first page, and i'm getting values of these textboxes from second page from Context.Handler. My problem is: I want to pass some other objects and some other values which doe...more >>

Accessing email address
Posted by Sireesha at 11/19/2003 12:42:47 PM
Hi All In organisation there are 3 groups A, B and C. I have to develop a webpage where i have access aparticular groups email address using asp.net. can any one have idea how to do this. thx Sireesha ...more >>

UploadFile
Posted by Ching-Lung at 11/19/2003 12:42:24 PM
Hi, UploadFile() is always throwing WebException: "The remote server returned an error: (405) Method Not Allowed." Is there any setting that I miss? IIS setting? Please help, thanks! -CL...more >>

Passing an object as a parameter
Posted by Aymer at 11/19/2003 12:38:57 PM
Scenario: I have a datagrid object and a command object in code-behind module. dgFilings As DataGrid Dim oCmd As SqlCommand I have a function that I can re-use to bind different objects. Sub O_DataBind(oControl As Object, oCommand As SqlCommand) Dim oAdapter As SqlDataAdapter Di...more >>

SecurityException when trying to write to event log.
Posted by Suhail Salman at 11/19/2003 12:37:50 PM
Dear all, why do i get the following exception when i try to write to the event log from a webform. and how can i resolve it? Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contac...more >>

Help on date formating
Posted by John Carnahan at 11/19/2003 12:14:20 PM
This gives me the (SHORT) date format I'm looking for on my development sys. But on the ISP's system I get the Date and time (LONG). Dim sd As String = master_detailsDV(0)("START_ACT") lbl_startact.Text = sd.Format("{0:d}", sd) .......... displays 5/1/2002 on local and 5/1/2002 3:...more >>

Cache Object Concurrent Access
Posted by Manit Chanthavong at 11/19/2003 11:15:05 AM
I just read, that concurrent read & writes to the Cache object corrupts the data. My question is, Is it necessary to create a mechanism for locking when writing to the cache? This article seems to imply so. http://www.codeguru.com/net_asp/CacheSync.html However, this article states that the...more >>

Reload
Posted by Ruslan Shlain at 11/19/2003 11:09:09 AM
Hello Everyone, I have a page that i have a input button on. When i click a button it pops the new window. I do my buisness in that poped window and when i close it i just want to refresh the opener. It works fine untill i do some operation on the opener that had post page back. If Opener was ...more >>

blank page
Posted by Yuri at 11/19/2003 10:57:38 AM
Hello, friends! I try to redirect to .pdf file and recieve a blank page instead The code looks like this: try Response.Redirect("./Exported/" & Session("User_Id") & "/" & FileName, False) catch e as exception end try the error message is "Thread was being aborted" I tried to move...more >>

Client access to a obj in a User Control
Posted by george d lake at 11/19/2003 10:54:56 AM
Hi, I have a user control with a textbox and I need to access it form JavaScript. here is the tag..... <input name="ucCallers:tbCaller" type="text" id="ucCallers_tbCaller" the ":" is giving me problems.... any ideas? ...more >>

CSS - problem in aspx page
Posted by sumit at 11/19/2003 10:39:39 AM
Hi, I am having an asp.net application installed on client's development server. Previously, When i was hitting the url to access the aspx page it was working fine and css was also getting accessed by the application. Suddenly, For that aspx page, css settings are not getting highlited. I ...more >>

postback question, is the order in which objects are rendered and returned controllable?
Posted by e at 11/19/2003 10:31:45 AM
I'm not really sure how to eloquently ask this, so I'll just demonstrate it. Let's say I've got an aspx page, very pseudo for the sake of argument: <%@ Page Codebehind="index.aspx.vb" [etc...] %> <html> <body> <form> <include:MyUserControl /> HTML, text, ...more >>

MSMQ
Posted by john88m NO[at]SPAM hotmail.com at 11/19/2003 10:31:36 AM
How do I peek at a queue in c#? any code would help. Thanks in advance ...more >>

Working with VS.NET 2003 Question
Posted by Hardy Wang at 11/19/2003 10:22:01 AM
Hi: Is it possible for me to create/open web application from remote machine other than port 80? And create application directly under virtual web site instead of creating a virtual directory? Because there is a developing server in our company running IIS with multiple web sites, each ...more >>

OleDbException: Too many arguments.
Posted by jn at 11/19/2003 10:15:14 AM
Hi, I'm passing around 30 arguments to a stored procedure, and I got the following error (see below). It works fine if I narrow down to around 25 args. Is there any workaround to bypass this exception, I need to pass 30 of them to my stored procedure. Thanks. I'm using Framework 1.0. -...more >>

SQLServer session state
Posted by A at 11/19/2003 9:51:42 AM
Hi, does anybody know how (if possible) to change the database name for the session database (which is ASPState)? My problem is that our website/sqlserverdb is hosted by an isp, and we are not alone (on the server) Regards, Agge ...more >>

Starting a process from ASP.NET
Posted by Ale at 11/19/2003 9:51:06 AM
I try to start a program with process.start method. It normally starts but no window is displayed, i only see the application process running on the taskmanager. I think the process is executed in a separate application context belonging to ASP.NET. Theres a way to display that window and t...more >>

Dynamic Combo driven
Posted by Al at 11/19/2003 9:42:03 AM
hi,I am using asp.net(vb) I am trying to create 3 combo boxes which are dependable on each other. when comb1 is selected, it shows the comb2 data based on the selection in combo1 and when combo2 is selected, combo3 show data based on comb2 selection. in summary, I will end up having 3 combo ...more >>

How to get VS IDE to recognize .shtml docs as html
Posted by Kenneth Baltrinic at 11/19/2003 9:33:27 AM
I am working on a static web site that uses server side includes. Thus the files have the .shtml extention. The IDE does not recoginzis this extention as being html and uses the generic text editor. I want it to use the html editor. How do I get this to happen? I have already modified the re...more >>

IBuySpy Portal Modules
Posted by Justin Weinberg at 11/19/2003 9:24:41 AM
What makes something an IBuySpyControl Portal Module as opposed to just an ASP.NET control? I'm guessing it's using the methodologies of the IBuySpy portal (SQL Server repository)? Thanks! ...more >>

Tree View Web Control
Posted by brian at 11/19/2003 9:22:43 AM
I am trying to find an easy to use free TreeView web control to use. I tried Microsofts but the help file after unzipping says something about registering the advancedWebControls.dll which I don't have. When running the batch file it never creates the dll like it says it should. Is an...more >>

Smart Navigation Error
Posted by RodBillett at 11/19/2003 9:17:39 AM
Using SmartNavigation. Windows2003 Server Framework 1.0 (3705) IIS6 and I have IIS configured to utilize the 1.0 framework. Any Ideas why I would be getting the following jscript error within Smartnav.js? htmlfile: Invalid pointer. it is occuring on line 79 hdm.appendChild(k); T...more >>

Threading - ASP. Net vs JSP/Servlets
Posted by Peter Beck at 11/19/2003 8:57:54 AM
Hi - I have a question for someone who has experience with both ASP .Net and JSP/Servlets, relating specifically to thread safetly. In JSP, we say that instance vaiables of a servlet are not thread safe. Several threads could be running the same servlet at the same time, because a new threa...more >>

Parameterized query
Posted by Jorell at 11/19/2003 8:55:40 AM
Hey everyone, I am currently using Microsofts DataAccess Application block ( SQLHelper ) and what I want to do is use a parameterized query instead of just SQL. I can not use stored procedures, I just want to create an sql statement such as this: Dim SelectStatement As String = _...more >>

loop through rows in a table
Posted by Fraggle_Rock_1 NO[at]SPAM yahoo.com at 11/19/2003 8:49:13 AM
dim tblrow as System.Data.DataRow dim i as integer i = 0 for each tblrow in datasrc.tables(0) if tblrow.item("Answer").toupper = "OTHER" i+=1 end if Next This seems clear enough to me. Look at all the "Answers" in a table, if you find "otHer" then increm...more >>

Bizarre Debugging Problem
Posted by Elliot M. Rodriguez at 11/19/2003 8:32:25 AM
This issue has persisted through several reboots, IIS resets, and an ASP.NET re-registration, and I cannot fathom why. I am hoping that someone from MS support can help me, but anyone who has ANY insight, please advise. On one particular page in my application, the VS Debugger has gone totally ...more >>

Problems implementing IHttpHandler
Posted by lapin at 11/19/2003 7:58:43 AM
I'm trying to get access to session variables from an IHttpHandler class. In several places I've seen the solution posted as in this message: >If you define your own custom HttpHandler, you need to >import the >System.Web.SessionState namespace, you >need it to implement the IRequiresSe...more >>

How to dynamically change page meta tags?
Posted by Bruce W...1 at 11/19/2003 7:51:42 AM
To dynamically change something on an ASP.NET web page a literal control (and others) can be used. But how can a non-visual element, like a page meta tag, be changed dynamically? Thanks for your help....more >>

UserControls
Posted by Ash at 11/19/2003 7:49:09 AM
What is the advantage of using a user control over a .aspx page.....more >>

Catching specific controls html output after render
Posted by Ron Vecchi at 11/19/2003 7:43:33 AM
In the RenderControl() method I have some code which will catch the controls HTML output. But what I'm tring to accomplish is catching only a perticular control and its child controls. The code below catches everything. ---------------------------------------------------- string content "";...more >>

Microsoft common dialog
Posted by Oren at 11/19/2003 7:35:55 AM
hi all, i do have an aspx page with "Microsoft common dialog" that i added to my components. when i'm adding new component i get: <OBJECT name="dialog" style="Z-INDEX: 108; LEFT: 83px; WIDTH: 49px; POSITION: absolute; TOP: 274px; HEIGHT: 42px" classid="clsid:F9043C85-F6F2-101A-A3C9- ...more >>

Self Restart ASP.NET Application?
Posted by poi at 11/19/2003 7:31:51 AM
In the global.asax, several resources need to be refreshed on a semi-regular basis. How can an application restart itself without any admin or user intervention? Thanks. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Ending an application
Posted by Greg Smith at 11/19/2003 7:19:21 AM
I am working on my first web app. What is the proper way to end the application and close the aspx page? Any help is greatly appreciated. ...more >>

Debugging
Posted by geetha at 11/19/2003 7:11:13 AM
I have an ASP>NET application in C#. I am unable to get into debug mode even after setting the breakpoint in Visual Studio. What could be the cause? (I have set the debug tag in web.config to true.)...more >>

Attaching JavaScript To ASP.Net Controls
Posted by Jim Heavey at 11/19/2003 7:02:26 AM
Hello, I was wondering how I would go about attaching some Java script code to a <asp:EditCommandColumn. If the user presses the "edit" link, then I want to test other controls to see if any information has been keyed into them. Is there a way to do that? How do I reference other contro...more >>

Authorization elements in web.config
Posted by Chris Leffer at 11/19/2003 5:52:06 AM
Hi. I would like to confirm a behaviour in the authorization element from the web.config file. Suppose the following (using Forms authentication): <authorization> <deny users="?" /> <deny users="User1" /> <allow users="User1" /> </authorization> When I try to lo...more >>

newbie-architecture
Posted by reiks at 11/19/2003 3:55:18 AM
My questions may sound silly, but I need info. What do u mean by two tier architecture and three tier architecture?what are the pros and cons of them? What is meant by client server architecture? I need few good articles on these architectures.If anyone knows any link, plz let me know ...more >>

HTML Designer Problems
Posted by Lloyd Sheen at 11/19/2003 3:32:14 AM
This IDE is driving me nuts. I needed another button so I copied an existing one, changed the Text and the id and position by drag and drop. Well then I run and get the following: Control 'Button19' of type 'Button' must be placed inside a form tag with runat=server Can the IDE not do what...more >>

asp.net-newbie
Posted by reiks at 11/19/2003 3:23:12 AM
I'm a learner of asp.net . I'm want to know the meaning of few basic terms clearly. 1.What is meant by configuration? what exactly is it's role in an application? can an application exist without any configuration?If so, are there any disadvantages?if not,why not? 2.What do you mean ...more >>

When to set state
Posted by Lloyd Sheen at 11/19/2003 2:49:24 AM
I have a problem with persisting the state of a control. It has several properties that can be determined but there is no event to indicate when the property changes. A postback occurs when one of a array of buttons is clicked. On the click new information will be displayed but I need to save ...more >>

header template
Posted by vijaya at 11/19/2003 2:42:32 AM
i want to bind data to the header template of template column using any one of the web server controls like button,textbox etc. The data comes from the database through the sql select statement, it shouldn't be a static text Is it possible to bind data from a source like dataset ot da...more >>

ASP.NET & Popup window
Posted by Raja Balaji R at 11/19/2003 1:24:22 AM
hi hi hi, i am using window.showModalDialog("sample.aspx",...) to show a sample.aspx file, popup window appears which display a hyperlink say "sample1" which links to sample1.aspx file. according to the above process 1 sample.aspx popup window will appear 2 when i click sample1 link in...more >>

Compalier Error message
Posted by sait at 11/19/2003 1:16:45 AM
When I debug Asp.net web service application,I have This error message `Compalier Error message mscorlib.dll is defined multiple place. I am using Winxp pro` I setup winxp and .net this problem cannot be solved. How can I solve this message. Thanks for everything. ...more >>

xruler, for windows
Posted by foldface NO[at]SPAM yahoo.co.uk at 11/19/2003 1:09:19 AM
Hi I'm sure this will be a trivial question for someone. There used to be a handy tool for motif called xruler. Basically a ruler on the screen that could be used for measuring the size of textboxs in pixels, seeing if controls were aligned, etc. Anything equivilent on Windows? Thanks ...more >>

RTF to PDF conversion in a webservice
Posted by armin.braunstein NO[at]SPAM atosorigin.com at 11/19/2003 12:20:34 AM
Hi! I'm a software developer in the company named AtosOrigin and in our current project we need a tool which can convert RTF-Files to PDF-files in a .Net-webservice without the use of Word or other WinForms or RichClient-Application on the server. I have searched in google and some other site...more >>


DevelopmentNow Blog