|
asp.net,c#. I had completed a application named discussion forum in which every one can post their messages and view replies to that messages..
My Question is if I posted a new message will a alert can be genarated to all the persons who r using it.. it is possible or not if possible help me out
-- modified at 5:20 Friday 18th May, 2007
ddddd
|
|
|
|
|
Yes you can generate the Alert Message using Javascript.
But there is no need for alerting the message if teh user wnat to post the message please check he is logged in or not. that itself is ok.
Why are you trying to do the Application more complicated.
Regards,
Satips.
|
|
|
|
|
A simple doubt. An aspx page is reading contents from XML file. Will this make any problem if more than one users accessing the page at a time. I use XMLTextReader to read XML files.
|
|
|
|
|
|
Navaneeth. wrote: A simple doubt.
You mean question?
(I see that mistake a lot here, do you have any idea why it's so frequent?)
Navaneeth. wrote: An aspx page is reading contents from XML file. Will this make any problem if more than one users accessing the page at a time.
As long as you open the file only for reading, there is no problem.
---
single minded; short sighted; long gone;
|
|
|
|
|
Navaneeth. wrote: Will this make any problem if more than one users accessing the page at a time.
No Till you open for read only
that was my question before few months
I was developing a console application which parse xml file of 1 GB to check this i crated different instances of application and parse common xml file.
i was able to open Xml file at same time. But the respose time for parsing xml file affected by few seconds don't know the reason
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi,
I posted yesterday about this and did not find a solution. I am trying to create a custom control using the instructions given here:
http://blogs.msdn.com/coding4fun/archive/2007/05/05/2429765.aspx
If I use the local host for running the site, it works fine. But if I try doing the same on our web server, I get the following message, even if I don't insert the custom tag into the aspx page:
<br />
Compiler Error Message: CS0246: The type or namespace name 'myControls' could not be found (are you missing a using directive or an assembly reference?)
NOTE: This error is shown when the page loads, and not when it compiles. It compiles without errors.
I'm using Visual Web Developer, although I also bought Visual Studio 2005 Standard recently. I am connecting to a remote web server using FTP.
Does anybody have any suggestions? This is driving me crazy. Any help would really be appreciated.
Thanks,
James
|
|
|
|
|
We have the following requirement coming up from our client.
Framework 1.1,c#
Ours is a Content(Mainly O/S files) Providing System. Files(.pdf,etc) will be stored in folder(s). Google will be given links to these contents. For e.g.http://<webserver>/<virtualdirectory>/<folder>/<filename>.
We may need a login for seeing some of the contents. We have following three options.
1. An aspx page -> download.aspx?file=<filename>&otherparam=<paramvalue>
OtherParam will control whether login is required for downloading this content.
2. HTTPModule which will control all the requests coming to Virtual Directory
3. Forms Authentication which will invoke the login page automatically.
Suppose if we give a link as in option 1, will google be able to crawl the PDF and search for keywords. How google crawls any pdfs and searches for keywords? I searched google itself and could not get the exact idea.
Second and third option also works.
We will check for authentication(Authentication through third party web service.) in all the options. User also will be coming through URLs listed in google search. How to differentiate between google crawling and external user so that authentication may be turned off during runtime to increase performance during crawling.
Help would be greatly appreciated.
|
|
|
|
|
K.P.Kannan wrote: Suppose if we give a link as in option 1, will google be able to crawl the PDF and search for keywords.
I think it can't.
K.P.Kannan wrote: How google crawls any pdfs and searches for keywords?
Google can't open the PDF and search for keywords.
K.P.Kannan wrote: How to differentiate between google crawling and external user so that authentication may be turned off during runtime to increase performance during crawling.
There is no efficient way to find out the request is given by a spider or normal user. And one more thing google won't be able to crawl efficiently a page that uses session id's and authentications.
|
|
|
|
|
Frankly you have to choose if your content is publically available or not. You can't make information available only to Google, as they will cache the pages and make them available to everyone.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi all,
I have a problem in attaching the crystal report to my web application. when i try to create an instance in coding it says i am missing a directive.
plz tell me what to do i wanna attache the crystal report i created to the web application.
rkherath
|
|
|
|
|
hai to all,
How to add a formula to the designed crystal report????
I have tried but it is not at all working properly.Give any links which will give an idea for adding a Formula for the designed crystal report???
I have designed a report with the VIew (means dataset).After that i want to add a formule on some of the fields.
CAn any one please suggest with some examples??
Thanks in advance.
Regards,
kissy
kissy
|
|
|
|
|
Open a Crystal Report in Visual studio.
Press Ctrl + Alt + T,
You will get Field explorer window in left hand side.
There you will find Formula fields,
Right click select New...,
You will get a dialogue texbox to type a name for formula,
when you type the formula name you will get a formula window.
there you can write your formulae.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Hi Guys,
I using the followiing code in my Web.config file
<customErrors mode="RemoteOnly" defaultRedirect="default.aspx">
<error statusCode="404" redirect="default.aspx"/>
</customErrors>
My problem is if give an file name with extensions(like .htm,.php,.asp etc) other than .aspx the page is not redirecting to the default page.
It shows the error page of the Browser. HTTP Error 404 -File or directory not found.
I want to redirect it to my default page.
If anybody has suggestions or coding .Please reply.
Thanks
Jith
-- modified at 3:04 Friday 18th May, 2007
|
|
|
|
|
jithbiz0033 wrote: My problem is if give an file name with extensions(like .htm,.php,.asp etc) other than .aspx the page is not redirecting to the default page.
because For instance, if you define a custom error for the status code 404, ASP.NET will issue it anytime you refer to a non-existing .aspx page
The custom errors are only issued for those elements handled by ASP.NET. For instance, if you refer to a non-existing .htm page, IIS issues the standard 404 error
Taken from MSDN
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi,
Is there any way that I could redirect the other extensions to my default page?
Thanks,
Jith
|
|
|
|
|
jithbiz0033 wrote: mode="RemoteOnly
try with mode="On"
Might be you are trying at the local host.
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
jithbiz0033 wrote: My problem is if give an file name with extensions(like .htm,.php,.asp etc) other than .aspx the page is not redirecting to the default page.
This is Because web.config is not having any role in serving HTML or PHP pages. Webserver will be doing this job. Web.Config will be working only with the extensions mapped with aspnet_isapi.dll.
You can redirect HTML or PHP file by changing the default 404 error message in IIS.
|
|
|
|
|
Hi,
How can I redirect other extensions files ? to my default page
Thanks
Jith
|
|
|
|
|
Hi! i have a page called BasePage.aspx containing an iFrame whose default source is Login.aspx. in web.config file i have folllowing setting ...
<authentication mode="Forms">
<forms loginurl="Login.aspx" path="/" protection="All">
<authorization>
<deny users="?">
project's startup page is BasePage.aspx. on running project loads Login.aspx page & give javascript error. if i set loginUrl="BasePage.aspx" then on running project iFrame starts displaying infinite pages & hanged. what is the problem?
Thanks & Regards,
SAMir Nigam,
Software Engineer,
STPL, Lucknow, India.
|
|
|
|
|
I think you are confuse in the loginUrl
loginUrl set to the page which is the URL to use for redirection if ASP.NET does not find an authentication with the request.
means this should be the page where you want to redirect the user if the authentication fails .
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
suppose that a.aspx, b.aspx & c.aspx are commmon pages & others are secure pages. in my startup page there r 4 tabs. clicking on first three tabs: a.aspx, b.aspx & c.aspx pages opens in a iFrame in the startup page. now on clicking 4th tab, login page is opened in the iFrame in the startup page. if login is successful, then user can view secure pages & if not then iFrame of stratup page should contain login.aspx page. how can i achieve this?
Thanks & Regards,
SAMir Nigam,
Software Engineer,
STPL, Lucknow, India.
|
|
|
|
|
|
I have a populated datatable. I want to change the datatype for a particular column in that datatable at runtime. Would i able to change it? How?
I am developing my application in vs 2005 (asp .net 2.0)
Sandeep Kumbhar
|
|
|
|
|
HI,
How can I set a Button, so that it is the last item to be loaded on to the form in the page_load event.
thank you
|
|
|
|