| Recent internet explorer update and smart navigation |
|
 |
Index ‹ Web Programming ‹ ASP.Net
|
- Previous
- 1
- ASP.Net >> I've Broken Visual Studioactually, i've broken all my web apps - I got a new pc and tried to rebuild
the applications but I am having no luck.
1) my debugger will not run - I get the unable to start debugging on the
web server. I've added everyone i can think of to the debuggers group, my
security looks good on the virtual directory in iis. What else could it be?
The app runs fine if I start without debugging. Please help.
2) how do I REBUILD my projects so they work. I am so frustrated with this
I cannot tell you.
- 2
- 3
- Frontpage Client >> Changing Font or Size on Navigation BarHave a link bar on my page, and cannot fit the text that I would like onto
the buttons. The solution would be to either expand the size of the buttons,
change the size of the font, or have two lines of text on the button (or some
combination of the above)...problem is, I cannot figure out how to do any of
these......the buttons are based on a theme....
Can anyone help??? Thanks.
Andy
- 4
- ASP.Net >> Can't remove cookies!Hi,
I have a login page where if the user wants his access codes to be saved are
set into a cookie. In the logout page, I want to delete those cookies. I
tried this and this is not working at all:
if (Request.Cookies[COOKIE_USER] != null
&& Request.Cookies[admin.COOKIE_PSWD] != null)
{
Response.Cookies[COOKIE_USER].Value = null;
Response.Cookies[COOKIE_PSWD].Value = null;
Response.Cookies.Remove(COOKIE_USER);
Response.Cookies.Remove(COOKIE_PSWD);
}
If I do a response.write like this right after or on another page, it shows
that the cookies are still set:
Response.Write((Request.Cookies[COOKIE_USER] == null) + " " +
Request.Cookies[COOKIE_USER].Value + " ");
Response.Write((Request.Cookies[COOKIE_PSWD] == null) + " " +
Request.Cookies[COOKIE_PSWD].Value);
Why is this not working? How do we remove user's cookie?
Thanks
Stephane
- 5
- ASP/Active Server Pages >> Refresh and redirectHi!
I have a framset and I want to refresh the bottom.asp whenever i do a change
in Input.asp so that bottom.asp reflect the changes made? How do I do
this???
I would also like to bee redirected back to where I came from. I use
ONCLICK="window.history.go(-1)" on a button in a form, but how do I do this
on an asp side that only have asp code and nothing that shows to the user?
Hope someone can help me.
best regards
Hege
- 6
- 7
- 8
- ASP.Net >> Dataset from a Dataset ?I have One Dataset with Invoice Data for 5 Customers.
I have 5 GridView Controls, and I want to display each Customer Records in
each GridView, how can I ?
Can I create a dataset from existing Dataset for each customer, so that I
can set the datasouce of gridview controls or anything similar.
Any idea please ?
Best Regards,
Luqman
- 9
- ASP.Net >> Page RefreshHi 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 are move up and down buttons to change the order in which the
items in the right hand box appear.
Now it is these buttons that are painfully slow as I don't know how to
implement drag and drop, so one has to click it up or down one row at a
time, plus each click causes the complete screen to refresh itself each
time, and so it goes blank and then comes back with the item moved.
It is of course my inexperience in these matters that is letting me down
here, so can someone please give me some pointers on how to make this
function even a little more elegant?
Many thanks in advance
Colin B
- 10
- ASP.Net >> OpenFileDialog vs JavascriptHi All,
I was wondering if it is possible to use(if it will work) the OpenFileDialog
class in ASP.NET. Currently I am using the classic javascript
but I have I need to customize the browse button.
Does anyone knows some good source of information?
Thank you for your time.
Frank
- 11
- ASP/Active Server Pages >> Random HTTP/1.1 403 ForbiddenWhen redirecting an ASP page using the following code:
document.location.href =
"MatterBalanceDetails2.asp?matterdiwor=<%=Request.QueryString("matterdiwor")%>" & _
"&balancecode=<%=Request.QueryString("balancecode")%>" & _
"&balancename=<%=Request.QueryString("balancename")%>" & _
"&posted=<%=Request.QueryString("posted")%>" & _
"&billed=<%=Request.QueryString("billed")%>" & _
"&startdate=<%=Request.QueryString("startdate")%>" & _
"&enddate=<%=Request.QueryString("enddate")%>" & _
"&transdiwor=" &
lTransDiwor & _
"&mattername=<%=Server.URLEncode(msMatterName)%>" & _
"&mattercode=<%=Server.URLEncode(msMatterCode)%>" & _
"&location=<%=msLocation%>"
I sometime get a â??HTTP/1.1 403 Forbiddenâ?? error
The address in the window title looks correct. However looking at the IIS
log file the URL has no GET or POST, but instead has a spurious number of
characters as follows:
2008-02-21 08:42:17 192.0.0.46 PILSYS\DarrenB 192.0.0.70 80
%09%09%09%09%09%09%09%3Cxsl%3Aattribute+name%3D%22class%22%3Etext_small+text_strong%3C%2Fxsl%3Aattri
/lwc/ClientMatterEnquiry/MatterBalanceDetails2.asp
matterdiwor=28815&balancecode=WIP&balancename=Work%20in%20Progress&posted=&billed=&startdate=&enddate=&transdiwor=531&mattername=Mrs+Elaine+Mowat&mattercode=MOW%2F0001%2F00001&location=Client%20Matter%20Enquiry%20|%20Matter%20Accounts
403
Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506;+InfoPath.2)
Any ideas why this is happening?
--
Gordon Smith
- 12
- ASP.Net >> Use of connection pooling?dear all,
i have an application which could have more than 150 users, I have set it up
to use windows integrated authentification.
What I have to do to be sure that my application will use connection pooling ?
- 13
- Frontpage Client >> Online registration questionHi folks -
I need a bit of help. The organization I belong to is asking me questions
about online registration for a seminar in 2006. I know it would have to be
some sort of a secure site because the attendees would be entering their
charge card numbers but beyond that - clueless.
What kind of things should I be looking for in a webhost? (I have one
inmind - I just need to know the kind of things to ask about.) I don't need
any special software, do I? Couldn't it be done with a form? Can data from a
form be saved in the server until the registrar extracted it? It doesn't
have to be sent as an email, does it?
I did warn you- I'm clueless but willing to learn. Where can I start?
JoAnn
- 14
- ASP.Net >> First Try With DataListHello, I am trying the DataList control for the first time and I am not
able to get the information to show up in the control.
I know that there is data in my data table.
My DataList has a field which is bound to a column in my data table with
the following code..
<ItemTemplate>
<asp:Button Text="Edit" CommandName="Select" Runat="server">
</asp:Button>
<%# DataBinder.Eval(Container.DataItem, "Narrative" ) %>
</ItemTemplate>
I use the following code to bind my dataList to the datatable.
dlHighlights.DataSource=dtHighlights;
dlHighlights.DataBind();
The statements above execute, but no data is displayed. Any Ideas as to
why?
- 15
- IIS >> event id 203Hello
I have recently built a W2K3 server with IIS installed, only for FTP services.
I disabled the anonymous accoutn associated with this as I do not believe it
will be used.
I am receiving an error ion the application log - event ID 203. The user
could not save the data LLSUSER.LLS. The data is in the error code.
I cannot seem to find much on the MS Site in this regards and was wondering
if anyone could shed some light.
Thank you,
Mark Clark
|
| Author |
Message |
Quilnux

