all groups > asp.net > june 2005 > threads for wednesday june 1
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
REGDB_E_CLASSNOTREG(0x80040154)
Posted by Rippo at 6/1/2005 11:37:04 PM
I am getting the following error when i try to open an access database
on a windows 2003 web edition machine. The site in question has been
operating sucessfully for 6 months then all of a sudden this error has
occured. I have not changed the configuration nor to my knowledge has
any new softwar... more >>
generate clientside javascript from asp.net page
Posted by fxs at 6/1/2005 10:54:58 PM
Hello, I've got the following elements on my page:
A Body tag that looks like this:
<body onload="setTabs()">
A Javascript script in the <head> that has:
var foo;
function setTabs()
{
doSomething(foo);
}
I want my ASP.NET page to set the value of foo so that it gets used in the
... more >>
Roles
Posted by Daniel Groh at 6/1/2005 9:07:57 PM
Hi folks,
Having this code:
if(User.IsInRole("ConfiguredRole")) {
ApplyRule();
}
should it works right ? but doesn't with me...when i set User. (dot) i just
have some properties and methods where the method IsInRole() is not
showing...How do i do ?
Thanks in advance
Daniel
... more >>
BC30081: 'If' must end with a matching 'End If'.
Posted by William at 6/1/2005 7:44:19 PM
The script below runs correctly in ASP but not ASPX. Im not sure why?
Please help.
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Er... more >>
edtftpnet-1.1.6
Posted by Giuseppe Dini at 6/1/2005 5:04:18 PM
I'm new to the asp.net world.
I need to create a web application that allows users to download/upload
files via ftp, using their browser.
I'm trying to use "edtftpnet-1.1.6" and it has two methods for
downloading/uploading files:
Put(String localPath, String remoteFile)
G... more >>
Sending Email From ASP.NET 1.1
Posted by Robert E. Flaherty at 6/1/2005 4:54:09 PM
Any suggestions on how to send email from an ASP.NET 1.1 app
... more >>
Simple Question regarding relative path references
Posted by damiensawyer NO[at]SPAM yahoo.com.au at 6/1/2005 4:50:16 PM
Hi all,
I hope that this question isn't too simple...
I am storing all of my webforms in a /forms directory (with the
exception of Default.aspx). I have created the following code in
Global.asax which is supposed to forward people to the login page if
they make a request (for any page) with... more >>
Problems with WebParts
Posted by Astera at 6/1/2005 4:33:02 PM
I seem to be having a problem using web parts after the beta 2 release. Any
time I try to have the WebPartManager on any page, I get the exception listed
below. I've gone through the steps listed below and have gone as far as
given EVERYONE full control of the App_Data folder. I am using th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Free ASP.NET Blog software
Posted by Maziar Aflatoun at 6/1/2005 4:25:56 PM
Hi everyone,
Does anyone know a free ASP/ASP.NET Blog software? I need to install it in
our company.
Thank you
Maz.
... more >>
how do I make the validator cut off other code on the page from executing?
Posted by bennett NO[at]SPAM peacefire.org at 6/1/2005 3:58:23 PM
At
http://www.brainjammer.com/testing/validator_test.aspx
I have a text field where you can enter text, and a button where if you
click the button, it sets the value of a label below it, to display the
text you entered in a text field. There is also a
RequiredFieldValidator for the text field ... more >>
Mystery ASP.NET Error (No one seems to have a clue)
Posted by Amelyan at 6/1/2005 2:59:01 PM
How do I force my Page to Page_Load when user clicks browser's Back button?
I am trying to avoid this error, that I get when I hit back button on my
browser and click on my dynamically generated button:
"An error has occurred because a control with auto-generated id '_ctl7'
could not be l... more >>
"Google Suggests" and the AJAX .NET Wrapper?
Posted by Phin at 6/1/2005 2:57:15 PM
Hi,
I would like to have the "google suggests" functionality on a web page
like it is here:
http://www.google.com/webhp?complete=1&hl=en
I have downloaded the AJAX .NET wrapper
(http://ajax.schwarz-interactive.de/csharpsample/default.aspx) and
viewed the video and the example but I still... more >>
I'm still lost how to have a control send a value back to a page.
Posted by UJ at 6/1/2005 2:23:41 PM
I've got a user control with a drop down list of stuff. I want to have it so
that when the user changes the value in the list, it will show up in a label
on the main portion of the page. I can't figure out how to do it correctly.
I've tried setting a session variable when the drop down list ch... more >>
Cache problem
Posted by Joe Fallon at 6/1/2005 1:50:47 PM
I have a class which is stored in the cache.
When I retrieve it from cache I return a clone of the class so that I do not
keep a reference to the cached item. (That is the theory anyway.)
When I modify the cloned object and then navigate to another page, the data
in the cache is modified with ... more >>
Creating multi-page dynamic page in ASP.NET
Posted by Vadim Vulfov at 6/1/2005 1:27:20 PM
I have the single page that I would like to show multiple
times in one aspx file continuously with different parameters in
querystring.
So, I was planning to go through the loop and pick up the parameters
from the variables and create the querystring
and execute using Server.Execute.
For E... more >>
<% if %> ... <% endif%>
Posted by MarkN at 6/1/2005 1:24:02 PM
Hi All,
I'm trying to use the <% if %> ... <% endif%> construct in the body of an
aspx page to conditionally display a table row. The table row is displaying
regardless of the condition result in the if construct. Am I doing something
wrong? The code is below:
<%if Test EQ 1%>
<TR>
... more >>
Creating a wizard like interface.
Posted by Net Developer at 6/1/2005 12:37:08 PM
I need to create a wizard like interface where a person picks an item on the
first page, then goes to the next page, makes a choice there, .... Ideally it
will need to be user object because of other stuff going on the page.
I'm looking for suggestions on how to do this. Should each 'page' be... more >>
Barcode Reader
Posted by sameer at 6/1/2005 12:36:06 PM
Hi,
I have a client who wants to use barcode scanners with web pages( internet
website). They want to scan the barcode no off a label and want this no to go
straight to the focused text field on the webpage i.e the user go's to the
webpage and focuses in a text box, and then they scan( usin... more >>
IIS process account
Posted by Reza at 6/1/2005 12:16:01 PM
Is there any API to get the IIS process account(the default is ASPNET in
ASP.NET)?
... more >>
Inserting Controls Dynamically - with Validators Also Added Dynamically
Posted by Jeffrey Todd at 6/1/2005 12:07:49 PM
I have successfully created functionality that mostly models what I'm trying
to do - which is dynamically insert controls into a user control (ascx), and
insert validation controls, also dynamically, for some of the inserted
controls.
The controls (e.g., textBoxes) get created correctly and... more >>
Problem surfacing after installation of Fremwork 1.1 Service Pack 1
Posted by Lou B. at 6/1/2005 11:56:40 AM
This problem started happening on our application (Web based, C#,
Asp.Net) after installaing Service pack 1 of the Framework v1.1
After approxiamtely a minute of session user would lose session and get
redirected to the login page (using forms authenication)
After much tinkering, discovered ... more >>
Input string was not in a correct format.
Posted by Ryan Ternier at 6/1/2005 11:16:32 AM
Customers keep getting this error, but we've never been able to
re-produce it.
Any help on this would be awesome.
Here's the error message we get.
Date and Time Occured: Wednesday, June 01, 2005 11:02:20 AM
Source: Microsoft.VisualBasic
Message: Input string was not in a correct... more >>
Import Class. Not Imports ... ?
Posted by Shapper at 6/1/2005 10:52:52 AM
Hello,
In the main root of my web site together with my aspx and aspx.vb files
I have the file global.vb.
This file has a class with all the functions which are used in many
aspx.vb files and it is like this:
Imports System
Namespace Global
Public Class Global
Public Shar... more >>
Same aspx page/different folders
Posted by tshad at 6/1/2005 10:51:39 AM
I have 2 aspx pages that are virtually identical, except for a few security
differences.
I have 2 folders, my non-secure folder and my secure folder.
There is one page in each. The one in the security folder checks to see if
you are logged on and allows you to do a couple of things the no... more >>
Stupid beginners question: Windows Username
Posted by Child at 6/1/2005 10:44:55 AM
my application needs to retrieve windows username - anon authentication is
OFF, auth mode in web.config is "windows".
I get machine name with
Dim ident As WindowsIdentity = WindowsIdentity.GetCurrent()
txtUser.Text = ident.Name
What do i need to find username?
TIA!!
... more >>
Web Farm
Posted by Krishnan at 6/1/2005 10:33:01 AM
Hi,
We run a multi-proc machine and have to store some objects that are not
serializable into the session object and hence wouldn't be able to use SQL
server session. Is there anyway to implement IP affinity to a particular
asp.net process?
TIA
Krishnan
... more >>
Hidding a template cell in a Datagrid
Posted by Fabiano at 6/1/2005 10:13:41 AM
please,
i have a datagrid that contains a template collumn. Each template cell
should have a hyperlink control to a detail page.
But sometimes i need to hide this hyperlink based on a specific status of
the record.
How can i do this? I tryed everyway without sucess.
tks in adv.
Fabi... more >>
code completion not working in code-behind file
Posted by jason at 6/1/2005 9:36:11 AM
i am writing some simple web forms with VB.NET as the code-behind
language.
the code-behind files import a C# class library namespace from a .dll
which is in the references list.
however, when i instantiate one of the C# classes, i get no code
completion for the class members. can anyone te... more >>
Tool to view file differences
Posted by mavrick101 at 6/1/2005 9:34:02 AM
Can any one tell me of a Free utility that I can use to find file
differences. eg asp, aspx.cs etc
Thnx... more >>
Excel report with ASP.NET read-only problem
Posted by Oscar F at 6/1/2005 8:55:38 AM
Hello,
To create a excel report from ASP.NET I do the folowing steps:
-Create a HTML document.
-Use Response.ContentType = "application/vnd.ms-excel"
Everything works fine and the excel report is shown inside the IE.
The problem is when I try to save the page, this message appears:
"'a... more >>
Pass parameter to Popup window
Posted by dyw55a NO[at]SPAM yahoo.com at 6/1/2005 8:16:06 AM
I have 2 webform in vb.NET application.
On Webform1, I have one text box1 and one button.
on Webform2, I have one text box .
I need transfer the value of textbox 1 in webform1 to textbox2 in
webform2. and popup webform2 when user click on the button on webform1.
I have code in webform1:
Priv... more >>
learning to write Regular Expresions
Posted by Kenny M. at 6/1/2005 8:11:17 AM
Where can I learn to write Regular Expresions
e.g. I need to validate the time format HH:mm a.m. it look simple.
I want to use a regularExpression validator but It seem complicated to write
a Reg Exp
Any documentation expliying the simbols, or sug?
thks.
--
Kenny M.... more >>
Delete confirmation
Posted by Thiago Augusto Perine via .NET 247 at 6/1/2005 8:04:43 AM
I suppose this way is better:
//declaring my own LinkButton
protected LinkButton myLinkButton;
//adding a client-script in my LinkButton
myLinkButton.Attributes.Add(
"onclick",
"return window.confirm('Are you sure do you want to delete ?');"
);
I think this way is better because you... more >>
SQLDatasource/StoredProc/Dataview Update Command Q..
Posted by rob lynch at 6/1/2005 7:59:15 AM
I have been trying to get a grasp on how I can use a sqlserver storedproc as
the UpdateCommand of a Dataview.
The control (datview / SqlDatasource / Edit control) works great when you
supply it with an adhoc sql statement (somthing that I dont' like to do for
many reasons) and populating th... more >>
Uploading Mulitiple Files with HTMLInputFile Control
Posted by Corey Erkes at 6/1/2005 7:48:21 AM
I am using ASP.Net with C# as the code behind and am trying to upload
multiple files with the HTMLInputFile Control. I am able to browse, select
a file, and finally upload, but only one file at a time. Is there a way to
select multiple files to upload at one time using this control, or possibly... more >>
Access is denied:'skmMenu'
Posted by Net Developer at 6/1/2005 6:11:06 AM
I inherited some code from somebody and have the project up and going.
There's a reference to a dll skmMenu in the project that handles our menus.
Problem is, I will merrily be going along developig fine and suddenly I'll
get the error message:
Configuration Error
Description: An error oc... more >>
Crystal Report
Posted by Mohamed Ahmed at 6/1/2005 6:07:21 AM
Hello everyone ..
i have a blank report and i want to design it and assigne a databse to it at
runtime
if one know how to do that please send reply
... more >>
File Download from Network Share
Posted by Baren at 6/1/2005 6:02:01 AM
Hi!
I am using impersonate="true" to upload and download files from a network
share.
I have created common users on both the webserver and the file server. The
user has permission to the files server folder.
I am able to upload the files into the fileserver, but while downloading the
sa... more >>
DDL and DataGrid
Posted by Niggy at 6/1/2005 4:16:03 AM
Hi all. I would like to show child elements in a datagrid of the parent
element in a DDL. I have populated the DDL ok, but how do I dynamically
update the Datagrid? I am trying the folowing~:
Dim selectedItem = DropDownList1.SelectedValue
Me.Label1.Text = "" + selectedItem + ""
... more >>
Newbie Question - Refercing a User Control from a form
Posted by damiensawyer NO[at]SPAM yahoo.com.au at 6/1/2005 3:59:01 AM
Hi all,
I'm just starting out with user controls. Can someone please tell me
how I can reference the user control from the page which is hosting it?
Specifically, I wish to set a property on one of the objects of the
user control based on the state of an object in the hosting page.
I've cre... more >>
Reload problem
Posted by Jarod at 6/1/2005 3:35:09 AM
Hey
I have script in javascript which reloads my aspx page on demand. But when
it does the dialog pops up with information:
The page cannot be refreshed without resending the information... Retry /
Cancel.
I don't want this message is there any way to refresh page on demand and
don't have t... more >>
Edit datagrid row without postback
Posted by Ann at 6/1/2005 1:02:02 AM
Hi,
I have a datagrid contained textbox in the template column.
I want to create a button on each row, when a user hits the button the
textbox on column of the datagrid is enabled (no postback), an Update button
is enabled, user will update the data, when the user hits the update button,... more >>
remote debug asp.net
Posted by hui at 6/1/2005 12:34:26 AM
Hi,
I am having trouble making my new machine to debug asp.net remotely.
The IIS runs at a win2000 server (sp 4), and my old win2000 client
machine works well with it. However, my new machine has xp pro
installed and it has trouble to start a debug process. The error
message says:
"Error whi... more >>
Inserting to DB Question
Posted by Patrick Olurotimi Ige at 6/1/2005 12:18:15 AM
I have DropDown List ...
that populates some Data..But the DropDown does a postback that
retrieves some other DropDown List with Data
But i want to add Data to the Dropdpwn list they have selected..
The table i want to add to looks like this:-
D_ID|AddID|AdddTypeID|Address
1 |1 |1 ... more >>
Submitting a web form to a web server from a running windows servive.
Posted by Muhammad Saifullah via .NET 247 at 6/1/2005 12:05:18 AM
hi and help. i have a windows service, in wich i want to submite a web from to a web server with some hidden fiels. how do i do this. and afterwords how can i get response from web server in windows service.
--------------------------------
From: Muhammad Saifullah
-----------------------
Pos... more >>
Viewstate of variables.
Posted by Mark Broadbent at 6/1/2005 12:00:00 AM
Been a while since I've touched asp.net but one thing that always seems to
fustrate me is the loss of state on variable declarations. Is there anyway
(i.e. assigning an attribute etc) to instruct the server to remember a
variables state *without* having to go through the rigmarole of saving an... more >>
How does ASP.NET check for changes to aspx files ?
Posted by Joseph Farmer at 6/1/2005 12:00:00 AM
I would like to understand how ASP.NET 1.1 detects changes to aspx files and
then forces an unload of the application domain (forcing a recompilation) -
can anyone give me a clue as to where I can start looking ?
Joseph Farmer
... more >>
CreateUserWizard control error
Posted by Kha Tran at 6/1/2005 12:00:00 AM
Hi all,
I get this message "Please enter a different password" when creating any=
=
new user.
Please help me.
-- =
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/... more >>
How to invoke the ASP.NET compiler
Posted by Joseph Farmer at 6/1/2005 12:00:00 AM
I want to invoke the ASP.NET compiler in a batch job (part of a debugging
build process). I want to build the ASP.NET assembly from my aspx files. I'm
not talking about the "code" assembly which is built when I run/build my
application which is built from my .cs files. I am after the one which... more >>
SQL access
Posted by Steffen Loringer at 6/1/2005 12:00:00 AM
Hi group
under what process is my ASP.NET application executed on a
WindowsServer2003 system with IIS6.0. I would normally expect to find a
process like asp_wp.exe but it is not there!
Thanks
Steffen
... more >>
Page Refresh
Posted by Colin Basterfield at 6/1/2005 12:00:00 AM
Hi there,
haven't touched my ASP.NET app for some time, but looking back at it now I
see there ought to be a better way of handling one of its functions.
I have two list boxes, where items in the Left hand box can be moved to the
Right hand box using buttons:
Add
Remove
also there a... more >>
Programmatic adding of WebParts
Posted by Paal Berggreen at 6/1/2005 12:00:00 AM
How is a WebPart programmatically added to a WebPartZone, in code-behind?
I would intuitively think that something like this is the way to go:
this.WebPartManager1.Zones["WebPartZone1"].Controls.Add(myPart);
but of course that does not work (WebPartZone does not allow child control),
pres... more >>
Monitoring SQL query packets in real time
Posted by Sosh123 at 6/1/2005 12:00:00 AM
Hi,
I was wondering if there is a way with VS.NET and SQLsvr/MSDE to monitor
query activity in real time whilst I am debugging an ASP.NET
application. I want to see when queries are made to the SQL server, so
that I can check the effectiveness of my fragment caching.
Any info apprec... more >>
Changing element names in an XML file
Posted by Shawn at 6/1/2005 12:00:00 AM
Hi.
Well, the title says it all I guess. I'm presented with an XML file, but
before I can send it to a web service I have to change all the element
names. How can I best achieve this?
Thanks,
Shawn
... more >>
Server Application Unavailable
Posted by Sosh123 at 6/1/2005 12:00:00 AM
Hi,
I'm getting the following error when I try and execute any asp.net
application on one machine:
Server Application Unavailable
Looking in the event logs, I have this application error:
Failed to execute the request because the ASP.NET process identity does
not have read permission... more >>
|