 |
 |
Index ‹ Web Programming ‹ IIS
|
- Previous
- 1
- ASP.Net >> FileNotFoundExceptionHi all,
I have a problem with my asp.net application.
I can't read a file that is on another server (10.1.8.15), while my
application in on 10.1.8.14.
In that file I have a shared folder, within the file "txt".
I've used the following code:
bool present;
FileInfo f1 = new FileInfo(@"\\10.1.8.15\CDG\CDG_CD.txt");
if (f1.Exists)
{ present = true; }
else
{lblError.Text += ". Missing file " + f1.ToString();}
but always says me that the file does not exist
(FileNotFoundExcpetion).
If I run the command \\10.1.8.15\CDG\CDG_CD.txt from Start - Run, I can
see the file.
What's the problem?
Thanks a lot.
Luigi
- 2
- Frontpage Client >> Watch NFL Games OnlineWatch NFL Games Online!
For every one who wants to watch the games online because they dont live in the teams town or are at work i found a site that has basically every game covered. Its perfect if you have afford a monthly $70 direct tv nfl access subscription. they got a bunch of channels
The sites http://nflonline.wizhoo.com
- 3
- IIS >> Cannot connect to home computer using IISHi
I am fairly new with IIS but read few documentation about it. I installed
IIS in my home computer and followed all the configuration settings of it. I
am providing a link from which i followed the steps.
http://www.microsoft.com/windowsxp/using/networking/expert/northrup_03may16.mspx.
I followed everything according the above documentation. But when i try to
log into my home computer from work it says page cannot be found.
Correct me if i am wrong.
Working with it realized i have a domain setup in my home computer and since
my server is also a DHCP server, the router may not know which computer i am
refering to withe port i opened. I opened to port in router one for RDP 3389
and on for ISS 3380. But i also had to include ip address so that thsi ports
can direct the packets. Since, my rounter is not DHCP it doesn't know which
one to direct to.
I am using windows 2000 server and it leased all the IP address. Point to be
noted that i used static IP for my home computer. Let me know if my theory is
right. If so i guess i have to first connect to my server and then to my
computer. Another option would to turn off the DHCP form server and turn it
on at the router.
Let me know if you agree. If not can you tell me what to do.
Thank you
- 4
- 5
- ASP.Net >> page life cycle problemI have a textbox in a form that saves information to a database. A linkbutton activates a function from the user's click to save
the data. A leading string of text is added to the content before saving.
I want to retrieve the saved info and have the retrieved data displayed when the page reloads.
I can't get the retrieved data to display. I can only get the old version of a previous save .
How do I save then retrieve the correct version in the postback -- any examples in vb would help
- 6
- ASP.Net >> populating asp:dropdownlist programmaticallyI need to display a drop down list which holds up to 250 listitems.
I'd like to create this programmatically rather than have to hardcode it
into the page.
For example
<asp:DropDownList id="numYears" runat="server" name="numYears">
<asp:ListItem Value="0" Text="0 years" Selected="true" />
<asp:ListItem Value="1" Text="1 year"/>
<asp:ListItem Value="2" Text="2 year"/>
<asp:ListItem Value="2" Text="2 year"/>
<asp:ListItem Value="3" Text etc............. up to 250 years
Thanks in advance..
Simon Ames
- 7
- Frontpage Client >> Frames in Shared Borders?!Is it possible to have frames with a shared border? i.e. If the content on a
page is more than a user can view without scrolling down, when they do the
navigation bars are not visible. Can anyone advise the best way around this?
The site is already built by the way
- 8
- 9
- 10
- 11
- ASP.Net >> Controls inside of TreeNodes and MenuItems?A MenuItem is set up like this:
<TD id="ctlWhatever"> <-- MenuItem
<TABLE>
<TBODY>
<TR>
<TD>
<A>Text</A>
And a TreeNode is set up basically the same way, except it is nested
inside of a DIV instead of another table.
I would like to know if there is a way to access the hyperlink as a
control on the server side? Like, is there any way I could cast a
menu item to another type of control so I could do a .FindControl in
it? Or anything similar? I'll consider any idea at this point.
Thanks in advance!
- 12
- Frontpage Client >> Aspect Ratios for JPGI'm using a semi-circle image in a table to butt up against
solid-colored cell. That way, the two together give the appearance o
a button. For those with a single line of text, this works fine.
Sone cells, however, have two lines of text. To make everything loo
kosher, I stretched the semi-circles up by entering a different pixe
value, with the "aspect ratio" box UNCHECKED. In preview mode, an
when I open the page in my browser on the desktop, everything look
fine. The HTML also lists the correct number of pixels for height.
Once actually on the web, however, the stretched images revert to thei
original size. When I ldownload the page and check the settings, th
"aspect ratio" box is checked for each image... I assume this is what'
skrinking them back down. Why does this property keep resettin
itself
Malintha
-----------------------------------------------------------------------
Posted via http://www.forum4designers.co
-----------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message39464.htm
- 13
- ASP.Net >> Asp.net databinding to objectdatasourceI have an issue with detailsview control bound to an objectdatasource.
scenario is i have a business logic component with CRUD methods that accept
custom business entity objects. In asp.net layer I'm using gridview and
detailsview controls that gets bound to an objectdatasource control which
uses my businesslogic CRUD methods. Now If i use all databound fields, all my
selects, inserts, updates, deletes work just fine. As soon as i convert one
field into a template field and add a dropdown control, the value that i
select in dropdown control is not bound properly to my business entity
object's property.
I'm i missing something here...
Thanks,
<Ram/>
--
Thanks,
<Ram/>
- 14
- 15
- ASP.Net >> code called from web page or webserviceHi,
I have a small piece of code that is used by both a web page and by a
web service. I'd like some different behaviour depending on whether it
is called by the page or by the service.
In the piece of code, I can determine the calling source (page/service)
by checking to see if System.Web.HttpContext.Current.Session is null
(which it will be for service and won't be for page).
The thing is--I would like for the piece of code to be able to look up a
bit of information at this point. For the page, that bit of information
is stored in the HttpSessionState. How can I store this information so
that when the code is called from the web service it can be looked up?
In this case, unfortunately, passing parameters directly isn't a good
option for me.
Thanks for any help you can give.
-Casey
|
| Author |
Message |
otter88

|
Posted: Mon Sep 22 05:14:47 CDT 2003 |
Top |
IIS >> .avi files visualization
Hello,
I have a w2k server with IIS. When I put a .avi file in my web, when I try
to visualize the files with internet explorer Windows Media is istarted,
connects but nothing is shown.
Can anyone help me?
Thanks
Web Programming24
|
| |
|
| |
 |
timcof

|
Posted: Mon Sep 22 05:14:47 CDT 2003 |
Top |
IIS >> .avi files visualization
Set IE to not play media files, so that the local player will and start there. I assume that the file will open and play locally.
Thank you. I hope this information is helpful.
Tim Coffey [MSFT]
This posting is provided ?AS IS? with no warranties, and confers no rights. You assume all risk for your use. © 2001 Microsoft Corporation. All rights reserved.
--------------------
| From: "oscar" <EMail@HideDomain.com>
| Subject: .avi files visualization
| Date: Tue, 16 Sep 2003 12:26:26 +0200
| Lines: 10
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <EMail@HideDomain.com>
| Newsgroups: microsoft.public.inetserver.iis
| NNTP-Posting-Host: 143.red-80-39-81.pooles.rima-tde.net 80.39.81.143
| Path: cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.inetserver.iis:275362
| X-Tomcat-NG: microsoft.public.inetserver.iis
|
| Hello,
|
| I have a w2k server with IIS. When I put a .avi file in my web, when I try
| to visualize the files with internet explorer Windows Media is istarted,
| connects but nothing is shown.
|
| Can anyone help me?
| Thanks
|
|
|
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ IIS |
- Next
- 1
- 2
- 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
- 3
- 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 ?
- 4
- 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
- 5
- 6
- 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
- 7
- 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?
- 8
- IIS >> Set up IIS to browse a folder on another domain controllerConsider the following scenario: we have two domain controllers in the same
domain called dc1 and dc2. On dc2 IIS is being used for internal web
applications and one of these applications is called 'app'. Our users browse
to \\dc2\app to view and use the web application. This works very well.
Now we wish to allow the users of this web application to browse a folder
which is located on dc1. The folder is shared as 'share'. On dc1 IIS has not
been installed.
We got this working with 'Digest authentication for Windows domain servers',
but that requires the user to log in every time they wish to use the web
application. And that is not what they want.
Is it possible to use 'Integrated Windows authentiction' and still be able
to browse that folder on dc1?
We have tried many scenarios, but every time the result is the same; the
user cannot browse the folder on dc1. For example:
1. We created a virtual directory that is redirected to \\dc1\share.
2. We created a directory at the hard disk under the root directory of the
web application and redirected that directory to \\dc1\share.
3. We used a test server dc3, installed IIS, created a virtual directory in
the default web site that looks at a local directory. At dc2 we repeated
exercises 1 and 2 by redirecting to http://dc3/virtualdirectory.
We are currently at a loss. What else can we do to accomplish this?
HJ
- 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 >> 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.
- 11
- 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
- 12
- ASP.Net >> Postback or Click on Run-time created objectI have a database table of x elements. I need to loop through the database
table and add a checkbox for each entry to an asp:Table object. This I can
do.
Dim tRow As New TableRow
Dim tCell As New TableCell
Dim cbDT As New CheckBox
tblDTCodes.Rows.Add(tRow)
cbDT.Text = reader(0)
cbDT.Checked = False
tCell.Controls.Add(cbDT)
tRow.Cells.Add(tCell)
Question: How do I add a "Clicked" or "Checked" event to these new
checkboxes?
Question: If I can't do that, how do I interpret a PostBack from these
checkboxes?
- 13
- 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
- 14
- 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
- 15
- 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
|
|
|