|
mukera wrote: i need code for an email search engine that i am creating
note the contradiction ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
Hi all
I have created a very nice nested AJAX accordion menu, and am trying to iron out the last creases. As we know, when a users clicks on an accordion pane, this expands the pane and shows its content area. Now this event is hidden within the AJAX .net toolkit itself. What I require to do is, if the pane is already open, that the user cannot close it by clicking the same pane, but must instead click a different pane thus opening another pane, and in turn closing the open pane. Therefore i need to know how to catch the click event on an AJAX Accordion pane before it fires. I am aware I can hack this by after the event fire setting the "Selectedindex" of the pane back, but this is visible to user as the pane will close then open again. Any ideas?
|
|
|
|
|
By live, I mean where it can be accessed on the internet.
I am an old Windows Application developer. When I started my current job as a windows application developer, I inherited an existing website. Over the past five years I have worked on my this website. I have no problem building web applications for this website.
My problem is, the site had already been set up before I got here. My predissesors left no notes or instructions on what they did. I would like to know how it’s done. How does it go from the web server out to where it is accessed on the internet? Is it something I need to by a book for?
I would like to move my website from our old server to the new one. I would also like to upgrade it from .net 2002 to .net 2005, but those are other topics.
Robert
|
|
|
|
|
Depending on the configuration you need to do the following:
Assuming you are going to use Windows 2003 or Windows 2008 as your webserver. Be sure to read the details up in the manual of IIS 6 for windows 2003 or IIS 7 for windows 2008. This is just a basic outline of the steps involved.
Before you start you should do two things:
1. Have a static ip-address with a DNS entry attached under which the website can be accessed.
2. Have your windows server configured so that IIS is installed.
With all that setup perform the following steps to install the website for internet use.
1. Set up the windows user rights on the directory containing the site content so that the Network service user has read access.
2. Configure a new website on IIS with the dns name under which it will be reachable as the hostheader (Check docs for hostheaders in IIS for more info on how to set this up).
3. Point the home directory of the new website to the directory where to content of the website is placed on the harddrive
4. Configure anonymous access for the website so that users can view the pages on the webserver.
5. Configure additional security options like windows logon if you are using any authentication and authorization mechanisms.
Now you're all set to serve up the website.
Did I mention that this is only a global description of what should be done? Well, it is and there might be some variations, so again: Do check the manual of IIS for the exact details.
WM.
What about weapons of mass-construction?
"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
My blog
|
|
|
|
|
Thanks WM.
My last attempt brought the website down. After I was done having a heart attack, I got it up and running again.
I'll give this a try.
|
|
|
|
|
hey im trying to make an app that will log in to facebook ,
im using the following method to establish connection and post my credentials:
public static void start_post(string strPage, string strBuffer)
{
//Our postvars
byte[] buffer = Encoding.ASCII.GetBytes(strBuffer);
//Initialisation
HttpWebRequest WebReq = (HttpWebRequest)WebRequest.Create(strPage);
//Our method is post, otherwise the buffer (postvars) would be useless
WebReq.Method = "POST";
//We use form contentType, for the postvars.
WebReq.ContentType = "application/x-www-form-urlencoded";
//The length of the buffer (postvars) is used as contentlength.
WebReq.ContentLength = buffer.Length;
//We open a stream for writing the postvars
WebReq.Referer = "http://www.facebook.com/index.php?";
Stream PostData = WebReq.GetRequestStream();
//Now we write, and afterwards, we close. Closing is always important!
PostData.Write(buffer, 0, buffer.Length);
PostData.Close();
//Get the response handle, we have no true response yet!
HttpWebResponse WebResp = (HttpWebResponse)WebReq.GetResponse();
//Let's show some information about the response
Console.WriteLine(WebResp.StatusCode);
Console.WriteLine(WebResp.Server);
//Now, we read the response (the string), and output it.
Stream Answer = WebResp.GetResponseStream();
StreamReader _Answer = new StreamReader(Answer);
reply = _Answer.ReadToEnd();
Console.WriteLine(reply);
}
i get the following respond from facebook:
"sorry, we're not cool enough to support your browser. please keep it real with the following browsers: ...."
any idea how to work around this facebook check , as im sending same data as my IE agent i dont know what else will work , asking for your expert help.
thank you.
Net
|
|
|
|
|
|
i posted that question thought i'll have more luck here ,
there are no work arrounds mentioned on google ,
only entioned that facebook sucks for this :P ,
btw its not a problem its some protection against none cool browsers
im looking for a programatic wrok arround
Net
|
|
|
|
|
Hi there.
Not sure if this is correct messageboard, so sorry if it's isn't.
I have recently started using INtrexx Extreme at work to create portals and applications. While designing these there is a button to view your work in a browser.
When i do this, i get a browser which just says 'Service Unavailable'.
If I go into IIS and browse the website, it brings the same thing up.
I found a thread online that say's if you go into the properties of the 'My Websites' folder and check the box 'Run WWW service in IIS 5.0 isolation mode'. When I do this it solves the 'Service Unavailable' problem (although a cross appears next to the 'My Websites' folder) but when i try to view the default site again it just brings up the page cannot be displayed message.
My internet connection is working, just incase anyone thought of that.
Any help would be greatly appreciated.
|
|
|
|
|
Have you tried the vendors website? You are more likely to find your ansewr there.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi all,
I developed a sample web site which prints current system date time. After publishing the web site I created a virtual directory name and mapped the published folder.
When i try to access the website from browser as http://localhost/test/default.aspx[^] ,it returning me a error as Your are not authorised to view this page.
This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage.
But when i do the same process in another system it works fine.
I modified the Directory security setting by enabling the Anonymous access.... still i am getting the same error.
I check my user account details it has rights to access the IIS.
Please suggest me to over come this problem
Thanks in advance
Know is Drop, Unknown is Ocean
|
|
|
|
|
Check the following:
1. Is anonymous access enabled for the virtual directory (Check the directory security settings in IIS for this)
2. Check that the network service account has access to the physical directory (ASPNET account under Windows XP)
3. Check the security settings in your web.config, is there a line in <authorization> saying <deny users="?"/>
This should help overcome your HTTP 403 error.
WM.
What about weapons of mass-construction?
"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
My blog
|
|
|
|
|
Can any One tell how can we implement the return url setting in the web config so that we secure our web pages.
tell me
|
|
|
|
|
I have no idea what you're asking, but I think it's an ASP.NET question.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Are you looking at the 'FormsAuthentication', which puts a returnURL querystring to the logon page?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
i want to chage the value of cell with out refreshing the page via ajax.
any one knows plz help me asap.
|
|
|
|
|
Well, first of all, a datagrid means you should ask in the ASP.NET forum.
In what circumstances do you want to change the value ? What do you expect to trigger the AJAX call ? The server cannot send data via AJAX, that is, the trigger cannot be on the server, the client has to ask for it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi all,
I have an asp.net application which generates a set of reports using reportviewer and rdlc files..
The problem is that on a few of the laptops the page covers up only half of the entire screen..
Secondly, the reportviewer controls are getting overlapped..
Has anyone come across such probs and can help me out..
How could i debug or search the reasons for such a problem??
Thanks in advance
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
There is nothing to debug, the resolution on your notebook is smaller than the resolution you wrote the page at. You need to redesign it to work on a smaller page, or accept that it doesn't work well on that small a resolution.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks christian for replying..
Actually this problem occurs only on some laptops..
And its the bigger laptop screen that causes the problem..
Is there anything you might know that can be set/reset that makes it to take the actual resolution of the screen or something..
or probably a field or function that cares of the resolution setting for a webpage??
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
Hi.
I want to display some picture basced on x and y co-odinates(screen resolution) on the client screen.I have no idea for how to solve this problem.Please help me.
ThankYou,
Rasma.
|
|
|
|
|
You can use css to float the image and position it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
There's actually nothing you can do in a web page that will affect the resolution of the screen on a client machine.
So stop worrying.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Good point....
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|