The master page currently looks like this:
(No, I don't work for Google. The images are placeholders.)
<body>
<form id="frm" runat="server">
<%--Header (Main Logo)--%>
<div align="right">
<asp:Image ID="HBannImg" runat="server" AlternateText="Google"
ImageUrl="http://www.google.com/intl/...
I recently inherited a classic asp website with a ton of inline SQL insert statements that are vulnerable to SQL injection attacks.
These insert statements are executed via the ADO command object.
Will setting the ADO Command Object's Prepared property to true ensure that the query is parameterized before execution, thus mitigating the...
Hi i have a problem with this asp pagination. it seems to be putting all the links in the one row, so i think it might have something to do with the check of the int i...
but im not that familar with asp. can anyone shed any light on this problem.
the folders contain pdfs for each day of the month, named A08P2.pdf A09P2.pdf etc...
Th...
Hi guys.
Started getting this error it seems since we upgraded to SQL Server 2008.
When inserting into the db and then returning the identity i get a 'Item cannot be found in the collection corresponding to the requested name or ordinal' error.
Here is the code:
SQL = "INSERT INTO PageFeatures(nPageFeatureFlagId,nPageFeatureFeatureId...
how to display current time with chosen timezone instead of server TZ? (VB)
...
Hi I keep getting the error:
Error (3709) - /mysite/Pages_Secure/mypage.asp ADODB.Recordset.
"The connection cannot be used to perform this operation. It is either closed or invalid in this context.."
strQuery = ""
strQuery = strQuery + "SET ROWCOUNT 0 "
strQuery = strQuery + "SELECT FIRSTNAME, LASTNAME, EMAIL, USER_TEAM_ID, USER_SERV...
We have an extensive classic ASP site, and we're looking to upgrade to ASP .Net (most probably the latest version). Obviously upgrading all the pages at once would be a leviathan task, so we're only looking to write new pages (and page rewrites) in ASP .Net at first.
There are two obstacles to doing so:
I have no idea how to access cl...
Hi ,
I have WCF service folder let's say : "TestService" and it contains following folders and files under TestServide folder:
TestService folder contains:
1.bin (folder)
2.Config (folder)
3.TestService.svc (file)
4.WebConfig (file)
when I go to InetMgr and try browsing the TestService.svc file, the wcf service opens successully:
path...
hi,
I got a asp site hosted in a iis server. In the server there is a virtual folder products and whenever a url like xyz.com/products/abc_11.asp is provided it is forwared to xyz.com/product.asp?id=11 page.
I would like to know from where we can change that settings?
These settings or tasks can be done from where?
Thnx
...
I have a site hosted on IIS6 server. All the pages with specific url (e.g http//www.abc.com/products/my-product-name_11.asp ) are redirected to http://www.abc.com/product.asp.
but from where it is happening i dont know. So in order to change it what should i do?
...
The website is set up locally on my IIS 5.1 on xp.
Application protection is set to low within IIS so the asp is run inside the inetinfo.exe process.
I start debugging , attach to the inetinfo.exe process and refresh the page in the browser so the page reloads and reruns the server side code. Non of the breakpoints get hit. There's no w...
Hello,
I've just made my first WebControl, but I'm having some troubles.
Here's a sample of what I have so far:
public class NotificationPopup : WebControl
{
public bool? IsAccepted { get; set; }
public void Show()
{
Panel root = new Panel();
Button b1 = new Button();
b1.Text = "Ok";
b1.Cli...
I have a classic ASP 2.0 project coming up. I mostly do ASP.NET WebForms and more recently MVC. I did a little bit of ASP many years ago.
Do you have any book recommendations? If I find a 3.0 book, would that confuse me too much?
Any specific resource on the net for getting up to speed that you recommend?
And lastly - how do you fe...
Hi,
I want to display all the "ToolTips" in my web page is user defined, like user defined BoxSize, ForeColor, BackColor, FontSize etc.
Could you please guide me how to do this, as I am new to ASP.
Thanks!
...
I have a classic asp webapp that I need to implement url re-writing in. I've used the intelligencia url re-writer in an asp.net application before , so my current trail of thought is to create a new asp.net application, add the url re-writing component to it and then add the classic asp application over the top. It's hosted in shared web...
I wish to allow the user an option to navigate away from a Register page. However the register page is an ASP:Wizard with RequiredFieldValidators.
How can I fix this without removing the RequiredFieldValidators? The "Next" button of the wizard seems to be built-in to the Wizard control and doesn't seem to let me apply a ValidationGr...
i have taken over an asp project from a friend and he was basically just using notepad++ to develop. I would like to use visual studio 2008 but there is no project file or solution file at this point, just a bunch of asp pages and some images, css
the other trick is that he will still be developing for a bit but doesn't want to use VS....
i use jquery $ajax to post a contact form to my email.
but encoding is wrong and i see question marks.
i figured i should set the content-type but cant manage to do so.
am using asp
thx
...
Could someone please help solve this problem?
...
I'm trying to map requests for classic asp pages to be handled by .net, so that it runs through a custom httpmodule.
In IIS I have remapped asp requests to aspnet_isapi.dll - I'm sure I've done this bit right
Now in my test app I am getting this error:
Server Error in '/TestASPRedirect' Application.
-----------------------------------...