Ask a Question related to ASP.NET Security, Design and Development.
-
Usman Shami #1
HELP! Web Services Permissions/Security Settings problem
Hie,
I have developed some codes both in C# and VB using CDO
and ADO,which work perfectly fine in a windows
application, but they donot seem to work in a web services
application.
I am using the .NET platform with win 2k server and
exchange 2k server, with service pack 2.
The small code part is as follows(which works okay in a
windows application but not in a ASP NET web service web
method. Is it that my machine security/settings policies
need to be changed??? );
ADODB.Connection EmailCon=new ADODB.Connection();
EmailCon.Provider ="ExOLEDB.Datasource";
ADODB.Record EmailRec=new ADODB.RecordClass();
ADODB.Recordset EmailRs=new ADODB.RecordsetClass ();
string strInboxQuery,strURLInbox, strURLMailbox,
strUserName,strPassword;
ADODB.Fields Flds;
ADODB.Field Fld;
strUserName="admin";
strPassword="adminpass";
strURLMailbox="file://./backofficestorage/mytestdomain.com/
MBX/" + strUserName;
/*THROWS EXCEPTION HERE IN ASP .NET WEBSERVICES APPLICATION
/*EXCEPTION IS "Authentication Failed" while the same code
works for a forms(windows application)*/
EmailCon.Open(strURLMailbox,strUserName,strPasswor d,0);
EmailRec.Open( strURLMailbox,EmailCon ,
ADODB.ConnectModeEnum.adModeReadWrite,
ADODB.RecordCreateOptionsEnum.adFailIfNotExists,
ADODB.RecordOpenOptionsEnum.adOpenSource, strUserName,
strPassword);
strURLInbox = EmailRec.Fields
["urn:schemas:httpmail:inbox"]. Value. ToString () ;
Usman Shami Guest
-
Change Flash Security Settings? Security ManagerOffline?
Hello I have downloaded firefox and flash player, I have content which when I run it, flash blocks it wisely and reports that the page is trying... -
Regional settings and web services
I have a web service which returns a dataset. This web service is called by a windows form. If i open the application, change the regional settings... -
Security permissions...
I an attempting to serialize a custom exception class that is derived from System.Exception during runtime. I am getting a the following security... -
Problem with security permissions on new folder
Hi Andy, try with this article: http://support.microsoft.com/default.aspx?scid=kb;en-us;322293 I hope it solves your problem... -- Mike... -
problem with security settings (trusted sites)
Hi Whenever I visit windowsUpdate or hotmail I get the message that I have to change the security settings of Internet Explorer. The security... -
Usman Shami #2
HELP! Web Services Permissions/Security Settings problem
Hie,
I have developed some codes both in C# and VB using CDO
and ADO,which work perfectly fine in a windows
application, but they donot seem to work in a web services
application.
I am using the .NET platform with win 2k server and
exchange 2k server, with service pack 2.
The small code part is as follows(which works okay in a
windows application but not in a ASP NET web service web
method. Is it that my machine security/settings policies
need to be changed??? );
ADODB.Connection EmailCon=new ADODB.Connection();
EmailCon.Provider ="ExOLEDB.Datasource";
ADODB.Record EmailRec=new ADODB.RecordClass();
ADODB.Recordset EmailRs=new ADODB.RecordsetClass ();
string strInboxQuery,strURLInbox, strURLMailbox,
strUserName,strPassword;
ADODB.Fields Flds;
ADODB.Field Fld;
strUserName="admin";
strPassword="adminpass";
strURLMailbox="file://./backofficestorage/mytestdomain.com/
MBX/" + strUserName;
/*THROWS EXCEPTION HERE IN ASP .NET WEBSERVICES APPLICATION
/*EXCEPTION IS "Authentication Failed" while the same code
works for a forms(windows application)*/
EmailCon.Open(strURLMailbox,strUserName,strPasswor d,0);
EmailRec.Open( strURLMailbox,EmailCon ,
ADODB.ConnectModeEnum.adModeReadWrite,
ADODB.RecordCreateOptionsEnum.adFailIfNotExists,
ADODB.RecordOpenOptionsEnum.adOpenSource, strUserName,
strPassword);
strURLInbox = EmailRec.Fields
["urn:schemas:httpmail:inbox"]. Value. ToString () ;
Usman Shami Guest
-
Usman Shami #3
HELP! Web Services Permissions/Security Settings problem
Hie,
I have developed some codes both in C# and VB using CDO
and ADO,which work perfectly fine in a windows
application, but they donot seem to work in a web services
application.
I am using the .NET platform with win 2k server and
exchange 2k server, with service pack 2.
The small code part is as follows(which works okay in a
windows application but not in a ASP NET web service web
method. Is it that my machine security/settings policies
need to be changed??? );
ADODB.Connection EmailCon=new ADODB.Connection();
EmailCon.Provider ="ExOLEDB.Datasource";
ADODB.Record EmailRec=new ADODB.RecordClass();
ADODB.Recordset EmailRs=new ADODB.RecordsetClass ();
string strInboxQuery,strURLInbox, strURLMailbox,
strUserName,strPassword;
ADODB.Fields Flds;
ADODB.Field Fld;
strUserName="admin";
strPassword="adminpass";
strURLMailbox="file://./backofficestorage/mytestdomain.com/
MBX/" + strUserName;
/*THROWS EXCEPTION HERE IN ASP .NET WEBSERVICES APPLICATION
/*EXCEPTION IS "Authentication Failed" while the same code
works for a forms(windows application)*/
EmailCon.Open(strURLMailbox,strUserName,strPasswor d,0);
EmailRec.Open( strURLMailbox,EmailCon ,
ADODB.ConnectModeEnum.adModeReadWrite,
ADODB.RecordCreateOptionsEnum.adFailIfNotExists,
ADODB.RecordOpenOptionsEnum.adOpenSource, strUserName,
strPassword);
strURLInbox = EmailRec.Fields
["urn:schemas:httpmail:inbox"]. Value. ToString () ;
Usman Shami Guest



Reply With Quote

