 |
 |
Index ‹ Web Programming ‹ Frontpage Programming
|
- Previous
- 1
- ASP/Active Server Pages >> Response.ContentType = "video/x-ms-asf"I had a asp file that generated asx files using
Response.ContentType = "video/x-ms-asf"
It was working fine up until a day or so ago. Now all of a sudden it does
not work.
If I take out the Response.ContentType line and copy the source code to a
asx file it works fine. if I copy the URLs out of the code and put them into
the browser it plays. So it is generating the file correctly, it is opening
Windows media player, but it then errors saying it cant fine the file. Yet
copying the URL from the generated asx works fine.
I am puzzled
- 2
- ASP/Active Server Pages >> Help: How to use MSXML2.DOMDocument in ASP?Hi,
I need to use MSXML2.DOMDocument in my ASP page. The following is my code:
xml.asp:
=====
<%
dim sx
sx="<root><a>text1</a><b>text2</b></root>"
dim xd
set xd=Server.CreateObject("MSXML2.DOMDocument")
xd.loadXML(sx)
Response.write xd.hasChildNodes
%>
Somehow, xd.hasChildNodes return False, i.e. there is nothing in the xd. I
guess the
error was caused by missing the path of the MSXML2 library file. It seems
like the
code doesn't know where the MSXML2.DOMDocument is. But the code didn't
generate any error.
Would you please tell me what I did wrong here? What should I do to let the
code
know where the MSXML2 library file is?
Thank you
hb
- 3
- ASP.Net >> Get HTML Content of a Local PageHi All,
Is it possible to get a web page content of one of my webpages using
relative path?
for example:
If I have a website which consists of 2 pages: testpage1.aspx and
testpage2.aspx and the testpage2.aspx requires that I pass some parameters
to populate its form. Now if I want to get the html content of
"testpage2.aspx" page from testpage1's code behind page and store it in a
string variable, is it possible? I have been using HttpWebRequest and
HttpWebResponse objects to get the local page content but I just feel this a
bit awkward. Also the method "Create" of System.Net.WebRequest.class
requires a full url path to create a WebRequest object as in
System.Net.WebRequest.Create(url). Thanks in advance for your help.
Regards,
Sam
- 4
- ASP/Active Server Pages >> application on Start global.asamy understanding was when IIS restarts that time when the first session is
requested application_on Start is called. My session time out is 1 minute.
after every session time out happens when the session is requested then it
goes to application_onStart first. Isn't application on start just happens
only when IIS restarts and first session requested.
can somebody explain
- 5
- 6
- Frontpage Client >> www problemsAnyone else having "connectivity" issues??
I have several sites down at the moment!!
pings all timeout and the "hosts" server
returns "Unkown host"
They're supposedly all "mirrored"
--
using 2k PRO but....95isalive
This site is best viewed............
.......................with a computer
- 7
- ASP.Net >> return data from c# web app.hellow the thing is i have a web page with a javascript code, in this page
i'm using the xmlhttprequest object in order to send values to a C# web
application and it's working fine this way, but now i need to get data from
another web app. but i don't know how to get data from that web app in other
words how is the code in the web app to return a value to a xmlhttprequest
object i tried the return statemen but it doesn't work in that web app.
In the client side i thing i have to use the XmlHttpRequest.responseText to
get the server response but i don't know how to mke this server response.
i hope my explanation is clear enough, any questions please let me know
any suggestions or code sample would be appreciate
thanks in advance.
- 8
- 9
- IIS >> please explain HTTP_RVP / continual http 501 errorsCould somebody shed some light onto what HTTP_RVP is? On our IIS
webserver we have continual 501 errors appearing. All of these
contain HTTP headers with things like HTTP_RVP_NOTIFICATIONS_VERSION
and HTTP_RVP_FROM_PRINCIPAL. I have found this explanation of 501
errors (http://www.checkupdown.com/status/E501.html), but it doesn't
help with explaining why we are getting them.
My questions:
What is RVP?
Is our webserver misconfigured and should be returning something to
these requests?
How do I make this stop?
Thanks,
Jeff
- 10
- 11
- Frontpage Client >> FrontPage 2003 Log FilesNot another Newbie, no i'm not ,
i have a problem with FrontPage and i'm so stuck !,
I have FrontPage,, 2003
and well as far as i can see, the log files i can't see !
The log files box has got a ticked out ,
but the view logs , is all greyed out !
Any idea's would be so great,
on the newsgroup we can debate !
Shady MVP ;)
+_"Guess what we do use the F1 Key "_+
- 12
- 13
- ASP.Net >> ASPNET hosting problemHi all,
I'm trying to host my web application which is wriiten in ASP.NET/C#/SQL on
webhostingcenter.com. They use H-SPHERE control panel. I have written my
application on my PC, so the SQL server was local, the hosting server was
local, the IIS server was local. I have uploaded the application
but without any success when i tried to start it.. I don't know what kind of
files I have to upload from the project. Do I have to make any changes in
Global.asax, Web.Config, and the other files. Could you help me here please!
I'm stucked.
Thank you!
- 14
- ASP.Net >> ASP.Net 2.0 MenuHi Folks,
Trying to display a two tier menu horizontally but not having any luck
with the new menu control.
The First Tier should display static horizontal.
The Second Tier should display dynamically as a horizonal row below the
first.
Both tiers should be left aligned.
Item 1 | Item 2 | Item 3 | Item 4
Sub Item 1 | Sub Item 2 | Sub Item 3
As different Tier 1 items are selected a different list of Tier 2 sub
items will appear. But always aligned the same way. I can make this
work with two menus but not with one.
There doesn't seem to be any way to do this with the new control. All
help appreciated.
- 15
- ASP.Net >> Master Page QuestionHello,
I have 2 pages: Page1.aspx and Page2.aspx.
The two pages have common design parts but also not common design
parts.
Is it possible to create something like this:
MasterPageA
|
|---- MasterPageB
|
|---- Page1.aspx
MasterPageA
|
|---- MasterPageC
|
|---- Page2.aspx
See?
Page1 uses Master Pages A and B.
Page2 uses Master Pages A and C.
Could you tell me if I should do this and if it is possible.
If yes, where can I find some information about it?
Thanks,
Miguel
|
| Author |
Message |
shivaraj

