I seem to be getting a "invalid viewstate" every now and then in the event viewer for my ASP.NET application.
Most of them (95%) seem to be referencing ScriptResource.axd (the application
uses the ASP.NET AJAX library). There is no way I can remove the Ajax library either as Ajax is used everywhere..
How can I reduce these errors? I'...
I have an RadUpload control in a CreateUserWizard. from a brief search on the internet,uploading requires postback while CreateUserWizard does not postback. Any idea how I can get the wizard to postback. or any other mechanism to upload a file during user registration.
...
Dear all, I save formatted text (bold, changed in font, style...etc) in an nvarchar(max) field, its for some Description field, on another stage, I want to be able to edit this description, so in the Editing Page, I read the original inoformation, fill it in the fields and wait for the user to change it and save, this is working for all ...
Hi everyone
I am wondering how guys out there work on limiting number of users to a web application. Sometimes you may say you want to limit the web app to only handle say 20 users at a time. Our company sells their applications based on a number of licenses, but we are not sure what the behaviour could be in a web app.
I've seen the s...
I am currently working on an Webservice to retrieve a pdf Document from an Crystal Report. As lonmg as there are no parameter Values in the Report, the service works fine. As soon as I use parameters in a Query the Reports can't be shown anymore and I retrieve an error like 'missing parameter values'. But there is only one Parameter and ...
Instead of populating my Repeater with pictures from a folder in my project i want to polulate it with a link to where the image is like so..............
http://www.erate.co.za/imgGrab.aspx?Id=99
What code changes must i make to let my code look at my hyperlink for the image and not the "pics" folder?
My Page Load
protected void ...
Hi
I have to do some secure communication between a windows service and an asp.net website. In the asp.net website I am generating a key pair, sending my public key to my windows service and then receiving the encrypted message from my service and decrypting with asp.net.
The first problem is this.. The user profile is not created in a...
How can I get two separate ASP.NET sites, in this case a Web Site using Entity Framework and Web Service, to use the same local database mdf & ldf?
I looked around and I think that this kind of local DB is called a User Instance - at least they way I'm currently using it. I wasn't sure if it would work or not until I found the below in...
On a web site I published (pre-compiled) last night, I get the following error. Before pre-compiling it, I was getting a compiler error that a User Control was not found. After compiling on another machine, and running, I get the following Parser error:
"Cannot create an object of type 'System.Type' from its srting representation 'Syste...
This is what i want to do............
I am going to let each user upload multiple images into a folder called "pics".
If the user upload say "MyImage.jpg" i will rename it "MyImage_UserID.jpg".
Where UserID will be the User's unique ID of course.
This way when i look for all the images of a user i will just look for the image name that...
There seems to be two different approaches. ASP.NET framework gives us an easy way to localize pages by putting UI strings in resources, like UserProfile.en.resx, UserProfile.fr.resx etc.
The other approach is to put all strings in separate tables in the database then use some custom mechanisms to retrieve them accodring to the currentl...
How can I enter a value ,entered by user in a text box, in the database in separate web pages?
...
I want to prevent TinyMCE from converting linebreaks (pasted from notepad for example) into <br>'s.
Thats because I want to post code snippets inside <pre> tags, and I don't want to have <br>'s in there.
I already tried several TinyMCE settings in the config without success:
force_p_newlines : false,
force_br_newlines : false,
remove_l...
I had a previous question can jquery ajax call external webservice?
and some good developers answered me to use jsonp, but i don't know how to use it, i am trying to call my service using this code:
$.ajax({
type: "POST",
url: "http://localhost:1096/MySite/WebService.asmx?callback=?",
data: "{}",
...
In a web based .Net solution which uses compiled help documentation made with Sandcastle we get an error when accessing the help documentation. The web applikation is run on https wich creates a problem since the help documents link to a css file through ms-help:// and according to the webapplication this is not a secure location.
In th...
I have done this previously but in a different way. I am trying to get the code below to work. If I do not cast 'OriginalPhoto' or 'Thumbnail' an error occurs. Implicit conversion from data type varchar to varbinary(max) is not allowed. Use the CONVERT function to run this query. I don't understand why it asking to cast. However if I do ...
IIS7 provides custom error pages under;
C:\inetpub\custerr\en-US
However I'd like some other European languages too as by default only English is provided.
Has anyone seen an error page "language pack" for download anywhere. Do I have to install the full windows language pack, I'd rather not.
http://www.microsoft.com/Downloads/details...
Hi there,
Anyone had a chance to use the javascript MVC framework with ASP.NET MVC?
Basically i looking for advise on a way of using them together if possible, my asp.net MVC app i can't get rid of but i would love to use some sort of separation of concern for the javascript / Jquery...
Anybody used something like this? I am trying to...
I want to validate an asp.net texbox with min char=3, max=10 and no special characters. I do not want to use a plugin of jQuery but plain jQuery
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
How do I about it.
P.S - I asked the question earlier then edited it, but can't find the question now. Seems like it did not get pos...
Hi all.
I've got a weird problem. It looks like if my IIS6 locked an application's web.config. If I try to edit it, Windows complains that the web.config is used by another process.
Using Process Explorer I can see that the file is owned by w3wp.exe. Removing the virtual directory and stopping the website wasn't useful at all.
Any idea...