 |
 |
Index ‹ Web Programming ‹ Frontpage Client
|
- Previous
- 1
- IIS >> iis - cgi timeout problemHi,
I would appreciate if someone can answer the problem:
I am having a "cgi timeout problem" after running a script for 5 mins (with
IIS 5.1 on Windows XP)
I have tried to change the 'cgi script timeout' (Web Sites ->
Configuration -> Process Options using the IIS management tool), following
some instructions/recommendations, but it seems it does not work.
If someone can suggest how to solve the issue, I would greatly appreciate
your help.
Many thnaks,
Jae
- 2
- ASP.Net >> Datareader vs Tableadaptor questionHi, I currently display all the data on a website using tableadaptors
and objectdatasources.
Would it be significantly faster if I was to display the data by
writing the code for a datareader and connecting to the database
directly and populating my tables that way?
Or is the tableadaptor using a datareader anyway for simple select
statements?
This all comes about as I have read a few articles regarding the
benefits of datareader over datasets, and I am a bit confused if the
tableadaptor/objectdatasource method I am using is using datareaders or
datasets?
I have a read quite a few articles but none the wiser as yet.
Thank you,
Steve.
- 3
- ASP.Net >> Formatting vs 2005Hello,
I drag 2 images next to each other in a vs 2005 web page.There is a
white space between them. When I look at the code it is formatted to be on
seperate lines.If I remove all the spaces and the tags are next to each
other it is correct(No whitespace). How do I make this the default?Its
rather annoying.
Thanks
Mike
- 4
- ASP.Net >> Changing HTML encoding in the DB?I'm migrating a table of web site content into our CMS. Our CMS (custom
built) stores all HTML in the DB as encoded html.
This one particular table, however, has the HTML stores as unencoded HTML.
I'd like to make this table consistent with the rest of the site data in all
the other tables.
The only way I can think of to do this is to write an ASPX page that queries
all records, then loops through them all doing an UPDATE statement. Just
wondering if there's a better/faster/easier way?
-Darrel
- 5
- ASP.Net >> TextBox Control Font SizeI am using textboxes, buttons labels and drop down lists on a web page, but i
noticed that textboxes and buttons font size doesn't change when i change the
font size in IE ( from IE menu: View>>Text Size>>) though the size is
changing for lables and drop down lists, i am using skin for these controls
but all the skin have the same font settings(font size is set to small) i
tried removing the textbox skin to see if this chnages anything but it
doesn't.
any ideas?
I am using .Net 2 and IE 6
- 6
- Frontpage Client >> meta'sAre meta tags necessary on every page of the site, or just the index.
I'm trying to decide if purchasing one of those 'drive customers to your
site' programs is worth the money.
thanks much
--
N
- 7
- Frontpage Programming >> Microsoft VBScript runtime error '800a000d'Hello,
I have an error: Microsoft VBScript runtime error '800a000d'
Type mismatch: 'OpenDB' and it says to go line 4 on the page with the error
here are the 1st 4/5 lines of code that I have
<%
If Request.Form("Operation") <> "Create" AND Request.Form("Operation") <>
"Edit" And Request.Form("Operation") <> "Print" Then
Call OpenDB(SQLConn)
Set RS = Server.CreateObject("ADODB.RecordSet")
'----- Find Number of questions
tempQuestionCount = SQLConn.Execute("Select Count(ID) From PM_Questions")
Session("QuestionCount") = tempQuestionCount(0)
Line 4 is Call OpenDB(SQL Conn)
Do you know what can be the problem ?
- 8
- ASP.Net >> Permissions Error When Accessing Access DatabaseWhen I attempt to access a Microsoft Access database from my website, I
recieve the following error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Security Exception
Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust
level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the
permission of type 'System.Data.OleDb.OleDbPermission, System.Data,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Take note that the description says that this can be fixed by modifying the
configuration file, which I am assuming is referring to the Web.config file.
I have successfully run this application on my machine using Visual Studio
2005's Development Server with the settings currently in the Web.config
file, so if modifying the Web.config file will fix it, what do I need to
change? Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
- 9
- ASP.Net >> enum data typeTrying to declare a enum datatype.
Below works
Public Enum EnumCharSet
IBM037
IBM437
IBM500
End Enum
When I add a new string with a "-", error occur says that "End of statement
expected"
For example
Public Enum EnumCharSet
IBM037
IBM437
IBM500
ASMO-708
End Enum
Does not work because ASMO-708 has a "-" there.
What went wrong and what should I do?
regards,
Guoqi Zheng
http://www.ureader.com
- 10
- ASP.Net >> GZip output compression with AJAXHi. To make page downloading quicker, I added GZipStream into the
Response filter. My (shortened VB) code snippet from Global.asax looks
like this:
...........................................
Sub Application_BeginRequest(...)
If Request.RawUrl.Contains(".aspx") And _
Not Request.Headers("Accept-Encoding") Is Nothing Then
If Request.Headers("Accept-
encoding").ToLower().Contains("gzip") Then
Response.Filter = New GZipStream(Response.Filter,
CompressionMode.Compress, True)
Response.AppendHeader("Content-encoding", "gzip")
' Else...try deflate
End If
End If
End Sub
...........................................
I added the check for .aspx in the request because it was messing up
images. Now that I'm using AJAX, it's giving me problems again. When
AJAX (I mean ASP's AJAX thing, but I'm not using Atlas) tries to
communicate with the server, it (JS) alert()s me that it could not
parse the server's response, and is probably because of a filter
(meaning this simple GZip stream).
How can I more efficiently check whether or not it is appropriate to
compress the output? And, by the way, is there a better way of
compressing output that won't mess up with images and could possibly
compress AJAX also?
-Mike PII
- 11
- 12
- ASP/Active Server Pages >> Please help with "Checkboxes"I have 50 checkboxes whose "yes" values are being e-mailed to a specific
user after the submit button is selected. The e-mail recipient sees only the
names of the checkboxes that were selected, however, there is a lot of white
space where the unselected checkboxes exist, but are not visible.
Can someone show we some a way to get only the selected checkbox values to
appear sequentially without spaces?
Any help is greatly appreciated. Please respond to newsgroup only.
- 13
- ASP.Net >> I am facing a serious issue when trying to start an applicationMy asp.net application uses a class which needs an unmanaged dll named
SSlibrary.
When trying to load the page it gives me the folllowing error.
=== Pre-bind state information ===
LOG: DisplayName = SSLLibrary
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/Licmanager
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: SSLLibrary
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/licmanager/e2cac9e2/bed35a47/SSLLibrary.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/licmanager/e2cac9e2/bed35a47/SSLLibrary/SSLLibrary.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/Licmanager/bin/SSLLibrary.DLL.
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: SSLLibrary, Version=1.0.2098.26325,
Culture=neutral, PublicKeyToken=null
Can any body help me out of this situation.
Regards
Girish
- 14
- Frontpage Client >> FP2K3: Adding a Server to my Site?I have web-space in two places. These are 5MB of free space included =
with my Road Runner broadband account and an almost unlimited amount of =
space on my in-house IIS 6.0 server running on Windows Server 2003. =20
Port 80 is not blocked by Road Runner. However, I neither want to abuse =
this nor raise any red flags at Road Runner.
So, I am creating all my freely available public pages on my Road Runner =
web space, but I want to store any significant images (>50K in size) or =
download files on my personal server.
How do add my server to my site in Frontpage?
carl
- 15
- ASP.Net >> Accessing cookies from response objectHi,
I'm working on a winapp that sends a httprequest to a remote server.
The server actually sends back a cookie for login request. I have
searched a lot. I didn't find the right solution for accessing the
cookies from the response object.
I tried to check the cookie count on response object which shows
always as 0. Some one please tell me how to access cookies from a
httpresponse.
Thanks,
Hari
|
| Author |
Message |
mdavis1

|
Posted: Fri Jul 22 09:42:02 CDT 2005 |
Top |
Frontpage Client >> Center Alignment
i have a set of links on the splash page of my website. it's a table and some
text
http://www.foxarch.com/
i want to have it centered vertically when the page is expanded.
is there even a code for that. is it even possible?
Web Programming329
|
| |
|
| |
 |
Thomas

|
Posted: Fri Jul 22 09:42:02 CDT 2005 |
Top |
Frontpage Client >> Center Alignment
Insert a base table set to 100% width and height, set the single cell alignment to Middle, Center,
then insert another table into this cell to hold your content.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
"Sothpaw" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
>i have a set of links on the splash page of my website. it's a table and some
> text
> http://www.foxarch.com/
> i want to have it centered vertically when the page is expanded.
> is there even a code for that. is it even possible?
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ Frontpage Client |
- Next
- 1
- ASP.Net >> Silverlight Newsgroup?Yes, I know this isn't a silverlight newsgroup, but...
1) Can anyone tell me where we can discuss Silverlight?
2) Every time I try to install the developer component, I get this error
message:
Error 3010
Silverlight Installation has completed successfully. However, a
restart is required to complete the install. Please save your
work and restart your computer.
When I restart, it's not in my start menu and doesn't appear to be anywhere
in IE. How can I hope to become a silverlight blackbelt when I can't even
find the dang thing?
Thanks.
[win xp, SP 2, IE6, VS2005]
- 2
- 3
- 4
- 5
- ASP.Net >> Creating a imageHi All,
In my application I am having a report page and which is required to
store as image. How can I store the aspx page in image file?
TIA,
Him
- 6
- ASP.Net >> AVERAGE SQL error... help pleaseHi. I have the following sql statement:
SELECT AVG(grade) FROM tblEvalGrades WHERE SSN='123456789'
I get the following error when trying to output my table
in my datagrid:
ERROR: Decimal byte array constructor requires an array
of length four containing valid decimal bytes
I am using Access as my database with ASP.Net c#. This
error is an access error though.
The grades that I have are GPAs. I am using an Access
database, and the field grade is Precision 4, Scale 2,
and Decimal Places 2. Could someone tell me what I need
to do to get rid of the error. Thank you in advance.
Steven
- 7
- IIS >> accessing IIS sites from a MacWould a Macintosh based user have trouble accessing an extranet site that is
IIS based that requires Windows authentication? If so, is there any way
around this?
- 8
- ASP.Net >> HttpWebResponse Problemsok, heres the problem.. i have an asp.net page that im using to kind of
relay information back and forth. So on the Page_Load i make a request to a
webservice and return some xml back to the first calling app. now... i wrote
a test app to try it out, but i cannot get the proper data from it. It
always says the the ContentLength is -1 so my my StreamReader.ReadToEnd
throws an exception.. heres the chunk of code in the driver app:
webRequest = (HttpWebRequest)WebRequest.Create(webRequestServer);
webRequest.Method = "POST";
webRequest.ContentLength = doc.InnerXml.Length;
webRequest.ContentType = "text/xml";
webRequest.KeepAlive = false;
myWriter = new StreamWriter(webRequest.GetRequestStream());
myWriter.Write(doc.InnerXml.ToString());
myWriter.Close();
webResponse = (HttpWebResponse)webRequest.GetResponse();
StreamReader myReader = new StreamReader(webResponse.GetResponseStream());
responseFromServer = myReader.ReadToEnd();
myReader.Close();
Im thinking the problem is on the asp page. A weird thing i came across is
that it wont let me do a XmlDoc.Save on the response. so what i end up doing
is this:
myXMLDoc.LoadXml("xmlString")
responseXML = myXMLDoc.DocumentElement
Response.Clear()
Response.BufferOutput = True
Response.ContentType = "text/xml"
responseXML.WriteTo(New XmlTextWriter(Response.Output))
Response.Flush()
Response.Close()
I tried adding and appending a ContentLength Header to the response, but no
good.. and you can set the content-type fine. but there is no property for
Content-Length.
so what do i do
thanx for any help
- 9
- 10
- ASP.Net >> Scope of Shared PropertiesQuick question:
If my page instantiates a class that has a protected shared property,
is that property shared across all instances of the class...even those
that I didn't instantiate, but another user accessing the page did?
Thanks!
- 11
- 12
- ASP.Net >> Firing Datagrid events without maintaining ViewStateHi,
I want to fire events of Datatgrid without maintaining the view state.
If I disable the ViewState then the events are not fired.
The reason I don't want to maintain view state is because its too heavy when
the data
increases.
Is there any way I only write the ViewState which is required to fire the
dataGrid Events?
I tried to override the SaveViewState and SavePageStateToPersistanceMedium
but don't have an idea what
part of view state is required to fire datagrid events?
I also want to avoid javascript.
Can any body help?
Thanks
Dinesh Upare
- 13
- 14
- 15
|
|
|