all groups > asp.net > may 2006 > threads for tuesday may 30
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
A parser error has occurred?
Posted by Olav at 5/30/2006 11:42:45 PM
I get this error in the EventLog when I try to open an ASP.NET 2.0 web page.
What should I look for to fix the problem?
Olav
Event code: 3006
Event message: A parser error has occurred.
Event time: 5/30/2006 11:36:58 PM
Event time (UTC): 5/30/2006 9:36:58 PM
Event ID: d47320e10ef04c018c... more >>
InvalidOperationException after resource file change in ASP.Net 2.
Posted by Dom at 5/30/2006 11:27:01 PM
I get an InvalidOperationException with the message "The resource class for
this page was not found. Please check if the resource file exists and try
again." when I change the resource file of a user control.
If I recompile the exception is no longer thrown, however this is also an
issue on... more >>
Reading a Resource file from App_GloabalResources folder
Posted by ksen at 5/30/2006 10:38:01 PM
I hava a resource file "file1.resx" under App_GloabalResources folder . Could
some one provide the sample code to read culture specfic resource file using
ResourceReaded class.
Thanks
ksen
... more >>
Open word doc from asp.net app?
Posted by CK at 5/30/2006 9:19:10 PM
Sorry for x-posting. I am really not sure where to post this question. Is it
possible to open a Word document from a asp.net page? I need to pass
parameters from a web form to a word document. Then inside Word I would need
to use those parameters. Also I want to make a new document from an
exis... more >>
How to create a fast webrequest ?
Posted by thomasabcd at 5/30/2006 6:44:05 PM
Hi,
During the user's registration I wan't to geo-code an address using
localsearchmaps.com/geo. For that purpose I use a webrequest like this:
string url = "http://www.localsearchmaps.com/geo/?street=" +
StreetNumber + "+" + StreetName + "&city=" + City +
"&country=DK&google2=1";
System... more >>
ASPX Pages
Posted by Ludwig Wittgenstein at 5/30/2006 6:37:14 PM
Hello, all.
I'm implementing a new language for the .NET framework and would
like to integrate it with ASP.NET so that I can create aspx files out
of my language code (ex: file.aspx.myl in case .myl was my language
source code file extension). I would also like to apply the ASP forms
des... more >>
Gridview Databind does not go to RowDataBound event on postback?
Posted by K B at 5/30/2006 6:29:26 PM
Hi again, I've narrowed down my problem and am hoping to get some help
to get the final answer.
Gridview with dynamic child controls loads
gv1.Databind calls RowDataBound event fine
On the next postback, I use gv1.Databind in order to reload the dynamic
rows but Databind does NOT call RowDa... more >>
Open word doc from asp.net app?
Posted by CK at 5/30/2006 6:07:04 PM
Is it possible to open a Word document from a asp.net page? I need to pass
parameters from a web form to a word document. Then inside Word I would need
to use those parameters. Also I want to make a new document from an
exisiting template. Does anyone have any examples of this?
Thanks in A... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
In vs2005 how to debug under IIS and not VS WebServer
Posted by WT at 5/30/2006 6:00:36 PM
Hello,
Using .net 2 and vs2005, I need to debug a component part of a web site,
this component need a .NET 2 web site to be ran and the web site runs under
IIS, using a special port number.
I tried starting the url of the web site as start phase, but debugger
doesn't seem to attach to th... more >>
Radio buttons
Posted by Samuel Shulman at 5/30/2006 5:45:40 PM
I expected that if I check one RadioButton on a form the others are
unchecked automatically
Thank you,
Samuel
... more >>
Panel problem
Posted by Samuel Shulman at 5/30/2006 5:42:46 PM
Why all items on a panel control are stuffed next to each other
Is there a way to locate them appropriately?
Samuel
... more >>
Writing connection string in web.config
Posted by WT at 5/30/2006 5:19:16 PM
Hello,
I am writing a Web install project and I want to get the connection string
from user and write it in the web.config of the installed web site.
As the Websetup is a windows program, I use a windows program to get the
string and I don't know if I can use the WebConfigurationManager API ... more >>
What main functionality would I miss out on?
Posted by JJ at 5/30/2006 5:12:51 PM
I wanted to run mySQL server as a back end to my web site(s), running on
win2k3 with asp2.0 . Unfortunately this doesn't appear to be possible as
there is no 'connector' available to connect the asp site to the database.
I am looking at using SQL server express as a second option but that s... more >>
Any way to get the framework to output HTML4.01 instead of XHTML?
Posted by Alan Silver at 5/30/2006 4:48:33 PM
Hello,
Is there any way to get the framework to output HTML4.01 instead of
XHTML? I only ask because there is little or no benefit to using XHTML
and as I have much more experience in HTML, I feel more comfortable
working with that.
I know the xhtmlConformance setting allows you to chang... more >>
File statys lock on IIS restart
Posted by David Thielen at 5/30/2006 4:29:01 PM
Hi;
I have an audit file that is opened in append more and locks other apps from
writing to it. When I stop and restart IIS my web app cannot open the file
because it is locked by another application. If I stop and restart IIS a
second time, no problem.
Any ideas?
--
thanks - dave
... more >>
Building text box name programically
Posted by sck10 at 5/30/2006 4:26:17 PM
Hello,
I am inserting the values for radio buttons on a form into a database.
There are 25 questions with 4 possible answers (see below). Is it possible
to pragmatically build the radio button name so I can loop through the
possibilities?
For example I would like to be able to build the... more >>
Web Services security
Posted by Mantorok at 5/30/2006 4:24:07 PM
Hi
2000 Server IIS 5
I have a web service using anonymous access, however I need to be able to
output to a log file.
I've got a log.txt file in the same directory but I keep getting errors when
trying to write to the file, I've tried adjusting the permissions
accordingly but they don'... more >>
Can't access remote Sql Server from my web app
Posted by David Thielen at 5/30/2006 4:21:01 PM
Hi;
My web application is trying to access Sql Server 2000 on a different box.
This works fine if they are on the same box. But on a different box I get:
An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by ... more >>
masterpage title
Posted by John at 5/30/2006 3:57:21 PM
I'm using a master page for my web site and I want to show the account name
in the master page 'title' section. How can I show my drop down selection in
my master page 'title section'?
example:
master page:
Scott's Account
----------------------... more >>
Problem with Visual Source Safe
Posted by stephen at 5/30/2006 3:51:59 PM
Hi,
I recently upgraded my box from 2000 to XP (Company policy... begged for
2003... did'nt happen) and forgot that I had associated my VS .NET projects
with VSS.
no matter what I do i cant change the source control... infact i cant do
anything...
so...
I want to remove all the vss related ... more >>
Iframe Src change on form loading
Posted by Namshub at 5/30/2006 3:22:11 PM
I'm trying to create a dynamic link to different sources when a page loads
(I want a set of buttons at the top before the IFrame) but the content of
the IFrame will be dynamic but know when the page is loaded.
How can I either generate the HTML on the fly as the form is loading or set
the S... more >>
Postback problem
Posted by Oludan at 5/30/2006 1:36:01 PM
We have created an ASP.NET application in C#. on a couple of the pages we use
datagrid to display user records. one of the columns on this record is to
view an images which is displayed in a separate popup window. But while I am
clicking first time nothing is happening and displays the images ... more >>
FileIOPermission Erro using referenced dll on shared hosting
Posted by brian NO[at]SPAM norman.org at 5/30/2006 1:32:44 PM
Hello
I get this error when trying to create a file:
Exception Details: System.Security.SecurityException: Request for the
permission of type 'System.Security.Permissions.FileIOPermission,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' failed.
The code that ... more >>
Looking for a Data Control
Posted by luisxx at 5/30/2006 1:07:22 PM
Hello Everyone
I would like a data control that has the functionality of the gridView
control with the =E2=80=98add=E2=80=99 function of the DetailsView control(=
ASP.NET
2=2E0). Also, it should have the ability to detect relationships in a
database(sql 2005) and navigate through them. Can ... more >>
Does VS.Net delete my config file?
Posted by Bill Gregg at 5/30/2006 12:52:50 PM
Has anyone seen this behavior?
I'm debugging a console application. I have created a
PROJECTNAME.exe.config file and placed this file in the \Bin\Debug
directory. If I make the file read only, the configuration settings are
read and I have no issues.
However, if the PROJECTNAME.exe.conf... more >>
NullUser and WindowsIdentity (ImpersonateAnonymousToken) has no groups
Posted by Eric Pearson at 5/30/2006 12:49:10 PM
I create a user token for the windows anonymous user ("NT AUTHORITY\ANONYMOUS
LOGON") using ImpersonateAnonymousToken. I successfully create a WindowsIdentity
from that token, but the Groups property always reports zero groups, even
though I have added the "NT AUTHORITY\ANONYMOUS LOGON" user... more >>
Copy file from another server to local server
Posted by LiveCycle at 5/30/2006 12:38:16 PM
Hi,
I'm writing a web service, and, as part of its function, I want it to copy a
file from a remote server and place that file on the local web server under
another name. However, I always get Access Denied, whatever I try. I even
tried making the Anonymous user for the web service the sy... more >>
OWC11 Excel programming, where's info?
Posted by lanem at 5/30/2006 12:36:02 PM
I am trying to create an excel spreadsheet from my asp.net(vb.net) page. I
can do this, but I just cannot find much documentation or code samples
online. There is some for very common tasks, but I can't get a lot of things
to work. I would think that I could pretty much do anything excel ca... more >>
Printing from ASP.NET1.1
Posted by karch at 5/30/2006 12:31:29 PM
I'm not sure if this is even possible, but the scenario is this:
I have a web page which will have options for printing different kinds of
form letters (think dropdown list). Once a letter is selected and a "Print"
button is clicked, I need to be able to bring up a Print Dialog to let the
user... more >>
Need affiliate web host!
Posted by jake3456 NO[at]SPAM gmail.com at 5/30/2006 12:28:57 PM
I am cash strapped but I need a web host. I have a domain name, but
what I need is a web host that hosts you if your ads can bring in a
certain amount of money.
any suggestions
... more >>
Plus sign in strings
Posted by Frederik Vanderhaeghe at 5/30/2006 12:08:03 PM
Hi,
In my asp.net page i go to a link with parameters. The parameters are
searched in a database table. One of them is 'Site+Pictures' when I add this
parameter to the link it cuts of and it doesn't work, because of the + sign,
what can I do so that it doesn't cut off?
Fré
... more >>
Datagrid Columns as Row Labels ?
Posted by alan at 5/30/2006 12:06:10 PM
Hi,
Not sure if i'm phrasing this correctly but is it possible to format my
datagrid with the colums as row labels/headers ?
I've got one record with 12 fields and rather than displaying this as
one row across a web page i want to display it as two columns (row
labels, values)
something ... more >>
TableItemStyle Style String
Posted by hrobinson4 NO[at]SPAM gmail.com at 5/30/2006 11:51:15 AM
Is there a quick and easy way to obtain the style string that the
TableItemStyle properties builds without subclassing TableItemStyle and
adding a new method that examins all the parent class's style
properties to construct the string?
- Harry
... more >>
2.0: about port number
Posted by R.A.M. at 5/30/2006 11:50:57 AM
Hi,
I am learing .NET 2.0. So far when I run my ASP.NET appliation from
Visual Web Developer I saw in IE, for instance:
localhost:1047/Demo.NET
Today I see:
localhost:1055/Demo.NET
Could you explain me please what happend?
Thank you very much
/RAM/... more >>
COM Controls
Posted by close browser without Logout at 5/30/2006 11:46:01 AM
Hi,
I need to add com controls (like tab control, richtextbox control etc) into
my webform. how is it possible ? when i tried to add these controls, a
rectangle is coming with <object> tag in html
Plz Provide me the solution...... more >>
Programmatic GridView
Posted by Demetri at 5/30/2006 11:12:02 AM
So far all the examples I've seen on the GridView gets its data declaratively
using one of the Data Source controls such as the ObjectDataSource.
Are there any good articles on using the GridView programmatically, getting
data from a business tier, and implementing sorting and paging on that... more >>
Retrieving dynamically added items on postback
Posted by echan8 NO[at]SPAM gmail.com at 5/30/2006 10:49:59 AM
I have a dropdown list in a datagrid which I am dynamically adding
items to with JavaScript.
When I try to access the value of the dropdown list on postback, there
is no value. The value is null. I get the feeling I'm supposed to do
something else, but I'm not sure what.
If anyone can hel... more >>
ASP.NET 1.1/ASP.NET 2.0 and IIS5
Posted by eccsolutions at 5/30/2006 10:49:41 AM
Any help on this topic is greatly appreciated.
Currently we are running ASP.NET 1.1 in production with over 30+ 1.1
applications. Recently we have written several applications using
ASP.NET 2.0. We are ready to deploy our newly written application but
have run into several issues on our deve... more >>
Cacheing DB content
Posted by darrel at 5/30/2006 10:42:59 AM
In the past, I've used an XML to maintain a bunch of site data and cached
it. I'd only grab a new copy for the cache when the XML file was physically
updated:
-----------------------------------
Dim XMLfile As String
'check to see if the file exists in the cache
If System.Web.HttpContext... more >>
Master pages & forms authentication & no graphics showing?
Posted by Rob R. Ainscough at 5/30/2006 9:23:48 AM
I'm using forms authentication along with Master pages -- my authenticated
forms reside is a sub-dir (Secure) below the web site root dir. The problem
is that any graphics placed on the Master page do NOT appear in any of the
web forms located in my Secure dir, however, any forms off the root... more >>
selected value databinding for DropDownBox in gridview is Disabled
Posted by CorporateCoder at 5/30/2006 9:08:02 AM
Hi,
I am trying to bind the selected value of a databound dropdown box in a
databound gridview control to the value being displayed in the template
column the dropdown box has been added to. Both the grid and the dropdown
box are retrieving and displaying data fine, I just cant bind the tw... more >>
How to embade an image into email using mail.mailmessage in ASP.NE
Posted by Essa at 5/30/2006 8:55:02 AM
Hi;
I am using ASP.NET 1.0 and Mail.Mailmessage class to send emial and I have
used it for sending text email, now I have to send an email with Embadded
image into that email, how to do that using the same class and ASP.NET 1.0
using VB.NET.
I am using following code:
Dim Msg As N... more >>
Selecting a TEXT field via SQL
Posted by darrel at 5/30/2006 8:52:05 AM
I'm trying to copy a TEXT field from one table to another:
UPDATE dbo.WeSiteMenus
SET pageContent =
(SELECT pageContent
FROM WeSiteMenusArchive
WHERE archiveID = 1208)
WHERE ... more >>
CausesValidation causes javaScript error
Posted by Don at 5/30/2006 8:33:10 AM
I have a page with several controls on the page and all except one are
hidden. This page works like a wizard by hiding and showing controls
has the user clicks next. The control are hidden by setting
visible=false in the code-behind, so they are never rendered. My next
button validates the pa... more >>
Question for ASP.NET + HTML guru
Posted by Ashok at 5/30/2006 8:29:01 AM
Hi,
I am starting a new project to build a software product using APS.NET 2.0.
In past I have used "frameset" and "frame" to build pages. My current
requirements I have coded using frameset and frame like code below.
My question is, because this is a new development is it good to use frames... more >>
De-impersonate to connect to SQL as Machine Account
Posted by Oleg Ogurok at 5/30/2006 8:27:50 AM
Hi there,
My ASP.NET application has impersonation turned on in web.config as
follows:
<identity impersonate="true" />
However, now I need to connect to a SQL database. Rather than allowing
every single AD user access to the database, I'd like to connect to SQL
server as the comp... more >>
How do I configure an ASP dot net app to restart every time it's run in debug mode?
Posted by newjazzharmony NO[at]SPAM hotmail.com at 5/30/2006 8:10:20 AM
I have noticed that when I run my ASP dot net application in debug mode
and set a breakpoint in the Application_Start event, this event is not
raised every time I run the project.
Is there a way to configure the project so that the application
restarts every time I run it in debug mode?
Tha... more >>
DropDownList - Is it Possible to get at the TextField Contents
Posted by mosscliffe at 5/30/2006 7:13:12 AM
Is it possible to get at the TextField Contents of a SelectedValue in a
DropDownList in ASP ?
Thank You
... more >>
GridView SelectParameters
Posted by Mike P at 5/30/2006 7:02:12 AM
I am using a GridView with 3 SelectParameters 2 of which are
ControlParameters, but the third of my SelectParameter values is derived
through my code rather than a QueryString, Control etc, so I need to add
my select parameters programmatically.
Here are my 2 ControlParameters are they were o... more >>
question about writing SQL
Posted by Adam Sandler at 5/30/2006 6:57:20 AM
Hello,
Using VWD 2005 here... I have a question about writing SQL in a
TableAdapter. Our DB server here is Oracle but since I'm just
prototyping right now, I created a copy of the table I need in Access
and I'm connecting to Access on my local machine.
I right-clicked my TableAdapter and se... more >>
Dropdown is not maintaining itz state after postback
Posted by Deepson Thomas at 5/30/2006 5:56:02 AM
Hi,
Currently iam facing a strange problem.. One dropdown in my page is not
keeping itz state after postback. Whichever the item i select irrespective of
that after the post-back the default selected item is the first one. This
happens even if i submitted the page by making the AutoPostback... more >>
proper software developement
Posted by jack at 5/30/2006 5:16:09 AM
HI all
i dont know whether to ask this question in this group or not
i just want to do proper step wise developement like
planning and then codeing and then testing etc
i have just got a developement responsibulity
so could you please help me in same
... more >>
Dropdown is maintaining itz state after postback
Posted by Deepson Thomas at 5/30/2006 5:15:02 AM
Hi,
Currently iam facing a strange problem.. One dropdown in my page is
keeping itz state after postback. Whichever the item i selected is not the
selected item after postback. it goes back to the first item again. This
happens even if i submitted the page by making the AutoPostback of the ... more >>
Session Timeout Not working, ASP.NET
Posted by Aryan at 5/30/2006 5:01:03 AM
Hi,
I have put my session related parameter in web.config under
system.web, given below is the code for same.
<system.web>
<sessionState timeout ="1440" mode ="InProc" />
</system.web>
this session timeout is not working out, as this shows me login page
again if i dont do something f... more >>
Giving Focus to the contents of an IFrame
Posted by Mike at 5/30/2006 4:32:36 AM
I have an intranet page which has an iframe which links to a number of
different possible .NET pages.
In one of the embedded .NET pages (and soon to be others) we want to be
able to capture keystrokes in order to link to other apps. we do this
by setting document.onkeydown to a function whic... more >>
403 when opening image through server
Posted by browser NO[at]SPAM onet.eu at 5/30/2006 3:47:24 AM
when i open this simple page using server (http://localhost... or
remote one)
<HTML><BODY>
<iframe
src="http://galleries2.ftvcash.com/First-Time-Video/Babes/content/1/01.jpg"
></iframe>
<img
src="http://galleries2.ftvcash.com/First-Time-Video/Babes/content/1/01.jpg"
>
</BODY></HTML>
i re... more >>
How to open (.aspx) new internet browser window from ASP.Net
Posted by David KHLee at 5/30/2006 3:38:01 AM
To whom are helpful:
I mean how to open existing .aspx file in a new internet browser window from
a web application, ASP.Net using code behind, Visual Basic .
i have try to search from the MSDN, i found the namespace
"System.Windows.Forms.HtmlWindow" has this function, the .NET
Framework... more >>
NumericUpDown Control
Posted by owenmj at 5/30/2006 3:27:01 AM
Does anyone know if there is a way to use the NumericUpDown control on a web
form?
.....or if there is another similar control that would do the job
Thanks in advance... more >>
how to disable refresh button?
Posted by AVL at 5/30/2006 12:25:02 AM
Hi,
I want to disable teh refresh button on my pop window. Whenever I right
click, my pop up window, the 'Refresh' button should be disbaled....
Can anyone help me on this....
any javascript functions to be included?... more >>
css question
Posted by Howard at 5/30/2006 12:23:37 AM
<div style="display:inline">
<h2>List 1</h2>
<h4><a href="/listitem/">item 1</a></h4>
<h4><a href="/listitem/">item 2</a></h4>
<h4><a href="/listitem/">item 3</a></h4>
</div>
<div style="display:inline">
<h2>List 2</h2>
<h4><a href="/listitem/">item 1</a></h4>
<h4><a href="/listitem/">ite... more >>
Login fail when accessing data
Posted by Ant at 5/30/2006 12:21:02 AM
Hi,
I've come from Forms to web pages. (OH DEAR you say) I'm using VS2003.
When I drag a table from Server explorer onto the web form to create a
DataAdapter & Connection, all ok, but when I try to access that data
programmatically, I get:
System.Data.SqlClient.SqlException: Login faile... more >>
need help on parser error
Posted by AVL at 5/30/2006 12:21:02 AM
hi,
I've a problem in accessing user controls when I deploy the application in
the production server..
I'm receiving the following error...
Ambiguous match found.
Source Error:
Line 1: <%@ Control Language="c#" AutoEventWireup="false"
Codebehind="CommViewEvents.ascx.cs"
Inherits="HydP... more >>
Disable button while processing
Posted by Aubyone at 5/30/2006 12:16:01 AM
Does any one know if there is a way to disable Button on the web page while
the page is proceessing the command on the Server?
To stop user clicking buttons once it has started a process. ... more >>
ASP Question
Posted by Gunawan at 5/30/2006 12:00:00 AM
Hi There....
My name is Gunawan. I am new to ASP 2.0 Programming.
I would like to have to separate web page.
one.aspx and two.aspx
when click a button on one.aspx it will open two.aspx but I would like to
send value from tpertama.text in one.aspx to two.aspx.
how can I do that and two.aspx co... more >>
caching
Posted by Vikas Kumar at 5/30/2006 12:00:00 AM
Hi am using usercontrols in my application
like header and footer and some other
i want to do cashing on them
how will i do that i mean
will i have to write
<%5@outputcache......
on my user control i want to do caching for 1 hr
what will be the exact statement that i will write on my user con... more >>
Update a field to a null value
Posted by Young at 5/30/2006 12:00:00 AM
How do I set a field to a null value in the UPDATE statement?
Eg. To update a text
UPDATE [CLIENT] SET [Name] = 'X'
But if I want to set it to null, what is the syntax?
TIA
JK
... more >>
reference and cast error
Posted by Vikram at 5/30/2006 12:00:00 AM
in my asp.net app, i get following two errors some times, these errors
occasionally occurs
please let me know if anyone has any idea why they occur
Cast from string "" to type 'Integer' is not valid
Object reference not set to an instance of an object
... more >>
Shopping cart ASP.NET
Posted by semut at 5/30/2006 12:00:00 AM
Hello, is there any ASP.NET open source framework which offer shopping cart,
online shopping, forum (simple) and features related to e-Business portal?
thanks
... more >>
Google Search Api's error
Posted by Anuradha at 5/30/2006 12:00:00 AM
Hi all,
I have downloaded the google Api's and also got a license Key...
I had written the following code,,
GoogleSearchService search=new GoogleSearchService();
GoogleSearchResult result;
string k="9dVAI55QFHLZLJSB/VlbpasPtY+z64wT";
int i=Convert.ToInt32(ViewState["startIndex"]);
... more >>
|