|
Hi
When I want to delete a user I got an error :
Item has already been added.Key in dictionary:'UserName'Key being added 'UserName'
When I want to add a new user then add it to a role I get the error :
The parameter user must not be empty
and the exception point to the line of code
Roles.AddUserToRole(CreateUserWizard1.UserName,'Users')
I am too late but i will never give up
|
|
|
|
|
im using vb.net 2008. where is the best location to place the code.for example the code for sql (data reader, ds,queery).
Is it better to place code at the header of the page
or in the pagename.vb file
or in a class
I need hints
Thanks
|
|
|
|
|
y_mmohd wrote: where is the best location to place the code
you should have different layer (dll ) for that. In your application you should have presentation, Business and Database layer. and you should have to organaized accroding to them.
cheers,
Abhijit
|
|
|
|
|
Hi all,
iam using login controls for user registration and signing In and out . so may i customize the Membership API ? If yes give me hint or Article to pointer is highly apperciated.
Best Regards
Rameez
|
|
|
|
|
how can i send an email, when a user click a button.
thanks
|
|
|
|
|
Look at the System.Net.Mail.MailMessage class.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
nice to see this answer, this will help me.
Look at the System.Net.Mail.MailMessage class.
|
|
|
|
|
If you can't work this out based on the documentation, the articles on google, and the articles on this site, I recommend you become a plumber.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
You know, I've spent four days fighting the asinine Apple documentation to deploy an app in the iPhone, and I find people are still being paid who are too stupid to type a simple question into google. It really amazes me.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Hi all, thanks for looking
Has anyone found a real solution for these exception??
This must be an exception thrown in many cases
For my case, it happens when i postback the form when the page hasnt finished loading
This seems to be because the hidden fields required to validate the page and events are rendered at the bottom of the page
I read that in .net 3.5 there is an option to move hiddenfields to the top of the page so the render before the page and this error wouldnt happen, is there any way to accomplish this in .net 2.0??
Ive found many posts of people with similar problem
For my case, i made it work with the next settings:
<pages enableEventValidation="false" validateRequest="true" viewStateEncryptionMode="Never" >
I had also included enableViewStateMac="true" but i think thats the default, since it still works without it
What could be the consequences of having this configuration??
Is it a big security hole??
Thanks for any comments
Alexei Rodriguez
|
|
|
|
|
|
.NET- India wrote: then i'm not getting way to read the last node author First Name and Last Name and show the results in the GridView
Are you using DataBinding?
led mike
|
|
|
|
|
yes and if is there any way please let me know
|
|
|
|
|
.NET- India wrote: yes and if is there any way please let me know
Let's see, you voted my previous post not helpful and then ask me to help you. Yeah, I don't think so. Good luck
led mike
|
|
|
|
|
i got an error when i tried to run this on my webserver but in my local machine its ok... the error is this:
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The element 'buildProviders' cannot be defined below the application level.
Source Error:
Line 31: <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">
Line 32:
Line 33: <buildproviders>
Line 34: <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Line 35:
Source File: \\smb0\mnt\w0704\d23\s48\b0271eea\www\margz.com\paul\shopftdl\web.config Line: 33
|
|
|
|
|
Your web application is not an application, it's just a subfolder in another application.
You can only use certain settings in web.config when it's in the root folder of the application, but as the folder where you have put your code is not an application, the root folder is not where you think it is.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
You can fix this problem either defining the element in the web.config file of the root dir or setting Virtual Directory as APPLICATION in IIS.
For doing this with IIS 6.0, you first have to set the the directory in which your site is present as a Virtual Directory and then define this virtual directory as an Application.
All physical directories under Inetpub\Wwwroot are not considered applications until the following procedure is used.
1. Open IIS Manager.
2. Expand the Default Web Site node and look for the subdirectory that you want to designate as an application root.
3. Right-click the directory that you want to mark as an application root, and then click Properties.
4. On the Directory tab, in the Application Settings section, click Create.
5. In the Application name text box, type the name of the application, and then click OK.
The virtual directory is now an application root.
CUCURACHI GIORGIO
|
|
|
|
|
hi,
I am trying to downloading file with webclient.downloadfile
this method works file all extension except .SVG and .XPT
how can i allow these two extension ?
how can i solve this error ???
thankx in advance
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
Hi all,
At work we are using a third party web service. The web service works in two tiers. First you request general information. The XML returned contains various IDs. It also contains a JSESSIONID field. In the second phase, another method in the web service requests one of the IDs returned. Now, here's the problem.
If we just give the web service the ID requested in the parameter, it asks for the JSESSIONID value. We dug some more and found out we need to pass this JSESSIONID value as a Cookie in the Header section. The actual instruction was:
Also the 'jsessionid' given in the preliminary response has to be handed over in the HTTP-Header 'cookie'. Multiple requests can be performed in one session.
So I created a CookieContainer and appended it to the HTTPWebRequest object I'm passing to the webservice (thanks google) but to no avail!
What can there be wrong? We're at a total loss here...
In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)
|
|
|
|
|
|
Hi coders,
I am using .NET 2008 version. I am currently facing problem with urls. i dont want to show my URL like '.....com/redirect.aspx?ser=..' but instead of same i want to show the fix url like '.....com/'.
I know this can be done by setting 'RewriteRule' in HTACCESSFILE. Can anyone please tell me how to set 'RewriteRule' in .NET?????
Thanks in advance for any help.
Anand Desai
Developer
Atharva Infotech
|
|
|
|
|
Hi guiys i have to do dropdownlistbox enable/disable using checkbox check changed event in javascript...,
Plz give me some idea abt that
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
Whats the reasoning behind using javascript?
Why not use c#?
If you are going to use c# its easy just set the checkbox as autopostback and then when postback dropdownlist.enabled = true
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|