|
Make sure the new folder that you are using is listed within IIS as a virtual directory.
Nick Parker
|
|
|
|
|
Thanks Nick,
The part of the problem was 'user error'
It says at the top of interdev 'must have frontpage extensions installed'. Guess what?
Then I had to do the virtual directory thing
Who'd think MS stuff works straight out of the box eh?
Cheers,
Barry.
|
|
|
|
|
I've made a simple ASP.Net web application and
When i run the project without making any changes to it
it gives the following error message:
ERROR:error while trying to run the project. unable to start debugging on the web server. The server does not support debugging of ASP.Net applications or ATL server. Run setup to install .Net server components. If setup has been run verify that a valid URL has been specified.
I have run the setup again to reinstall server components.
and now they are installed successfully but the problem is still there. no Web application is running.
Please help!!
|
|
|
|
|
Anonymous wrote:
error while trying to run the project. unable to start debugging on the web server. The server does not support debugging of ASP.Net applications or ATL server. Run setup to install .Net server components. If setup has been run verify that a valid URL has been specified.
Aish, you need to give the ASP.NET Debugger user the neccesary rights. I can't remember the details, but go to MSDN.microsoft.com and search on that topic, it is all there. By default the user is not all-powerful so as to tighten up security.
You do not need to reinstall the .NET Framework or ASP.NET or anything, just the users rights.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
Simon Walton wrote:
"You come across a lot of people who call themselves realists, when they are actually pessimists attempting to look intelligent."
|
|
|
|
|
I think it's under properties | home directory | configuration | debugging
[] Enable ASP server-side script debugging
Todd Smith
|
|
|
|
|
i programed an email online system, that get the emails from the pop3 server and write them into a database.
everything works fine- but sometimes, i got emails, that do not show the content (body text), but instead have an attachment like: .msg or win.dat ...
what did i wrong and how can i show the body text of this emails ?
have anybody also had this kind of problem???
please help!!!
thank you to all answers!!!
|
|
|
|
|
I may be trying to pass a three dollar bill here...
I have a simple user control (i.e. small login form: UserName/Password Text boxes & submit button).
I would love to be able to pass the control a style or stylesheet that wouls specify the font charactics etc to use on the control (to make it a bit more re-useable across a few sites).
Any suggestions?
Mike Stanbrook
mstanbrook@yahoo.com
|
|
|
|
|
If you set the class to use for the controls in question, label, textbox, etc., they will assume that style if the stylesheet is inlcuded in the parent page.
Alternatively you can pass parameters to your control that would set the styles properly.
|
|
|
|
|
hello everybody !
I need a project for registeration of the students and their billing of the fess of the courses for all the centres of an Institution accross country...
can anybody please help me???
please contact me....plz !!!
|
|
|
|
|
Can you give more specifics, like platform, langauges, and is this volunteer project or paid. Sounds like a big project for a homework assignment.
Soliant | email
"The whole of science is nothing more than a refinement of everyday thinking." -Albert E.
|
|
|
|
|
How can I force a bar to sit at the bottom of the page, I currently have a table, but it won't sit at the very bottom of the page unless the page contents requires the usage of the scroll bar at the bottom. Does this make sense? Here is what I have, however again it doesn't always work the way I want it to. Any ideas?
<table valign="bottom" border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td valign="bottom" style="height:20" bgcolor="#6699CC" cellspacing="0" cellpadding="0" width="100%"/>
</tr>
</table>
Nick Parker
|
|
|
|
|
Try sth like this:
<html>
<body>
<table height="100%>
<tr valign="top"><td valign="top" bgcolor="red" height="100%">Page!</td></tr>
<tr><td bgcolor="orange">this is at the bottom!</td></tr>
</table>
</body>
</html>
This will work!
Ñ There is only one MP Ð
|
|
|
|
|
Nick, in my experience Netscape (4.x at least) is very, very finicky about the height attribute. Maciej's post will work, but depending on what other elements you have in the document, NS may or may not decide to display that properly because NS 4.x's height calculations are dumb IMO. What I usually do to ensure a bar is always at the bottom is use nested tables.
Example...
<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<table width=100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">Top Bar!</td>
</tr>
<tr>
<td valign="bottom">
<table bgcolor="#6699CC" width=100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>Bottom Bar!</td>
</tr>
</table>
</td>
</tr>
</table>
</body> This will ensure it always looks like it's supposed to in Netscape.
Jeremy Falcon
Imputek
<nobr>"C# is the answer to a question nobody asked." - Chris Losinger
|
|
|
|
|
Nick Parker wrote:
Any ideas?
Use JavaScript and a DIV, TABLEs are bad. If'n I ever catch you using TABLEs to layout your HTML I will tell your mum.
<html>
<head>
<script language="javascript">
function alignFooter(){
document.all.footer.style.top = (document.body.clientHeight - 21);
}
</script>
</head>
<body onload="alignFooter();" style="padding: 0px; margin: 0px; border: 0px;">
<div id="footer"
style="padding-left: 5px;
position: absolute;
height: 20px;
border: 1px solid #000000;
width: 100%">
Footer Content
</div>
</body>
</html>
Naturally is not 100% in all browsers, but you can add in the cross-browser code quit easily (not that you should.)
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
Simon Walton wrote:
"You come across a lot of people who call themselves realists, when they are actually pessimists attempting to look intelligent."
|
|
|
|
|
<title>Demo
Keep Smiling... )
|
|
|
|
|
WebRavi wrote:
Yes your's works but TABLEs are not for laying out your page, they are for tabular data.
My 2 cents
|
|
|
|
|
I'm using VBScript to generate some formatting code in an HTML page. When I
MouseOver an area of the screen, I want to change some caption somewhere
(enclosed in a SPAN tag) in order to provide a description of what clicking
on that area will cause to happen (kinda like the text on a Windows app's
status bar). I'm displaying a GIF (strGIF) and a string (strDesc) in a
table (for proper formatting):
strOnMouseOver = "idDesc.innerHTML=" + chr(34) + _
"" + _
"" + _
"" + _
"" + _
"" + _
"" + _
"" + chr(34)
This string, in turn, is used in a table cell:
strCell = "" + _
"Click me" + _
""
[...]
Document.Write( strCell )
[...]
Here's the problem--I generally surround all attribute values by quotes
(either single or double, as it's generally good practice), however in this
case I had to remove them all in the strOnMouseOver string, because that
string itself eventually gets embedded within single quotes
(onmouseover='[whatever]' in strCell). If I add them back, the parser ends
up "seeing" something like:
onmouseover='idDesc.innerHTML=""'
...then of course the first quote surrounding the 0 above is paired up with
the very first quote (just before idDesc--it's intrepreted as the closing
quote).
I'm fortunate enough (for now) that this works simply by leaving out the
quotes, but that's just dumb luck. What if the path to the IMG above
contained a space? That'd throw everything off; whatever came after the
space would be interpreted as the next attribute. I *need* to have the IMG
tag's SRC attribute using quotes.
How can I do this? I've tried using ", chr(34) and chr(39) in various
combinations, to no avail. Is there any way in VBScript to escape single or
double quotes so it'd work in this context?
(the code pasted above might be a bit difficult to read using a
proportional-spaced font, so you might want to paste it back in something
like Notepad using a fixed-sized font)
|
|
|
|
|
try using two double qoutes, that's generally used in VBScript... so:
mystring = "<table width=""10""></table>"
that will probably give the desired result, however i would consider getting your results differently
/\ /\
\/\ /\/
\o/ uritsukidoji \o/
\=--------------=/
|
|
|
|
|
You need to use double quotes around the attribute value, and replace any double quotes within the value with " :
stronmouseover = Chr(34) & "idDesc.innerHTML="" & _
"<table BORDER='0' CELLSPACING='0' CELLPADDING='0'>" & _
"<tr>" & _
"<td><img SRC='../../icons/" & Replace(strGIF, Chr(34), """) & "'></td>" & _
"<td WIDTH='5'></td>" & _
"<td>" & Replace(strDesc, Chr(34), """) & "</td>" & _
"</tr>" & _
"</table>"" & Chr(34)
strCell = "<td HEIGHT='23'" & _
" WIDTH='70'" & _
" ALIGN='RIGHT'" & _
" VALIGN='BOTTOM'" & _
" BGCOLOR=" & Chr(34) & Replace(strColor, Chr(34), """) & Chr(34) & _
" onmouseover=" & stronmouseover & _
" onmouseout=" & stronmouseout & _
" onclick=" & strClickEvent & ">Click me" & _
"</td>"
|
|
|
|
|
i got the following problem:
everytime, i read out an email (i think it was sent by outlook), the body isn't shown. instead of the body, there is an attachment (Always .msg), that i cannot open... but i think, that the body is in this .msg (=message???)...
but anyway- i dont want to have an attached file, i want to show the content of that file to the webpage.. has anyone an idea???
|
|
|
|
|
I created a User Control that transforms XML using XSL. (The XSL stylesheet is in a file.) Now this control is to be used for different projects. What is the best thing to do?
(1) Just keep the User Control and make the developers copy the User Control and XSL files?
(2) Create a Web Custom Control and just have the developers reference the control library? If this is the best solution, what do I do with the XSL file?
|
|
|
|
|
why aren't you just using the asp:xml control?
|
|
|
|
|
I wanted to make a generic control that calls a particular function to get a dataset from another object, and transforms the XML in that dataset by using a particular XSL file.
I was wondering what the best solution was to let this control be used in multiple projects, by multiple developers. The developers should be able to just drop this control in their pages and change one or two properties. I didn't want them constantly copying a user control - what if it should change? So I figured it would probably be better to create a Custom Control (in a Web Control Library), but I couldn't figure out how to access an XSL file that was part of that Library. I finally figured it out, though, so my problem is solved.
|
|
|
|
|
Ok, here is a random though that may or may not work, but it would be interesting to find out. One of the main concerns with ASP.NET, aside from the learning curve is the fact that the objects in ASP.NET can't talk to the objects of ASP. But here is where the lightbulb went off, (at least it flickered ) If, (because I am not sure) we could access the ASP object from within ASP.NET through COM Interop we would be allowed to create a stepping stone transformation from one technology to another in large web applications. While many web applications may be easily ported to ASP.NET, there are many that take quite a bit of time (for example this site) to convert. What does everybody think of this idea?
Nick Parker
|
|
|
|
|
you can make your .NET classes available through COM/ActiveX, there are articles here covering that, and in that way you can create your .NET objects within an ASP Page (with some limitations).
Within your .NET solution you can reference the MS Active Server Pages COM Object in your .NET solution, wich gives you access to the ASP Session and Response object (So it can be passed from an ASP Page)
I Have combined those two in a extensive ASP Project to port it to .NET exactly as you stated and works OK but ofcourse 100% .NET = better.
Luck,
/\ /\
\/\ /\/
\o/ uritsukidoji \o/
\=--------------=/
|
|
|
|