| IIS6 and downloadable JAR file |
|
 |
Index ‹ Web Programming ‹ IIS
|
- Previous
- 1
- ASP.Net >> <embed> referenced page called 2 timesWhen I use an embed tag that uses a dynamic aspx page, the dynamic aspx page
appears to get called 2 times instead.
Below is code that adds an embed tag to a placeholder control that will use
a second aspx page to generate the svg for the embed.
svgchart.Controls.Clear();
string strSRC = "./DesktopModules/Enterprise/BusinessRuleSVG.aspx";
string HTML = "<EMBED SRC='" + strSRC + "' NAME='SVGEmbed' HEIGHT='450'
WIDTH='900' TYPE='image/svg+xml'
PLUGINSPAGE='http://www.adobe.com/svg/viewer/install/'>";
svgchart.Controls.Add(new LiteralControl(HTML));
The BusinessRuleSVG page will then get called 2 times instead of the
expected 1 time. Has anyone else experienced a problem such as this? I
have seen examples of users generating dynamic graphic files using the embed
tag, but not SVG files.
Any assistance is appreciated.
Thanks,
Cris
- 2
- ASP.Net >> Datagrid update commandHelo All,
If some one has faced a similar issue..
My datagrid Update command is not getting fired in fact it seems that the no
event fires on clicking the update link. Although the cancel and the Edit
Commmand are getting fired properly.
The One difference I have seen is that in the task bar ..on hovering on the
link the javascript for the update link seems different. I dont know if it
makes sense..
Edit Button : javascript:__doPostBack('DataGrid1$_ctl7$_ctl3','')
Cancel buton : javascript:__doPostBack('DataGrid1$_ctl7$_ctl0','')
Update button :
javascript:{if%20(typeof(Page_ClientValidate)%20!=%20'function'%20||%20%20Page_ClientValidate())%20__doPostBack('DataGrid1$_ctl7$_ctl2','')}
I have in the datagrid code OnUpdateCommand="DataGrid1_UpdateCommand"
and in Code behind..
Public Sub DataGrid1_UpdateCommand(ByVal source As System.Object, ByVal e As
System.Web.UI.WebControls.DataGridCommandEventArgs) Handles
DataGrid1.UpdateCommand
Cheers,
siaj
- 3
- ASP.Net >> Multiple IIS servers, each having their own process identityHello!
From default, the ASPNET user is giving the process identity for the ASP.NET
runtime environment of IIS, however it's possible to change the user by
modifying the <processModel> element in the machine.config file.
Is it possible to have multiple IIS servers running, each with their own
user specified for the process identity or to specify the process identity
specifically for each of the ASP.NET WebForms applications run by a singular
IIS server?
Best regards,
Henrik Dahl
- 4
- ASP.Net >> Could not access 'CDO.Message' objectI've already searched Google. I've already asked people in IRC. I have still
not found a solution that works for me for this extremely discouraging
apparent bug in the SmtpMail class.
MailMessage message = new MailMessage();
// set params here
SmtpMail.SmtpServer = "mail.myispmailserver.com";
SmtpMail.Send(message);
This works if I run it in a console application on my Windows Server 2003
box. However if I execute the *exact same code* from my ASP.NET application
I receive the error message in the subject line.
I have heard various "fixes" for this, including setting permissions on
mailroot, and "explanations," including "the process ASP.NET serves pages
under is not allowed to create sockets except to localhost."
Will someone, preferrably from Microsoft, please tell me why this error
occurs (the REAL reason) and what I can do to get around it? Using an SMTP
virtual server on this box is undesirable.
Thanks.
Nathan Alden
MCSD
- 5
- Frontpage Client >> Hover ButtonsI FTP'd hover buttons to my site,
http://www.dgaweb.com/abs/index4.htm,
but they do not work. Why? I did go to my web site host
and reinstalled FrontPage extensions, but that didn't
work either. I am using FrontPage 2000-SP2.
Any thoughts?
- 6
- ASP.Net >> aspx file locationmy application directory in short:
Blog (dir)
-blog.aspx
-blog.aspx.cs
default.aspx
login.aspx
All this located in c:\MyWebs\BlogApplication\
from the blog.aspx code I use Response.Redirect(login.aspx) and tries to
find that file within Blog directory. If I add "\login.aspx" it tries to
find it in the uppermost root, that is under "MyWebs" directory!! Help!
- 7
- ASP.Net >> project moving problemI frequently send off releases of a large .net aspx application to another
developer that tests and updates our production server. The last time I
sent off a project with a new .aspx page, the other developer could not see
a label and a dropdownbox in the IDE. He could see them in the html. He
ported to another machine and still could not see them. I ported to another
one of my machines and I could see them fine.
The method we use to transfer is to zip up the entire application directory
and the project directory. It's been working fine for over a year. The
HTML, the codebehind file and the resx files are identical.
TIA,
G
- 8
- Frontpage Client >> frontpage 2003 reinstallation problemI'm trying to reinstall FrontPage 2003 on my Win XP SP2 computer, following
a destructive virus attack. The FP installation disk works fine, and I go
thorugh all of the expected steps, ending with a "successful installation"
type message. However, I find that I only have a series of nested, empty
file folsers starting from Front Page/version 3.0/bin on my hard drive. There
is no error message along the way, and no desktop icon that was produced
during the previous installation. Any ides on how to solve this problem ?
Also, to be optomistic, can I install the program on my external hard drive
(F:) ?
Thanks for reading this,
Marty
- 9
- ASP.Net >> folder doesn't inherit web.config settingshello everyone,
i set up a folder to have integrated windows authentication through iis. in
order for this to work with asp.net, i have to set the
identity.impersonate=true in the web.config for that folder.
my questions is, why doesn't the subfolders inherit the impersonate setting.
when i try to access a page in a subfolder i am prompted for login info.
i guess the answer would be to have a web.config in every subfolder, but i
though asp.net inherited the web.config settings?
thank you for your help,
abraham luna
- 10
- IIS >> IIS Crashes at regular interval of time - UrgentHi All,
My IIS 5.0 server(Win2k sp4) crashes at regular interval of time daily once.
for example everyday by 1.00 am my webserver crashes and it restarts
automactically after 5 mins for past one week. I have stopped the antivirus,
I have updated all the latest updates. i also downloaded debugdiag.exe but
the report generated by the debugdaig iam unable to interpret the reports.
Help me how to proceed further and resolve this issue.
Thanks in advance.
Cheers,
Shiva.
- 11
- ASP.Net >> visual studio questionI just installed a VS 05 onto my new laptop, I can create a new web app, but
when I goto Debug, I don't see Run without Debugging as an option, its only
allowing me to run my web app in debug mode. How can I just ran my web app
and not be in debug mode?
- 12
- ASP/Active Server Pages >> onClick Event Not FiringHello.
I posted this question in the C# discussion group but am posting it here
also since ASP is involved.
I'm new to C# and need some help regarding an onClick event not firing.
I have a data grid that I add a cell to programatically. The cell is a
hyperlink and the onClick is set to _doPostBack. In my code I handle the
event but when I click on that added hyperlink nothing happens.
Here's my code (I'll just show the relevant stuff).
The data grid is dgBillSummary.
In MyClass.ascx I have a hidden LinkButton:
<asp:LinkButton id="lnkPostBack" runat="server" Height="1px"
Visible="False">PostBack</asp:LinkButton>
Here's MyClass.ascx.cs
public class MyClass
protected System.Web.UI.WebControls.LinkButton lnkPostBack;
|
private void InitializeComponent()
this.lnkPostBack.Click += new System.EventHandler(this.lnkPostBack_Click);
|
private void dgBillSummary_PageIndexChanged(object source,
System.Web.UI.WebControls.DataGridPageChangedEventArgs e)
|
Label lblShowAll = new Label();
lblShowAll.Text = "<a name=\"#ShowAll\" class=\"HypLink\"
onContextMenu=\"NoContextmenu();\" href=\"#ShowAll\"
onClick=\"_doPostBack('lnkPostBack','ShowAll');\"> Show All</a>";
e.Item.Cells[0].Controls.Add(lblShowAll); // here I'm adding a cell to the
data grid
|
// Here's the onClick event code that I never get to
private void lnkPostBack_Click(object sender, System.EventArgs e)
{
|
}
Any suggestions will be greatly appreciated!
TIA,
Rita
- 13
- IIS >> Under what credentials does a web-page run?Windows Server 2003, IIS 6
I'm teaching myself some basic ASP (i'm very good at VBScript, but I'm very
new to using it in a web environment).
As a test, I have a very basic page that connects to a Group object in AD,
and returns its name.
When the page is set to anonymous using the local IUSR account, I cannot
create the Group object (which makes sense to me). When I change the
anonymous connection to use a domain account, it works fine.
However, when I turn off anonymous access, and use Integrated Windows, I
can no longer create the group object. I'm logged into my Windows XP (SP1)
machine as a domain administrator. I've verified that my account is being
authenticated by the web-page using the Server variable REMOTE_USER.
Basically my question is... what credentials does a web-page run under when
set to Integrated Windows authentication instead of an account for anonymous
use?
Thanks for any help
- 14
- ASP.Net >> Excel.exe Process stays open in my "Task Manager" (C# ASP.Net Development)Hi ,
I Used the object Excell Application(COM INTEROP) and it is staying as an
open process, And the owner(User Name) is ASPNET
Altough I try to release it with :
System.Runtime.InteropServices.Marshal.ReleaseComObject, And GC.Collect.
Every time I am opening a new Excel.Application() , I get more Processes in
memory.
Note: I am calling the CreateExcellObj each time I am pressing a button from
my web page
The release Methods sometimes release few Excell processes but the last one
always stays.
The Init method:
public void CreateExcellObj(string FilePath)
{
ExcelObj = new Excel.Application();
ExcelObj.Visible = true;
WorkBookObj = (Excel._Workbook) ExcelObj.Workbooks.Open(FilePath,
System.Reflection.Missing.Value,
true,
System.Reflection.Missing.Value,
System.Reflection.Missing.Value,
System.Reflection.Missing.Value,
System.Reflection.Missing.Value,
System.Reflection.Missing.Value,
System.Reflection.Missing.Value,
System.Reflection.Missing.Value,
System.Reflection.Missing.Value,
System.Reflection.Missing.Value,
System.Reflection.Missing.Value,
System.Reflection.Missing.Value,
System.Reflection.Missing.Value);
}
The Release methods:
private void Release()
{
WorkBookObj.Close(false,System.Reflection.Missing.Value,System.Reflection.Mi
ssing.Value);
ReleaseComObject(oSheet);
ReleaseComObject(WorkBookObj);
ExcelObj.Workbooks.Close();
ReleaseComObject(ExcelObj.Workbooks);
ExcelObj.Quit();
ReleaseComObject(ExcelObj);
//GC.WaitForPendingFinalizers();
GC.Collect();
DALObj.UpdateFromDTAndAdapter( curTable, null);
return requestID;
}
private void ReleaseComObject(object ComObj)
{
int result;
result =
System.Runtime.InteropServices.Marshal.ReleaseComObject(WorkBookObj);
// do
// {
// result =
System.Runtime.InteropServices.Marshal.ReleaseComObject(WorkBookObj);
// }
// while( result == 0);
ComObj = null;
}
How can I solve this problem
Thank you
Leeor Chernov
R&D Department
SPLSoftware LTD.
ISRAEL
- 15
- ASP.Net >> i need true friends like uIt takes a minute to have a crush on someone,
a hour to like someone, and a day to fall in
love with someone, but it takes a lifetime to
forget someone (Friend).
http://jayabarathi.50webs.com/
|
| Author |
Message |
Youllneverwalkalone

|
Posted: Tue Mar 02 16:45:37 CST 2004 |
Top |
IIS >> IIS6 and downloadable JAR file
Hi IIS gurus,
I use IIS as download server for a Java based application (DoJa for
mobile phone). How it works : the phone download a package descriptor (a
.JAM text file), this file contains JAR package URL.
Phone downloads well both files on a Apache plateform but it refuses to
download files on a IIS/6 plateforme. MIME Type are the same, content
expiration disabled or enabled, i have the same behavior.
I compare headers between IIS/6 and Apache with a simple
GET /file.jar HTTP/1.1 (with JAM, i have the same scenario)
-------------8<-----------------------------------8<----------
HTTP/1.1 200 OK
Connection: Keep-Alive
Cache-Control: max-age=86400
Date: Tue, 02 Mar 2004 08:44:37 GMT
Content-Length: 23139
Content-Type: application/java-archive
Last-Modified: Mon, 01 Mar 2004 13:11:20 GMT
Accept-Ranges: bytes
Age: 0
ETag: "77dd71b08effc31:9ea"
Server: Microsoft-IIS/6.0
X-Pad: avoid browser bug
PK (binary data)
-------------8<-----------------------------------8<----------
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Tue, 02 Mar 2004 05:50:58 GMT
Server: Apache/1.3.29 (Unix) PHP/4.3.4
Last-Modified: Mon, 01 Mar 2004 16:55:25 GMT
ETag: "4000b9-5a63-40436afd"
Accept-Ranges: bytes
Content-Length: 23139
Content-Type: text/plain
Age: 10118
PK (binary data)
-------------8<-----------------------------------8<----------
The only difference i see is X-Tag header.
Binary data are identical.
Any idea why cellular phone refuse to download the files ?
J'ai comparé les headers, en dehors du X-Tag, rien ne différencie l'un
de l'autre. Y a t il un moyen de supprimer ce header ?
Merci,
Antoine D.
--
Valid email : remove the 2 N(zero)SPAM strings
Web Programming236
|
| |
|
| |
 |
David

|
Posted: Tue Mar 02 16:45:37 CST 2004 |
Top |
IIS >> IIS6 and downloadable JAR file
Sounds like a problem with your client since you can retrieve it with
another client. It is not clear in your comparison, but I want to know if
the Apache response headers are delimited by "\n" or "\r\n".
In your comparison, I see that Content-Type: and Age: headers are different
between the two servers, in addition to the X-Pad header. Why? I do not
know if it makes a difference to your client or not.
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Antoine Drochon" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
Hi IIS gurus,
I use IIS as download server for a Java based application (DoJa for
mobile phone). How it works : the phone download a package descriptor (a
.JAM text file), this file contains JAR package URL.
Phone downloads well both files on a Apache plateform but it refuses to
download files on a IIS/6 plateforme. MIME Type are the same, content
expiration disabled or enabled, i have the same behavior.
I compare headers between IIS/6 and Apache with a simple
GET /file.jar HTTP/1.1 (with JAM, i have the same scenario)
-------------8<-----------------------------------8<----------
HTTP/1.1 200 OK
Connection: Keep-Alive
Cache-Control: max-age=86400
Date: Tue, 02 Mar 2004 08:44:37 GMT
Content-Length: 23139
Content-Type: application/java-archive
Last-Modified: Mon, 01 Mar 2004 13:11:20 GMT
Accept-Ranges: bytes
Age: 0
ETag: "77dd71b08effc31:9ea"
Server: Microsoft-IIS/6.0
X-Pad: avoid browser bug
PK (binary data)
-------------8<-----------------------------------8<----------
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Tue, 02 Mar 2004 05:50:58 GMT
Server: Apache/1.3.29 (Unix) PHP/4.3.4
Last-Modified: Mon, 01 Mar 2004 16:55:25 GMT
ETag: "4000b9-5a63-40436afd"
Accept-Ranges: bytes
Content-Length: 23139
Content-Type: text/plain
Age: 10118
PK (binary data)
-------------8<-----------------------------------8<----------
The only difference i see is X-Tag header.
Binary data are identical.
Any idea why cellular phone refuse to download the files ?
J'ai comparé les headers, en dehors du X-Tag, rien ne différencie l'un
de l'autre. Y a t il un moyen de supprimer ce header ?
Merci,
Antoine D.
--
Valid email : remove the 2 N(zero)SPAM strings
|
| |
|
| |
 |
Jerry

|
Posted: Tue Mar 02 16:48:05 CST 2004 |
Top |
IIS >> IIS6 and downloadable JAR file
Your MIME type is not the same, IIS returns application/java-archive while
Apache returns text/plain.
Jerry
"Antoine Drochon" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> Hi IIS gurus,
>
> I use IIS as download server for a Java based application (DoJa for
> mobile phone). How it works : the phone download a package descriptor (a
> .JAM text file), this file contains JAR package URL.
>
> Phone downloads well both files on a Apache plateform but it refuses to
> download files on a IIS/6 plateforme. MIME Type are the same, content
> expiration disabled or enabled, i have the same behavior.
>
> I compare headers between IIS/6 and Apache with a simple
> GET /file.jar HTTP/1.1 (with JAM, i have the same scenario)
>
> -------------8<-----------------------------------8<----------
> HTTP/1.1 200 OK
> Connection: Keep-Alive
> Cache-Control: max-age=86400
> Date: Tue, 02 Mar 2004 08:44:37 GMT
> Content-Length: 23139
> Content-Type: application/java-archive
> Last-Modified: Mon, 01 Mar 2004 13:11:20 GMT
> Accept-Ranges: bytes
> Age: 0
> ETag: "77dd71b08effc31:9ea"
> Server: Microsoft-IIS/6.0
> X-Pad: avoid browser bug
>
> PK (binary data)
> -------------8<-----------------------------------8<----------
> HTTP/1.1 200 OK
> Connection: Keep-Alive
> Date: Tue, 02 Mar 2004 05:50:58 GMT
> Server: Apache/1.3.29 (Unix) PHP/4.3.4
> Last-Modified: Mon, 01 Mar 2004 16:55:25 GMT
> ETag: "4000b9-5a63-40436afd"
> Accept-Ranges: bytes
> Content-Length: 23139
> Content-Type: text/plain
> Age: 10118
>
> PK (binary data)
> -------------8<-----------------------------------8<----------
>
> The only difference i see is X-Tag header.
> Binary data are identical.
>
> Any idea why cellular phone refuse to download the files ?
> J'ai comparé les headers, en dehors du X-Tag, rien ne différencie l'un
> de l'autre. Y a t il un moyen de supprimer ce header ?
>
> Merci,
> Antoine D.
>
> --
> Valid email : remove the 2 N(zero)SPAM strings
|
| |
|
| |
 |
Antoine

|
Posted: Wed Mar 03 06:27:21 CST 2004 |
Top |
IIS >> IIS6 and downloadable JAR file
Jerry III wrote:
> Your MIME type is not the same, IIS returns application/java-archive while
> Apache returns text/plain.
Phone works with text/plain on Apache.
I tried also with MIME application/java-archive, phone refuses to download.
Antoine.
|
| |
|
| |
 |
Antoine

|
Posted: Wed Mar 03 07:14:33 CST 2004 |
Top |
IIS >> IIS6 and downloadable JAR file
David Wang [Msft] wrote:
> Sounds like a problem with your client since you can retrieve it with
> another client. It is not clear in your comparison, but I want to
> know if the Apache response headers are delimited by "\n" or "\r\n".
I agree with you, it sounds like a client problem.
I the 4 samples below, it is more clear.
> In your comparison, I see that Content-Type: and Age: headers are
> different between the two servers, in addition to the X-Pad header.
> Why? I do not know if it makes a difference to your client or not.
I tested with the same Content-Type, Age and X-Pad.
On the phone, only the Apache version works :(
Throught Wget i got (it is important to notice that it is *through*
Wget, i hope it reflects raw data captured).
CR = <US-ASCII CR, carriage return (13 or 0D)>
LF = <US-ASCII LF, linefeed (10 or 0A)>
### On Apache ###
HTTP/1.1 200 OK[LF]
Connection: Keep-Alive[LF]
Date: Wed, 03 Mar 2004 12:41:54 GMT[LF]
Server: Apache/1.3.29 (Unix) PHP/4.3.4[LF]
Last-Modified: Wed, 03 Mar 2004 12:37:53 GMT[LF]
ETag: "4000b8-104-4045d1a1"[LF
Accept-Ranges: bytes[LF]
Content-Length: 260[LF]
Content-Type: application/x-jam[LF]
Age: 0[LF]
[LF]
PackageURL = Package.jar[CR][LF]
(...bytes...)
HTTP/1.1 200 OK[LF]
Connection: Keep-Alive[LF]
Date: Wed, 03 Mar 2004 12:54:22 GMT[LF]
Server: Apache/1.3.29 (Unix) PHP/4.3.4[LF]
Last-Modified: Wed, 03 Mar 2004 12:37:53 GMT[LF]
ETag: "4000b9-5ee1-4045d1a1"[LF]
Accept-Ranges: bytes[LF]
Content-Length: 24289[LF]
Content-Type: application/java-archive[LF]
Age: 0[LF]
[LF]
PK(...bytes...)
### On IIS6 ###
HTTP/1.1 200 OK[LF]
Connection: Keep-Alive[LF]
Date: Wed, 03 Mar 2004 12:48:48 GMT[LF]
Content-Length: 260[LF]
Content-Type: application/x-jam[LF]
Last-Modified: Tue, 02 Mar 2004 18:28:12 GMT[LF]
Accept-Ranges: bytes[LF]
Age: 0[LF]
ETag: "bff5db1e840c41:a62"[LF]
Server: Microsoft-IIS/6.0[LF]
[LF]
PackageURL = Package.jar[CR][LF]
(...bytes...)
HTTP/1.1 200 OK[LF]
Connection: Keep-Alive[LF]
Date: Wed, 03 Mar 2004 13:01:18 GMT[LF]
Content-Length: 24289[LF]
Content-Type: application/java-archive[LF]
Last-Modified: Tue, 02 Mar 2004 18:28:12 GMT[LF]
Accept-Ranges: bytes[LF]
Age: 0[LF]
ETag: "bff5db1e840c41:a62"[LF]
Server: Microsoft-IIS/6.0[LF]
[LF]
PK(...bytes...)
Thank you for your help.
Antoine D.
|
| |
|
| |
 |
Antoine

|
Posted: Wed Mar 03 10:06:54 CST 2004 |
Top |
IIS >> IIS6 and downloadable JAR file
Antoine Drochon wrote:
> David Wang [Msft] wrote:
>
>> Sounds like a problem with your client since you can retrieve it with
>> another client. It is not clear in your comparison, but I want to
>> know if the Apache response headers are delimited by "\n" or "\r\n".
> Thank you for your help.
Now this work.
How do i (and a good advice!) solve it ?
I wrote a download.aspx ASP.NET script that read JAM file binary and i
output it using Response.WriteFile().
Antoine D.
|
| |
|
| |
 |
Jerry

|
Posted: Wed Mar 03 20:06:54 CST 2004 |
Top |
IIS >> IIS6 and downloadable JAR file
I would say that's your problem, you need to change IIS' MIME type for your
file to text/plain.
Jerry
"Antoine Drochon" <EMail@HideDomain.com> wrote in message
news:4045cf29$0$21657$EMail@HideDomain.com...
> Jerry III wrote:
> > Your MIME type is not the same, IIS returns application/java-archive
while
> > Apache returns text/plain.
>
> Phone works with text/plain on Apache.
> I tried also with MIME application/java-archive, phone refuses to
download.
>
> Antoine.
|
| |
|
| |
 |
Antoine

|
Posted: Thu Mar 04 09:14:02 CST 2004 |
Top |
IIS >> IIS6 and downloadable JAR file
Jerry III wrote:
> I would say that's your problem, you need to change IIS' MIME type for your
> file to text/plain.
It does not work with text/plain on IIS/6.
Antoine.
|
| |
|
| |
 |
David

|
Posted: Thu Mar 04 20:44:59 CST 2004 |
Top |
IIS >> IIS6 and downloadable JAR file
Can you use NetMon (network sniffer included with Windows Server 2003) and
get a capture of what is returned in the successful case with ASP.Net as
well as unsuccessful case ? That would help tremendously in figuring out
what the phone client is not agreeable with.
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Antoine Drochon" <EMail@HideDomain.com> wrote in message
news:4046029e$0$28133$EMail@HideDomain.com...
Antoine Drochon wrote:
> David Wang [Msft] wrote:
>
>> Sounds like a problem with your client since you can retrieve it with
>> another client. It is not clear in your comparison, but I want to
>> know if the Apache response headers are delimited by "\n" or "\r\n".
> Thank you for your help.
Now this work.
How do i (and a good advice!) solve it ?
I wrote a download.aspx ASP.NET script that read JAM file binary and i
output it using Response.WriteFile().
Antoine D.
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ IIS |
- Next
- 1
- 2
- ASP/Active Server Pages >> case sensitivei have this on my signup page
Set rs = Conn.Execute("SELECT * from rounds")
DO WHILE NOT rs.EOF
IF request.form("username") = rs.fields.item("username").value THEN
response.redirect("register2.asp")
END IF
rs.MoveNext
LOOP
the problem is.. some who signed up as say Jeff can still sign up as jeff
or jeFF how can i fix this??
Jeff
- 3
- Frontpage Client >> Can a newsletter from Publisher be copied with Front Page?We have a newsletter on Microsoft Publisher which is in 3 columns per page.
We are considering purchasing Front Page and are interested in putting the
newsletter exactly as it appears on Publisher onto our web site. Can this be
done with Front Page? We don't want to purchase Front Page if this cannot be
done.
Also, at home I have a Microsoft Office Standard Edition 2003. Can this be
upgraded to include Microsoft Publisher and Front Page?
- 4
- Frontpage Client >> FP2003 cant select the site language (English british) or English Australian)This is a multi-part message in MIME format.
------=_NextPart_000_0431_01C74C33.D071A3E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
FP2003 cant select the site language (English british) or English =
Australian) for All web pages.(Only english american)
I can only select English Australian spelling if I manually select it =
every time I open a new web page
It will not automatically default to it. =20
When I open FP I want the default spelling to be English Australian. can =
this be done ?
Tony M
------=_NextPart_000_0431_01C74C33.D071A3E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.5730.11" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>
<P><FONT face=3DArial>FP2003 cant select the site language (English =
british) or=20
English Australian) for All web pages.(<STRONG>Only english=20
american)</STRONG></FONT></P>
<P><FONT face=3DArial>I can only select English Australian spelling if I =
manually=20
select it every time I open a new web page</FONT></P>
<P><FONT face=3DArial>It will not automatically default to it. =
</FONT></P>
<P><FONT face=3DArial>When I open FP I want the default spelling to be =
English=20
Australian. can this be done ?</FONT></P>
<P><FONT face=3DArial>Tony M</FONT></P>
<P><FONT face=3DArial></FONT> </P></DIV></BODY></HTML>
------=_NextPart_000_0431_01C74C33.D071A3E0--
- 5
- IIS >> IIS is not passing credentials to COM+ server on some occasionsWe have two 2003 web servers that have COM+ proxy installed pointing to a W2K
server that has the COM+ package.
An ASP page is using this code to create an object:
Server.Createobject("ObjName.ObjName");
When we access one of the sites like: http://hostname.domain.com the
credentials go through and the object runs OK.
When page is accessed like http://xx.xx.xx.xx, the page gets this error:
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
The call to Server.CreateObject failed while checking permissions. Access is
denied to this object.
Event log records this error on the web server:
DCOM got error "General access denied error " from the computer xxxx when
attempting to activate the server.
The web servers are using load balancing. If the webpage is accessed like
http://loadbalanced.domain.com, the access to object is denied the same way.
It is really weird that we get the errors only if we go through the load
balanced host name or put the IP address in to the address bar in the browser.
The error goes away when Everyone is added as one of the users to the roles
on the COM+ server or if "enforce access checks for this application" is not
checked.
How can these two methods of loading a web page be different when the COM+
proxy is trying to send the user credentials to COM+ server?
- 6
- ASP.Net >> Tough ProblemI have a major problem. I have an entire HTML page
stored within a string variable.
ex.
<html><head><title>text</title></head>
<body>
some data
</body>
</html>
the variable, str, equals that entire string.
string str = "<html><head><title>text</title></head>" +
"<body>some data</body></html>";
I want to open a non .NET window and have pass that
string to it. Since the new window will be a PLAIN HTML
window it should parse the string I pass.
Any thoughts on how to accomplish this? I code in C# and
not VB but I can follow VB syntax. An idea I have is to
pass the entire contents within the URL to another
window. Within the new window, use ASP to get the
Request object then use Dynamic HTML InnerHTML property
to make the contents of the new window what is stored
within the request object. Only problem is, the info I'm
passing isn't just innerhtml stuff, it's an entire web
page!
Help!
-- Prince
-- Prince
- 7
- ASP.Net >> Q: Website administration tool.Hi!
I have created a website in Studio 2005, added a couple of folders with
restricted access using the neet function that is included in visual studio.
Now, when i deploy the work i have done, how can i access and add users and
rules to the web?
Users can create their own account on a web page, but i want to be able to
upgrade/downgrade them to us certain folders.
I just cant find the information in the helpfiles.
I am using the Login components from studio and the database that are
created.
Thanx
Martin
- 8
- IIS >> IIS, FrontPage, and Index ServerI have a question. Whenever I add FrontPage 2000 or 2002 extensions to a IIS
Web Site, Index Server has problems with indexing files. The deferring to
Index and Docs Indexed always are the same.
If I remove the FrontPage Extensions everything works. I have removed
Anti-Virus software and all 3rd Party services. It definitely is FrontPage
Extensions.
Any ideas?
--
Tomm
- 9
- ASP.Net >> How to get the Window NameHi,
I am opening a popup window using the code given below
window.open("test.aspx","EmployeeDetails").
how to get the window name("EmployeeDetails") in the new opened window
test.aspx using javascript.
And also is there a way to get the name("EmployeeDetails") in code
behind of test.aspx using asp.net
Thanks
Kiran
- 10
- IIS >> Website accessing files on different serverA developer has written a website that reads crystal report files loacted on
another server. The only thing we have come up with, is to change the
anonymous account (local IUSR) to a domain account and give the domain acct
read only access to where the files are located. Is there another/better
way to do this?
- 11
- ASP.Net >> Master/Detail Dataset/DataviewHi
I have two select statements, one pulling out the contacts and one
pulling out the primary address of the contact (if there is one)
And I would like to populate the dataset or rearrange a dataset so it's
arranged like this
contact
address
contact
address etc....
I am NOT using it in conjunction with a control but wanting to export
the whole dataset into excel.
e.g. exportToExcel.Dataview = ContactAndAddressDS.table(0).defaultview
Any ideas?
Thanks
Angela
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- 12
- ASP.Net >> alert box and problem with back buttonhi,
I wrote a function like this :
public static void Alert(string message){
message=message.Replace("'","\'");
message=message.Replace("\n","\\n");
Response.Write("<script>alert('"+message+"');</script>");
}
this function is showing an alert box when necessary but when the user
navigate to another page and click back button of the browser then the last
error message shown again (as excepted because script is written top of the
page) but is there an event that I can capture if the user navigates to the
page first time ? and disable showing of the error ? ) I want a simple way I
solve this by using client time , server time etc.
- 13
- Frontpage Client >> update on Event ID 1000 Source FrontPage 5.0Hello!
As I have posted on my previous inquiry about the above error, I tried
installing the same version of frontpage extension (v2002) on windows nt
server with IIS 4.0 and encounter no problem. It seems that there is a
problem on W2K. Hope that microsoft solve this problem. Kindly forward this
to microsoft developer so they can solve this bug.
Mark
Jack Brewster wrote:
I've never seen the error so I don't have any other suggestions. When you
find an answer, please be sure to post the fix here.
Good luck!
--
Jack Brewster - Microsoft MVP - FrontPage
"M P" <mark@textguru.ph> wrote in message
news:Oh7HS5PQDHA.1988@TK2MSFTNGP12.phx.gbl...
> Im using Windows 2000 SP4 and no Apache log.
>
>
> "Jack Brewster" <jack@mvps.org> wrote in message
> news:#ZT1LjKQDHA.560@TK2MSFTNGP10.phx.gbl...
> > Well, you didn't give the complete error before. :)
> >
> > I googled "Error #2005d" and came up with this:
> > http://www.rtr.com/fp2002disc/_disc2/0000047b.htm
> >
> > And the proposed resolution:
> > http://www.rtr.com/fp2002disc/_disc2/00000560.htm
> >
> > And this (if relevant)
> > http://www.rtr.com/fp2002disc/_disc2/0000055f.htm
> >
> > To summarize, according to these posts, it's either a problem with the
> > service.lck file or (again, only if relevant) make sure the apache log
> > directory is writeable by the frontpage unix user.
> >
> > Be sure to post back if either of these fix the problem.
> >
> > --
> > Jack Brewster - Microsoft MVP - FrontPage
> >
> > "M P" <mark@textguru.ph> wrote in message
> > news:ukFs38DQDHA.3020@TK2MSFTNGP10.phx.gbl...
> > > I have browse the link but I do not found Error #2005d. See complete
> > > Description below:
> > >
> > > Sources: FrontPage 5.0
> > > Category: None
> > > Event ID: 1000
> > > Type: Warning
> > > Description:
> > >
> > > Microsoft FrontPage Server Extensions:
> > > http://servername - Error #2005d Message: The server extensions were
> > unable
> > > to access the file "author.log". Please check the file permissions.
> > >
> > >
> > > Need help.
> > >
> > > Mark
> > >
> > > "Jack Brewster" <jack@mvps.org> wrote in message
> > > news:#0KjRg$PDHA.4024@tk2msftngp13.phx.gbl...
> > > > "M P" <mark@textguru.ph> wrote in message
> > > > news:eVvRLn5PDHA.2316@TK2MSFTNGP11.phx.gbl...
> > > > > Anyone knows how to solve this one? I can't solve this eventhough
I
> > > tried
> > > > > the KB from MS
> > > > > (http://support.microsoft.com/default.aspx?scid=kb;en-us;264977)
> > > > >
> > > > > This happens when I open a html form on web. I am using IIS 5.0
> Win2K
> > > SP4.
> > > > >
> > > > >
> > > > > Mark
> > > > >
> > > > >
> > > >
> > > > There are several references to FrontPage with Event ID 1000 on this
> > page:
> > > > http://www.eventid.net/display.asp?eventid=1000&source=
> > > >
> > > > I just use the browser's Find capability (Edit | Find (on this page)
> in
> > > IE)
> > > > and search for "front" to see the different entries that my relate
to
> > your
> > > > problem. There's a bunch, so be sure to top off your cup of coffee
> > before
> > > > you jump in.
> > > >
> > > > Good luck!
> > > >
> > > > --
> > > > Jack Brewster - Microsoft MVP - FrontPage
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
- 14
- ASP/Active Server Pages >> Shared login authentication between two domains?!Hi all,
We have a site called http://www.mydomainxyz.com/ and our network guy
has set up load balancing with multiple IIS servers. We also have a
function that allows users to upload photos on our website. Recently
we found that doing load balancing will cause the upload function not
workable sometimes and we came up with a plan by creating a specific
domain (let's say http://upload.mydomainxyz.com/) and linking it to
our primary web server. We expect that every uploaded pictures will be
stored under the folder of our primary IIS server. But here comes my
problem -
Since all users are required to login before uploading pictures, We
found that the new domain cannot carry over the login information that
our www domain already knows. In other words, if our users log in
http://www.mydomainxyz.com/, they have to login again when they switch
to the page beginning with upload. Is there any way that these two
domain can share the same login information without requiring them to
input login information again?
The http://upload.mydomainxyz.com/ will only be used for uploading
pictures only. All other pages we will use the www domain.
Here is what I did when login to www.mydomainxyz.com -
<%
set rs=server.createobject("adodb.recordset")
sql="select ID, username, pass from registration where username='" &
request("username") & "' and password='" & request("password")& "'"
set rs = conn.execute(sql)
if not rs.eof then
'Login cookies
response.cookies("login_situation")="OK"
response.cookies("login_name")=rs("username")
response.cookies("login_userid")=rs("Id")
else
response.redirect ("../login.asp")
end if
%>
- 15
- IIS >> IIS 4.0 to 5.0 Migration Utility problem (CAB file extraction error)I am using Microsoft's IIS migration utility to transfer settings and
content from a website running on IIS 4.0 to a server running IIS 5.0.
The wizard is able to successfully create the CAB file on the source
server and download it to the target server. Then when it tries to
extract the files from the CAB file on the target, it fails with the
following error message:
"Not enough storage is available to complete this operation."
Details:
--------
Source server:
- Windows NT 4.0 Enterprise SP6 w/ IIS 4.0 and FTP
- Oracle client 7.x
Target server:
- Fresh install of Windows 2000 Advanced Server SP4 w/ IIS 5.0 & FTP
- msado15.dll version: 2.53.6200.0
- Oracle client 9.2
- 2.3 GB RAM, 7 GB free space on C:, 24 GB free space on D:
I was remotely connected to the target server via Terminal Services
client from a Windows XP (SP1) PC. I logged in using a local
administrator account. The CAB file is 224 MB in size, containing about
1,129 files.
I tried to extract all of the files manually using Windows Explorer,
but received the same error message. However, if I extract a small
number of files (about 100 or so) I am successful.
I looked at Microsoft KB article 821257:
http://support.microsoft.com/default.aspx?scid=kb;en-us;821257
but I don't think this article applies to my situation. I'd greatly
appreciate any ideas or thoughts anyone might have to solve this
problem.
Thank you!
Sanjay
|
|
|