all groups > asp.net > july 2007 > threads for thursday july 5
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 31
System.Management
Posted by news.orange.nl at 7/5/2007 10:49:44 PM
System.Management does not seem to import when I use Visual Web Developer
2005 Express Edition
I put
<%@ Import Namespace="System.Management" %>
in my code. asp page
If I put
Dim objMOS As System.Management.ManagementObjectSearcher
In my vb code, it says that the type is not define... more >>
1.1 vs 2.0 - Multiple DLLs?
Posted by Bob Johnson at 7/5/2007 9:44:39 PM
I'm finally getting around to migrating a "big" ASP.NET 1.1 app to 2.0. I've
been reading up on the differences and I'm NOT finding something I was lead
to believe was the case [about 2.0] a long time ago. I somehow was under the
impression that, when compiling an ASP.NET 2.0 app, that multipl... more >>
IE 7 showing User still Login when Close and Open again ?
Posted by luqman at 7/5/2007 8:20:58 PM
If user login with the login control in ASP.Net 2005 and then just close the
browser and then open the browser again, the login status shows, User still
Login?
Any idea, how to Logout the User when the User click on the Close Button of
Browser ?
I am using Sql Membership Provider for securi... more >>
PageMethod - What is needed to use them?
Posted by dnadeveloper at 7/5/2007 8:18:33 PM
Can anyone tell me what is is required to get the PageMethod code into my
..aspx pages? (More accurately, into the rendered page.)
So far I have a scripmanager with EnablePageMethods wet to true.
TIA
Chris
... more >>
Chose file upload location
Posted by mjgrinnell NO[at]SPAM gmail.com at 7/5/2007 8:12:14 PM
All,
I have been looking around for a third-party component that allows me
to manage the location to which I upload files (i.e, I can create new
directories, browse to a directory, etc on the server), but I have not
seen anything that seems appropriate. Does anyone know of any such
beast?
... more >>
Retrieving form data by name
Posted by andrewbb NO[at]SPAM gmail.com at 7/5/2007 7:21:50 PM
This will likely be the dumbest question of the day, but:
Me.Request.Form.Item(3) 'works
Me.Request.Form.Item("txtName") 'doesn't work
Intellisense shows the full name of the key is:
ctl00$ContentPlaceHolder1$txtName
Why is the key not: txtName ?
Master:
... more >>
Events refuse to fire when using master pages
Posted by at 7/5/2007 6:05:26 PM
I've tried figuring this out as best I could, but I've already spent a
day trying to get this to work, and it's blocking further dev.
I have a page that is using master pages. I have a button in the
content page, but it refuses to execute its OnClick code.
I'll paste in the relevant code in ... more >>
File Uploads to Web Service in both SOAP and HTTP-POST
Posted by Brybot at 7/5/2007 5:55:44 PM
I am trying to allow HTTP POST file uploads to my web service.
Currently I have it working perfectly for a SOAP/XML request reading
in a byte[ ] using MemoryStream/FileStream but I cannot figure out how
to encode a file on a POST to the same web service. The definition
requires a base64binary e... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
accessing Request.Browser throws an exception
Posted by germ at 7/5/2007 5:10:03 PM
we are running into a situation where accessing Request.Browser.MajorVersion
causes a System.ArgumentNullException.
when this happens the HTTP_USER_AGENT value is "Mozilla/4.x (Win95)"
I am assuming that this problem is that this agent string is not being
recognized.
I would have thought ... more >>
ASP.net interface with windows API
Posted by Michael Weyant at 7/5/2007 4:12:35 PM
Hey all,
I am looking for a method to have an ASP.net page perform remote
configuration of an embedded windows device..things like configuring TCP/IP
info, domain participation, computer name, proxy info, etc.
My intent was to have this device host an ASP page in IIS that would make
this... more >>
"This is often an indication that other memory is corrupt." Error. Any clues?
Posted by darrel at 7/5/2007 3:59:08 PM
We're getting this error on a page that uses a particular User Control we
created:
"An Error has Occured retrieving the news item.
Attempted to read or write protected memory. This is often an indication
that other memory is corrupt."
Googling this seems to turn up a random assortment of ... more >>
Query Takes a Long Time to Run
Posted by Mick Walker at 7/5/2007 3:28:26 PM
I am in the process of writing a web application using ASP.NET. I am
Using a SqlDataSource to populate the contents of a Repeater control.
To me the select statement appears to be very very simple, it is:
SELECT [UID], [SupplierSKUCode], [Date_Imported], [Name], [Import_UID]
FROM [Import_L... more >>
Errors locating WebResource.axd
Posted by May at 7/5/2007 2:44:01 PM
We are getting WebForm_DoPostBackWithOptions is not defined and other Java
script errors related to WebResource.axd file. I narrowed down the problem
and found out the cause but can't come up with a solution based on our
application setup. Here is is how our web sites configured on IIS.
Mult... more >>
Help with deleting a file.
Posted by davem at 7/5/2007 2:34:06 PM
My mobile application needs to be able to delete the database on the mobile
device. However if another application (such as Query Analyzer) had
previously been connected to it, I receive an error telling me the file
cannot be deleted due to a sharing violation. Then I need to go into
Run... more >>
asp:BoundField and HtmlEncode
Posted by jMehdi at 7/5/2007 2:32:50 PM
I have the following definition:
<asp:BoundField DataField=3D"ThreadPostAuthor" HeaderText=3D"<%$
Resources:ForumsRes, StartedBy %>" SortExpression=3D"ThreadPostAuthor"
HtmlEncode=3D"false" />
When the UICulture is set to French the HeaderText displays encoded
characters (eg: "Commencé... more >>
Syncing PPC time with desktop
Posted by davem at 7/5/2007 2:20:51 PM
Is there a method to set the system time on the mobile device to the time on
the desktop PC? This would be the mobile device is connected to the
desktop PC as a guest (non partnership) and the info is pulled from the
desktop to the PPC.
I've seen some methods using RAPI or CeRAPI, but if ... more >>
Design Workflow Frustration
Posted by JJ at 7/5/2007 2:18:46 PM
I find that I spend too much time getting a graphical design of a web site
into a working implementation in Visual Studio 2005.
I am continually frustrated at the lack of ease there seems to be in going
from a drawing of a web site design, to the asp/html implementation in
Studio.
I am t... more >>
ASP.NET SQL Server logon permission denied
Posted by JT at 7/5/2007 1:56:11 PM
I have created a simple ASP.NET application on the intranet, accessible only
to 2 users who will log in as Administrator; the server runs Windows 2000
Advanced Server. Page language is C#. The application accesses a database
that runs on SQL Server 2005 Express Edition, on the same machine w... more >>
using SSL with ASP.net 2.0
Posted by c_shah at 7/5/2007 1:55:01 PM
I have an asp.net website (IIS 6 on windows Server 2003, .NET
Framework 2.0)
On one of my page I am making a call to a ASP.net web service (to
obtain some data), I DO NOT want to make any secure calls to the web
service. Does SSL have any issue with consuming a web service inside
your
as... more >>
Dynamic sitemap contents
Posted by Max2006 at 7/5/2007 10:52:04 AM
Hi,
I am using ASP.NET 2.0 siteMap provider.
I need to make the title of one of my siteMapNode elements dynamic. That
means the title should be "Profile" for logged in users and "Register" for
anonymous users. How can I do that?
Thank you,
Max
... more >>
Memory Organization
Posted by Just D. at 7/5/2007 10:36:00 AM
I see in many Internet sources that all 32-bit systems are having
limitations and can't address above 2 GB limit for the user application
reserving 2 GB more for the system. There are some tricks to expand the user
space like this:
http://blogs.technet.com/marcelofartura/archive/2006/09/14/... more >>
Input mask for TextBoxes
Posted by Greg Smith at 7/5/2007 10:11:57 AM
Is there a way to mask input for a TextBox?
I would like to have TextBoxes that accept only:
- numbers
- currency
Any help is greatly appreciated.
... more >>
What is the best way to login my website from another website?
Posted by rockdale at 7/5/2007 8:51:27 AM
Hi, all:
I have a website with its own login page. Now one of my clients want
their employees log into my website from their website. They want to
have their login page (look and feel are different and hosted on
another web server) and then send the user id and pwd to my login
page. What is t... more >>
GAC and memory usage
Posted by ph_haenggi NO[at]SPAM yahoo.de at 7/5/2007 7:44:45 AM
Hello
Currently, we have more than 100 similar web applications running.
Every application has a virtual directory that points to the aspx-
files, so they all use the same files. But every application has their
own dll's in their bin-directory.
With the new version of our web-application I ... more >>
redirect on every request
Posted by Paul at 7/5/2007 7:15:20 AM
I've enabled http-compression on a server and was profiling the site
with fiddler. I noticed that every request to any asp.net site on the
server seems to return a 302 page before returning a 200. The 302 page
is never shown, and is less than 1kb, but is this normal behaviour for
asp.net? or is ... more >>
Q: Initialising and updating a class with only static members & database dependency
Posted by mark4asp at 7/5/2007 6:54:35 AM
Q: Initialising and updating a class with only static members &
database dependency
I have a class with the following members:
public static List<ACIS> ACIS_List;
static AssetClass() { // blah }
public static ACIS Get_ACIS(string sACISCode) { // blah }
public static AC... more >>
Different connection strings for different web servers
Posted by PatB at 7/5/2007 6:12:00 AM
Is there a way in ASP.NET 2.0 to have different connection strings settings
in a web.config files that are dynamically used based upon the server that
the web application is running on?
For example, you have have two test web servers (TEST1 and TEST2) and a
production web server (PROD1). E... more >>
App_GlobalResources List All Strings
Posted by nils.harrison NO[at]SPAM gmail.com at 7/5/2007 4:32:57 AM
I would like to list/enumerate all the strings in my resources files
in an ASP.NET 2.0 web application, for my own personal convenience.
I just want to be able to display the information
key1 string1
key2 string2
Nothing fancy.
I've looked at ResourceReader/ResourceManager but I'm not ... more >>
OnClick event won't fire
Posted by -Karl at 7/5/2007 12:54:21 AM
Snippet: http://www.nomorepasting.com/getpaste.php?pasteid=1020&seen=true&numbered=on&langoverride=asp
Line 37 is where I am having the problem. I can't get the onclick
event to fire off. Yet line 16 works like it's supposed to. How do I
get my onclick event to work? I tried changing it fro... more >>
How to disable Master Page controls on Login Page?
Posted by luqman at 7/5/2007 12:00:00 AM
I have created a Login Page with Master.Master Page. The master page
contains Menus, and I want to disable those menus on Login Page, how can I
?
Best Regards,
Luqman
... more >>
Threading Issues
Posted by Mick Walker at 7/5/2007 12:00:00 AM
I have a question about using threads within my web application.
I have a very long process, and currentlly run it within a new thread.
Before I create the thread and .Start() I set the value of Image control
to visible = True, this image control simply contains an animated .gif
with "Please ... more >>
How to debug IIS 500 Internal Server Error?
Posted by Spam Catcher at 7/5/2007 12:00:00 AM
Hi all,
I have a webservice which is throwing a 500 Internal Server Error. It seems
to be related to the signature of function (or one of the properties within
the function).
The web service compiles fine (VS.NET 2005) but when I try to access it, it
throws a 500 Internal Server Error.
... more >>
|