|
Hi dear.
my question from host admin :
((((
I recieve this error in my site :
Exception Details: System.Web.HttpException: Validation of viewstate MAC failed. If this application
is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same
validationKey and validation algorithm. AutoGenerate cannot be used in a cluster
I recieved this error in some different situation. this site worked in another host with out any
problem. I recieved this error in my onother site in your hostI think there is a
problem in web.config
}}}}
and host admin response:
(((
This is a bug of Microsoft, when you use some data controls of .net, in some case like post back
when data load not finished reading from database it will be happen.
And you can disable viewStateEncryptionMode on your web.config or your pages that issue happend,
but
it will be less safety for your data, but it is the fact, so it's up to you, or you can wait
MS
to fix it.
)))
I dont know what can I do now. how I can solve my problem.
please help
|
|
|
|
|
Do what you were told to do, add the attribute to the page that turns off view state encryption.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
do you know correct syntax of this attribute?
|
|
|
|
|
Relying on intellisense, which shows you all the options if you just look, I'd guess it's one of these:
ViewStateEncryptionMode="Never" EnableEventValidation="false"
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
If this is a microsoft bug, there is an article about it. Did you get any link to such an article from the host admin?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hy guys, I have a question about images in SQL databses.
When I am in database table viewer in Microsoft Visual Web Developer 2005 Express Edition and I am entering data into the table, how do I insert image into the image-type field? What are the pre-conditions for inserting a picture (which is on my hard drive) to image-type field in database?
Thank you for your time.
Cheers
|
|
|
|
|
I am not sure if that's what the image type is for, because your DB will have no idea if the byte array you pass it is a bitmap. Have you googled for info ? I would suggest the best bet is to store the image in the file system, and store paths in your DB, but there's no reason you can't store the image data in your DB.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
And what about the Gridview control. I know I can use it to display data from database very easy. And if the table in the database contains images will the gridview control display it automaticly as it does for the other fields?
|
|
|
|
|
|
Convert image in to binary data and store into the database.
and whenever you want to access the image from the database, read binary data from the database and create .bmp file
mitesh
|
|
|
|
|
Hi Friends,
Can any one help me with my website(http://www.sharetosave.co.uk/[^]) connection it gives following error when I upload it to the server i.e. hosting company server.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=5.0.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Everything runs fine on my local server.
Web hosting company says that MySql.Data.dll is in GAC and I need to put reference i web.config
I put that Reference as follow.
<add assembly="MySql.Data, Version=5.0.7.0, Culture=neutral, PublicKeyToken=994bc1102e243463">
Can any one help please? Its been more than 2 weeks between me and web hosting company we are unable to resolve the problem.
|
|
|
|
|
I guess they don't have the same version of MySQL installed.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Do you know how you search on google or yahoo, msn etc.. and type in a certain phrase,lets say "blue cats in florida" how do I get that phrase on my landing page without having to type the phrase ? Does anyone know what I mean ?
Thanks !
|
|
|
|
|
Do a google search, then look at the URL, the way to build them is pretty straightforward
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi scm22ri,
Any search engine (Google, Yahoo, MSN) basically works on the Meta tag of the any webpage. For ex:- If you feed any query to Google, then Google first searches Meta Tag, Title, Contents of the all the web-pages. Then make a bunch of all the related web-pages, after that rank the web-pages based on thier relativeness to the query.
There is one article based on Search facility. Just check this link.
http://www.codeproject.com/KB/IP/Spideroo.aspx
Hope this will help you.
Thanks & Regards
Dilipv
|
|
|
|
|
Hey all,
I have a TreeNode, and I'm trying to set the NavigateURL to call a JavaScript function of mine.
When I do:
node.NavigateURL = "javascript:alert('123');";
It works fine, but when I do:
node.NavigateURL = "javascript:myfunction('123');";
Nothing happens... here is the JavaScript function I'm using (if it helps):
<script type="text/javascript">
function myfunction(page)
{
alert(page);
}
</script>
Can anybody see what I am doing wrong here?
|
|
|
|
|
|
On the definition, it doesn't say anything. But on other parts of MSDN and the ASP.NET forums, it says to use "javascript:void(0);" inside the NavigateURL, so I took the presumption that I could call JavaScript functions this way.
If this is the wrong way, could you please tell me what is the correct method for calling JavaScript functions from clicking a TreeNode, please?
[EDIT]
I have also found this:
http://www.codeproject.com/KB/XML/sqlxmltreeview.aspx
Which makes use of JavaScript in the NavigateURL, so it would appear it's the commonly used method, how-ever I cannot determine why mine will not work. I'll need to get myself a JavaScript debugger if nobody is sure.
[EDIT]
I got a JavaScript debugger, and found the problem lied within my JS function, I had a small typo in there, which crashed the entire function. After fixing the typo, the method works perfectly.
|
|
|
|
|
hi
I recieved this error in different situation in different pages :
Exception Details: System.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machinekey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
I think there is a difference between machine.config and my web.config but i dont konw what.
|
|
|
|
|
Hi finally, i shown chart in my form using report viewer,
but now i have to say the size of the line..,
(I.e)in that column chart the ratio showing biz size,
have to align my own style in that
how to do
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
Inserting year in aspcalender so that we can change the year corresponding years date will display on calender
|
|
|
|
|
|
If we put a dropdown list for diaplaying the year.If we select an year how the aspcalender date will change according to the year specified.
|
|
|
|
|
hi
i am dynamically binding textbox into a asp table ,after entering some values onclicking save button on postback table dissappears...so i couldnt access the values inside the textboxes..
plz help
|
|
|
|
|
Try with Ajax !!!
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|