|
Posted: Thu Oct 19 09:52:04 CDT 2006 |
Top |
Frontpage Programming >> Jump Menu Question
I recently tried to insert 2 jump menus on one page. The insertion worked,
but the interactive GO button only worked on one menu. Essentially, my
question is, can two jump menus work on one page? Is there anything special
I have to do to get the second one to work properly?
Ken Lewis
Web Programming83
|
| |
|
| |
 |
David

|
Posted: Thu Oct 19 09:52:04 CDT 2006 |
Top |
Frontpage Programming >> Jump Menu Question
As long as the buttons have different names it should work fine. Is there a
URL where we can see what's happening?
"Ken" <EMail@HideDomain.com> wrote in message
news:D8LZg.14$EMail@HideDomain.com...
>I recently tried to insert 2 jump menus on one page. The insertion worked,
>but the interactive GO button only worked on one menu. Essentially, my
>question is, can two jump menus work on one page? Is there anything
>special I have to do to get the second one to work properly?
>
> Ken Lewis
>
|
| |
|
| |
 |
Ken

|
Posted: Thu Oct 19 12:30:53 CDT 2006 |
Top |
Frontpage Programming >> Jump Menu Question
http://long-island.usatf.org/Records/
I sent more info privately.
Ken Lewis
"David Berry" <EMail@HideDomain.com> wrote in message
news:e6$EMail@HideDomain.com...
> As long as the buttons have different names it should work fine. Is there
> a URL where we can see what's happening?
>
>
> "Ken" <EMail@HideDomain.com> wrote in message
> news:D8LZg.14$EMail@HideDomain.com...
>>I recently tried to insert 2 jump menus on one page. The insertion
>>worked, but the interactive GO button only worked on one menu.
>>Essentially, my question is, can two jump menus work on one page? Is
>>there anything special I have to do to get the second one to work
>>properly?
>>
>> Ken Lewis
>>
>
>
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ Frontpage Programming |
- Next
- 1
- ASP.Net >> Calling a webservice from my ASP.NET applicationI 'm calling a web service using this code:
MyService service = new MyService();
service.Credentials = System.Net.CredentialCache.DefaultCredentials;
I was getting an "Access Denied" everytime, but it works when I use this
code :
MyService service = new MyService();
service.Credentials = new
NetworkCredential("myLogin","myPassword","myDomaine");
I have enabled impersonation by adding <identity impersonate="true" /> to my
web config and we are using windows authentication.What else should I add in
order to get it up and workin?
Thanks
- 2
- 3
- IIS >> August 8th: Troubleshooting SSL WebcastHello all ~
This is an annoucement for purposes of making all administrators and users
of IIS (4, 5, and 6) aware of a upcoming webcast. The webcast is related to
Troubleshooting SSL, and will focus on these topics:
- SSL Terms
- Understanding the SSL Handshake
- Private Key vs Public Keys
- Server Certificate vs Client Certificate
- Certificate Authorities
- Troubleshooting with SSL Diagnostics
The event will have two key developers for SSL technology in the IIS product
answering questions while I deliver the webcast. This is your opportunity
to ask questions and provide feedback to the development group at Microsoft.
For further information, please visit and register for this event - and
please forward as you like this information.
http://www.microsoft.com/usa/webcasts/upcoming/2099.asp
Please register!
--
~Chris (MSFT)
IIS Supportability Lead
- 4
- ASP/Active Server Pages >> Paging in ASP BEST APPROACHHI,
Guys
There has been a lot of Ways to use paging in asp
1>Recordset approach -where whole records are pulled at client side...
and then only the records which are needed are filtered..
and now that is not the approach good as we are pulling unnesscary all
the 10,000 say for dispalying 100 records...if pagesize is 100
2>i have seen is the Stored procedure approach where data is inserted
in temp table and then only the records needed are pulled out...
now again the approcah is not feasbile as if the data in the table is
huge
then inserting in temp table is going to bring Troubles...
so both the approcaches are bottlenecks...
so brillant guys..... which the best approcah to implement paging in
asp...
i have seen google paging seems to be runing very fast?
so tell me which the best approcah to implement paging in asp
regds,
Navin Mahindroo
- 5
- ASP.Net >> Listbox containing duplicate items - correct selection not maintained on postback?I have a page containing a list box. This list may contain duplicate
items - in which the ORDER is important.
ex:
a
b
b
a
is significant as compared to:
b
a
a
b
even though the list contains the same elements. The user has buttons on
the page to reorder the list.
The problem is that, say in the first example, the bottom 'a' is selected.
Then a button is pressed that causes a postback. The re-selected item is
now the FIRST a. Likewise, if the second 'b' is selected, on postback the
FIRST b will be selected.
The following page demonstrates this:
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false"
Inherits="testListbox.WebForm1" smartNavigation="True"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<asp:Button id="Button1" runat="server" Text="Button"></asp:Button>
<asp:ListBox id="ListBox1" runat="server">
<asp:ListItem Value="item1">item1</asp:ListItem>
<asp:ListItem Value="item2">item2</asp:ListItem>
<asp:ListItem Value="item1">item1</asp:ListItem>
</asp:ListBox>
</form>
</body>
</HTML>
There was no code added to the codebehind page. (I just created a simple
web app to demonstrate this).
Is there anyway to resolve this issue such that the correct element is
selected (by index rather than value)?
--
Adam Clauss
- 6
- Frontpage Client >> Question about FP discontinuationI recently designed a basic informational website for a friend who
owns/operates an auto leasing company. His primary goal is
self-maintenance - current inventory pictures that will change almost
daily - thus my recommendation of FP2003. At this point he hasn't even
purchased the software.
Any concerns with this, considering FPs future?
jm
- 7
- ASP.Net >> VB.NET to extract EXIFI've googled and searched here.....want to grab exif data from a jpg picture
file....seen bits of code but haven't been able to put it together to work
Using the
System.Drawing.Imaging.ImageCodecInfo
TIA
Harry
- 8
- 9
- ASP/Active Server Pages >> Custom MIME Type major issuesSo, I have some simple asp code to send a response to the client with a
particular ContentType defined, code shown below:
Response.Clear
Response.ContentType = "application/x-custom"
Response.Write "<?xml version='1.0' encoding='UTF-8'?><testing/>"
Response.Flush
I have a client side ActiveX control implementing IPersistMoniker that is
registered to handle this MIME type. This seems to work fine on some
machines and not others. On some of my machines, the control is not
instantiated at all. Instead, a blank page is shown in the browser. If I
change the ContentType above to something like "text/xml", the response is
shown correctly in the browser. This leads me to believe there is a problem
with the client mime handler, but it seems to work on most machines. Does
anyone have any insight into this? I've been stumped for quite a while now
and would really appreciate the help.
Thanks,
Dave
- 10
- 11
- ASP.Net >> Powerful ASP.NET ApplicationTierDevleoper also generates a Windows Forms application that is
similar to the ASP.NET application in all its features. You can
generate a client/server Windows Forms application and embed .NET
components inside the Windows Forms application. Or, you can generate
a Remote Client Windows Forms application and make remote calls to
.NET components through their web services interface that
TierDeveloper has generated. Either way, you have a great-looking
Windows Forms application to use either as a real-life application.
For further info:
http://www.alachisoft.com
- 12
- ASP.Net >> client side validation and form submission on iis 6 (both 1.0 & 1.1 installed)Hi,
We have a strange problem where we have moved asp.net applications onto a
Windows 2003 server which has both 1.0 and 1.1 installed. The server is
running in IIS5 isolation mode...
But... None of the client side form submissions are working where clientside
validation is being implemented. we have tried recreated the aspnet sub
directory using the regiis too (with -s for specific application roots) to
no avail. We have to have both versions of the framework running for some
old apps that haven't been migrated yet..
Anyone come across this? Any things we should be looking at ?
Ta
- 13
- Frontpage Client >> sub view buttonsRight after I save a new page and reopen it, all my subview buttons are gone.
I'm stuck with a text version to edit and can't switch to design or other
modes. I looked up as much as I could in help, but all it does is tell me
where to find the subview buttons. They're not diplayed on the page anywhere.
Has this ever happend to anyone?
- 14
- Frontpage Programming >> Can I allow MS ActiveX on my site?Hi
On my site (which is not live) I have a mix of
JavaScript
VBscript
It is an '.asp page' because I use this date function;
<%=weekdayname(weekday(date()))& " " & FormatDateTime(Date,vbLongDate)%>
When I change the extension back to .htm and run it through Preview in
Browser
I get this message at the top of the browser;
To help protect your security Internet Explorer has restricted this file
from showing.
The reason for this message is ACTIVEX content.
Of course I can turn my IE popup blocker off - but this will be very
annoying to users.
My questions;
1) What causes this message on my page - is it JavaScript ?
2) Is there anything I can do to override this problem?
Many thanks in advance - Stephen
--
Outgoing emails automatically scanned by Norton Antivirus.
- 15
- ASP.Net >> CSS QuestionHi
I have the following in my styles.css:
BODY
{
...
font-size: .8em;
...
}
Why doesn't this reduce the text size in my <table> <tr> <td>?
Is there a global .css that IE uses for defaults?
Thanks.
Dee
|
|
|