|
no, but you can always return the two pieces of info as one - in a SQL statement you would use something like:
select firstname+' '+lastname as personname from...
then set your dropdownlist datatextfield = personname
Hope this helps
Phil
|
|
|
|
|
Hiya all.
I don't know if this is the proper place to post this, but here
goes....
I'm trying to upload some files to a streaming server. All files but
one seems to work when being streamed, but with one - just one - I get
a "server is to busy..." error, and I can't for the love of me figure
out why.
Now, if the server was indeed to busy, shouldn't all file be
unstreamable, and seeing as it is only this one file - I'd think the
file perhaps is corrupt - however, I can play it locallly. Can the file
still be corrupt and playable locally while being unstreamable?
Any advice on where to start debugging this problem?
With regards
Alsvha
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
What kind of streaming server are you using? What kind of media are you uploading?
Do you get the error when you try to upload the file or when you try to access the uploaded file?
---
b { font-weight: normal; }
|
|
|
|
|
The server(s) are using Windows Media Services 9.0 - I'd take it that is the streaming server (this is my first dabble into streams, and not something I've done prior, but suddnely it fell upon me to do it)
The files are ordinary *.wmv, which shouldn't be any wierd codec or similar, plus I can play them locally and remote on the server (logging in via proxy)
No problems uploading the file either.
It is just when I go in via mms://IP/File that I get the server not availble or to busy - and just for that one file.
There are larger files I can stream withouth problems, except this particular one.
I'd supply the link, but unfortunally it is a movie which isn't to be published yet as it is part of a large advertisment campaign.
I tried uploading it to the second server (two stream servers behind two webservers in a load balancing thingy) - and that also have problems (to busy/not availble) with the stream.
Is it possible for a file to be corrupt in the manner where it can't be streamed but still can be played "locally"?
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
A media file can be pretty broken and still be playable locally. Check that the entire file got uploaded. If possible check the integrity of the original file. The media player will play a broken file, but video editing programs and such should at least give you a warning if the file is incomplete.
If the file is intact, it sounds unlikely that it's the contents of the file that is the cause of the error. Does the file have exactly the same file extension? No unusual characters in the file name?
---
b { font-weight: normal; }
|
|
|
|
|
Thanks for the feedback - I take it the file is corrupt and took the info up with the ad.agency, and after some tries I finally got a high res file which could be streamed withouth problems.
I take it something had gone wrong in their production of the media file.
I was just perplexed by the error message I got combined with the fact that the file played locally, which initially didn't indicate to me the file itself was the problem
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
Hi everyone.. I need urgent help from those who have use ascx file before. I'm currently learning C# web application. I would like to design my web page using C# web application which has navigator bar on the web page..And from there i can select from the navigator bar which page i wants to view. I know that ascx file can used to design web page. Anyone who has done it before don't mind share with me or where can i get the source code? I'm now only required to use Mircosoft Visual Studio .NET 2003. Many thanks in advance for your help...
Thanks
|
|
|
|
|
There are navigator bars out there that have been developed for ASP .NET 1.1. They generally use a JavaScript implementation to display fly-out menus.
http://aspalliance.com/652#Page7
Take a look at category 6.
However, with ASP .NET 2.0, Microsoft has introduced a fully featured menu control which should meet your needs - if you're able to upgrade.
|
|
|
|
|
I have created a class library(dll) using VS 2005 it has a sayHello() function which returns a string.
and I want to call this sayHello() function of this class by referencing this class in an web application which is created in VS 2003. It gives me an error "This is not a valid assembly or COM Component". Is it possible to acive this, if how? egarly waiting for a reply...
|
|
|
|
|
You can see my post in the ASP.NET forum.
|
|
|
|
|
There are more then 50 sections in asp.net forum in which forumhave posted that if possible give be the date and title of the post so that I search it there.
|
|
|
|
|
|
|
how can i upload a picture to sql server database using vb.net
|
|
|
|
|
|
i want to develope code for like tree structure implementation using perl,cgi,javascript.any one can give me some idea?
Tanmoy Panja
Software Developer
mob:-9831970348
Intrasoft Technologies Pvt. Ltd.
5,Lake Temple road.
Kolkata-29.
|
|
|
|
|
Hey all..
Does anyone know how a I might go about calling a function in a windows service from a web application? I want to be able to call a specific function in the windows service. I am using .NET 2.0 for both the windows service and the web app, however any .net solution would be appreciated. I don't have the slightest clue how to do this or if it is even possible.
Thanks in advance...
"Half this game is ninety percent mental."
- Yogi Berra
|
|
|
|
|
Hi there,
IMO, you might consider using the .Net remoting in this case. The windows service can host an object that the client can access to call a specific function defined in the service. For more information, you can see the documentation:
.NET Framework Remoting Overview[^]
|
|
|
|
|
i'm uploading files on my website..coding is done in asp...files get uploaded 2 desired destination...but info is not entered in the relevant database....no error is displayed..seems the connection object is in read mode...even though i try 2 chng the mode...it still remains in read...hence select query works whr as insert/delete dont..how do i insert values??
AditiM
|
|
|
|
|
If you were trying to update the database but were not allowed, you would get an error message.
Probably there is some error in your code, for an example you might not run the insert query at all.
---
b { font-weight: normal; }
|
|
|
|
|
Well you may be trying to change the mode while the connection is open. You have to be sure to close the connection before changing the mode. Either that or make another connection that is read/write.
"Half this game is ninety percent mental."
- Yogi Berra
|
|
|
|
|
how Create a Rich Text File RTF in a ASP Page with header & footer
in this header how to include an image
N.Rajakumar B.E.,
Application Developer,
|
|
|
|
|
depending on which value is selected in a dropdown list for suppose a campus central,i have t run a query against database and should get those values into a text box.flow is like this.
sub showform
//java script funtion
function OOchange()
{
Campus=document.f1.Campus.options[document.f1.Campus.selectedIndex].value;
}
<% Do While NOT MyRS1.EOF %>
"><%= MyRs1("CampusName")%>
<% MyRS1.MoveNext
loop %>
//several fields like text boxes and all are present here....in of the textbox i shud display the recordset which we get bu querying database with that value in the Campus variable
<%
MYSQL2="Select distinct substring(collector_name,13,5) AS Code from svr_compare where substring(collector_name,1,4)= (select Collector_Code from CampCollCode where Division='?????????')"
Set MyRs2=MyConn.Execute(MySQL2)
Dim str
str=MyRS2("Code")
MyRS2.MoveNext
Do While NOT MyRS2.EOF
str=str & "," & MyRS2("Code")
MyRS2.MoveNext
loop
'end if
%>
<\form>
<\html>
}
end sub
the variable Campus which is the javascript function is a global asp variable.how to get that value to query it in the where condition of that sql query.I don't understand how to do that.Request.Form()to get the value selected in the drop down box.don't even know how to retreive the variable Campus which is in Java script function.plzzz help
Thanks in advance,
vani
|
|
|
|
|
bhavani_ge wrote: the variable Campus which is the javascript function is a global asp variable.
No, it's not. They are two completely separate variables. They don't exist in the same computer, and they don't exist at the same time.
To use the value in the asp code, you have to send the value from the page to the server, either as form data or in a querystring.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks a lot for quick reply.Can you please give me the syntax of that.(form data or query string).I didn't understand how to use that.now i have that variable in javascript function how can i use that in the query which is the subroutine.
format is:
sub showform
java scriptfunction
{
Campus=some code;
<%
query-----where i want to use Campus
%>
here in this text box i shud get the result of that query
}
end sub
Thanks a lot in advance
|
|
|
|