|
by: Terrence |
last post by:
I am doing some of the C# walkthroughs to transition from
VB to C#. When I try to execute
static void Main()
{
Aplication.Run(new Form1())
}
I raise a 'System.NullReferenceException" in
system.windows.forms.dll
|
by: Steve Ng |
last post by:
Hello,
I have a windows form application that needs to pass through a proxy
to get access to the internet. As a test, I have successfully
hardcoded my login/password/domain combination and been able to gain
access through the proxy.
I would like to ditch the hardcoded login/password/domain combination
and use the settings defined in Internet Explorer. I've read that I
can use System.Net.CredentialCache.DefaultCredentials to get the
|
by: Craig |
last post by:
We have an anonymous web application trying to talk to a windows
authenticated webservice. This is currently failing with 401 Access Denied
errors.
We have found that we can get this to work by writing the following code in
the web application before calling the webservice:
WebServiceInstance.Credentials = new NetworkCredential("username",
"password","domain");
|
by: Tim Cowan |
last post by:
Hi,
I am using .NET 2.0 and I want to send mail that uses SMTP authorization. I
have found this in the help:
client.Credentials = System.Net.CredentialCache.DefaultCredentials;
My question is how do I set the username and password? Say the username is
bob@home.com and the password is onions, how do I set this? The values could
be different on a user by user basis, so I need to apply the settings from
|
by: JOS |
last post by:
Hi,
I have a web application with the following in the web.config file
1 <authentication mode="Windows" />
2 <identity impersonate="true" />
My IIS settings are shown below
However the System.Net.CredentialCache.DefaultCredentials is not being
|
|
by: ndskim |
last post by:
Currently I have the Web Services Proxy code generated by the WSDL.Exe
command line. My Web app consists of ASP.NET in VB 2005 version.
Here is what I have in the sample code:
' Set Proxy Credentials to the current network DefaultCredentials.
With lds_WebService
|
by: ckb |
last post by:
Hi,
I have an active x ctrl on my page and using asp.net I i have built a web page that has a web service named e1.I am using CreateSessionImpersonated()
but it does not Impersonate and every time asks for the user name and the password.The code is
Can anybody help me on this please.
Thankyou.
|
by: silence |
last post by:
Hello everybody,
The webserver uses kerberos authentication to do webdav requests against an exchange-server and it works fine.
My problem is the following... I create a webdav-session object with the CredentialCache-object at session-start for each user. If I open the website on computer A with user A, the webdav-requests are made in the kontext of user A. When I open the website on Computer B with user B, while the session of...
|
by: sid0404 |
last post by:
Hi
I am new to the programming in c#, I have an application where I need to get data from a website now I am getting an error message if I give the input as two strings, say Sun Microsystems while f I just give one input then I have the following error message:
An unhandled exception of type 'System.Net.WebException' occurred in System.dll
Additional information: The server committed a protocol violation. Section=ResponseStatusLine
...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|