all groups > asp.net > september 2006 > threads for friday september 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
CPU Usage going 100%
Posted by Aryan at 9/1/2006 11:59:40 PM
Hi,
I am getting weired problem all of sudden for CPU usage going to 100%
for aspnet_wp.exe. This problem started after installing (CLRProfiler -
86x). I am using Framework 2.0. Before installing CLRProfiler,my
application was working fine and to my strange the same application
works fine on ... more >>
How to check if SQL Server is running via asp.net
Posted by wwwmike NO[at]SPAM gmx.ch at 9/1/2006 11:48:31 PM
Problem: When my provider shuts down the SQL Server IIS receives a few
error messages and then switches the site to 'SERVICE UNAVAILABLE'.
Before IIS kills itself it is friendly enough to send me an error
message.
****ERROR MESSAGE 1******
System.Data.SqlClient.SqlException: An error has oc... more >>
sqlserver 2005 login problem
Posted by Carlos at 9/1/2006 11:18:26 PM
Hi all,
I just wrote an asp .net 2.0 sample app intending to connect to
a database (in sql server 2005). I provided the mixed mode access
authentication in the sql server, and provided to the aspnet account
user access with the dbo role. I also configured IIS to get integarted
windows authe... more >>
IsNumeric
Posted by sck10 at 9/1/2006 7:31:29 PM
Hello,
I am trying to determine if a value is NOT numeric in C#. How do you test
for "Not IsNumeric"?
protected void fvFunding_ItemInserting_Validate(object sender,
FormViewInsertEventArgs e)
if (e.NewValues["Funding"] != "" && Not IsNumeric(e.NewValues["Funding"]))
{
e.Cance... more >>
What is this ?
Posted by Jl_G_0 at 9/1/2006 6:18:23 PM
I created one hyperlink column and it worked great, but I used one
thing and I want to know what this means. Since its a symbol I cant
find it anywhere, and I dont know the name of this : {0}
I used this like:
DataNavigateUrlFormatString="details.aspx?id={0}"
DataTextFormatString="{0:c}"
... more >>
Inline alternitive to Page_Error?
Posted by Carlo Razzeto at 9/1/2006 5:05:26 PM
Is there anyway to inline Page_Error type global error handling in an
ASP.Net webpage? Currently I work on a very large web system where the
entier web front end is contained in a single project file. I would like to
have inline Page_Error methods for certain pages, particularly some XML
exc... more >>
ASPX frpm ASP
Posted by Bala Nagarajan at 9/1/2006 4:15:35 PM
Hello,
Does any one know how to invoke a aspx (asp.net 2.0) page from an
asp page? I just tried to open a aspx page in a window from a asp page but i
received an authorization error stating that i cannot access the resource
(aspx page). Anything i am missing?
Any help will be greatly ... more >>
BC30451: Name 'objCDO' is not declared
Posted by AbraAbraCadabra at 9/1/2006 3:49:04 PM
Help.
I get this error " BC30451: Name 'objCDO' is not declared" and it references
the following line...
objCDO = Server.CreateObject("CDO.Message")
What do I need to do to solve this error (I am in the process of converting
my ASP site to an ASPX site).
Help!
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to render a page
Posted by Heron at 9/1/2006 3:38:42 PM
Hi,
I need to render my site for html 3.2 so I ran into to Html32TextWriter and
managed to render some usercontrols but how do you create an actual page?
In the default.aspx I tried to create my login page like this.
protected void Page_Load(object sender, EventArgs e)
{
rendered = ... more >>
.NET Job Chicago
Posted by Arsen V. at 9/1/2006 2:03:59 PM
Hello,
Is there a newsgroup specifically for posting info re: .NET full-time
position in Chicago, IL?
Thanks,
-AV
... more >>
gridviews in page design
Posted by Carlos at 9/1/2006 1:48:53 PM
Hi all,
I need to place 5 gridviews next to each other. However, during esign
time,
the gridviews are placed under the previous.I played with the position style
of the document but it did not work.
Any suggestions?
Thanks in advance,
Carlos
... more >>
does it exist a decompiler for asp.net?
Posted by André at 9/1/2006 1:21:22 PM
Hi,
I made a compiled asp.net 2.0 application and i wonder whether i would be
possible to decompile the application. If yes, how to protect the code from
being read by anybody with that decompiler?
thanks
André
... more >>
separate .cs file for global.asax
Posted by Larry Epn at 9/1/2006 12:19:01 PM
Simple question: I have a c# asp.net project that was given to me. It has
the c# code within the <script> section of the global.asax file. I would
rather have it in separate files; e.g., global.asax.cs; So, I deleted the
existing global.asax file (there was nothing important in it yet), an... more >>
Non-popup calendar control?
Posted by rockdale at 9/1/2006 11:48:22 AM
Hi,
I tried to search web for an non-popup calendar control, (like
javascript calendar) but could not find a good solution. Most solutions
are popup another window and show the calendar, then close and assign
the date back to the main window when user selected a date. Also find
some examples ... more >>
How to Insert into new table, then delete from old table
Posted by D at 9/1/2006 11:21:51 AM
Hello everyone -
General question. How would I create a SQL code in ASP that
will insert selected records into a new table, and then delete those
same records from the original table in one command? I can INSERT INTO
and DELETE individually but I want them to run in conjunction with
eac... more >>
print question
Posted by CSharpguy at 9/1/2006 10:15:01 AM
Is there a way to have the user click a button on a web page and print that
page in landscape or no?
... more >>
Strange parse error calling ASP.Net WebService
Posted by Robbert van Geldrop at 9/1/2006 8:55:01 AM
By making a call to a webservice I receive the following error page, we did a
complete new build but the error still exist:
The installation of the webservice is on an win 2003 standard service pack 1
server.
Server Error in '/BackupAgentServices' Application.
----------------------... more >>
Cannot run a ASP.NET application in Debug Mode
Posted by Rekha at 9/1/2006 8:26:02 AM
Hi,
System: Windows XP, Visual Studio 2005, ASP.NET 2.0, framework 2.0
When I run my web application in debug mode, I am getting the following error:
"Unable to start debugging on the web server. The COM+ registry database
detected a system error."
If I run "repair" on the .NET framework... more >>
GridView issue
Posted by ram_kri at 9/1/2006 8:17:04 AM
Hi Guys,
Here is a uncommon scenario that I had to work on..
I have a GridView which is associated to a DataSource. But I have a couple
of columns (item-templates while the rest of the columns are
boundfields)which have labels. Now, the datasouce that is bound to the
GridView doesnt provide v... more >>
How to access controls on another aspx page
Posted by ~john at 9/1/2006 7:56:04 AM
If I have a label on the Master Page that I would like to change its
text with a button on one of the content pages, Default.aspx... It's
giving me an error saying "Label1" is not found. Can you only find
controls on the current page.. ie Default.aspx.cs can only access
controls on the Default.a... more >>
How to put Javascript in a page using masterpage
Posted by rockdale at 9/1/2006 7:54:21 AM
Hi,
I have a page which use a masterpage.
And I put a javascript in this page like below:
<%@ Page Language="C#" MasterPageFile="~/SITE.master"
CodeFile="TEST.aspx.cs" Inherits="TEST_aspx" Title="TEST Javascript" %>
<script type="text/javascript" language="javascript">
DOI... more >>
findcontrol behaviour
Posted by tarscher NO[at]SPAM gmail.com at 9/1/2006 6:48:06 AM
Hi all,
When a user clicks a button controls are generated
protected void keywordsDropDownList_SelectedIndexChanged(object
sender, EventArgs e)
{
int numberOfTextBoxes =
Convert.ToInt16(keywordsDropDownList.Text);
TextBox myTextBox;
for (int i = 0; i < num... more >>
ClientID and Request.form()
Posted by cannontrodder at 9/1/2006 5:04:51 AM
I am writing a composite control that allows two-way binding between a
collection of boolean values and a set of checkboxes.
In the CreateChildControls, I add each checkbox control that I need and
give it a numbered id/name while setting it's checked property as per
the values in my boolean co... more >>
app design/architecture question
Posted by CSharpguy at 9/1/2006 4:12:01 AM
I have a 03 .NET web that does not use Typed DataSets, it uses a Busines
Layer/DataLayer classes. Alot of my reading on .NET 05 is using the DataSets
for the datalayer/business layer. I have a 05 web app that I used the
business/datalayer class architecture and it works. But my question is, wh... more >>
The XML page cannot be displayed
Posted by ninja at 9/1/2006 4:01:49 AM
I have a problem running my asp.net websites, they all throw the error
mentiond below, and the funny part is, there are no errors when I test
before deploying. The error is per below:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error
and th... more >>
Business Objects?
Posted by Arpan at 9/1/2006 1:50:13 AM
This is how I am creating a simple business object:
'This code exists in a class file named MyDatabase.vb
Imports System
Imports System.Data
Imports System.Data.SqlClient
Namespace ASPNETDB
Public Class MyDatabase
End Class
End Namespace
The above VB file exists in the the fol... more >>
running asp.net project on distributed servers
Posted by ozcankanbur NO[at]SPAM yahoo.com at 9/1/2006 12:43:44 AM
How can I run an asp.net project on distributed servers? (WEB SERVER /
APPLICATION SERVER / DATABASE SERVER)
My asp.net project runs with ui.dll,biz.dll and data.dll so you know
all the assemblies must be in bin directory on the web server.
but data.dll must run on another server. data.dll acce... more >>
Send Mail Problem
Posted by Max at 9/1/2006 12:33:38 AM
hi
I used mailmessage object to send the mail, my smtp server don't
require authentication, when i try to send the mail it shows error.
following is the code to send mail.
Dim mymail As New MailMessage
Dim smtp As SmtpMail
smtp.SmtpServer = "mailhost.gujarat.gov.in"
... more >>
Login using NT login details from web form problems
Posted by DavidADEW at 9/1/2006 12:13:01 AM
need a ASP.NET C# web page that lets a user enter their NT user name
and password and passes to NT to see if they are a valid NT login.
I am aware of the System.DirectoryServices.DirectoryEntry classes, and
tried to use these, but they are not installed on the web server at
present - I get a
... more >>
GridView Question
Posted by Gunawan at 9/1/2006 12:00:00 AM
Dear All,
I have data which display on the GridView.
GridView contain 3 Column (ProductId, ProductCode and Description).
I would like to display only Product Code and Description so I hide
ProductId Column.
Is there any command so I can take value of first column which is Product
ID?
In oth... more >>
Conditional Operator in ASP
Posted by Brad Farrell at 9/1/2006 12:00:00 AM
I'm trying to code a line in my .asp that will check for one of three values
in a field and either:
a) if null, no display
b) if set to -.01, show the "Please call..."
c) show the price
I can't see how my code below is failing, but I get an error
error CS0131: The left-hand side of ... more >>
Server.Transfer() to page with http-equiv="refresh"
Posted by Totto at 9/1/2006 12:00:00 AM
Hi,
I'm doing a server.Transfer to a page with http-equiv="refresh" but when the
refresh occurs the page that was doing the Server.Transfer is loaded.
Anyone know if there is a way round this. Something to "flush"?
Thanks
Totto
... more >>
DropDownList won't select item...
Posted by JamesW at 9/1/2006 12:00:00 AM
Hi there.
Vstudio 2003, IE 6.0
I have an asp connected to an Access database.
A DropDownList on the page shows names from the Db.
When the user selects a name from the DropDownList I want the selected name
to appear in a text box on the page.
I have tried setting AutoPostBack etc. bu... more >>
Re: Manually Configure site for ASP .NET 2 - Revisited
Posted by D at 9/1/2006 12:00:00 AM
Same problem here, but with Windows XP x64 Edition. I'm trying to setup the
default DotNetNuke website and get:
Configuring web site http//localhost/DotNetNuke to ASP .NET 2.0 failed. You
may need to manually configure this site for ASP.NET 2.0 in order for you
site to run correctly.
... more >>
|