|
Hello,
I am using Microsoft.Web.Administration api s to handle some functionality of IIS7. How do I get Virtual Directories of a particular website( a website not an Application.)?
Please let me know.
Nana
|
|
|
|
|
Hi guys.
I have been running my aspx pages perfectly till a few weeks ago.I didnt do any configurations on my pc.Atleast not that I know of.So now I cant run any of my pages coz it tells me the page cannot be found, even when I hit the run or debug button.
Any ideas guys.Please.
Thanx in advance.
kagiso
|
|
|
|
|
|
Yes.I stopped it and then restarted it again.
kagiso
|
|
|
|
|
have u changed the location of your project? Ensure that IIS has started...
Koushik
|
|
|
|
|
IIS is started and the project is in the folder.
kagiso
|
|
|
|
|
Can you create a simple html page and place that in your virtual directory and see if you can get to that.
Also, i'd go directly to the IIS manager, right click on an aspx file and go to browse - check and see if you can see anything that way.
|
|
|
|
|
Someone said it mite be coz maybe my IIS was installed after my Visual Studio.NET so I uninstalled and reinstalled them accordingly.And again, they said I mite have to run aspnet_regiis.exe but that was not in the directory it was suppose to be in .Net framework/v1.0.3705/aspnet_regiis.exe.
I found it in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727.I still ran it and things have not changed.I still copied a simple html page onto my IIS manager and tried to connect and still I cant geddit.
Anymore ideas guys??Please help.
Thank you in advance.
kagiso
|
|
|
|
|
The alternative way you can do is create new project and add forms and pages from the previous project and try to run it..May be it work fine...
suchitamanandhar@hotmail.com
|
|
|
|
|
How can I connect to SQL Server 2000 database through .Net 2.0 Remoting using ASP.Net(C#)?
How can I connect to SQL Server 2000 database through COM+ using ASP.Net 2.0(C#)?
|
|
|
|
|
the only change you have to do is i think in datasource..You can give the remote server name here and check it.
suchitamanandhar@hotmail.com
|
|
|
|
|
I'm busy developing a control that provides simple paging functionality and would like some input on some final finesses for the control. The control takes a DataTable and a PagingKey parameter, and creates a set of page buttons showing alphabetic groupings of the PagingKey values. E.g. in my test project I use a table of Employee records, with surname as the PagingKey. On calling DataBind() on my control, it populates a Repeater with a series of buttons, with texts of 'Aa - An', 'Ao - Az', etc. I'd like some input on the following:
1. The range of keys for each button is determined by my page size, so with large data sets my collection of buttons can easily exceed the height of my page. Currently I use a scrolling div as container for the buttons, but this is hardly ideal if the user had to scroll through their page index. I am thinking of nesting my page sets, so if too many buttons are created, the large set of buttons is itself passed to another paging engine, which produces a page index for the first set. I would welcome suggestions for other means of doing this.
2. I currently create my page index by iterating all items in the employee data table, 'slicing' off a new button every time my item counter reaches my max page size. The range descriptor starts with a default length of 3 characters, but increases if the From and To values are the same, until the are different, so if on my first button I get 'Aa - Aa', I make it 'Aat - Aaz'. The problem, however, remains when my first button ends with 'Am' and my second button starts with 'Am'. I would then have to iterate the whole set of buttons again, checking for this. This will not cause a huge performance hit, but it seems slightly inelegant as well.
I do not believe they are right who say that the defects of famous men should be ignored. I think it is better that we should know them. Then, though we are conscious of having faults as glaring as theirs, we can believe that that is no hindrance to our achieving also something of their virtues. - W. Somerset Maugham
My New Blog
|
|
|
|
|
iam working with login page .how can i write code for remember my login id chekbox
|
|
|
|
|
u can do it by using cookies...store cookies in the client machine and if cookie exists take the username and password from it...
Koushik
|
|
|
|
|
how to use strong names to escape dll hell?
|
|
|
|
|
|
when the user click the close window button , a message box is appearing , are u sure to close the window,if i click yes , i want to do some code i the code behind file.
how should i do it.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Have you ever heard about the 'onunload' event of body tag?
Thomas
|
|
|
|
|
write a java script function that stores "yes" or "No" in a hidden field based on the confirm or alert box (alert box always returns the bool value of true or false) response.
func getConfirm()
{
///
}
now do the following
closeButton.attributes.add("OnClick","javascript:getConfirm());
Now access the hidden field using Request.Form["hiddenField"]
u will get the value "Yes" or "No"
Koushik
|
|
|
|
|
what is closebutton
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
alert function in java script has only one button called OK
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
hey close button here is an example..i.e the button click on which u r showing the alert box. Also in u'r case use window.prompt to display Ok and Cancel buttons
-- modified at 8:36 Tuesday 9th October, 2007
Koushik
|
|
|
|
|
Hi
I am using a Microsoft Treeview control in my application. It works fine with IE.
The problem is that it is not working for Mozilla/Firefox browser. The problem I found was that on javascript events like onexpand and oncollapse,it does a postback.It is not able to attach javascript event handlers to these events.
Neither can it attach events in TreeView.htc file.I made the changes in treeview.htc file for preventing the postback.But was of no help.
Cn somebody plz give a possible fix for this ... .. . ???
Thnx in advance
|
|
|
|
|
i am calling one confirmation message written in javascript when clicking on a button.at the same time i am using one required field validater to check whether user has entered value on one textbox.but it is not fireing the validation control.if i remove the client side script then the validation control is wroking correctly on button click .how can i solve it?......
|
|
|
|
|
There's probably an error in your client-script script. You haven't posted your script, so I can't tell you what the problem is.
Paul Marfleet
|
|
|
|