|
congrats!! abhishek you are now MVP..
|
|
|
|
|
Thank you so much bro...
|
|
|
|
|
Please send us code for sms sending on mobile in asp.net windows application using C#...!!!
|
|
|
|
|
|
Hi all.
I am facing a problem in which my some time client geting fallowing error
Error message--> "invaild ViewState"
Error page--> "http://mywebsite.com/ScriptResource.axd?d=uWsQnC017-
OzE1SUL_xQDR9vUTLzUyP3OnSHiY6j-5EnozkXw8U0HRMrqzRIKD6l9u9isubY8uhL4UPy2JyxjIgK8U-pxmousedown=
Error Targer site-->System.String DecryptStringWithIV(System.String,System.Web.Configuration.IVType)
for this i have tried in the internet but there is know complete solution some ware saying this is
error of IE8
Plese let me know why this error is comming and what is the solution of this.
Thanks to all.......
|
|
|
|
|
Can you able to reproduce the same in IE7 or other browsers
"If you can dream IT, you can become IT"
|
|
|
|
|
No ,I have tried to reproduce same in all browsers(firefox,IE-6,7,8)but I am unable to do it.
this error was come from client.
Actually I have made a mail system in any error will come in my application the mail will come to me by which we know about error.
this error is comming daily ............
thnks to reply.
|
|
|
|
|
Intresting.
make EnableViewStateMac = false and try your luck
I think the root casue might be client using Vista and IE8 or IE7
are you not tracking client browser in error log. try to do that
that helps in trouble shooting.
If you have not checked this . go through it.
http://support.microsoft.com/kb/555353[^]
iblog: http://himabinduvejella.blogspot.com
"If you can dream IT, you can become IT"
|
|
|
|
|
Check this link too
\[^]
iblog: http://himabinduvejella.blogspot.com
"If you can dream IT, you can become IT"
|
|
|
|
|
I have a website up on a server & while I'm still debugging, I have the website's images stored on a separate server.
Unfortunately though, it appears I don't have the propper permissions set on my image server because everytime I try to view my website, I'm being prompted with a windows login popup (you can see an image of the popup here http://97.74.54.51/login.jpg[^] )
Any idea what permissions I need to set to remove this password?
Thanks.
|
|
|
|
|
You must have made a Virtual Directory for the images on the server.Provide it Anonymous access.
Cheers!!
Brij
|
|
|
|
|
hi sir,
please help me!i am new in asp.net and working web application.
sir my web application is working fine locally.but it is very slow on web.i am using ajax.please suggest what can be the issues.
one more thing i have too many objects that can be the cause for slow the application.please give me the solution for this also.one more issue is that my menu is not display on ie8.what can be the cause.
|
|
|
|
|
|
i am sorry sir but i could not find the link.
|
|
|
|
|
thanks sir i have got it.
|
|
|
|
|
hi,
i am opening a web application from a windows applicatino using
SHDocVw.InternetExplorer.
eg.
object vPost, vHeader, vFlags, vTargetFrame, vUrl;
string vPostData;
vPostData = "SecKey=123&Uname=xyz";
SHDocVw.InternetExplorer ie; //Class ie = new SHDocVw.InternetExplorerClass();
vFlags = null;
vTargetFrame = null;
vUrl = "http://localhost/app/StartUpPage.aspx";
vHeader = "Content-Type: application/x-www-form-urlencoded" + Convert.ToChar(10) + Convert.ToChar(13);
//Convert the string to post to an array of bytes.
vPost = ASCIIEncoding.ASCII.GetBytes(vPostData);
ie.Navigate2(ref vUrl, ref vFlags, ref vTargetFrame, ref vPost, ref vHeader);
In the above code vpost is an bytes array which i am posting to the web application.
my question is how to receive the posted data in a web application
Sandeep Kumbhar
|
|
|
|
|
I have a user control on my site (in directory UserControls/UserInfo. When I drop the control onto a page created from my master page template, it does nothing (i.e. you click on the "login" link and nothing happens). I even added an explicit link to a Login.aspx url on the LoginStatus line, which will work. However, the LogOut link does not work.
I've found I can drop this user control onto any new, blank (i.e. not derived from MasterPage.master) and all works as expected.
Also, when I run in debug mode, I get the following error when I click on the Login link:
"Microsoft JScript runtime error: Object doesn't support this property or method"
The method highlighted is: "theForm.submit();"
This call is in the javascript function created to do the postback:
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
The javascript issues I just listed may be a red herring.
I've included the user control code below. Any assistance on why this doesn't work within master pages would be helpful and greatly appreciated.
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserInfo.ascx.cs" Inherits="UserControls_UserInfo" %>
<asp:loginview id="LoginView1" runat="server">
<anonymoustemplate>
<rolegroups>
<asp:rolegroup roles="Administrators">
<contenttemplate>
<asp:loginstatus id="LoginStatus2" logoutaction="Redirect" runat="server">
ReelPushMowers
Catalog Admin
Welcome! | You are not logged in.
<asp:loginstatus id="LoginStatus1" runat="server">
| <asp:loginname id="LoginName2" runat="server"
formatstring="Hello, <b>{0}</b>!">
| |
|
|
|
|
|
...make sure that you don't have any other form controls on your page that have ID="submit". This caused the same error on my system whilst converting an HTML layout to ASP.NET because JavaScript was referencing a form element called submit, rather than the submit() method of the form.
|
|
|
|
|
I have Posted this before but didnt get any ans !
When i use this code i get errors
<code> MailMessage msgMail = new MailMessage();
msgMail.To = "info@itfarda.com";
msgMail.From = TxtForm.txt;
msgMail.Cc = "jojoba2010@yahoo.com";
msgMail.Subject = "Contact Us";
msgMail.Body = txtContactUs.txt;
SmtpMail.SmtpServer = "MySMTPSServer";
SmtpMail.Send(msgMail);</code>
Error 1 Property or indexer 'System.Net.Mail.MailMessage.To' cannot be assigned to -- it is read only G:\WebSite3\Default.aspx.cs 24 9 G:\WebSite3\
Error 2 Cannot implicitly convert type 'string' to 'System.Net.Mail.MailAddressCollection' G:\WebSite3\Default.aspx.cs 24 22 G:\WebSite3\
Error 3 'System.Web.UI.WebControls.TextBox' does not contain a definition for 'txt' and no extension method 'txt' accepting a first argument of type 'System.Web.UI.WebControls.TextBox' could be found (are you missing a using directive or an assembly reference?) G:\WebSite3\Default.aspx.cs 25 32 G:\WebSite3\
Error 4 'System.Net.Mail.MailMessage' does not contain a definition for 'Cc' and no extension method 'Cc' accepting a first argument of type 'System.Net.Mail.MailMessage' could be found (are you missing a using directive or an assembly reference?) G:\WebSite3\Default.aspx.cs 26 17 G:\WebSite3\
|
|
|
|
|
jojoba2010 wrote: msgMail.To = "info@itfarda.com";
To is a read only property. You need to pass the to address via constructor when you instantiate MailMessage class. See documentation[^].
jojoba2010 wrote: txtContactUs.txt;
txt is not a valid property. Try txtContactUs.Text .
These are very basic stuff and I suggest you to get a good book on the subject and start reading it.
Best wishes,
Navaneeth
|
|
|
|
|
If I remember correctly, I have posted you the code few days back. See I have wrote this code in CP's editor itself, that why some mistake is there. But from the error it is quite understandable.
Please do as navaneeth suggested.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
How to integrate Asp.net application using sqlserver with Quick books
Dre@m is not th@t wh@t u see in sleep.Dre@m is the thing which does not allow u to sleep
|
|
|
|
|
Kashif ilyas wrote: Quick books
You can't unless quick books provide some API to access their data.
Best wishes,
Navaneeth
|
|
|
|
|
Kashif ilyas wrote: Quick books
What is that ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
first of all thankz ur reply
Quick book is accounting software
Dre@m is not th@t wh@t u see in sleep.Dre@m is the thing which does not allow u to sleep
|
|
|
|