|
|
Hi friends
I am getting an eror and gives following description
If the applications App_Data directory already exists, the web server account only requires read and write access to the applications App_Data directory. This is necessary because the web server account will attempt to verify that the Sql Server Express database already exists within the applications App_Data directory. Revoking read access on the App_Data directory from the web server account will prevent the provider from correctly determining if the Sql Server Express database already exists. This will cause an error when the provider attempts to create a duplicate of an already existing database. Write access is required because the web server accounts credentials are used when creating the new database.
can you tell me what I need to do ?
Thanks
|
|
|
|
|
Hi all,
I have created one webservice in asp.net 2.0 and using Web Service Extenstions 3.0.
To invoke any asmx page from client, client need to create a object of that asmx page and pass 1) Microsoft.Web.Services3.Security.Tokens.UsernameToken object 2) Client policy. This is working fine when I am consuming WebService from local.
I deployed webservice in Server machine on perticular port number.
If i invoke the webmethod from client gettting excpetion as '401 Unauthorized'.
If i follow same steps locally working fine.
coders, any idea on this. why WS is giving 401 exception when invoking from network
quick response will be appriciated.
Ramana
modified on Monday, June 9, 2008 2:38 AM
|
|
|
|
|
Hi inside my update panel i have a grid...,
In that how to fire the onrowcommand event?,
And selectionindex changed event?,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Surely just put the commands into the gridview and they should call when the gridview is created?
We are not a Code Charity
|
|
|
|
|
i have a javascript function. i want when page load my function be run not with click a button. how can call my javascript function in c# code? dose anybody know?
|
|
|
|
|
RegisterStartupScript ?
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
|
|
|
|
|
whats ur mean?
when my form in load i want call my function not with click a button or other event for example.
|
|
|
|
|
|
If you want to call javascript function on page load event,try out this line.
ClientScript.RegisterStartupScript(this.GetType(), "FunctionKey", "<script language="javascript">FunctionNameHere();</script>");
please don't forget to vote on the post that helped you.
|
|
|
|
|
Thanks for ur help.
|
|
|
|
|
You can use this stuff and in page load call this fuction
private void ValidateControls()
{
control.Attributes.Add("eventName", "javascript:return JavascriptFunction(args);");
}
Bhumika
|
|
|
|
|
Call javascript function in Body Tag Onload Event .
In the Body Tag
Eg:
|
|
|
|
|
Hi in my grid first cell is button column,
from Second cell databoundcolumn,
When i am click the datboundcolumn the row contained values have to come on my textboxes, So i fired there <b>selectionindexchanged</b> event,
And, When i am clicking the button column it have to remove the row from the grid list(delete),So there i have to fire rowdatacommand event...,
Now my problem is when i am click the boundcolumn its firing the selection index change event, its ok,
But when i am clicking the button column also its firing the selectionchange event...,
But there i need to fire my rowdatacommand event,
How to do tat,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
|
How can i move a particular font to the client machine from server.Actually the problem is that i have a font installed on my server , when i try to access the web page with that special font , it does not show up wit that face . So , how can i move the server font to the client machine(while client is accessing the server)
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Hi,
After I change all control panel regional and language options to arabic text in VS.NET web applications appear in arabic except text in code-behind appear in something like Latin language.I try the same code in another computer and it wroks fine.Could any one help me to solve this problem?
I am too late but i will never give up
|
|
|
|
|
|
I have an xml file, with "any number of page nodes" each with 3 certain child nodes.
With the XMLDoc, I have read the contents of the pages' 3 child-nodes for purposes of populating a form with their values.
I added a "+" sign at the end of each of the 3 child nodes as I pass them into a string variable so that I can later split them into an array.
I know a "regular" string is passed the repective dimension of the recently split array, i.e.
Dim Page1 as string = split(AllPages(0), "+")
***********************************************************
Whats boggling my mind is the matter of the number of pages in the XML can be any number. I am able to pull the number of pages in that user's XML file via code, but I can not declare
Dim Page(x) as string = split(AllPages(i), "+")
because Page(x) is now an array which is not what it needs to be. It needs to be an ordinary string, but since I do not know how many pages a user has in his XML, I do not know how to dynamically create ordinary string to pass the split array. I know the code has to be:
Page1 = split(AllPages(0), "+")
Page2 = split(AllPages(1), "+")
and so on, but again, I do not know how many pages therefore I cannot declare,
Page1 as string
Page2 as string
etc...
*************************************************************************************
Anyone have a clue on what I should do? C# is fine, but VB is preferred. Thanks !
|
|
|
|
|
crystal9154 wrote: I added a "+" sign at the end of each of the 3 child nodes as I pass them into a string variable so that I can later split them into an array.
Your code is messy. You could use XMLDocument.GetElementsByTagName() or XPath query to get the child nodes.
|
|
|
|
|
http://www.codeproject.com/KB/webforms/JavaRowSelect.aspx - it is a good example that I need, but I have GridView with ItemTemplate (CheckBox column) and I don't like call onclick-event when user checked any row. How can I detect on what column user clicked?
|
|
|
|
|
You could asked this query on the 'Article's discussion forum' for a better response with respect to the article.
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
|
|
|
|
|
Hello
I do web form into the website to send a mail message
but an error will occur when i click the submit button.
This my code:
"<%@ Language="VBscript" %>
<% Option Explicit %>
<%
On Error Resume Next
Dim message, NewMailObj
message= "Name: " & Request.Form("firstName") & " " & Request.Form("lastname")
message = message & vbcrlf & "<br /> email: " & Request.Form("email")
message = message & vbcrlf & "<br /> Level of Education:" & Request.Form("Level of Education")
message = message & vbcrlf & "<br /> comments: " & Request.Form("comments")
'Response.write "Message: " & message
Set NewMailObj=Server.CreateObject("CDONTS.NewMail")
NewMailObj.From = "FeedbackForm"
NewMailObj.To = "info@ihacademy.net"
NewMailObj.Subject = "E-mail from the Website: " & Request.Form("firstName") & " " & Request.Form("lastname")
NewMailObj.Body = message
NewMailObj.BodyFormat = 0
NewMailObj.MailFormat = 0
NewMailObj.Send
Set NewMailObj = nothing
'response.write "Error: " & Error.Description
If Error.Number <> 0 Then
Response.Redirect ("success.htm")
Response.End
Else
Response.Redirect("error.htm")
Response.End
End If
%>
"
Assaf
|
|
|
|
|
Assaf82 wrote: an error will occur when i click the submit button
What is the error?
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
|
|
|
|
|
Please provide the error message you are getting?
Is the "CreateObject" throwing an error? If yes, then check if the correct class name is referenced in the CreateObject method.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|