|
ASP.Net >> Recent internet explorer update and smart navigation
Recently a new windows update for internet explorer was released which
seems to have broken stylesheets with smart navigation.
The first request for the page works fine, but any subsequent postbacks
when smart navigation is applied results in internet explorer not
applying the style sheet.
Has anyone else had this problem and found a solution as at the moment
I've had to disable smart navigation on the page.
Web Programming215
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ ASP.Net |
- Next
- 1
- ASP.Net >> Intellisense for asp controls stopped working in VS2005 for one siteHello,
I have been working on a site in VS2005, and have noticed that the
autocomplete has stopped working for asp controls. If I type...
<a
in an .aspx file, then I get a list of possible XHTML elements in the
intellisense dropdown, but none of the ASP.NET server controls (which
are normally listed, starting with asp:).
I get the autocompletion in one file on the site, but not the majority.
If I type the name of a control by hand, say...
<asp:Repeater>
then it closes the tag for me, but doesn't give me any intellisense.
It looks like the problem is only occurring with pages that don't have a
code-behind file, but I'm not 100% sure of this. Is there some reason
why it wouldn't show server controls for a file without a code-behind?
Seems odd.
Any ideas what could be causing this? TIA
--
Alan Silver
(anything added below this line is nothing to do with me)
- 2
- ASP.Net >> 1 global update button to update all rows in GridviewHi there,
I've a question. I would like to create a global update button to
update all changed records gridview.
e.g. A gridview contains 5 columns an 2 of the columns can be updated
by the user. (other 3 are readonly)
e.g. a column called Status is a dropdownlistbox the user can choose a
status of the product and the other column called instructions is a
text box, the user can type in any value.
So my gridview shows 15 rows and the user can update the status (ddL
box) and instructions (free textbox).
I was able to program to make an update button for each row by using
itemcommand event and update that particular row. That works fine, but
the users don't like this they only want 1 update button above or
below or in the datagrid and the user need to able to change the
status and instructions fields and just press 1 Update button to
update all rows in the gridview.
I looked on internet and MSDN library but I can't find a sample or a
direction..
I don't even know which events I need to use. Can someone point me
to a direction? or at least where to start
e.g. which events or website or an sample ?
thanks in advance,
mesut.
- 3
- Frontpage Client >> FP won't delete pages on webWhen I publish to the web using FP2002 it will not delete the pages on the
web so, I have to go to the website and recaculating hyperlinks and that
fixes the problem. The problem is that when I edit my web on my Computer
which is usually every day then, publish to the site I still have to go to
the web to fix the problem. I should not have to edit up on the site after
publishing from my Computer every time. I have reinstalled Office XP and
reinstalled, Updated Office and did a publish of every page from the web to
my Computer. Help Please.
- 4
- ASP.Net >> SetPolicy Exception while using NUnitHi,
I am using WSE to implement security using x509 certificates. This
works when I use a windows client but throws an exception when I use
NUnit.
My Code looks as follows :
UsernameToken myCurrentToken = new UsernameToken("xxxx", "YYY",
PasswordOption.SendPlainText);
MyServicesWse adminServices = new MyServicesWse();
adminServices.SetClientCredential<UsernameToken>(myCurrentToken);
adminServices.SetPolicy("ClientPolicy");
The App.Config has
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="microsoft.web.services3"
type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration,
Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
<sectionGroup name="applicationSettings"
type="System.Configuration.ApplicationSettingsGroup, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="{ModuleNamespace}.Properties.Settings"
type="System.Configuration.ClientSettingsSection, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
requirePermission="false" />
<section name="{ModuleNamespace}.Properties.Settings"
type="System.Configuration.ClientSettingsSection, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
requirePermission="false" />
</sectionGroup>
</configSections>
<microsoft.web.services3>
<security>
<x509 allowTestRoot="true" storeLocation="CurrentUser" />
</security>
<tokenIssuer>
<statefulSecurityContextToken enabled="true" />
</tokenIssuer>
<messaging>
<mtom clientMode="On" />
</messaging>
<policy fileName="wse3policyCache.config" />
</microsoft.web.services3>
<applicationSettings>
... [Web Reference]
</applicationSettings>
</configuration>
and the wse3policyCache.config file has
<policies xmlns="http://schemas.microsoft.com/wse/2005/06/policy">
<extensions>
<extension name="usernameForCertificateSecurity"
type="Microsoft.Web.Services3.Design.UsernameForCertificateAssertion,
Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
<extension name="x509"
type="Microsoft.Web.Services3.Design.X509TokenProvider,
Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
<extension name="requireActionHeader"
type="Microsoft.Web.Services3.Design.RequireActionHeaderAssertion,
Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
</extensions>
<policy name="ClientPolicy">
<usernameForCertificateSecurity establishSecurityContext="true"
renewExpiredSecurityContext="true"
requireSignatureConfirmation="false"
messageProtectionOrder="SignBeforeEncrypt" requireDerivedKeys="true"
ttlInSeconds="300">
<serviceToken>
<x509 storeLocation="CurrentUser" storeName="AddressBook"
findValue="CN=WSE2QuickStartServer"
findType="FindBySubjectDistinguishedName" />
</serviceToken>
<protection>
<request signatureOptions="IncludeAddressing,
IncludeTimestamp, IncludeSoapBody" encryptBody="true" />
<response signatureOptions="IncludeAddressing,
IncludeTimestamp, IncludeSoapBody" encryptBody="true" />
<fault signatureOptions="IncludeAddressing, IncludeTimestamp,
IncludeSoapBody" encryptBody="false" />
</protection>
</usernameForCertificateSecurity>
<requireActionHeader />
</policy>
</policies>
As I mentioned, this works when I use the windows client to access the
web service, but when I try to access the web service using NUnit, I
get the following exception :
System.ArgumentOutOfRangeException occurred
Message="Specified argument was out of the range of valid values.\r
\nParameter name: Policy 'ClientPolicy' is not configured in the
system"
Source="Microsoft.Web.Services3"
ParamName="Policy 'ClientPolicy' is not configured in the system"
This seems to imply that the system can't find or load the appropriate
config file. But I fail to see why. Both the files are present in the
project directory. I've also copied both the config files to the
directory where the Nunit project file (and the dlls being tested) are
present. I've also tried copying it to the directory where the
NUnit.exe itself is located, but it doesn't make any difference. I've
added references to both "Microsoft.Web.Services3" and
"System.Configuration" modules in both my projects (windows client,
NUnit test class).
Any help regarding this would be much appreciated. Is there something
I am doing wrong/missing here or is this an inherent problem with
NUnit?
Thanks in advance.
- 5
- ASP.Net >> Trying to migrate an anonymous profile to an authenticated oneHi
I'm having trouble with using Profile.GetProfile(e.AnonymousID) from the
profile_MigrateAnonymous event handler. I'm trying to implement this in a
code behind file for Global.asax but Profile.GetProfile() is not defined. I
understand that this could be related to Profile being a class generated at
run time and therefore I cannot use it at compile time? How do I work around
this? Global.asax is not permitted to have a <script> section and a
code-behind file.
Thanks
Geoff
- 6
- Frontpage Client >> Where am I?I have the Apache 2.0.50 web server running and I know
the IP address of my PC.
But when I use my browser to find:
http://12.34.56.789/MyFolder/MyFile.htm
I get the "not found" error. I do have a "MyFolder"
folder under the Apache2 folder (which contains
MyFile.htm). Doesn't http://12.34.56.789 resolve to the
Apache2 folder? Apparently not. How can I determine how
this IP address relates to the folders on my PC?
Thanks,
Dale F.
- 7
- ASP.Net >> Initializing Offline cacheHi,
I've recently installed .NET 2003 onto a computer and am experiencing a long
(4-5 minute) delay in this step. I do not have this problem on my laptop.
Any idea why this step is taking so long?
Thanks,
Steve
- 8
- ASP/Active Server Pages >> Missing Values in Drop down BoxI apologize in advance if I'm posting the wrong groups, but I have a
general
UI problem in my Windows apps that I'm wondering how other people may
have
solved. I am using VB.NET to devlope this application.
I can't think of a way to succinctly describe my problem right now, so
I'll
just give you a simple example:
Say I have two tables called tblStaff and tblDivision:
*tblStaff*
StaffID (pkey)
Name
DivisionID (fkey to tblDivision)
*tblDivision*
DivisionID (pkey)
Description
Active
tblDivision has an Active field that specifies whether the Division is
active or inactive. If it's inactive, it's no longer a valid Division
that
can be assigned to a staff record. (We do this rather than deleting
the
record, so we don't screw up our referential integrity for staff who
were
already assigned to that Division.)
My UI for a staff maintenance page would include a Name field and a
drop
down box for Division that is populated with the active Divisions in
tblDivision.
My problem arises when I'm trying to display the information for a
staff
(say, Bob Thomas) that had previously been set up with a valid Division
(say, ABC) that was subsequently set to inactive. If I'm only
populating
the drop down box with active Divisions, ABC will no longer show up in
the
drop down box, so if I try to look at Bob Thomas' record, it will
appear as
if he had no Division set, when in actuality he does and I'd like to
see
that.
I've seen reference to a solution people used in Access where they put
a
text box directly over the combo box, leaving the arrow portion of the
combo
box visible. To use my example, they would then display "ABC" in the
text
box and all the active Divisions in the combo box. Then, whenever the
user
tried to use the text box it would throw control to the combo box, so
the
user thinks they're just using a simple combo box.
So, I imagine lots of people have run into this issue. Anyone have any
other
clever solutions they'd like to share?
Thanks,
Big D
- 9
- IIS >> Help, novice here!Hi, I want to build an Intranet with my Windows 2003 Server, my question is:
There're some tutorial to setup my personal intranet web server?. I have 5
PCs with Windows XP Home and I want to build a intranet web server to
distribute my ASP application to these XPHome PCs.
Thanks for any advice!.
PS. Al the PCs are in a LAN
- 10
- IIS >> Boolean problem with IIS ASPMy recent system is WinXp SP2 and IIS 5.1 using the french canadian language
The following code don't work anymore in ASP (it was working fine with
win95 and PWS of Frontpage98)
sql = "UPDATE MyBase SET "
sql = sql & "Show= " & True
I found that he sql sent to the ODBC database is :
Update MyBase Set Show = Vrai
instead of the expected :
Update MyBase Set Show = True
The IIS ASP interpreter translate the Boolean value True in his french
equivalent Vrai , and the resulting string is not recognise by my Access
database who expected the True value.
How can I tell IIS to interpret the True/False value with it's english
equivalent while keeping my system interface in french?
Thank's for your help.
- 11
- Frontpage Programming >> URL: http%3A%2F%2FHello,
I want a site to open a URL that he get's from a database.
<frame name="inhoud" target="hoofd"
src="linkupdate.asp?UrlId=<%=FP_FieldURL(fp_rs,"UrlId")%>">
<frame name="hoofd" scrolling="auto" src="<%=FP_FieldURL(fp_rs,"URL")%>">
The URL for expample: www.mcafee.com
He want's to open: http%3A%2F%2Fwww%2Emcafee%2Ecom
And then you get an error, how can I change it ?
When you make a normal hyperlink on a site with
<%=FP_FieldURL(fp_rs,"URL")%>"> then it works fine, but that's not what I
want.
Bert
- 12
- ASP.Net >> DatesHello all,
we have an app with works across the globe, and therefore dates are
displayed in a number of formats, such as dd/MM/yyyy (uk) and MM/dd/yyyy
(usa). When our app has it's language set to ENGLISH everything works fine,
but when it's set to AMERICAN the dates fail as we're trying to cast a date
such as 16/04/2007 to a US DateTime.
What I need to know is, no matter what culture/language you're in how do you
cast the dates a date dd/MM/yyyy.
Thanks,
Jon
- 13
- ASP.Net >> Events Not Firing On Hosted SiteHello,
I'm just now learning how to deploy a simple, working ASP.NET application
developed in VS.NET 2002 that runs
fine on my workstation running IIS.
When I copy the project files over to the host site, the page appears okay
in the web browser, but none of the events seem to fire. I have a button
that, when pressed, is supposed to set the .text property of a label to the
current date. However, its
click event doesn't seem to be firing. Also, the page_load event for the
page doesn't seem to be firing when the page
is loaded.
Any help would be appreciated. Thanks.
Don Christine
- 14
- ASP.Net >> Update window.returnValue from Server SideIs there a way for me to update this returnValue from server side?
(without depending on JavaScript or injecting any JavaScript).
Besides:
If I use RegisterStartupScript, do I need to de-register it? If yes,
when?
TIA.
- 15
- ASP.Net >> Populate dropdownHy Guys,
I have a datagrid that, in the edititem mode, have a dropdownlist. This
dropdownlist have to be populated with the items of another dropdownlist
that is in the same page.
How can I do it????
Thank's
|
|
|