|
Sorry to ask again and agian the issue is as i already mentioned before im not accessing any registry it"s a simple webform which is not having any code in code behind file and i made an msi package of that and installed in other machine and then i got the error what i showed u before....
Please let me know if it is not clear...
modified on Saturday, January 31, 2009 5:39 AM
|
|
|
|
|
You're going around in circles. The fact is, you have an exception that says you're accessing the registry. So, you need to use breakpoints to work out what line of code is doing it, obviously without you realising.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
how we can change our webpage url ?
eg: index.aspx to www.google.com/accounts/ServiceLogin?service=orkut&hl=en-US&rm=false&continue=http%3A%2F%
|
|
|
|
|
I assume you just mean that there's no .aspx in that URL, the rest is just query string parameters. You can configure IIS to process any extensions you like, and you can use URL rewriting to not show the actual URL being directed to.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
yes.. ur assemption is true...but giv me an example to rewrite default.aspx to default
|
|
|
|
|
I've just checked, and if you use the keywords I gave you, google does in fact give you tons of examples.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
use MVC for this...
They are doing a superb job for ASP.NET in MVC framework.
Abhishek Sur
|
|
|
|
|
i need regular expression which should accept money value
acceptable values
10.000
15435432
12
0.5
.5
and non acceptable values..
0.00
.00
0.00000
00.000
0000.
any help would be appriciated..
umerumerumer
|
|
|
|
|
So, you want to insist on at least one digit that is not 0 ? As in [1-9] ? You could download expresso to help you build this expression, that's what I typically use.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i have downloaded expresso but it is quite tough to use....
umerumerumer
|
|
|
|
|
I recommend buying the O'Reilly book 'mastering regular expressions'. They really are very easy, and the book is excellent. Also, there's good info on how regex works on the web, I think the W3C site has some good tutorials.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
When i Run my program in my LAN system and IE Explorer. It showing following error.
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource 'http://indus/web/home.aspx'. Line 1, Position 2
<![CDATA[<%@ Page Language="VB" debug="true"%>]]>
-^
Code in ASP.Net
]]>
How can I solve this problem ????
|
|
|
|
|
Well, you could make it valid XML. You could also take note - the code block is not being processed here, it's being presented verbatim. So, whatever you're hoping to do is not working.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanx's Christian for reply. I got solution.
|
|
|
|
|
|
Don't double post. This is what you should have asked in the first place, that's why I asked what I did, to get to the core issue. But, everyone can still see that thread.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I am wroking on a WebSite ASP.NET 2.0 with SQL Server 2000 & VB.NET.
In SaleInvoice i want that a value that a user input in textboxes inset into grid when user click on add button. when user fineish all his inputs and he review from GridView and want any change or delte can do. When finish click on save button all data of grid plu max invoice no, current data + clint code insert into database tables. Someone help me to accomplish it.
|
|
|
|
|
Well, this is trivial with a gridview, all the stuff you need, is built in. What have you done so far ? Written any code ? Referred to any books ? done any google searches ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i have to check it on a sample page with 2 text box plus 1 gridview. Code is as :
Partial Class Default2
Inherits System.Web.UI.Page
Private dsSelect As New DataSet
Private Sub CreateGridTable()
dsSelect.Tables.Add("Region")
dsSelect.Tables(0).Columns.Add("RegionID")
dsSelect.Tables(0).Columns.Add("RegionDescription")
End Sub
Protected Sub TextBox2_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged
Dim vCount As New Integer
If dsSelect.Tables.Count = 0 Then
CreateGridTable()
Me.GridView1.DataSource = dsSelect.Tables(0)
End If
vCount = dsSelect.Tables(0).Rows.Count
dsSelect.Tables(0).Rows.Add()
dsSelect.Tables(0).Rows(vCount).Item("RegionID") = Me.TextBox1.Text
dsSelect.Tables(0).Rows(vCount).Item("RegionDescription") = Me.TextBox2.Text
Me.GridView1.DataSource = dsSelect.Tables(0)
Me.GridView1.DataBind()
End Sub
End Class
|
|
|
|
|
Your code is illegible because none of your variable names are meaningful. However, reading it, I really can't work out why you expect it to work. dsSelect is a member, and all it contains, is the text you entered. So, your gridview1 will always contain one item - the item you just entered. Seems stupid to me. What do you expect it to do ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
For that i need help of else one how i can make code in a such a way that it can output properly.
|
|
|
|
|
Need help how to finalize it.
|
|
|
|
|
Hi ,
May i know how to change the asp.net worker process identity to Local system using any script or bat file in "IIS 5.1"....Please help me out regarding the same.......
Securirty is not a problem as im using the web application for intranet application....
|
|
|
|
|
Why do you want to do this then ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Because as i deploy my simple web application in which i have only one web form and that cs file doesn"t have any code and created an msi (windows installer) and i installed that msi in other system and in that system if access my web application i got an error like...
Exception Details: System.Security.SecurityException: Requested registry access is not allowed
Stack Trace:
[SecurityException: Requested registry access is not allowed.]
System.ThrowHelper.ThrowSecurityException(ExceptionResource resource) +51
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +7460233
System.Security.Cryptography.Utils.get_FipsAlgorithmPolicy() +239
System.Security.Cryptography.MD5CryptoServiceProvider..ctor() +25
System.Web.Compilation.AssemblyBuilder.AddChecksumPragma(BuildProvider buildProvider, CodeCompileUnit compileUnit) +8569699
System.Web.Compilation.AssemblyBuilder.AddCodeCompileUnit(BuildProvider buildProvider, CodeCompileUnit compileUnit) +52
System.Web.Compilation.BaseTemplateBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder) +462
System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) +99
So i guess by default aspnet account access registry which is not allowable......
|
|
|
|