|
If you have two web applications on your system, they will have different domain names, or you can't reach them individually. If you for an example use the built-in server in Visual Studio, it will use different port numbers for the instances, so localhost:6474 and localhost:3466 will be separate domain names.
---
b { font-weight: normal; }
|
|
|
|
|
I am using .Net 2.0. Is is posibble to customise our own create account control? I wish not to include email, secret question and security answer.
So basically to create account, user just need to enter username and password and the confirm password.
thanks in advance. Much appreciated.
|
|
|
|
|
Is it possible to have 2 sites[virtuals dir] running on IIS 5.0 [Server 2000] incase one site is ASP.NET 1.1 application, and another ASP.NET 2.0 application?
Appreciate your help.
- ashish
|
|
|
|
|
Yes, if the sites are separate applications. Also, they have to run in separate AppDomains. Copy the default AppDomain to create a new identical one, and name it to show what version it will be running.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks Guffa.
Could you be able to tell me how to create/copy AppDomain in server 2000 IIS 5.0 application
Appreciate your help.
- ashish
|
|
|
|
|
AshishBasran wrote: Could you be able to tell me how to create/copy AppDomain in server 2000 IIS 5.0 application
No, I am afraid that I can't. I have only done this on Server 2003, so I am not really sure how it applies to Server 2000.
Why don't you try by specifying different ASP.NET versions for the applications and try to browse to the sites. If there is a conflict, the error message should give you some information on where it is.
---
b { font-weight: normal; }
|
|
|
|
|
All you have to do is create different sites or virtual directories and set the asp.net version in the properties window.
|
|
|
|
|
My question is ,How to set the ASP.NET version in the properties window.
Note: I am using Windows server 2000 and IIS 5.0
- ashish
|
|
|
|
|
I agree with you. We can create differetn application pools and assigne for different versions of .NET in IIS 6.0
But my pain is, I have to use IIS 5.0 as I cannot have 6.0 on Server 2000.
Guffa wrote: Why don't you try by specifying different ASP.NET versions for the applications and try to browse to the sites. If there is a conflict, the error message should give you some information on where it is.
How to specify different ASP.NET versions for the applications?
- ashish
|
|
|
|
|
AshishBasran wrote: How to specify different ASP.NET versions for the applications?
In the properties for the web site you should find the ASP.NET tab. There you can select what version of the framework the application uses.
---
b { font-weight: normal; }
|
|
|
|
|
I do not see TAB saying ASP.NET on server 2000. Though i do see the TAB on the IIS which is running on XP.
- ashish
|
|
|
|
|
Then ASP.NET is not correctly registered in IIS. Register ASP.NET using:
aspnet_regiis -i
---
b { font-weight: normal; }
|
|
|
|
|
I have registered ASP.NET using aspnet_regiis -i, still I cannot see the ASP.NET TAB in properties
By doing same I can see on the development machine but when I do same on server, the ASP.NET tab does not show up.
- ashish
|
|
|
|
|
Here is a datalist in the page, which has one columen checkbox and some databind grids.
After users click the checkbox in browser, the program should get the content of the grids.
I use the Datalist.Items[index] property, but get a string with multi grids and with html format.
How to get the text only of each item?
Thanks!
|
|
|
|
|
Hi,
I need move data from a access database to a sql 2005 database, using ado.net and VB.net
Basically, the user will select which access database to move to sql 2005, choosing from a select box on a webpage. I use an <asp:fileupload> tag to let the user select an access database(MDB file), to convert to sql 2005 database.
At the moment I can get all the data from the access database into a dataset using OleDbConnection. I just dont know how to move this information in the dataset to the sql database, in one function.
Does anyone know if there is code out there that does this, of know where I can find info on this?
Really appreciate the help.
Thanks
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
I have found error with asp.net textbox with property multiple, when i type some thing like this ' " i get error I want to catch it.
thanks
................
|
|
|
|
|
Is it the TextMode.MultiLine property that you mean?
Standard question #2:
What error message do you get?
Standard question #3:
What does your code look like?
---
b { font-weight: normal; }
|
|
|
|
|
Yes, i used TextBox.MultipleLine. Can u test it, I don't know how to tell you.
Hope you can help me
Thanks
................
|
|
|
|
|
Socheat.Net wrote: Can u test it, I don't know how to tell you.
What is it that I should test?
The textbox itself doesn't have any problems with those characters, so it has to be some other part of your code that does. As you haven't shown any of your code, and haven't explained what the error is, or if there is an error message, I have no possibility to recreate the error or even tell where it might occur.
If you are using the value from the textbox in an SQL query without coding it correctly, that could explain the problem with the apostrophes, but not the problem with the quotes.
---
b { font-weight: normal; }
|
|
|
|
|
I used it normally, when type the tag like and try to insert it into Ms Access, so I get error. I don't know how to do
................
|
|
|
|
|
What you should do, is to go back and read my first reply and answer the second and third question also. With the information you have given so far, I can only guess what the problem might be, and I have already done that.
---
b { font-weight: normal; }
|
|
|
|
|
I am dynamically creating a load of link buttons and adding them to the page as below
MyLB = New LinkButton <br />
MyLB.ID = "ObliLinkButton" & MyReader("ObligationID") <br />
MyLB.CommandArgument = MyReader("ObligationID") <br />
MyLB.CommandName = "DeleteMe" <br />
AddHandler MyLB.Command, AddressOf Me.DeleteBtn_Click <br />
MyLB.Text = "Delete" <br />
Obligationslbl.Controls.Add(MyLB)
The buttons all render as they should but when i click them they dont fire the code below
Protected Sub DeleteBtn_Click(ByVal s As Object, ByVal e As CommandEventArgs) <br />
<br />
Dim MyRecords As String = e.CommandArgument.ToString <br />
Response.Write("TheRecordIs" & MyRecords) <br />
<br />
End Sub
|
|
|
|
|
You should rebuild the items you have build dynamically after post back. Because of the stateless nature the page does not know that in the last cycle you created a button with an eventhandler. In the postback data there is written that button X fired an event, but since button X does not exist anymore after the postback (you did not rebuild it) it cannot handle that event.
|
|
|
|
|
well, you learn something new every day....
Thanks, its working now i have moved the code to load every time the page does. It means extra database hits but the trade off is worth it.
|
|
|
|